Forum Discussion

mesg2anil's avatar
mesg2anil
Regular Contributor
14 years ago

Urgent: Date is vanishing from date field on aspx page

Hi,



I've a problem testing aspx (.net) page. When I insert value; date from excel sheet into date field in aspx application (Web application), the date is vanishing from the date object or field. Below is the code i'm using to copy the date from excel into application



MainFrame.document.all.Item("ucTermSheetDate_txtDate").value = (VarToString(Excel.Cells(j, 9)))



For your reference, I'm attaching the screenshot of the page and the object where I'm pasting the date.

Please look into this issue asap...

3 Replies

  • tristaanogre's avatar
    tristaanogre
    Esteemed Contributor
    It sounds like there is some sort of event being fired after the data is entered.  This happens with windows apps sometimes, too, and so the "DoExit" event may need to be called.
  • mesg2anil's avatar
    mesg2anil
    Regular Contributor
    Hi Robert,



    Thanks a ton!!

    Actually when I insert data, based on the data I insert, few other fields auto-fill, before that itself  TC is inserting values in following other fields; which are getting disappeared as auto-filling of data is taking some time and refreshing the screen.



    Jared: Thanks for the link, I learnt something new!! :)