473,320 Members | 1,936 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,320 software developers and data experts.

How to: Control "PostBack" when reloading same ASP.NET web form?

I have a created an ASP.NET web form and custom control that generate test
questions. When the user successfully answers a question, the same ASP.NET
(and subsequently custom control) load itself again, posting a new question.

The problem is, when the new questions and controls are loaded, the new
questions and controls render already "validated" - this is to say, with the
red validation text telling the user the certain fields are required. (This
behavior should occur when the user attempts to submit a form that is not
properly completed.)

How can i get around this? Or more precisely, when using the same ASP.NET
page, how to i tell the web form when it IsPostBack is true or false? (If
this has anything to do w/ it!)

Thanks,
Nov 16 '05 #1
1 2486
fyi: i was able to find an answer to the behavior i was inquiring about:
http://www.groupsrv.com/dotnet/ntopic102412.html
"charliewest" wrote:
I have a created an ASP.NET web form and custom control that generate test
questions. When the user successfully answers a question, the same ASP.NET
(and subsequently custom control) load itself again, posting a new question.

The problem is, when the new questions and controls are loaded, the new
questions and controls render already "validated" - this is to say, with the
red validation text telling the user the certain fields are required. (This
behavior should occur when the user attempts to submit a form that is not
properly completed.)

How can i get around this? Or more precisely, when using the same ASP.NET
page, how to i tell the web form when it IsPostBack is true or false? (If
this has anything to do w/ it!)

Thanks,

Nov 16 '05 #2

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

Similar topics

7
by: moondaddy | last post by:
I have a user control being used instead of a frame page. when the user clicks on a menu item I need to send the ID (integer value) of that menu as a parameter in the postback of the user control...
2
by: Helen | last post by:
I've written a web control that allows you to hide certain bits of your page when the specified selectbox has a certain value. It's a simple enough bit of logic, but I got sick of coding it again...
9
by: John Walker | last post by:
Hi, I have a datagrid with a radiobutton template column, with AutoPostBack set to TRUE. When the user clicks on a radiobutton the application will PostBack, and in the PostBack there will be...
1
by: japi | last post by:
Hi all, I have a TreeView control in my ASP.NET 2.0 Web application with checkboxes enabled. I would like to generate a postback when a user ticks or unticks a checkbox. As far as i know,...
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...
1
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: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
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
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.