T
TS
The clientID of our controls have become very long since we have 2 master
pages that our pages inherit from. Some team members at work are thinking
they want to override ClientID for our controls (custom controls inherited
from normal .net controls) so when the controls are rendered, the id we
specify for the control also is the clientID. This will minimize the size of
the response to the client.
I have tried to think of all the implications of this, but can only think of
it affecting scenarios where there are templated controls, mainly when doing
ITemTemplates and specifying controls in it, such as in grid editing.
If we were using a 3rd party control and it specified a control with a
similar id as one of ours, this control would most likely implement
INamingContainer and thus there would be no conflict with our control I
don't think.
If we never plan on doing in-grid editing, can anyone think of any other
things that the proposed solution would hurt us later?
thanks
pages that our pages inherit from. Some team members at work are thinking
they want to override ClientID for our controls (custom controls inherited
from normal .net controls) so when the controls are rendered, the id we
specify for the control also is the clientID. This will minimize the size of
the response to the client.
I have tried to think of all the implications of this, but can only think of
it affecting scenarios where there are templated controls, mainly when doing
ITemTemplates and specifying controls in it, such as in grid editing.
If we were using a 3rd party control and it specified a control with a
similar id as one of ours, this control would most likely implement
INamingContainer and thus there would be no conflict with our control I
don't think.
If we never plan on doing in-grid editing, can anyone think of any other
things that the proposed solution would hurt us later?
thanks