INamingContainer Issue

  • Thread starter Thread starter Sam Samnah
  • Start date Start date
S

Sam Samnah

With INamingContainer ChildControl UniqueIDs or ClientIDs are Represented
similar to the following:

ParentControlID:childControlID

Now my problem is the colon ":" used to sperate the Parent and child IDs.
Javascript appears to view the colon as delimiter and treats it accordingly.
I'm writing a control that needs to use the returned id's and passes it to
the javascript function. My question:

Is there a way to change the delimiter between the parent and child control
IDs?
 
I tried using ClientID but the control name still returns
ParentControlID:_childcontrol id

I think INamingContainer arbitrarily sets the id whether it is UniqueID or
ClientID. Is there a method in INamingContainer I can override?
 
Back
Top