473,569 Members | 2,756 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

UpdatePanel.Upd ate() doesn't work in Firefox

Mel
I have an update panel that has the UpdateMode set to "Conditiona l".
When I call UpdatePanel1.Up date() in the VB code it does not work in
FireFox. It works just fine in Internet Explorer 6.0. Any ideas on
how to fix it so it works in FireFox 2.0.0.14?
Jun 27 '08 #1
7 3323
Because the updatepanel runs on the client and renders part of the
page without calling the server, I'm assuming that the script manager
that it runs on is implemented as a Microsoft behavior. Firefox,
Netscape, Mozilla, IE4 and earlier do not support Microsoft
behaviors. You can test if this is the problem by trying to run your
stuff on these other browsers. If it is because of behaviors, then
your app won't work on these either.

W3C has another HTML extensibility model equivalent to MS behaviors
called Actions. To get your stuff to work on Netscape based browsers,
you will have to re-implement the script manager and update panel
controls as Actions (or see if somebody else has already done that).

Jun 27 '08 #2
Mel
On Apr 21, 12:59 pm, Andy <ane...@infot ek-consulting.comw rote:
Because the updatepanel runs on the client and renders part of the
page without calling the server, I'm assuming that the script manager
that it runs on is implemented as a Microsoft behavior. Firefox,
Netscape, Mozilla, IE4 and earlier do not support Microsoft
behaviors. You can test if this is the problem by trying to run your
stuff on these other browsers. If it is because of behaviors, then
your app won't work on these either.

W3C has another HTML extensibility model equivalent to MS behaviors
called Actions. To get your stuff to work on Netscape based browsers,
you will have to re-implement the script manager and update panel
controls as Actions (or see if somebody else has already done that).
Anyone know anything about implementing the update panel as Actions?
Jun 27 '08 #3
forget about this actions malarky - can you post an example that
demonstrates the issue ?

"Mel" <ML********@gma il.comwrote in message
news:64******** *************** ***********@m73 g2000hsh.google groups.com...
On Apr 21, 12:59 pm, Andy <ane...@infot ek-consulting.comw rote:
>Because the updatepanel runs on the client and renders part of the
page without calling the server, I'm assuming that the script manager
that it runs on is implemented as a Microsoft behavior. Firefox,
Netscape, Mozilla, IE4 and earlier do not support Microsoft
behaviors. You can test if this is the problem by trying to run your
stuff on these other browsers. If it is because of behaviors, then
your app won't work on these either.

W3C has another HTML extensibility model equivalent to MS behaviors
called Actions. To get your stuff to work on Netscape based browsers,
you will have to re-implement the script manager and update panel
controls as Actions (or see if somebody else has already done that).

Anyone know anything about implementing the update panel as Actions?

Jun 27 '08 #4
most likely you have a scripting error on the page that prevents the ajax
call. install firebug in ff and see what your error is.

..Update is a server sde method, so if it is firing with ff, then you have a
serverside error, as this means the ajax library is running.

-- bruce (sqlwork.com)
"Mel" wrote:
I have an update panel that has the UpdateMode set to "Conditiona l".
When I call UpdatePanel1.Up date() in the VB code it does not work in
FireFox. It works just fine in Internet Explorer 6.0. Any ideas on
how to fix it so it works in FireFox 2.0.0.14?
Jun 27 '08 #5
the update panel supports ff and safari, no additional code is required.

-- bruce (sqlwork.com)
"Mel" wrote:
On Apr 21, 12:59 pm, Andy <ane...@infot ek-consulting.comw rote:
Because the updatepanel runs on the client and renders part of the
page without calling the server, I'm assuming that the script manager
that it runs on is implemented as a Microsoft behavior. Firefox,
Netscape, Mozilla, IE4 and earlier do not support Microsoft
behaviors. You can test if this is the problem by trying to run your
stuff on these other browsers. If it is because of behaviors, then
your app won't work on these either.

W3C has another HTML extensibility model equivalent to MS behaviors
called Actions. To get your stuff to work on Netscape based browsers,
you will have to re-implement the script manager and update panel
controls as Actions (or see if somebody else has already done that).

Anyone know anything about implementing the update panel as Actions?
Jun 27 '08 #6
for example , this works just fine in ie/ff/opera/...

===== WebForm1.aspx =======
<%@ Page Language="C#" AutoEventWireup ="true" CodeBehind="Web Form1.aspx.cs"
Inherits="Web.W ebForm1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dt d">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitl ed Page</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:ScriptMana ger ID="ScriptManag er1" runat="server" />
<asp:UpdatePane l ID="UpdatePanel 1" runat="server"
UpdateMode="Con ditional">
<ContentTemplat e>
1 <asp:TextBox ID="TextBox1" runat="server"> </asp:TextBox>
<asp:Button ID="Button1" runat="server" Text="Just 1"
onclick="Button 1_Click" />
<asp:Button ID="Button3" runat="server" onclick="Button 3_Click"
Text="Both" />
</ContentTemplate >
</asp:UpdatePanel >
<asp:UpdatePane l ID="UpdatePanel 2" runat="server"
UpdateMode="Con ditional">
<ContentTemplat e>
2 <asp:TextBox ID="TextBox2" runat="server"> </asp:TextBox>
<asp:Button ID="Button2" runat="server" Text="Just 2"
onclick="Button 2_Click" />
</ContentTemplate >
</asp:UpdatePanel >
</div>
</form>
</body>
</html>

====== WebForm1.aspx.c s =========

using System;
namespace Web
{
public partial class WebForm1 : System.Web.UI.P age
{
protected void Page_Load( object sender , EventArgs e )
{
}
private void UpdateThings()
{
TextBox1.Text = TextBox2.Text = DateTime.Now.To String(
"hh:mm:ss.fffff f" );
}
protected void Button1_Click( object sender , EventArgs e )
{
UpdateThings();
}
protected void Button3_Click( object sender , EventArgs e )
{
UpdateThings();
UpdatePanel2.Up date();
}
protected void Button2_Click( object sender , EventArgs e )
{
UpdateThings();
}
}
}

"gerry" <ge**@newsgroup .nospamwrote in message
news:On******** ********@TK2MSF TNGP04.phx.gbl. ..
forget about this actions malarky - can you post an example that
demonstrates the issue ?

"Mel" <ML********@gma il.comwrote in message
news:64******** *************** ***********@m73 g2000hsh.google groups.com...
>On Apr 21, 12:59 pm, Andy <ane...@infot ek-consulting.comw rote:
>>Because the updatepanel runs on the client and renders part of the
page without calling the server, I'm assuming that the script manager
that it runs on is implemented as a Microsoft behavior. Firefox,
Netscape, Mozilla, IE4 and earlier do not support Microsoft
behaviors. You can test if this is the problem by trying to run your
stuff on these other browsers. If it is because of behaviors, then
your app won't work on these either.

W3C has another HTML extensibility model equivalent to MS behaviors
called Actions. To get your stuff to work on Netscape based browsers,
you will have to re-implement the script manager and update panel
controls as Actions (or see if somebody else has already done that).

Anyone know anything about implementing the update panel as Actions?


Jun 27 '08 #7
Mel
On Apr 21, 1:58 pm, Mel <MLights...@gma il.comwrote:
On Apr 21, 12:59 pm, Andy <ane...@infot ek-consulting.comw rote:
Because the updatepanel runs on the client and renders part of the
page without calling the server, I'm assuming that the script manager
that it runs on is implemented as a Microsoft behavior. Firefox,
Netscape, Mozilla, IE4 and earlier do not support Microsoft
behaviors. You can test if this is the problem by trying to run your
stuff on these other browsers. If it is because of behaviors, then
your app won't work on these either.
W3C has another HTML extensibility model equivalent to MS behaviors
called Actions. To get your stuff to work on Netscape based browsers,
you will have to re-implement the script manager and update panel
controls as Actions (or see if somebody else has already done that).

Anyone know anything about implementing the update panel as Actions?
Fixed. Apparently this is a known issue with images in UpdatePanels.
I "change" the imageURL of the imagebutton to something different each
time, by appending "?a=" followed by a number which gets incremented
each time. Now the image updates properly.
Jun 27 '08 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
7989
by: Jl_G_0 | last post by:
I have a form with ALL my controls on an updatepanel, but theres one giving me a hard time, its an asp:FileUpload control. All I want to do is: - Click on a LinkButton <- WORKS - Open a ModalPopUpExtender with the FileUpload <- WORKS - Select the file and click on another LinkButton to close the ModalPopUp <- WORKS - Click on SEND and send...
2
15053
by: ChrisCicc | last post by:
Hi All, I got a real doozy here. I have read hundreds upon hundreds of forum posts and found numerous others who have replicated this problem, but have yet to find a solution. Through testing I have been able to find the cause of the problem, and will describe it here first textually and then through a code example. The purpose of what I am...
6
8785
by: jojoba | last post by:
hi everyone! i'm serving up an asp.net page using ajax futures. long story short: i have two update panels. one has a webpage in it (e.g. www.google.com). the other has an image inside of a div. however, when i update the div in code behind ( via UpdatePanel_div.Update() ), the entire page refreshes. if i change the div to an iframe,...
1
3888
by: koraykazgan | last post by:
Hi all, I have a user control (ASCX). In that user control there is a panel, and inside that panel there is a textbox and a button. The panel has a DefaultButton property set, which is set to the button inside it. I also have a page, and on that page there are two instances of that user control (uc1 and uc2). I additionaly have an update...
1
3187
by: =?Utf-8?B?U3Rvcm1icmluZ2Vy?= | last post by:
I have an UpdatePanel with a dropdown list that I can't seem to get to update. It has a hidden button which I click from javascript added to the page when another update panel is updated. Triggers didn't work for this that is why I'm using the script. The script is registered with... ScriptManager.RegisterStartupScript(Page, GetType(),...
0
996
by: Jeff | last post by:
hey asp.net 3.5 I'm expermenting with UpdatePanel (started learning about UpdatePanel tonight). I've have a webpage which contain a UpdatePanel etc... In the code behind I try to update the TextBox in the UpdatePanel, but the TextBox isn't updated.. or well the TextBox doesn't display the value... Here is the markup:
3
2209
by: =?Utf-8?B?T2xlZw==?= | last post by:
(in .NET 2.0 with AJAX extensions) I have an UpdatePanel on the form. Now I want to use a link outside of my UpdatePanel to make it to update (asynchronously) and also send some(at least one ) parameters. I'm trying using ICallbackEventHandler, but it doesn't update the UpdatePanel. Any suggestions? Thanks.
4
4602
by: =?Utf-8?B?V2FubmFiZQ==?= | last post by:
when I try to style a div using the id tag, from an external style sheet, it is not recognized. If I change the style sheet id to a class, it is recognized. Is this how styling a div within an update panel supposed to work? Example: HTML <asp:UpdatePanel ID="UpdatePanel1" runat="server"> <ContentTemplate> <div id="myDiv"...
8
6240
by: Nick | last post by:
Hi there, I have a GridView in an UpdatePanel, each time the UpdatePanels Load event fires I set the DataSource and call DataBind of the grid view. This works great once, I add an item to the list and the control updates, my breakpoints get in in the UpdatePanel Load event. Only problem is on the second time, even though the code is...
0
7697
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7612
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8120
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
7968
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6283
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5219
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3653
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
1212
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
937
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.