Infragistics Home

Infragistics Forums

Infragistics community online discussions.
Welcome to Infragistics Forums Sign in | FAQ
in Search

WebDateEdit losing manually entered dates

Last post 09-03-2008 12:29 by UpsideJohn. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 09-02-2008 14:11

    WebDateEdit losing manually entered dates

     Hi,

     I have a problem with the WebDateEdit, when I manually enter a new date into it (it had a previous date value), and then click off and then back onto the date edit, it restores the value the control contained before I manually edited it. When we programatically set the value of the control, that seems to work fine.

     Any ideas what could be happening here? We are using v8.1 of that control (wasn't a problem till we upgraded from an older version of your control).

     Thanks.

    • Post Points: 5
  • 09-03-2008 12:29 In reply to

    Re: WebDateEdit losing manually entered dates

     I managed to figure out the overlying reason why this is happening: we overloaded the render and added some javascript to the Initialize for the WebDateTimeEdit.

      It looks like so:

    if (!String.IsNullOrEmpty(this.ClientSideEvents.Initialize))
                        this.ClientSideEvents.Initialize += " try{InitFmDirty('igedit$" + this.ClientID + "');}catch(e){}";
                    else
                        this.ClientSideEvents.Initialize = "try{InitFmDirty('igedit$" + this.ClientID + "');}catch(e){}";

     Why would this be causing such a problem?

    • Post Points: 5
Page 1 of 1 (2 items)
Powered by Community Server (Commercial Edition), by Telligent Systems