Welcome Guest Search | Active Topics | Sign In | Register

eo_Callback only triggers a callback once Options
Tim
Posted: Thursday, March 4, 2010 8:02:01 PM
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");
}
eo_support
Posted: Friday, March 5, 2010 8:41:53 AM
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!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.