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
|
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!
|