A
Ashish Kaila
Hello All,
I am having trouble with client side events in a composite webcontrol.
Basically when I add a button as a child, setting its id as Button_0_0, the
html source adds the <controlid>_ in front of the actual Button_0_0 id. Now
when the postback occurs from Button_0_0, the id recieved in OnBubbleEvent
is Button_0_0 but when I try to add a client script from a link control
referencing Button_0_0 or <controlid>_Button_0_0 javascript reports an error
saying object not found. Anyone has any clue of whats going wrong ?
Thanks,
Ashish Kaila
I am having trouble with client side events in a composite webcontrol.
Basically when I add a button as a child, setting its id as Button_0_0, the
html source adds the <controlid>_ in front of the actual Button_0_0 id. Now
when the postback occurs from Button_0_0, the id recieved in OnBubbleEvent
is Button_0_0 but when I try to add a client script from a link control
referencing Button_0_0 or <controlid>_Button_0_0 javascript reports an error
saying object not found. Anyone has any clue of whats going wrong ?
Thanks,
Ashish Kaila