Vetrijar Posted January 18, 2004 Posted January 18, 2004 Figure I might as well get this next question out of the way before I get burden by it. I've seen on some sites where if you select something from a dropdownlist, new options display below it FAST. How can this be done? ex. (before) Dropdown(select job) <-- you select something from here (after) Dropdown (education) label (give job desc) <- shows after job selected text box (blah blah blah blah) <- shows after job selected I'm doing a postback to do this, and it seems to take forever to show the updated page. (20+secs) rather than one website (match.com) that takes like 1sec. Any suggestions? Also does a database slow this down too? Quote
bungpeng Posted January 19, 2004 Posted January 19, 2004 This is the different between Client site process & Server site process. The ASP.NET will do everything in Server site, so definitely you need to "PostBack" for every process. For client site process like the example from you above, you can use Javascript + CSS to do it. The concept is from the first time Page_Load, put everything include the data from database to client site (you can use hidden textbox or javascript variables to keep your records), then use javascript to process from user action. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.