Forum


02:30

16/03/2009

Hi All,
My problem may not exactly be with JQGrid and is little difficult to explain but here it is. I am using asp.net usercontrols which have JQGrid. let say I have Default.aspx page which loads a user control. and this usercontrol has the products JQGrid. The script tags are in Default page but not in the user control. this works perfectly fine. in the same page when a user clicks a button I am loading a JQGrid which is on Default2.aspx in a modal popup.(using boxy as this supports multiple popups) and this beats me. As a standalone page Default2.aspx displays JQGrid. but not in modal popup. picture this. Default.aspx loads JQGrid scripts for user control and Default2.aspx loads JQGrid scripts too as it has JQGrid too. if I dont include JQGrid scripts on Default2.aspx I get a error saying .jqGrid is not a function pointing to Default2.aspx. If I include scripts on Default2.aspx I get a error in Default.aspx itself which points to JQGrid in user control. (.getDataIDs() not a function). but in both cases the JQGRid in popup is not displaying.
I suspect that loading JQuery scripts or JQGrid script multiple times is the problem. at this point I dont really know whats wrong.
Help appreciated.
Thanks
Afroz429
03:19

Moderators
30/10/2007

Hello,
Something like Catch 22 😉
I think that this is connected on how boxy works. You can try with setTimeout, but it is not sure that this will work.
Regards
Tony
For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.
Most Users Ever Online: 715
Currently Online:
74 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
OlegK: 1255
markw65: 179
kobruleht: 144
phicarre: 132
YamilBracho: 124
Renso: 118
Member Stats:
Guest Posters: 447
Members: 11373
Moderators: 2
Admins: 1
Forum Stats:
Groups: 1
Forums: 8
Topics: 10592
Posts: 31289
Newest Members:
, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66