Forum


11:05

23/01/2009

Hi All,
Currently , I am injecting the JQGrid scripts from server(asp.net) to client.
This is my current JQGrid flow when 1st load:
1. JQGridInject (server) --> 2.clientpage.aspx with JQGrid parameter URL:pagedata.aspx --> 3. Get data from pagedata.aspx --> 4.display result in clientpage.aspx.
so now, i am trying to do dynamic columns function in JQGridInject (server) but i faced a problem which i needed to request the data twice when 1st load. The problem happens is this way:
1. JQGridInject (server) which get the column names and input into the script then inject to clientpage.aspx.
2. When JQGrid is loaded in clientpage.aspx, it gets the data again from pagedata.aspx.
I prefer to make it just request the data from DB once only when 1st load. Perhaps we can make it in this way:
1. JQGridInject (server) which get the column names and data then input into the script and inject to clientpage.aspx.
2. When JQGrid 1st load in clientpage.aspx, it reads the data from local.
3. After 1st load, it'll runs as usual where it gets the data from pagedata.aspx.
Is there a way where i can do it? Play around with dynamic URL,perhaps?
Thanks in Advanced !!!
Most Users Ever Online: 715
Currently Online:
67 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