ecsMike
Posts: 40
|
| Posted: 07/04/2011, 2:53 AM |
|
We have developed a complex grid form and would like to make it a modal window is shown by clicking on a Record form on the same page (as in the CC example Modal Window (pop-up). Both the record form and the Grid form are contained in Update Panels. However Grid forms do not have a client side onload event so the demo code for Modal Window (pop-up) does not apply.
Does anyone have a suggestion how this could be accomplished?
Thanks . . . Mike
|
 |
 |
jjrjr2
Posts: 131
|
| Posted: 07/04/2011, 8:44 AM |
|
Try creating some code that opens a modal window using Javascript then use an Ajax call to a service page that returns your grid to place inside the modal window opened.
Then from your record OnClick() call that javascript.
John
_________________
John Real - More CodeCharge Studio Support at - http://CCSElite.com
Real Web Development At: http://RealWebDevelopment.us |
 |
 |
cleyan
Posts: 136
|
| Posted: 07/04/2011, 10:13 PM |
|
try using fancybox you include tha js, ccs and only add a class to the <a> tag is easy and very good loking
_________________
**************************************************
Carlos Leyan B.
Temuco, Chile
www.leytec.net |
 |
 |
ecsMike
Posts: 40
|
| Posted: 07/05/2011, 5:30 AM |
|
Thank you for the suggestions - I will test and implement something today.
|
 |
 |