Forum

November 2nd, 2014
A A A
Avatar

Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

The forums are currently locked and only available for read only access
sp_Feed Topic RSS sp_TopicIcon
BeforeDataRequest event
15/11/2010
12:07
Avatar
deadlyDev
New Member
Members
Forum Posts: 1
Member Since:
15/11/2010
sp_UserOfflineSmall Offline

First off thanks for the AWESOME control!

I would like to see an event added that gets called before populate makes the call to the server (ie. just before the .ajax call).

This would enable easy setup of caching, modification of parameters or even customization of urls according to query parameters. I manually added code to do this to the grid base js, and now have really nice caching of previously requested pages :)... I think this would be usefull for a lot of different applications. 

My beforeDataRequest method takes 3 parameters: url, arguments, callback

url -> The url of the server call

arguments -> The arguments being passed to the server.

callback -> The success callback.

If the method returns true, the ajax call is performed, if false it is not. This has meant I am able to catch server queries and check if I have already received the page... If I have a retrieve the data from the cache and call the supplied callback... Nice and fast 🙂

Thanks!

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

Currently Online:
45 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.com

Moderators: tony: 7721, Rumen[Trirand]: 81

Administrators: admin: 66

Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information