Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

YES/NO Popup

Status
Not open for further replies.

staleb

Programmer
Feb 7, 2005
45
NO
Hi

Can somone please help me out here.
HAve been searching the web for a solution, without luck.

Example
I have a web page for storing orders.
If the customers chooses product A the order should store normaly, but if product B is choosen, the customer should get an question YES/NO if he wants to store additional information.
But the order should be stored regardless of the answer!

Is this possible, and if how is this done?
 
I'd use a RadioButtonList and make them select one of the options


____________________________________________________________

Need help finding an answer?

Try the Search Facility or read FAQ222-2244 on how to get better results.

 
Sorry cant use that.

I really need a popup.
:)
 
OK, in that case you'll be limited to using a JavaScript popup with OK/Cancel buttons (unless you pop-up your own ASP.NET page that has Yes/No buttons).


____________________________________________________________

Need help finding an answer?

Try the Search Facility or read FAQ222-2244 on how to get better results.

 
The confirmation (yes/cancel) wont to the trick.
Because it will only run the the storing function if yes is pushed.
I want it to run regardless of answer, but store the extra information depending on the answer.

Is creating my own asp.net the only solution left then?
:(
 
You can still use the ok/cancel pop-up and if the user clicks cancel, populate a hidden variable and then submit the form using javascript. Ask in the javascript forum for more info on how to do this.


____________________________________________________________

Need help finding an answer?

Try the Search Facility or read FAQ222-2244 on how to get better results.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top