Add problem in ASP.Net 2.0 webpage

Discussion in 'ASP .Net' started by B. Chernick, Nov 26, 2007.

  1. B. Chernick

    B. Chernick Guest

    I had what I thought was an intermittent add problem in VB/ASP.Net 2.0. The
    web page was not always adding records, but there was no visible crash or
    error message. After some trial and error it appeared that a record would not
    add unless I do an actual click on the calendar control. After some more
    trial and error I found that setting the SelectedDate in the DataBound event
    seemed to fix it.

    Anyone else have a problem like this? (What I'd really like to know is how
    an Add could fail without some sort of error message.)
     
    B. Chernick, Nov 26, 2007
    #1
    1. Advertising

  2. Your post is far too generic to be able to tell what's going on. What are we
    adding, and how does a Calendar control come into the picture?
    -- Peter
    "Inside every large program, there is a small program trying to get out."
    http://www.eggheadcafe.com
    http://petesbloggerama.blogspot.com
    http://www.blogmetafinder.com



    "B. Chernick" wrote:

    > I had what I thought was an intermittent add problem in VB/ASP.Net 2.0. The
    > web page was not always adding records, but there was no visible crash or
    > error message. After some trial and error it appeared that a record would not
    > add unless I do an actual click on the calendar control. After some more
    > trial and error I found that setting the SelectedDate in the DataBound event
    > seemed to fix it.
    >
    > Anyone else have a problem like this? (What I'd really like to know is how
    > an Add could fail without some sort of error message.)
     
    Peter Bromberg [C# MVP], Nov 27, 2007
    #2
    1. Advertising

  3. B. Chernick

    B. Chernick Guest

    My apologies. I have a detailsview control on a web page. When the webpage
    is called with a parameter of -1 on the key field, the detailsview goes into
    insert mode. The calendar is bound to one of the fields. The coding itself
    is minimal. I'm trying to keep this as simple as possible. All of this is
    bound to a fairly generic xsd.

    "Peter Bromberg [C# MVP]" wrote:

    > Your post is far too generic to be able to tell what's going on. What are we
    > adding, and how does a Calendar control come into the picture?
    > -- Peter
    > "Inside every large program, there is a small program trying to get out."
    > http://www.eggheadcafe.com
    > http://petesbloggerama.blogspot.com
    > http://www.blogmetafinder.com
    >
    >
    >
    > "B. Chernick" wrote:
    >
    > > I had what I thought was an intermittent add problem in VB/ASP.Net 2.0. The
    > > web page was not always adding records, but there was no visible crash or
    > > error message. After some trial and error it appeared that a record would not
    > > add unless I do an actual click on the calendar control. After some more
    > > trial and error I found that setting the SelectedDate in the DataBound event
    > > seemed to fix it.
    > >
    > > Anyone else have a problem like this? (What I'd really like to know is how
    > > an Add could fail without some sort of error message.)
     
    B. Chernick, Nov 27, 2007
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Jim Bancroft
    Replies:
    4
    Views:
    5,237
    Jeff Evans
    Dec 16, 2004
  2. Replies:
    1
    Views:
    445
  3. Paul
    Replies:
    14
    Views:
    869
    Alexey Smirnov
    Jun 19, 2008
  4. sifar
    Replies:
    5
    Views:
    445
  5. soren625
    Replies:
    2
    Views:
    386
    soren625
    Dec 12, 2006
Loading...

Share This Page