开发者

dynamic tabcontrol in asp.net mvc

can we implement dynamic tab controls in ASP.Net MVC. If so can any one provide me a link to any related resour开发者_如何学运维ces.

I looked at jquery tab controls but i was not able to find out dynamic tab controls.

for example if I have a drop down list for names of a customers i should be able to show different orders for that one customers in tabs. i don't know how may orders does a customer have( In my application i don't need more that 4 tabs any way


The jquery tab ui is dynamic in the sense that you can add new divs to the page and have the tabs extension display this as a new tab.

Manipulation of tab control

If you want this manipulation to be perisisted you could then make a jquery ajax call to a controller action passing back the new tab details and then save this to a db.

When the page is rendered in MVC you can control the outputted HTML and then teh tab extention is simply applied to the top level div so in this sense it is also dynamic.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜