Dear Friends .,
I need suugestions for
How to avoid page refresh after selectedindexchanged of dropdown list in C#. Asp.net?
Please give me suggestions as early as possible ..,
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
ToBe152 reputationPosted May 28, 2013, 11:19 PM EDT
you can use the Ajax UPdatepanel and drop it in your main panel that contain your Dropdownlist
any controllers already in your panel will also be effected without refresh the page again an again .
check this article :
http://www.asp.net/ajax/documentation/live/overview/updatepaneloverview.aspx
Sunny SharmaRank #223 · 11.1K reputationPosted May 28, 2013, 11:36 PM EDT
You need to set AutoPostBack property to false to achieve this purpose. See below:
... // your options goes here
Happy Coding :)
Please don't forget to accept this as answer if it helps!
Thanks
Nitin Choudhary113 reputationPosted Apr 7, 2015, 2:07 AM EDT
Pankaj PandeyRank #642 · 3.7K reputationPosted May 29, 2013, 1:13 AM EDT
if you are not working on selectedindexchanged event them simply go to property and set autopostback =false
or
but if you are doing some operation on selectedindexchanged then you need to use ajax
use scriptmanager and Ajax UPdatepanel and put ddl and related control in updatepanel
mark as answered if helpfull