Jump to content
Xtreme .Net Talk

Popup dialogs using Webforms


Recommended Posts

Guest Taurkon
Posted

How does one pop up a dialog to provide user feedback?

 

Regards

Scott

Guest Taurkon
Posted

Yes, but I am not using HTML only. Perhaps I should have pointed out that I am using c# (and could be using any .net language).

 

I was able to attach an alert to a control and write an event that would give me a popup dialog but could not get it to work stand alone.

Guest Taurkon
Posted

btnDoWhatever.Attributes.Add("onclick", "return confirm('this is really a pop up dialog or am I imagining it?');");

 

 

I just can't figure out what the heck this is called then when it pops up on my screen. Now if I could only figure out how to make what ever this is called pop up without it being attached to an event.

Guest Taurkon
Posted

A few questions now:

 

1. What is the difference between a pop up dialog and a message box? A message box is what type of form and its properties are what?

 

2. Let me try to rephrase this questions:

 

If (a ==b)

DoSomthing

else

show a message box

 

Is this possible?

Guest Taurkon
Posted

Well, as someone who has just picked up and used the .net frameworks as of last weekend, and who has no experience using HTML, I would like to thank you so much for you extreme helpfulness in working and having patience with me. Your replies have been very clear and concise, and your ability to determine my actual intention is, I am sure, a valuable asset to your client or company you work for. No wonder you are called the "Exalted One"

 

Now, I shall try once again determine how to pop up a message box to provide user feedback since it has taken me 2 days to learn that there is absolutely no correlation between a message box and a pop up dialog box.

 

Regards

The humble peon

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...