开发者

How to make Active a View inside Multiview in Clientside Javascript in Asp.net

I hav开发者_JAVA技巧e three views inside a Multiview How to activate one by one view means I Just want to change the Active View Index of the Multiview using javascript in ClientSide How can i do this?


I dont think you will be able to without causing a post back as the multiview is a server side control and only the active view is rendered to the browser.

You probably need to have all the views on the page and all but one hidden. Are you implementing some time of tab control?

There is a tab control in the ajax control toolkit which switches between views clientside:

http://www.asp.net/ajax/ajaxcontroltoolkit/Samples/Tabs/Tabs.aspx

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜