|
15. Displaying Custom Messages in Validation Summary
|
|
Most of us would have come across a situation where we need to display a custom message other than the error message from validators in the validation summary. For example, based on business logic check you need to display a message to the user. Already you have a validation summary in the page where you are displaying error message to the user, you might prefer to add your message to that validation summary. This faq explains about one of the way to achieve this.
|
|
Posted On : Jul 10, 2005
|
More...
|
Author : Saravana Kumar
|
|
|
|
|
|
13. Unable to Start a Process from ASP.NET
|
|
If you start a process from ASP.NET using System.Diagonistics.Process.Start method. Process might start in the background (you can even see it in task manager), but you cant see it in the desktop.
|
|
Posted On : Jul 9, 2004
|
More...
|
Author : Saravana Kumar
|
|
|
|
12. State Management in ASP.NET
|
|
One of the frequently asked question in Newsgroups or Usergroups is regarding "State Management in ASP.NET". So here i will give the short decription about various option for State management in ASP.NET and will give the links to various article which explains detaily about various options for state management in ASP.NET.
|
|
Posted On : Jun 6, 2004
|
More...
|
Author : Saravana Kumar
|
|
|
|
11. Passing Multiple Parameters in NavigateURL Property of Hyperlink
|
|
One of the frequently asked questions in newsgroups is, how do I pass multiple parameters in the hyperlinkcolumn of a datagrid. If you need to pass multiple parameters then convert that column to itemtemplate hyperlink column and then pass multiple parameters using navigateURL property. In this faq, you will see how you can pass multiple paramater to Hyperlink column of a DataGrid.
|
|
Posted On : Oct 12, 2003
|
More...
|
Author : Saravana Kumar
|
|
|
|
10. Disabling Back button in ASP.NET
|
|
In your application you might come across the situation where you need to disable back button. For example if you consider this scenario, user gets data which can change frequently from database to display it in the screen. From that screen user can go another page where he presses back button of browser to come back to this page again. During that time browser might show the page which is in cache because of which user might not see the approriate data. In this faq, we are going to see how to avoid this.
|
|
Posted On : Sep 27, 2003
|
More...
|
Author : Saravana Kumar
|
|
|
|
|
|
8. Request Validation - Preventing Script Attacks
|
|
A new ASP.NET version 1.1 feature, request validation, prevents the server from accepting content containing un-encoded HTML. This feature is designed to help prevent some script-injection attacks whereby client script code or HTML can be unknowingly submitted to a server, stored, and then presented to other users. Here we are going to see how we can enable this feature in ASP.NET.
|
|
Posted On : Sep 13, 2003
|
More...
|
Author : Saravana Kumar
|
|
|
|
7. Page_Load event is firing Twice
|
|
This faq explains why Page_Load event fires twice and it also explains about AutoeventWireup attribute of Page Class.
|
|
Posted On : Sep 1, 2003
|
More...
|
Author : Saravana Kumar
|
|
|
|
6. Add Assemblies to .NET Reference Tab in VS.NET
|
|
The .NET tab of the Add Reference dialog box displays system assemblies and Primary Interop Assemblies that are supplied with the .NET Framework and optionally other assemblies. These are usually (but not necessarily) those installed in the GAC. You can enable your own assemblies to appear in this list, but this requires a registry modification to designate the folder or folders that contain your assemblies.
|
|
Posted On : Jun 28, 2003
|
More...
|
Author : Saravana Kumar
|
|
|
|
5. Error: Controls Not Appearing in ASP.NET Page
|
|
After you install Microsoft Visual Studio .NET or the Microsoft .NET Framework, When you try to access any aspx page. If the ASPX page is not coming or if controls or not appearing in the Page. Then this could be caused because of wrong asp.net installation. Solution and Cause for this error is explained in this FAQ.
|
|
Posted On : Jun 28, 2003
|
More...
|
Author : Saravana Kumar
|
|
|
|
|
|
3. Error: Server Application Unavailable
|
|
After you install Microsoft Visual Studio .NET or the Microsoft .NET Framework on a domain controller or on a backup domain controller, if you try to run an ASP.NET application, you will get this error. Cause and solution for this problem is explained here.
|
|
Posted On : Jun 29, 2003
|
More...
|
Author : Saravana Kumar
|
|
|
|
|
|
|