Create custom helper for PopUp in asp.net MVC3.0 with aspx viewEngine
I am using asp.net MVC 3.0 with aspx View engine, Now I need to prepare a popup helper in mvc in which data is passed开发者_如何学编程 in form of dt and other attributes as parameters(like css,text...) The popUp should appear on click of a button and I need to combine the functionality of button and popup in single helper, That means in Html.customHelper I need a button whose click event should show the popup and all parameters related to button and popup should be passed in the respective helper(html.control).
Thanks....
I think this will be useful to what you want to do:
http://www.asp.net/mvc/tutorials/creating-custom-html-helpers-cs
Hope this helps. Cheers
精彩评论