Hi.I have a procedure that populates, from a database, a number of webdatetimeedit and webnumericedit controls as well as labels, textboxes, dropdownlist and checkboxes on the one page. When the page initially loads, apostback is performed or when Ctrl+F5 is pressed, all controls are pupulated. When an F5 refresh is performed, all controls are populated except the webdatetimeedit controls. This behaviour only occures in Firefox (IE and Opera at least are OK).I have put lblInfo.text=now() in the populate controls procedure to show me that it is firing.
I can not figure out why it is behaving this way in Firefox so any suggestions would be appreciated please.
RegardsRichard
Can you post the code where you bind Normal 0 false false false EN-US X-NONE AR-SA MicrosoftInternetExplorer4 webdatetimeedit
I'm not sure if I understand all of your question....Here is the code that populates the webdatetimeedit control.If Not IsDBNull(dr("Start1")) Then If Trim(dr("Start1")) = "00:00" Then txtMondayStart1.Text = "" Else txtMondayStart1.Text = dr("Start1") : lblInfo.Text = dr("Start1") & Now()On initial page load, postback or Ctrl+F5, txtMondayStart1 is populated with the column Start1 and lblInfo is populated with Start1 + current datetime.On F5, txtMondayStart1 is blank but lblInfo is value of column Start1 + new curent datetimeThanks,Richard
For some additional information, here is a very simple example that demonstrates the behaviour.<%@ Page Language="VB" AutoEventWireup="false"%><%@ Register assembly="Infragistics2.WebUI.WebDataInput.v8.3, Version=8.3.20083.1009, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" namespace="Infragistics.WebUI.WebDataInput" tagprefix="igtxt" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><script runat="server" > Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load Dim time As String = "09:00 AM" lblMondayStart1.Text = time txtMondayStart1.Text = time End Sub</script><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"> <title></title></head><body><form id="form1" runat="server"><div> <asp:Label ID="lblMondayStart1" runat="server" EnableViewState="False"></asp:Label> <br /> <igtxt:WebDateTimeEdit ID="txtMondayStart1" runat="server" DataMode="EditModeText" DisplayModeFormat="t" EditModeFormat="hh:mm:tt" SelectionOnFocus="CaretToBeginning" BrowserTarget="UpLevel"></igtxt:WebDateTimeEdit></div> </form></body></html>
I see that the webdatetimeedit control initially renders as:<input type="hidden" value="09:00:AM" id="txtMondayStart1" name="txtMondayStart1"><input type="hidden" value="2010-4-22-9-0-0-0" id="txtMondayStart1_p" name="txtMondayStart1_p"><input type="text" id="igtxttxtMondayStart1" value="9:00 AM" style="ime-mode: disabled;" editid="txtMondayStart1">But after F5<input type="hidden" value="" id="txtMondayStart1" name="txtMondayStart1"><input type="hidden" value="" id="txtMondayStart1_p" name="txtMondayStart1_p"><input type="text" id="igtxttxtMondayStart1" value="9:00 AM" style="ime-mode: disabled;" editid="txtMondayStart1">Thanks,Richard
Hi Richard,
I tested your codes with 8.3.20083.1009 dlls and reproduced that issue. I also tested the latest/current 9.x and 10.x dlls and few 8.3 versions (8.3.20083.2146, 8.3.20083.2132). They did not have that problem.
I suggest you to upgrade for more recent versions.