473,325 Members | 2,308 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,325 software developers and data experts.

Add problem in ASP.Net 2.0 webpage

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.)
Nov 26 '07 #1
2 847
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.)
Nov 27 '07 #2
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.)
Nov 27 '07 #3

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

Similar topics

12
by: Pete..... | last post by:
Hi all. I have made a webpage where there is a webform where people can fill in their personel information: The code is below: I want to transfer the data to a postgreSQL database ( I have...
12
by: David Walker | last post by:
Hi I have a program which I need to interface with a webpage - the webpage will accept an input (probably a 'post' string from the program) and then will process it and needs to return a value. ...
22
by: Ruslan Kogan | last post by:
Hi, I have a webpage with a table that has 4 cells (2x2). In one of those cells, I wish to load a webpage stored on a different server (say...www.webpage.com/abc.htm). Does HTML allow for this...
1
by: teknowbabble | last post by:
I would like to know how to convert HTML code that users input into a TEXTAREA box on a HTML FORM into a separate WEBPAGE. I have something like the diagram below on my webpage. The user is...
5
by: sifar | last post by:
Hi, This is my first post to this Group. A] I am trying to create a escalation page which will mail an escalation report of a faulty product. Items needed on Page: -----------------------
3
by: Ole Hanson | last post by:
Hi I am trying to pass a credentials object to a webpage programmatically. I have a winApp (C#) that I want to be able to open a webpage (by starting IE), but the credentials required by IIS...
3
by: GraVity via DotNetMonster.com | last post by:
Hello all I am new to asp.net or web programming I have a requirement, I have to submit a document to another server using my webpage, there is a perticular protocol for doing that. This protocol...
14
by: jim | last post by:
OK...Don't ask why - it'll just make ya mad. It makes me mad just thinking about it. I swear....if I didn't need this job, I'd tell 'em where to embed their webbrowser control. But, since I do...
14
by: =?Utf-8?B?UGF1bA==?= | last post by:
Hi I tried a google search but could not find anything. I am trying to cause one webpage to reload when a second web page is closed. The second webpage loads data into a session variable and when...
0
by: levi2713 | last post by:
We have IP cameras that we can view by putting the IP address in a web browser. This is a control panel type webpage, but I can go a step further and go to http://<ip address>/capture.html and it...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

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.