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.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Nitin ChoudharyPosted Apr 7, 2015, 6:07 AM
Pankaj PandeyPosted May 29, 2013, 5:13 AM
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
Sunny SharmaPosted May 29, 2013, 3:36 AM
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
ToBePosted May 29, 2013, 3:19 AM
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