Welcome Guest Search | Active Topics | Sign In | Register

ClientSideAfterUpdate not firing Options
Rory
Posted: Wednesday, April 8, 2009 10:35:46 AM
Rank: Member
Groups: Member

Joined: 1/29/2008
Posts: 17
Hi,

I have a CallBackPanel with the event "ClientSideAfterUpdate". Running under IE7 or 8 the event fires and the target script is run, but when running under Firefox the target script never runs. Does any one have any ideas as to why this may be happening.

Many Thanks

Rory
eo_support
Posted: Wednesday, April 8, 2009 10:59:15 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

We tested the following code and it works fine on both IE and FireFox:

Code: HTML/ASPX
<script>
function test()
{
    window.alert("ClientSideAfterUpdate is called");
}
</script>
<form id="Form1" method="post" runat="server">
    <eo:CallbackPanel id="CallbackPanel1"
        runat="server" Width="200px" Height="150px" 
        Triggers="{ControlID:Button1;Parameter:}" 
        ClientSideAfterUpdate="test">
            <asp:Label id="Label1" runat="server">Label</asp:Label>
    </eo:CallbackPanel>
    <asp:Button id="Button1" runat="server"
        Text="Button"></asp:Button>
</form>


Code: C#
private void Button1_Click(object sender, System.EventArgs e)
{
    Label1.Text = DateTime.Now.ToString();
}


The most common reason for ClientSideAfterUpdate not to be called is you have a script error somewhere in your updated HTML. So you may want to check FireFox's Error Console to see if anything shows up there.

Hope this helps.

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.