What are the special folders in asp.net and their purpose?

Tuesday, July 14, 2009

























Sno
Folder
Purpose
1 App_Code This folder is for the Non-page class files that
are compiled together to create a single assembly.
2 App_Data For the Database files used by the application.
3

App_Themes

For the Themes used by the
application.
4

Bin
For the Compiled code
used by the application


 

What is Causes Validation property for?


It is a property which determines whether the validation that has to be done by the validation control should happen or not on the button click. Default value is True.



www.codecollege.NET

What is AutoPostBack ?


It is a property which determines whether a page is posted back to the server when the value of the control changes. Applicable for controls like check box,drop-down list,radio button or text box. Default value is false.



www.codecollege.NET

Daily Tips- Tip #6 - How will you Disable Validation for ASP.NET Server Controls ?

Monday, July 13, 2009


On some pages you will allow users to post even if validations fail. By doing this setting you ask asp.net to by pass validations both at the client and server

For example to bypass validations use this skip button,
<asp:Button id="Button1" runat="server"
Text="Skip" CausesValidation="False">
</asp:Button>

To disable validation at server:

change the validation control's Enabled property to false.

To disable validation at client:

Change the validation control's EnableClientScript property to false.



www.codecollege.NET

Daily Tips- Tip #5 - How will you know whether the page validation succeeded or not?


By calling

IsValid();


www.codecollege.NET

LinkWithin

Blog Widget by LinkWithin

Recommended Books