sign_seventh Posted August 11, 2006 Share Posted August 11, 2006 how can i used the web cache in dropdown box..i have 2 dropdownbox, dropdown1 w/ 5 list item. (autopostback=true)<asp:listitem>1<asp:listitem>2</asp:listitem>etc.in dropdown2, value will be depending on the item that will be selected on dropdwn1.sample;if i select in dropdown1 the "1", it will query all records with no. "1" then it will be post in dropdown2..and vice versa when i select the "2", my problem is when i select again the "1", it will query again the records in the dbase, and it really takes a long time to load the page again...how can i use the cache to past the of records with "1" in the cache, and then use it again when i need..it will a lot easier to load the page cause the data is already in the memory rather than getting it from database again and againthnx Link to comment Share on other sites More sharing options...
pulpfiction Posted August 17, 2006 Share Posted August 17, 2006 I guess the solution to your problem could be using AJAX, its better than relying on cache for faster page load.using AJAX only the required part of the page is reloaded. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now