I am trying to use a popup control extenter which works fine the following
way where we have an object and a popcontrolexten der objec that points to
this object.
<asp:ImageButto n ID="ibPractitio ners" runat="server"
ImageUrl="~/images/icons/user_16.gif"
ToolTip="Displa y Practitioners" Visible='<%#
Convert.ToBoole an(Eval("Practi tionersVisible" )) %>'
CommandName="pr actitioners" CssClass="actio n" />
<cc1:PopupContr olExtender ID="mPopupContr olExtender" runat="server"
TargetControlID ="ibPractitione rs"
PopupControlID= "pnlPractitione rs" />
The problem is I need to add a onClientClick event and this doesn't get
called when the extender is tied to it:
<asp:ImageButto n ID="ibPractitio ners" runat="server"
ImageUrl="~/images/icons/user_16.gif"
ToolTip="Displa y Practitioners" Visible='<%#
Convert.ToBoole an(Eval("Practi tionersVisible" )) %>'
CommandName="pr actitioners" CssClass="actio n"
onClientClick=" logName(this)"/>
Here logName(this) never gets called.
I want this function to be called before the popup extender so I can log
this action.
Is there a way to do this?
Thanks,
Tom
way where we have an object and a popcontrolexten der objec that points to
this object.
<asp:ImageButto n ID="ibPractitio ners" runat="server"
ImageUrl="~/images/icons/user_16.gif"
ToolTip="Displa y Practitioners" Visible='<%#
Convert.ToBoole an(Eval("Practi tionersVisible" )) %>'
CommandName="pr actitioners" CssClass="actio n" />
<cc1:PopupContr olExtender ID="mPopupContr olExtender" runat="server"
TargetControlID ="ibPractitione rs"
PopupControlID= "pnlPractitione rs" />
The problem is I need to add a onClientClick event and this doesn't get
called when the extender is tied to it:
<asp:ImageButto n ID="ibPractitio ners" runat="server"
ImageUrl="~/images/icons/user_16.gif"
ToolTip="Displa y Practitioners" Visible='<%#
Convert.ToBoole an(Eval("Practi tionersVisible" )) %>'
CommandName="pr actitioners" CssClass="actio n"
onClientClick=" logName(this)"/>
Here logName(this) never gets called.
I want this function to be called before the popup extender so I can log
this action.
Is there a way to do this?
Thanks,
Tom
Comment