|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
What do validation controls do, internally, on server side to stop to page processing from continuinThey don't stop processing at all; button clicks and other server side events
for normalls. Check Page.IsValid to see if validation failed. -Brock http://staff.develop.com/ballen Show quoteHide quote > does it do a reponse.end or something? > > thanks > Ugg, that meant to read:
They don't stop processing at all; button clicks and other server side events fire normally. Check Page.IsValid to see if validation failed. -Brock http://staff.develop.com/ballen Thanks for Brock's informative inputs.
Hi TS, The ASP.NET validation control's server-side valiation won't interrupt the ASP.NET page request's processing. Actually the server-side validation occurs after Page_Load and before the page's postback event get processing. Generally, if we care about the validation result, we should programmatically check the Page.IsValid property and adjust the codelogic in event handler. Here is a good msdn article discusses on ASP.NET validation: #ASP.NET Validation in Depth http://msdn.microsoft.com/library/en-us/dnaspp/html/aspplusvalid.asp?frame=t rue Hope this helps. Regards, Steven Cheng Microsoft Online Community Support ================================================== When responding to posts, please "Reply to Group" via your newsreader so that others may learn and benefit from your issue. ================================================== This posting is provided "AS IS" with no warranties, and confers no rights. Get Secure! www.microsoft.com/security (This posting is provided "AS IS", with no warranties, and confers no rights.) thanks all
Show quoteHide quote "Steven Cheng[MSFT]" <stch***@online.microsoft.com> wrote in message news:PcJ7NdGiGHA.4948@TK2MSFTNGXA01.phx.gbl... > Thanks for Brock's informative inputs. > > Hi TS, > > The ASP.NET validation control's server-side valiation won't interrupt the > ASP.NET page request's processing. Actually the server-side validation > occurs after Page_Load and before the page's postback event get > processing. > Generally, if we care about the validation result, we should > programmatically check the Page.IsValid property and adjust the codelogic > in event handler. Here is a good msdn article discusses on ASP.NET > validation: > > #ASP.NET Validation in Depth > http://msdn.microsoft.com/library/en-us/dnaspp/html/aspplusvalid.asp?frame=t > rue > > Hope this helps. > > Regards, > > Steven Cheng > Microsoft Online Community Support > > > ================================================== > > When responding to posts, please "Reply to Group" via your newsreader so > that others may learn and benefit from your issue. > > ================================================== > > > This posting is provided "AS IS" with no warranties, and confers no > rights. > > > > Get Secure! www.microsoft.com/security > (This posting is provided "AS IS", with no warranties, and confers no > rights.) > > > > > > > > You're welcome TS,
Good luck! Regards, Steven Cheng Microsoft Online Community Support ================================================== When responding to posts, please "Reply to Group" via your newsreader so that others may learn and benefit from your issue. ================================================== This posting is provided "AS IS" with no warranties, and confers no rights. Get Secure! www.microsoft.com/security (This posting is provided "AS IS", with no warranties, and confers no rights.)
DropDownList problem
add default row to DropDownList Template RadioButton change web.config programmatically Hyperlink control NavigationUrl problem menu control will not expand (2.0) button click event problem how to execute the DeleteCommand in code-behind? drop down list Threading in ASP.NET 2.0 web parts |
|||||||||||||||||||||||