Hi I have a webpart in a page in which there is a gridview(which shows list of customers). When I click on a link button in gridview, I would like to popup a JQuery modal window and fill the popup(this contains textboxes, then a gridview which contains mapped
systems for thet customer, and another gridview which contains list of configured reports for that customer) with the details based on the customer name(link) clicked. Here I need to pass the customer Id and customer name parameters based on which I can fill
the Jquery modal window.
Can any one have an idea to pass parameters to JQuery modal window in order to fill the contents inside it?
Hi you can call a JS function and pass the details to that function and then set it to hidden field from there and then open modal window and read the values from that hidden fields.
mahioak
Member
185 Points
49 Posts
How to pass paramters to Jquery modal window
Aug 24, 2010 06:14 AM|LINK
Hi I have a webpart in a page in which there is a gridview(which shows list of customers). When I click on a link button in gridview, I would like to popup a JQuery modal window and fill the popup(this contains textboxes, then a gridview which contains mapped systems for thet customer, and another gridview which contains list of configured reports for that customer) with the details based on the customer name(link) clicked. Here I need to pass the customer Id and customer name parameters based on which I can fill the Jquery modal window.
Can any one have an idea to pass parameters to JQuery modal window in order to fill the contents inside it?
JQuery & Asp.net
matharuajay
Participant
1116 Points
244 Posts
Re: How to pass paramters to Jquery modal window
Aug 24, 2010 07:31 AM|LINK
Hi you can call a JS function and pass the details to that function and then set it to hidden field from there and then open modal window and read the values from that hidden fields.
Ajay Matharu
Twitter - Follow Me
Facebook - Facebook Profile
My Blog - Fundamental Provocation