Hi, Get the ClientID property of ddlCountry from the server side code. If your get 'ctl00_BodyContent_Wizard1_ddlCountry' then the following line will give you control refrence in javascript. var ddl=document.getElementById('ctl00_BodyContent_Wizard1_ddlCountry'); Shout if you still get problem, Cheers, :) Ashik
A
Ashik Wani
@Ashik Wani
Posts
-
document.getElementById("") javascript ASP.NET. -
application form size for different OSHi, Do you set the hard code size? I mean how do you set the maximum size? Cheers Ashik
-
Custom user control elements (web control)Hi Mate, Such kind of controls are called Templated User Controls. Here is the link which will help you to build the one. http://msdn.microsoft.com/en-us/library/36574bf6.aspx Cheers, Ashik
-
Problem with redirects or sessionsHave u first time checked the condition in the page load event when it redirects to login page? Does the IsAuthenticated come False ? Ashik
-
Problem with redirects or sessionsWhat kind of Authentication you are using. Are you using some custom one or soem built in ASP.NET like Froms etc? Cheers, Ashik