dropdown list using ajax
-
hello, if i select an item from dropdown list the related information should be displaced in another dropdown list (using ajax) Eg: if i select india from one dropdown list the related state's should be represented in another dropdown list. help me.. Thanx in advance...
-
hello, if i select an item from dropdown list the related information should be displaced in another dropdown list (using ajax) Eg: if i select india from one dropdown list the related state's should be represented in another dropdown list. help me.. Thanx in advance...
Just put both the dropdownlist inside different Updatepanel. ( Say Ddl1 is in inside UpdatePanel1 and ddl2 is inside update panel2 ) Now Change the
UpdateMode
of UpdatePanel2 to“Conditional”
. And Update the UpdatePanel2 on the selectionIndex Changed of Ddl1 asUpdatePanel2.Update()
Hope Rest part you will do yourself !!!cheers, Abhijit
-
Just put both the dropdownlist inside different Updatepanel. ( Say Ddl1 is in inside UpdatePanel1 and ddl2 is inside update panel2 ) Now Change the
UpdateMode
of UpdatePanel2 to“Conditional”
. And Update the UpdatePanel2 on the selectionIndex Changed of Ddl1 asUpdatePanel2.Update()
Hope Rest part you will do yourself !!!cheers, Abhijit
Implementing this code with Classical Ajax using Javascript is more fun :laugh:
-
Implementing this code with Classical Ajax using Javascript is more fun :laugh:
Damn - proper AJAX is 'classical' now ?
Christian Graus Driven to the arms of OSX by Vista.
-
Damn - proper AJAX is 'classical' now ?
Christian Graus Driven to the arms of OSX by Vista.
Christian Graus wrote:
Damn - proper AJAX is 'classical' now ?
:) It's like classical ASP and ASP.NET. Honestly, many people think "ASP.NET AJAX" is the real AJAX :)
Navaneeth How to use google | Ask smart questions
-
Damn - proper AJAX is 'classical' now ?
Christian Graus Driven to the arms of OSX by Vista.
It will soon become classical ,if it's not yet :laugh: People are getting lazier expecting controls to do more and more for them .
-
hello, if i select an item from dropdown list the related information should be displaced in another dropdown list (using ajax) Eg: if i select india from one dropdown list the related state's should be represented in another dropdown list. help me.. Thanx in advance...
sir, But i am using asp.net 2.0,so how can i use ajax controls,update panel..
-
sir, But i am using asp.net 2.0,so how can i use ajax controls,update panel..
You need to go download the AJAX Toolkit from www.ASP.net[^]. It will embed itself into Visual Studio, so you will use them like any other control.
The best way to accelerate a Macintosh is at 9.8m/sec² - Marcus Dolengo
-
sir, But i am using asp.net 2.0,so how can i use ajax controls,update panel..
http://www.asp.net/ajax/ajaxcontroltoolkit/default.aspx?wwwaspnetrdirset=1[^] Just install from here
-
Christian Graus wrote:
Damn - proper AJAX is 'classical' now ?
:) It's like classical ASP and ASP.NET. Honestly, many people think "ASP.NET AJAX" is the real AJAX :)
Navaneeth How to use google | Ask smart questions
Yes, I'd say most of the people asking questions here, believe that.
Christian Graus Driven to the arms of OSX by Vista.