Rank: Member Groups: Member
Joined: 6/2/2008 Posts: 27
|
I'm having an issue executing a callback.
I have button and a grid inside a CallBackPanel. I have the button's OnClientClick pointing to a javascript function that triggers a call back. All is good except when I click the button for a second time. The call back is not fired.
<eo:CallbackPanel>
<asp:Button runat="server" ID="btn" Text="bnt_text" OnClientClick="btn_OnClick()" />
<eo:Grid></eo:Grid>
</eo:CallbackPanel>
function btn_OnClick() { eo_Callback("CallbackPanel2","btn_OnClick"); }
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
The code that triggers the CallbackPanel is correct. So the problem should be somewhere else. We will not troubleshoot your code for you. So you may want to compare your code with the sample code. All the samples work fine for such scenarios.
Thanks!
|