J
Jonas Auken
I'm having a problem with a linkbutton which is not assigned a UniqueID with
all the prefixes for some reason.
The linkbutton resides in a UserControl but is used within a custom control;
both controls implement the INamingContainer.
The strangest thing is, when I click this linkbutton on a page, it's event
is caught and all of a sudden it has a name - why? and from where?
the problem is i need the name before the event phase - more specifically in
the page_load phase - to see if the button has been clicked or not.. is
there a solution; or perhaps a workaround? can I force the name upon the
linkbutton (as it appearently is done later in the lifecycle of the page) or
can I somehow string it together myself?
hope any of this makes sense, cause I'm pretty desperate by now!
/jonas
all the prefixes for some reason.
The linkbutton resides in a UserControl but is used within a custom control;
both controls implement the INamingContainer.
The strangest thing is, when I click this linkbutton on a page, it's event
is caught and all of a sudden it has a name - why? and from where?
the problem is i need the name before the event phase - more specifically in
the page_load phase - to see if the button has been clicked or not.. is
there a solution; or perhaps a workaround? can I force the name upon the
linkbutton (as it appearently is done later in the lifecycle of the page) or
can I somehow string it together myself?
hope any of this makes sense, cause I'm pretty desperate by now!
/jonas