Link to home
Create AccountLog in
Avatar of felkamau
felkamau

asked on

creating C# popup windows on postback

I'm trying to create a pop up window on postback when the user submits an incomplete form.

RequiredFieldValidation is not an option here.

The plan is to generate the pop up on the textbox_ValueChange event....

This is what I have in mind for server side processing...
string strScript = "<script = "<script language= 'JavaScript'>alert('Entry Required!')</script>";
page.RegisterStartupScript("PopUp", strScript);

I'm using framework 1.1
ASKER CERTIFIED SOLUTION
Avatar of Eyal
Eyal
Flag of Israel image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of felkamau
felkamau

ASKER

partial solution...I found a workaround but I will accept this as a solution.