Ask a Question related to ASP.NET General, Design and Development.
-
Joel Barsotti #1
validation with alert pop ups
When I was doing asp development, I used the Javascript alert("error
message") method for relaying error messages to my users.
I was wondering if there is anyway to do something similar with ASP.net,
especially if it built in and won't require alot of custom JavaScript.
Joel Barsotti Guest
-
BUG ALERT!!
The following will throw an error, but it SHOULD NOT! var myAlert = mx.controls.Alert.show("Add New Application?", "CONFIRM",... -
CFFORM validation trumping Custom Validation
Is there any way for custom form validation to work in concert with the cfform validation? I have a custom script that compares the values of two... -
CFFORM Validation trumping Custom Form Validation
Is there any way for custom form validation to work in concert with the cfform validation? I have a custom script that compares the values of two... -
validation summary doesnt display when there's client-side validation
I have a custom validator that validates a numeric field, txtField, that allows for thousand separators. I also placed a validation summary so... -
only custom validation control does server side validation?
On a CustomValidator you have to provide the validation code because otherwise it doesn't know what to do for the validation. Other validator... -
Steve C. Orr, MCSD #2
Re: validation with alert pop ups
Execute a line of code like this when you want a message box to be
displayed.
(This writes out the necessary client side javascript to your HTML page to
make the alert pop up as soon as the page is sent to their browser.)
RegisterStartupScript("startupScript", "<script
language=JavaScript>alert('This is my message.');</script>");
Here's more info:
[url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemWebUIPageClassRegisterStartupScriptTopi c.asp[/url]
--
I hope this helps,
Steve C. Orr, MCSD
[url]http://Steve.Orr.net[/url]
"Joel Barsotti" <joelbarsotti@hotmail.com> wrote in message
news:%23DBACgfXDHA.2256@TK2MSFTNGP10.phx.gbl...> When I was doing asp development, I used the Javascript alert("error
> message") method for relaying error messages to my users.
>
> I was wondering if there is anyway to do something similar with ASP.net,
> especially if it built in and won't require alot of custom JavaScript.
>
>
Steve C. Orr, MCSD Guest



Reply With Quote

