Hi,
In my ASP.NET Web Forms app, I have GridView (Model Binded) & a button "Columns". On click of button "Columns" I want to open a popup and let user select which columns he want to view in the GridView. I plan to add checkbox's in the div modal_dialog & on button click in the modal dialog, it calls the Server side method & reloads the GridView.
With reference of your article http://aspsnippets.com/Articles/Simple-jQuery-Modal-Popup-Window-Example-in-ASPNet.aspx I could open the modal popup. With reference of http://weblogs.asp.net/hajan/call-asp-net-server-side-method-from-jquery-ui-dialog I found to call server side method - but that should be static & thus can't access checkbox's available in the modal_dialog div. Even if I send all checkbox values as parameters, yet would that cause a postback to reload the GridView ?
I wish to make the app compatible to most browsers & it's version, so I don't think going to ajax would be best option. I refered other sites also, but couldn't get what I am looking for.
Can you tell how to call Server side Method from the jquery dialog & access the elements of div ? Else any other alternative and best method to achieve the same. Please help me at the earliest.
Thanks