ClientID's

  • Thread starter Thread starter adda
  • Start date Start date
A

adda

Hi,

Is there a way to stop ASP.NET from rendering ID dynamically?

In other words, to stop ctl00_ctl00_myTextbox format, and just render as
'myTextbox'?

Thanks
Chris
 
Your best bet is to explain the overall goal. Have you tried to pass the
ClientID from the server to the client or to use "this" client side ?

AFAIK this is not possible and even if it was, this is such an ASP.NET basic
infrastructure feature (whose goal is to avoid name collisions) that I would
really double check I want to work against rather than with that...
 
Is there a way to stop ASP.NET from rendering ID dynamically?

In other words, to stop ctl00_ctl00_myTextbox format, and just render as
'myTextbox'?

ClientID is absolutely essential to the functioning of ASP.NET, specifically
to guarantee uniqueness of client-side object IDs - what problem(s) are you
having with this...?
 
Back
Top