Hi!
i have user control, inside its code i gave it an ID of "ddlSelectCountry"
when i this control in one of my site pages i set its id to "ddlGetCountry"
when i use "Trace.Warn(GetCountry.ClientID)" i get:
but when i view the page source in my browser the dropdown id is really:Code:ctl00_MainContent_ddlGetCountry
this is really annoying when you need to use javascript i had to use funky way to be able to use this control with JS, is there any normal way around it so i can use only the clientid method and not have to add "_ddlSelectCountry" after the ClientID method?Code:ctl00_MainContent_ddlGetCountry_ddlSelectCountry




If you Like it 
Reply With Quote