T
tshad
I am trying to use a popup control extenter which works fine the following
way where we have an object and a popcontrolextender objec that points to
this object.
<asp:ImageButton ID="ibPractitioners" runat="server"
ImageUrl="~/images/icons/user_16.gif"
ToolTip="Display Practitioners" Visible='<%#
Convert.ToBoolean(Eval("PractitionersVisible")) %>'
CommandName="practitioners" CssClass="action" />
<cc1opupControlExtender ID="mPopupControlExtender" runat="server"
TargetControlID="ibPractitioners"
PopupControlID="pnlPractitioners" />
The problem is I need to add a onClientClick event and this doesn't get
called when the extender is tied to it:
<asp:ImageButton ID="ibPractitioners" runat="server"
ImageUrl="~/images/icons/user_16.gif"
ToolTip="Display Practitioners" Visible='<%#
Convert.ToBoolean(Eval("PractitionersVisible")) %>'
CommandName="practitioners" CssClass="action"
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 popcontrolextender objec that points to
this object.
<asp:ImageButton ID="ibPractitioners" runat="server"
ImageUrl="~/images/icons/user_16.gif"
ToolTip="Display Practitioners" Visible='<%#
Convert.ToBoolean(Eval("PractitionersVisible")) %>'
CommandName="practitioners" CssClass="action" />
<cc1opupControlExtender ID="mPopupControlExtender" runat="server"
TargetControlID="ibPractitioners"
PopupControlID="pnlPractitioners" />
The problem is I need to add a onClientClick event and this doesn't get
called when the extender is tied to it:
<asp:ImageButton ID="ibPractitioners" runat="server"
ImageUrl="~/images/icons/user_16.gif"
ToolTip="Display Practitioners" Visible='<%#
Convert.ToBoolean(Eval("PractitionersVisible")) %>'
CommandName="practitioners" CssClass="action"
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