26.02.2015 Views

DOT NET Interview Questions - DotNetSpider

DOT NET Interview Questions - DotNetSpider

DOT NET Interview Questions - DotNetSpider

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Application_PreRequestHandlerExecute<br />

Application_PreSendRequestHeaders<br />

Application_PreSendRequestContent<br />

<br />

Application_PostRequestHandlerExecute<br />

Application_ReleaseRequestState<br />

Application_UpdateRequestCache<br />

Application_EndRequest.<br />

(I) Do session use cookies ?<br />

Twist:- How can we make session to not to use cookies ?<br />

Left to the user , you will enjoy to find this answer.<br />

(I)How can we force all the validation control to run ?<br />

Page.Validate<br />

(B)How can we check if all the validation control are valid<br />

and proper ?<br />

Using the Page.IsValid() property you can check whether all the validation are done.<br />

(A)If you have client side validation is enabled in your Web<br />

page , Does that mean server side code is not run?<br />

When client side validation is enabled server emit’s JavaScript code for the custom<br />

validators. But note that does not mean that server side checks on custom validators do<br />

not execute. It does this two time redundant check. As some of the validators do not<br />

support client side scripting.<br />

(A)Which JavaScript file is referenced for validating the<br />

validators at the client side ?<br />

134

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!