Windows Forms FAQ

ASP.NET FAQ

Welcome to the ASP.NET FAQ.  Questions and answers in this FAQ have been collected from newsgroup posts, various mailing lists and the employees of Syncfusion.

I would like to specially acknowledge the efforts of Microsoft MVP, Sushila Patel, for her assistance.  Many of the articles originated from her responses on various ASP.NET newsgroups.  She also spent many hours helping with the composition of this FAQ.

I have tried to mention the source wherever possible.  If you think that you should be credited for an answer, please send me a note and I will be happy to add a credit mention.

If you have a FAQ, or any other good ASP.NET resource, please e-mail me. You can also access the ASP.NET FAQ forum for more information.

You can also access the Windows Forms FAQ Home WPF FAQ Home

Search Help
 

1. WebService

  

2. Debugging and Error Handling

  

   2.1What utility can users use to Debug their Web Matrix Code?
   2.2How to debug Design-Time controls?
   2.3What options do users have to control exception behaviors?
   2.4What are some of the new and innovative ways to use the ASP.NET Tracing features?
   2.5How to debug apps effectively with TraceContext?
   2.6What is the new ASP.NET development feature that will allow users to debug their ASP.NET Apps?
   2.7How do I specify break-points in my code?
   2.8Why do I get Error message "Unable to Start Debugging" Error Message When You Send Debug HTTP Request?
   2.9When I Debug ASP.NET Applications I get error message "Access Is Denied. Check the DCOM Configuration Settings for the Machine Debug Manager"?
   2.10On Trying to Debug an application, by the F5 key I get the error: "Error while trying to run project: Unable to start debugging on the web server. Catastrophic failure"?
   2.11How to configure my project for debugging ASP Code?
   2.12In Visual Studio .NET, whenever I try to debug my ASP.NET application I'm not able to stop the debugger on my breakpoints. Why?
   2.13Why do I get the error message "Unable to start debugging on the web server..." when I debug?
   2.14Why do I get error message "Unable to start debugging on the web server. The debugger is not properly installed. Run setup to install or repair the debugger. Would you like to disable future attempts to debug ASP.NET pages for this project ? "?
   2.15How do I debug JavaScript and other script code in my application using Visual Studio .Net?
   2.16What are the different exception-handling approaches that can be used in ASP.NET?
   2.17Why do I get error message "Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection"?
   2.18Why do I get the Error Message "System.OutOfMemoryException: Exception of type System.OutOfMemoryException was thrown."?
   2.19When I install the Microsoft .NET Framework 1.1 on a computer that is running Windows XP, and then you start Windows, the Welcome screen appears. This screen prompts me to click your user name to start Windows.Why?
   2.20Why do I get the "HTTP 404 - File not found." error message as "The page cannot be found.The page you are looking for might have been removed, had its name changed, or is temporarily unavailable "?
   2.21Why do I get the error message "Sql Server does not exists or access denied " whenever I try to access the data on Sql server?
   2.22Why do I get error message "It is already opened exclusively by another user, or you need permission to view its data." when I try to open Access mdb?
   2.23How to Enable Remote Debugging on Windows XP Service Pack 2?
   2.24Why do I get the error message "aspnet_wp.exe (PID: XXXX) was recycled because it was suspected to be in a deadlocked state "?
   2.25How to display errors using Page_Error event of Page Object?
   2.26How to redirect the user to the friendly error-handler page when an Application error occurs?
   2.27Why do I get error message ""Parser Error Message: Access is denied: Source Error: Line xxx : ""?
   2.28Why do I get the error message "A potentially dangerous Request.Form value was detected from the client "?
   2.29How can I test performance of the Web application?
   2.30How can I resolve the error message "Cannot access file '...' because it is being used by another process"?
   2.31Why do I get the Compiler Error Message: "CS0246: The type or namespace name '...' could not be found (are you missing a using directive or an assembly reference?) "?
   2.32Why do I get the error message "Compiler Error Message: CS1595"?
   2.33Why do I get the error message "System.InvalidOperationException: Application is restarting"?
   2.34How can I see the Trace messages?
   2.35I have installed ASP.NET hotfix and I find that Startup Type of the ASP.NET Session State Service is set to Manual.Why?
   2.36Why do I get error message "System.Threading.ThreadAbortException: Thread was being aborted" while using Response.Redirect?
   2.37I get error message at runtime "Value null was found where an instance of an object was required" when using Application state variables. why?
   2.38I installed Windows 2003 Standard Edition, then VS.NET and SQL Server 2K with SP3. When I build web project connecting to the database in VS.NET, the compiler gives me the following error:Login failed for user 'NT AUTHORITY\NETWORK SERVICE',why?
   2.39What is a parser error?
   2.40Why am I getting the error: "Type '(OleDb or SQL)Connection' is not defined."?
   2.41Why do I get the Error message "Operation must use an updateable query"?
   2.42Whenever I browse to one of my ASP.NET web pages, Internet Explorer keeps on asking me if I want to download it, or it just displays the ASPX source. Why?
   2.43When compiling I get "Could not copy temporary files to the output directory" or "The process cannot access the file because it is being used by another process" error messages. Why?
   2.44Why do I get the error message "BC30451: Name 'ConfigurationSettings' is not declared"?
   2.45Why do I get error message "Failed to Start Monitoring Directory Changes" when i try to browse ASP.NET page?
   2.46Why do I get Compilation error "<Control> is not a member of <Page>"?
   2.47How can the default focus can be set when a error occurs?
   2.48When compiling I get "Could not copy temporary files to the output directory" or "The process cannot access the file because it is being used by another process" error messages. Why?
   2.49Why do I get the error message "BC30451: Name 'ConfigurationSettings' is not declared"?
   2.50How can I have a particular Web page in an ASP.NET application which displays its own error page.
   2.51Why do I get error message "Unable to start debugging on the web server. The server does not support debugging of ASP.NET or ATL Server applications. ..."?
   2.52In Visual Studio .NET, whenever I try to debug my ASP.NET application I'm not able to stop the debugger on my breakpoints. Why?
   2.53How to see the Message in the Output window using ASP.NET?
   2.54How can I use Tracing in Custom Components?

3. Development and Deployment Issues

  

   3.1Why are Server control tags shown in the browser instead of the controls it represents?
   3.2Where can we download IIS?
   3.3How To Repair ASP.Net IIS Mapping After You Remove and Reinstall IIS?
   3.4I have recently move my Web application from Windows 2k to Windows Server 2003. All works fine in Windows 2K but i am not able to view pages using Windows Server 2003?
   3.5Why do I get "HTTP 500" error (or "(DLL) initialization routine failed") in my browser?
   3.6What are the Best practices for side-by-side execution of Framework 1.0 and 1.1?
   3.7Can I have VS.NET and the Visual Studio 6.0 installed on the same machine?
   3.8How should I check whether IIS is installed or not?
   3.9Why do I get the error message "Server Application Unavailable The web application you are attempting to access on this web server is currently unavailable. Please hit the "Refresh" button in your web browser to retry your request."?
   3.10In Visual Studio .NET, how do I create a new ASP.NET application which does not have a physical path under wwwroot?
   3.11In Visual Studio .NET, how do I create a new ASP.NET application for an existing ASP.NET project?
   3.12Why do I get the "Unable to find script library 'WebUIValidation.js'" error ?
   3.13After installing .NET Framework SP1 the client side validations, or rather validator controls are not working?
   3.14How to Configure the ASP.NET Version to use for Each Application(developed using 1.0 or 1.1)?
   3.15How to Configure Different Versions of an ASP.NET Application Running on the Same Web Server?
   3.16Why do I get error message "Internet Explorer cannot download MyPage.aspx from MyWebSite.com ..."?
   3.17Why do I get error message "Unable to start debugging on the web server. The server does not support debugging of ASP.NET or ATL Server applications. ..."?

4. Basic

  

   4.1What is ASP.NET?
   4.2Why does my ASP.NET file have multiple <form> tag with runat=server?
   4.3How to find out what version of ASP.NET I am using on my machine?
   4.4Is it possible to pass a querystring from an .asp page to aspx page?
   4.5How to comment out ASP.NET Tags?
   4.6What is a ViewState?
   4.7Where can I get the details on Migration of existing projects using various technologies to ASP.NET?
   4.8What is the equivalent of date() and time() in ASP.NET?
   4.9How to prevent a button from validating it's form?
   4.10How to get the IP address of the host accessing my site?
   4.11How to access the Parameters passed in via the URL?
   4.12How to Set Focus to Web Form Controls By Using Client-Side Script?
   4.13How to display a Wait page while a query is running?
   4.14How to implement Form based Authentication in ASP.NET application?
   4.15How to catch the 404 error in my web application and provide more useful information?
   4.16Is there a method similar to Response.Redirect that will send variables to the destination page other than using a query string or the post method?
   4.17What are the differences between HTML versus Server Control?
   4.18How can I change the action of a form through code?
   4.19Is there any control that allows user to select a time from a clock - in other words is there a clock control?
   4.20How to Compare time?
   4.21How To work with TimeSpan Class?
   4.22Where can I get information on Cookies in ASP.NET?
   4.23Does ASP.Net still recognize the global.asa file?
   4.24How should I destroy my objects in ASP.Net?
   4.25Are there resources online with tips on ASP to ASP.Net conversions?
   4.26How do I publish my ASP.NET application to my ISP's web server?
   4.27Why do i get error message "Could not load type" whenever I browse to my ASP.NET web site?
   4.28Can I combine classic ASP and ASP.NET pages?
   4.29What is the difference between src and Code-Behind?
   4.30Will the WebMatrix SqlDataSourceControl work with a MySQL connection?
   4.31How can I get the value of input box with type hidden in code-behind?
   4.32I have created a .NET user control page (.ascx) but I cannot compile and run it.
   4.33What is a .resx file?
   4.34Is it possible to use a style sheet class directly on a control instead of using inline or page-level formatting ?
   4.35How to grab the referring URL?
   4.36My ASP code gives an error "Compiler Error Message: BC30289: Statement cannot appear within a method body. End of method assumed" when changed to .aspx?
   4.37How can I save images ?
   4.38How can I logout when using FormsAuthentication?
   4.39How to get URL without querystring?
   4.40Why can't I put <%@ Page Language="C " %> where at the top of an ASPX file and write my server-side scripts in C ?
   4.41Why do I get a blank page when I use Server.Transfer("page1.htm") to transfer to a different page?
   4.42How to detect the User's culture?
   4.43What is the difference between CurrentCulture property and the CurrentUICulture property?
   4.44ASP pages that worked perfectly on Windows 2000 Server and IIS 5.0 do not work on Windows 2003 Server with IIS 6.0. ASP.NET pages work fine. Why?
   4.45What is the best way to output only time and not Date?
   4.46Do I have to compile code if I am changing the content of my aspx.cs file?
   4.47Can I read the hard disk serial # of the client computer using ASP.NET?
   4.48What is xxx(src As Object, e As EventArgs)?
   4.49How can I ensure that application-level variables are not updated by more than one user simultaneously?
   4.50Can I receive both HTML markup for page and code in the ASP.NET web page's source code portion in the Web browser?
   4.51Why do I get error message "Error creating assembly manifest: Error reading key file 'key.snk' -- The system cannot find the file specified"?
   4.52What is the difference between Absolute vs Relative URLs?
   4.53What is the difference between URL and URI?
   4.54How to convert milliseconds into time?
   4.55How to include multiple vb/cs files in the source?
   4.56How to convert a string to Proper Case?
   4.57How to convert string to a DateTime and compare it with another DateTime?
   4.58How to get the url of page dynamically?
   4.59How to convert user input in dMy format to Mdy?
   4.60Why do I get the error message "System.InvalidOperationException: It is invalid to show a modal dialog or form when the application is not running in UserInteractive mode. Specify the ServiceNotification or DefaultDesktopOnly style to display a ...."?
   4.61When the User is prompted a File Download dialogbox, if the user selects "Save" then the "Save as" dialog box is displayed. Is there any way for me to retrieve the filename and directory path specified by the user on the File Download dialog box?
   4.62How to hide or show Controls in server side code?
   4.63How to validate that a string is a valid date?
   4.64Are namespaces and Class names Case Sensitive?
   4.65What is the difference between Response.Redirect() and Server.Transfer().
   4.66How to get the hostname or IP address of the server?
   4.67What is the meaning of validateRequest=true in .net framework1.1?
   4.68What is the different between <%# %> and <%= %>?
   4.69How to check if the user is using a secure or non secure connection?
   4.70Is it possible to write code in many languages in one ASP.NET project?
   4.71What permissions do ASP.NET applications posses by default?
   4.72Why is default.aspx page not opened if i specify http://localhost. I am able to view this page if i hardcode it as http://localhost/default.aspx?
   4.73Can ASP.NET work on an NT server?
   4.74How can I specify the relative path for a file?
   4.75How can I specify the "upload a file" input textbox in a form to be read only so that the user can click on the browse button and pick a file but they cannot type anything into the textbox next to the browse button.
   4.76How to change the Page Title dynamically?
   4.77Why do I get the error message "Object must implement IConvertible". How can I resolve it?
   4.78Is it possible to migrate Visual InterDev Design-Time Controls to ASP.NET?
   4.79How to automatically get the latest version of all the asp.net solution items from Source Safe when opening the solution?
   4.80How to convert the datetime into a string for use in the SQL ' statement?
   4.81How to make VS.Net use FlowLayout as the default layout rather than the GridLayout?
   4.82Can I use a DataReader to update/insert/delete a record?
   4.83What is the difference between Server.Transfer and Server.Execute?
   4.84How to create a login screen in ASP.NET?
   4.85How to format a Telephone number in the xxx-xxx-xxxx format?
   4.86Can two different programming languages be mixed in a single ASPX file?
   4.87Can I use custom .NET data types in a Web form?
   4.88How can I have a particular Web page in an ASP.NET application which displays its own error page.
   4.89How to use absolute positioning for controls in a web page in VS2005?
   4.90What is an Literal Control.
   4.91How can we programmatically verify whether the UserName and Password is Correct?
   4.92How to customize my site using WebParts?
   4.93How to choose between Repeater, DataList and DataGrid?
   4.94How to Manage Web Sites With ASP.NET?
   4.95How to implement a "back" link on a web page?
   4.96How can users Standardize their .NET Namespaces?
   4.97How can users Visually Bind to Data in ASP.NET?
   4.98Should users use DataReader or DataSet to retrieve data?
   4.99How to Separate Form, Function, and Style?
   4.100Can users create multiple interface applications?
   4.101What are the tips for cloning ASP.NET web forms?
   4.102How to boost web performance with multithreading?
   4.103Can users use placeholder control in ASP.NET?
   4.104Can users host ASP.NET applications?
   4.105Could users page and sort Resultsets with ASP.NET?
   4.106What are the tips on making ASP.NET design decisions?
   4.107How can users use ASP.NET to make application development easy?

5. Templates

  

   5.1How can Templates simplify frequent website updates?
   5.2How can users create boilerplate templates?
   5.3How can users make a more versatile Page Template class in ASP.NET?
   5.4How can users use page templates to apply a consistent look to their website?

6. ASP.NET

  

   6.1How the computer's name,OSVersion,Memory Working set can be identified using ASP.NET?

7. Caching

  

   7.1How to boost performance by using ASP.NET page and data-caching techniques?
   7.2How can users use the .NET Framework's caching functionality to Enhance Performance?
   7.3How can users clean out VSWebCache?
   7.4How to wire up your own cache expiration callbacks?

8. Calendar

  

   8.1How can users use Microsoft's free Web Matrix tool to automate an event calendar for ASP.NET development?
   8.2How to display multiple dates selected in Calendar Control?
   8.3How to reset the selected date in the calendar control?
   8.4How to Customize Individual Days in a Calendar Web Server Control?
   8.5Is there a way to click an image and let the calendar Control appear?
   8.6How to Programmatically change backgroundcolor of a Calendar Control using Dropdown List?
   8.7How can I change the month and Weekdays to Japanese characters for a Calendar Control?
   8.8How can I use a Calendar Control to show specific dates highlighted and display relevant data for that date?
   8.9How to clear the Calendar Control Selection?
   8.10How to change the Calendar Dates using a Dropdownlist?
   8.11How to hide the WeekDay Header in the Calendar control?
   8.12How to hide "other months" in a Calendar Control?
   8.13How to highlight today's date in Calendar Control in different color?
   8.14How can I use a Calendar Control in readonly mode. i.e no links for the day and month cells.
   8.15How can I display the calendar control in different languages according to the navigator culture?
   8.16How to display full day names in a Calendar Control?
   8.17How can I set the Selection of the Calendar Control to date or week or month?

9. User Controls

  

   9.1How to handle events from web user controls?
   9.2What ways can users communicate between users controls?
   9.3Is there anything similar to web templates in ASP that I can use in ASP.Net?
   9.4How can I include an Asp.NET page in many other Asp.Net pages so that I don't need to rewrite the code?
   9.5Are there any settings on the application level to make certain elements appear on every page without having to manually insert code or insert UserControls?
   9.6How to add user control dynamically into another usercontrol?
   9.7I have a function inside of the .ascx file. How can I call it from the web application page(the .aspx file)?
   9.8How to pass a parameter to a user control?
   9.9How to dynamically load User Controls?
   9.10How to change the imageurl of the image control that exists in a usercontrol?

10. DataList

  

   10.1Why is the DataList not displayed on the web page?
   10.2How to group the data in the DataList?
   10.3How to change the colors of a row to indicate its the Birthday of the Employee (for example) in a DataList?
   10.4Which control should I use when binding a multidimensional array?
   10.5How to display data in multiple columns for a specific Column in a table in an ASP.NET page?
   10.6How to use a Hyperlink in a DataList?
   10.7How to do Paging in DataList?
   10.8How to hide and show data in the DataList?
   10.9How to add a Templatecolumn dynamically to a DataList?
   10.10How to create a File Picker in ASP.NET?
   10.11How can I get a list of all the environment variables?
   10.12How to display checkbox in a DataList and highlight a row if the value of checkbox is true?
   10.13How to display all System Colors in a DataList?

11. Repeater

  

   11.1How to display alphabetically sorted data in Repeater?
   11.2How to display the Directory names in the Repeater Control?
   11.3How to define HeaderTemplate and ItemTemplate to the Repeater at runtime TBD?
   11.4How to add a TemplateColumn dynamically to Repeater?
   11.5How to implement sorting using Repeater?
   11.6Can I specify ItemStyle to a Repeater Control?
   11.7How to change the row color of the Repeater based on some condition?

12. Security

  

   12.1Are there ways to secure my Directory-Enabled Apps?
   12.2What application-level techniques can users implement to safeguard their password-protected ASP.NET apps?
   12.3What forms authentication are available for users to Secure their Mobile Apps?
   12.4How to increase the flexibility and security of your Web apps?
   12.5How to call web services through secured fire walls?
   12.6What is the difference between authentication and authorization?
   12.7How to implement authentication via web.config?
   12.8How to run a Web application using the permission of an authenticated user?
   12.9Which are the different ASP.NET authentication modes?
   12.10How to determine the Windows User from a Web form Application?
   12.11After installing SP4 none of my ASP.NET pages developed using Framework 1.0 are showing the errors related to security?

13. CheckBox

  

   13.1How to assign a text to Checkbox control and know which checkbox is selected?
   13.2How to validate a CheckBox?

14. Client Side Scripting

  

   14.1What approaches can users use to add Client-side script code?
   14.2How can users use ASP.NET's server side methods to implement client scripts?
   14.3How to emit client-side javascript blocks from VB.NET/C#?
   14.4How to open a new Window using javascript function from a Link button?
   14.5Is there a JavaScript Quick Reference Guide?
   14.6How to set the background color of a web page using code behind?
   14.7How to resolve error message "String constants must end with a double quote."?
   14.8Why can't I open a new browser window from within server code?
   14.9How to get the confirmation of Yes/No from a javascript pop-up and display the value on the page?
   14.10How to open a browser window with maximum size on click of a button?
   14.11How to show Modal and Modeless dialog windows in Javascript?
   14.12How can I know if the client browser supports active scripting?
   14.13How to determine if the Browser supports javascript?
   14.14How to create files on the client m/c using JavaScript?
   14.15How to parse the files/folders in the client's file system?
   14.16How can i form a regular expression which identifies a valid whole number without decimal places?
   14.17How to check/ uncheck a checkbox based on the text entered in textbox?
   14.18How to rotate a Label Text?
   14.19How to display a message in the status bar of a browser window?
   14.20How to change the BackgroundColor of a page based on the value selected in a DropdownList?
   14.21How to disable a Dropdownlist once someone has selected an item in the Dropdownlist?
   14.22How can I make a Textbox a mandatory field if a checkbox is checked on a button click event in the client side?
   14.23Why does the SmartNavigation does not work on the live server but works perfectly on the Development Machine?
   14.24How to pop up a message box when no item in the dropdownlist is selected before postback?
   14.25How can I use a Timer Control to refresh a page automatically at a specified interval?
   14.26How to open a new window without IE menus and toolbars on click of a button?
   14.27Does JavaScript support hashtables/ hash tables or dictionary type data structures?
   14.28How to disable the right click option on a web page?
   14.29How to hide a control using javascript?
   14.30Can I modify WebUIValidation.js?
   14.31How to change a Label element's text in javascript?
   14.32How to resize two <div> tags on a webform?
   14.33How can I change the scroll bar color?
   14.34How to create dynamic javascripts in server side code based on server side variables?
   14.35Is it possible to identify the source webpage where I came from?
   14.36How can i resize the dialog window?
   14.37How the browser name can be detected?
   14.38How can we check whether a function exists in javascript?
   14.39How can you generate a clock in javascript?
   14.40How can we check whether the cookie is enabled?
   14.41How can I check whether left or right mouse button has been clicked?
   14.42How can you identify the drives available in the System?
   14.43How can I add and remove an Html element dynamically using javascript?
   14.44How can you make the text to scroll in the window's status bar?
   14.45How can you avoid postback on submit button?
   14.46Is there Trim function available in Javascript?
   14.47How can you resize the html elements dynamically?
   14.48How can you get the X Co-ordinates Y Co-ordinates values during the Mouse Movement?
   14.49How can you make a piece of text get moving along the mouse Movement?
   14.50Can I access the query string using JavaScript?
   14.51How can the 'Enter' key be disabled?
   14.52How can you do ClientSide Validation?
   14.53How can the a client side function be called on a button click event?
   14.54Is it possible to identify the source web page where I came from?
   14.55How can I resize the window?
   14.56Are there any resources regarding the Mozilla specific Browser Objects and CSS information?

15. XML

  

   15.1How to Bind XML Data in ASP.NET?
   15.2How to write the data from database into an XML file?
   15.3How to read data from an XML file and display it in a DataGrid?
   15.4How to read data from the XML file using FileStream and display it in a DataGrid?
   15.5How to save an xml-string into an Xml document?
   15.6How to display the Attribute values in an XML Document in a DataGrid?
   15.7How to use the <asp:xml> tag?

16. CheckBoxList

  

   16.1How to retrieve the multiple selected items in a CheckBoxList?
   16.2How to check if nothing is selected in a CheckBoxList without using a loop to parse through all the items?

17. AdRotator

  

   17.1How can users create a MultiRotar server control to display a series of banners from a single data source while preventing duplicates?
   17.2How to use an AdRotator in ASP.NET?
   17.3Why do I get a blank image when I set the KeywordFilter property of the AdRotator?
   17.4How to extract the information between the ImageUrl of an Advertisement file?

18. Files

  

   18.1Are there ways to parse text files with Regular Expressions?
   18.2How to remove a Key From an INI File?
   18.3How to create a folder in ASP.NET?
   18.4What is the best way to rename a file on the webserver in code?
   18.5How to delete a file from the server?
   18.6How to find the date and time the specified file or directory was last written to?
   18.7How to get the File information using ASP.NET?
   18.8How to create a .csv file that grabs the data from the database?
   18.9How to read text file in ASP.NET?
   18.10How to read specific characters from a text file?
   18.11How to check files exist in a particular directory?
   18.12How to read a html file in ASP.NET?
   18.13How can I to get the path to the system area that holds temporary files?
   18.14How to show the ASP.NET code to the users?
   18.15How to save a file in the client machine?
   18.16How to get the physical path of a file?
   18.17How to get the current filename?
   18.18How to Upload files in ASP.NET?
   18.19What is a MemoryStream and how to use MemoryStream in ASP.NET?
   18.20How to detect if the string indicating a file-system resource is a file or directory?

19. ListBox

  

   19.1How to make the listbox scroll down to show it's last entry when the page loads?
   19.2How to check if an item already exists in a listbox?
   19.3How to populate a listbox with the Column Names in a Table?
   19.4How to add items dynamically to a ListBox using an ArrayList?
   19.5How to move items between ListBoxes?
   19.6How to select a specific Item in a ListBox in code?
   19.7How can you use a ListBox control to display items with Price above a specific value in one color and the ones below that value in a different color?
   19.8How to select all the Items from a listbox when the user selects a radio button?
   19.9How to use a single DataReader associated with two different tables to databind two different listbox controls?
   19.10How to clear all the items in a listbox?

20. Output Caching

  

   20.1How can I remove the cache of a page (cached with VaryByParam) for certain request params in code?
   20.2How can I set a page/control to be cached only for certain parameters?
   20.3What is Output Caching?
   20.4I want to Cache based on HTTP header .How can I do that?
   20.5How to make a page expire immediately in such a way that a warning message "This page has expired."appears?
   20.6How to prevent client Cache? I want every client request get sent to the server even if it's behind a proxy server and for any browser setting.
   20.7Is there any way to cache by browser a page or User Control?
   20.8Is caching PDF Files a good or bad idea?
   20.9How to remove Output Cache by param?
   20.10How can I programatically invalidate the outputcache from a usercontrol?
   20.11Is it possible to cache a page by Browser Version and/or some params?
   20.12Is there a way that I can clear/expire a page cache from another page/class?
   20.13How to access the Cache from a compiled class?
   20.14How to display items stored in a local application Cache?
   20.15Is there a Cache.RemoveAll()? How can I clear / remove the total cache?
   20.16Why do I get the error message "Exception Details: System.Web.HttpException: Cache is not available "?
   20.17How to remove the Cache starting with "cachedata_"?
   20.18Why do I get the error message "The type or namespace name 'CacheDependency' could not be found (are you missing a using directive or an assembly reference?) "?
   20.19How do I access the cache in the Global.asax?
   20.20How can I cache the page by the complete querystring?

21. Mail

  

   21.1How do I transfer files to a remote server over the internet using .NET?
   21.2How to send HTML mail in ASP.NET?
   21.3What is the namespace used for sending mails?
   21.4How do I configure a local SMTP server?
   21.5How to send simple text mail in ASP.NET?
   21.6Why do I get the error message "The transport failed to connect to the server "?
   21.7Why do I get the error message "The SendUsing configuration value is invalid"?
   21.8How can I read POP3 email with ASP.NET?
   21.9Why do I get the error message "550 5.7.1 Unable to relay for xxx or 550 not local host xxx, not a gateway "?
   21.10How do I add the Reply-To header to the MailMessage?
   21.11How do I send an email with attachments?
   21.12How do I send a web page?
   21.13How do I send non US-ASCII mails?
   21.14How do I email a website exception?
   21.15Why do I get the error message "Sender address rejected: need fully-qualified address "?
   21.16How do I resolve the error "The server rejected one or more recipient addresses. The server response was: 503 This mail server requires authentication. Please check your mail client settings"?
   21.17How can I specify multiple recipients for a message?
   21.18How can I use a "friendly name" in the To and From properties?

22. GDI+

  

   22.1How can users modify image data using the .NET Framework's GDI+ and System.Drawing classes?
   22.2Why do I get the error message "CS0122: 'System.Drawing.Imaging.ImageFormat.jpeg' is inaccessible due to its protection level "?
   22.3Why do I get the error message "A generic error occurred in GDI+."?
   22.4How to draw strings vertically on a Bitmap?
   22.5I am using GDI+ to write on a bitmap. I know how to make font Italic/Bold. What should be done to apply both Italic and Bold?
   22.6How can I display image from a Sql Server database?
   22.7How to display image on a browser without using the image tag?
   22.8How to rotate a image in ASP.NET?
   22.9How to show the graphics that have text written on it crisp and clear?
   22.10I get error "Value of String cannot be converted System.Drawing.Color' when I use label1.BackColor= "Red"?
   22.11How to load a image from a website URL?
   22.12How can I check the image raw format i.e how can I find if Image.RawFormat property returns a "jpeg" or "gif",?
   22.13How to align the text on a bitmap?

23. Collections and Lists

  

   23.1How to bind an ArrayList to a DropDownList?
   23.2How to check if the ArrayList is empty?
   23.3I get the error message "DataGrid with id 'DataGrid1' could not automatically generate any columns from the selected data source" when I bind a HashTable to the DataGrid?
   23.4How to sort ArrayList?
   23.5How to sort the DataGrid using an ArrayList as the DataSource?

24. RadioButton

  

   24.1How can I have the first item in the radiobuttonlist selected?
   24.2What is the difference between a series of RadioButton controls and a series of Checkbox controls?
   24.3How can I enforce that only one radiobutton gets selected among a list of Radiobutton controls?

25. Controls

  

   25.1How to close the browser window on button control click?
   25.2How to create server controls at runtime?
   25.3How to change the text color of a linkbutton control?
   25.4How to dynamically add validator controls?
   25.5How to change the image button size during runtime?
   25.6How can I to divide the .aspx page to different parts with different functionality in a neat and organized manner. Is there any control that can do that?
   25.7How to maintain Scroll Position in any Page Element?
   25.8DataBinder.Eval imposes performance penalty on code as it uses late bound reflection. How can I replace this calls with explicit calls?
   25.9What is the difference between User Controls and Custom Controls?
   25.10How to apply Style to a Web Server control programmatically?
   25.11How can I disable a button to prevent the user from multiple clicking?
   25.12Why do I get the error message "Access is denied : <myctrl>" when I try to load a Custom Control?
   25.13How to pass information between panels. Information entered in one panel should be displayed in other panel?
   25.14Why do I get error message "The control '_ctl1' of type 'TextBox' must be inside a form label with runat=server" while trying to place a control inside a form dynamically?
   25.15How to implement mouseover effects in a <asp:image> web server control?
   25.16Is there a way to set the position of the controls dynamically?
   25.17How can I set the maximum and minimum value for RangeValidator based on two dates?
   25.18How to specify the hspace and vspace in a <asp:Image>?
   25.19How to disable status bar messages for Hyperlink Controls?
   25.20How to get the list of all System.Web.UI.WebControls in my page?
   25.21How to set the vertical align of a TableCell programmatically?
   25.22How to control viewstate on individual controls?
   25.23What is the Use of the Login Status Control?
   25.24How can the page be posted to the different URL on a button click?
   25.25How can we define OnMouseOver Event for the ImageMap control(2.0)?
   25.26How can the layout of SideBar in Wizard Control in (ASP.NET 2.0) be changed?

26. Table Control

  

   26.1How to customize tabular display?
   26.2How to create a table control dynamically to populate data?
   26.3How to limit table cell size with long strings?
   26.4How to use a Table control to display data vertically?
   26.5Are there any IE specific performance improvement possible with Table Layout?

27. DataGrid

  

   27.1Why do I get the Columns twice in the datagrid. I am using BoundColumns and TemplateColumns in DataGrid?
   27.2How to Format and display currency with n decimal points in a BoundColumn.
   27.3How do I specify more than one parameter for my HyperlinkColumn?
   27.4Why am I getting an 'AllowCustomPaging must be true and VirtualItemCount must be set for a DataGrid with ID MyDataGrid when AllowPaging is set to true and the selected datasource does not implement ICollection' Error?
   27.5How do I use a "helper function" to change the column value as Boolean in database to be displayed as Yes/No in Datagrid?
   27.6How to display only date part in the Datagrid if the Date is of DateTime datatype in the database?
   27.7How to open a new window with multiple parameters when clicked on a hyperlink in a column in a datagrid?
   27.8How to display hierarchical data in a DataGrid?
   27.9How do I conditionally set the text color of a cell in my Datagrid based on the cell's/fields's value?
   27.10When I open my new window using Javascript, all elements appear great, but the original window just displays [Object] why?
   27.11How to populate a DataGrid using a DataReader?
   27.12How to populate a DataGrid using a DataSet?
   27.13Why do I get "Could not lock file" and "cannot open file" exceptions when bound to a mdb file?
   27.14I am binding the DataGrid to a datasource at runtime. After binding I want to populate a listbox with the column headers from the datagrid. How can I reference the column headertext for each column in the datagrid and then add them to my listbox?
   27.15When I try to do an Update from my Datagrid, I keep getting the old/original values. Why?
   27.16How can I sort a BoundColumn?
   27.17How can I hide the HeaderText of the DataGrid?
   27.18How to add a mailto link inside a datagrid?
   27.19How to do Simple sorting using DataGrid?
   27.20How to do Paging using DataGrid?
   27.21How to get the DataField name of a BoundColumn from code-behind?
   27.22How to display an image field in each row of DataGrid?
   27.23How to create a Drilldown DataGrid?
   27.24How to set a Datagrid Column to invisible when that Column is an AutoGeneratedColumn?
   27.25How to use the DataFormatString to format DataGrid data dynamically?
   27.26How to set the maxlength of a textbox (in the EditTemplate of DataGrid) based on a field value in the record?
   27.27How to add an attribute to the Table generated by the DataGrid?
   27.28Why do I get the error message " CS1502: The best overloaded method match for 'xxx(string)' has some invalid arguments " when I use Helper function in DataGrid?
   27.29How to confirm delete in DataGrid using LinkButton?
   27.30How to hide and show a Column based on the authenticated user?
   27.31How to confirm delete in DataGrid using PushButton?
   27.32How do I change the width of the Textboxes created for edit-mode of a Datagrid?
   27.33How to display a Tooltip when hovering over the Header sort link of the DataGrid?
   27.34How to right align cells in the Datagrid when using BoundColumn?
   27.35How to hide a row in a DataGrid if one of the Column value is zero?
   27.36How can I disable sorting for a specific Column in a DataGrid?
   27.37Why do I get error message "NewPageIndex is not a member of "System.EventArgs"."?
   27.38How to create a Main Header in DataGrid along with the DataGrid Column Headers?
   27.39Is there a way to show more than one datafield in a column when using a datagrid?
   27.40How to databind a textbox in a column template that is inside a datagrid?
   27.41How can I simulate a scrollbar in a DataGrid?
   27.42How to clear a DataGrid?
   27.43How to trigger the checkChanged event of the checkbox inside a DataGrid?
   27.44How to display "No data exists" within the datagrid rather than just showing Column Headers with no rows?
   27.45How to fill a DataGrid with an array?
   27.46How to add a Column dynamically to the datagrid to include custom expressions?
   27.47How to access the BoundColumn information on SelectedIndexChanged event of a datagrid?
   27.48How to access the TemplateColumn information on SelectedIndexChanged event of a datagrid?
   27.49How to access information from the controls in the TemplateColumn in SelectedIndexChanged Event?
   27.50How to display the total of a particular column at the footer of the DataGrid?
   27.51Why does the DataGrid web server control contents wrap when ItemStyle Wrap or HeaderStyle Wrap Property is set to False?
   27.52How can I have an onclick event in the DataGrid for any Column?
   27.53How to do Bidirectional Sorting in the DataGrid?
   27.54How to have mutually exclusive radiobutton controls in a datagrid.
   27.55How to add a TemplateColumn dynamically to the datagrid?
   27.56How to edit data in the DataGrid using a TemplateColumn?
   27.57How do I use Validator controls while editing data in the DataGrid?
   27.58How to highlight the Column that is sorted in a DataGrid?
   27.59How to select a record in the datagrid and start editing/updating the record using textboxes?
   27.60How can I show what page the user is on using in-built paging functionality. CurrentPageIndex Property Shows Up as 0?
   27.61How to display "No data" when a field value is null?
   27.62How to change the value of a field before it gets displayed in the datagrid?
   27.63How to use a ButtonColumn in a DataGrid?
   27.64How to display a Master Detail data using DataGrid?
   27.65I have set the ItemStyle and the AlternatingItemStyle tags for DataGrid control but they aren't working correctly , why?
   27.66How to display the checkbox checked or unchecked for a bit data type value in the DataBase?
   27.67How to enable or disable the button in the DataGrid based on a bit value in the database?
   27.68How to show data vertically in a datagrid for a particular row?
   27.69How can I fix error message "Invalid CurrentPageIndex value. It must be >= 0 and < the PageCount"?
   27.70How to edit a record using DataGrid?
   27.71How to delete a record using DataGrid?
   27.72How to use a HyperlinkColumn for a DataGrid?
   27.73How to use a LinkButton in a DataGrid?
   27.74How can I display the field as a link in the DataGrid? If may or may not be stored in the "http://" format.
   27.75How to hide a column in a Datagrid if AutoGenerateColumns is set to True?
   27.76How to do alphabetical paging in ASP.NET?
   27.77How to use a dropdownlist in a DataGrid?
   27.78How to set a different color for every alternate row of a datagrid?
   27.79How to add a counter column to a DataGrid?
   27.80How to change the HeaderText of the Datagrid?
   27.81Why do I get a blank page when I click the linkbutton in the Datagrid, I am also handling PostBack on the page? The ItemCommand Event does not seem to trigger?
   27.82How should I avoid getting blank page on click of linkbutton inspite of setting the EnableViewState= true for DataGrid?
   27.83How to export DataGrid data to excel?
   27.84How to export data in Datagrid on a webform to Microsoft Excel?

28. CSS Styles and Themes

  

   28.1Pre-defined themes such as SmokeAndGlass appear to be missing?
   28.2Why does my page show up poorly in Mozilla based browsers like Netscape and Firefox?
   28.3How can we create drop case for the first letter using CSS styles?
   28.4How the repetition of the background images can be avoided?
   28.5How can the styles be applied for the TD for OnMouseOver & OnMouseOut events?
   28.6What are pseudo-elements?
   28.7What are pseudo classes?
   28.8How can you apply skin styles to button?

29. Design Time Serialization

  

   29.1Why doesn't my properties tagged with the PersistenceMode.InnerProperty attribute get saved in the aspx file?
   29.2Why doesn't changes made to some of my properties don't get saved in the aspx file during design time?
   29.3Why doesn't my Collection Properties get saved in the aspx file properly during design-time?

30. Custom Controls

  

   30.1How can the child controls be created in server controls?
   30.2How to share event handlers?
   30.3How do I insert custom @ Register tags into the aspx file from my custom control?
   30.4How can you write events for the server controls?
   30.5What is being passed back and forth in the _ViewState form control?
   30.6What is an Validation Groups in 2.0 and how can u create them?
   30.7What is an Associated ControlID?
   30.8How can an ListItem in the ListControl can be avoided from being displayed but it must remain in the collection?
   30.9How can MultiView Control be created in 2.0?
   30.10How can session expire time can be set?
   30.11How can I define a Hashtable to store session variable?
   30.12How can a Multi-dimensional array be stored in session state and the values stored can be reterieved?
   30.13When I run a page, I get the error "The page cannot be displayed" and an HTTP 502 Proxy Error. Why?
   30.14What is the difference between Session and ViewStates?
   30.15How can we convert an ASP.NET page to HTML?
   30.16How can ASPX pages been refreshed perdiodically?
   30.17How can a ClientSideEvent can be attached to a Custom control?
   30.18How can the output cache can be enabled?
   30.19How can I check whether the file exists?
   30.20How can I include file through the ASPX?
   30.21How can you write events for the server controls?
   30.22How can you create a check box dynamically in the server control?
   30.23How can I create a server control?
   30.24How can I use Tracing in Custom Components?

31. Miscellaneous

  

   31.1Is there a way to let users Save data locally?
   31.2How to build a SharePoint Web Part?
   31.3What are the steps involved in building a Printable View?
   31.4Are there any performance tips that will help speed up the ASP.NET Pages?
   31.5Is there a control that enables reviewing and rating functionality for e-commerce sites?
   31.6How can users use ASP.NET Mobile Controls to translate a Web application to a phone version?
   31.7How can users Increase Transaction Isolation Level With Sub-Selects?
   31.8Can users use ASP.NET Web server controls to Leverage Third-Party Components?
   31.9How to pass multiple arguments to Hyperlink columns?
   31.10How can users add Google search to their site?
   31.11What are the advantages of ASP.NET in your enterprise?
   31.12In what ways can users select the right tools for efficient UI's?
   31.13How can users improve ASP.NET application performance?
   31.14How to create custom performance counters?
   31.15How to separate business logic from the user interface in ASP.NET?
   31.16How to write date-time values of fields in a dataset into xml in a specific format?
   31.17What does "~" mean in ASP.NET applications?
   31.18How can I reference simple DLL which contains one class but has no namespace assigned to it in an .aspx page?
   31.19How do I specify the Japanese locale for the controls in my Japanese localized page?
   31.20How to get the currently logged in user?
   31.21How to specify a line break in a Label's Text?
   31.22How to convert a string to HTML format?
   31.23How do I determine if the user clicked a "Submit" button twice in the page?
   31.24How can I force a Save As dialog box from an ASP.NET Web page.
   31.25How can I trigger a submit on my form when the enter key is pressed?
   31.26In ASP.NET is there a control similar to Combobox in Windows forms?
   31.27How to do text encryption and decryption?
   31.28How to get list of all files in the directory?
   31.29Why do some of the events on my page fire twice?
   31.30How to remove the spaces in a given string?
   31.31I get the error System.__ComObject when using recordset?
   31.32Why do I get error "A generic error occurred in GDI+." when trying to save the bitmap file?
   31.33What is HttpHandler?
   31.34How to get the size of a byte array?
   31.35How to know the width and height in pixels of a given image programmatically?
   31.36When using FormsAuthentication, how can I redirect a user to a different page other than the default page?
   31.37Is there a control in ASP.NET for getting HTML like the ASPHTTP for the classic asp.
   31.38Why do I get error message "System.Web.HttpException: Request is not available in this context" " when using Cookies?
   31.39How to save the Output of ASP.NET to HTML?
   31.40Why do I get ViewState error when upgrading my application from a single web server to a web farm?
   31.41How to convert Color to it's corresponding Hexadecimal value?
   31.42How to Select a record using Listbox and edit/update it's fields using textboxes?
   31.43How to select a value from a child form and send it to parent form?
   31.44How to read the comma separated values from a string?
   31.45How do I make my TextBox positioned below a DataGrid move up or down in position as the height of the DataGrid changes?
   31.46How to stamp Date-Time on all the pages in an application when requested?
   31.47How can I have multiple command buttons map to the same event or function?
   31.48How to use a RangeValidator to select Colors from a specific range?
   31.49How to restore the browser's scroll position after a postback?
   31.50Is there something as RecordSet we had in ASP that can be used in ASP.NET?
   31.51How to set a <link> tag's href attribute at runtime using a value specified in the web.config file?
   31.52How to call the Page_load procedure from any event on the page?
   31.53How to add login user (ASPNET) to MS SQL 2000 Desktop Engine server?
   31.54How to get the count of rows in a Excel file?
   31.55What are the pros and cons of using Session or Cache to save intermediate state?
   31.56How to mirror (align elements Right to Left) a form or control on a form?
   31.57How can I Enable ASPX Compression in IIS?
   31.58How to run an exe from a ASP.NET page?
   31.59Why does FormsAuthentication.Decrypt crashes when moving to another Server?
   31.60Why do I get error message "Login failed for user DOMAIN\USERNAME"?
   31.61How to check if the current User has been Authenticated?
   31.62How to get the Computer Name on which the code is running?
   31.63How to pass argument to accessdatasourcecontrol selectcommand statement?
   31.64How to compile CS/VB file and place new DLL in bin subdirectory?
   31.65Can I use a src attribute with a Web Service?
   31.66How to display random images on a web page from a set of images in a directory?
   31.67How can I scan a string to determine if it contains DBCS chars?
   31.68Request.ServerVariables("LOGON_USER") always returns empty string in Framework 1.1 . Why? It worked fine in ASP?
   31.69Is there a way to specify CSS only if the browser is IE?
   31.70How to create Custom Application Settings in the web.config?
   31.71Why do I get "do not have permissions" error when accessing a Access mdb file in my local system?
   31.72How can I access an MS Access database in my ASPX page, if the db is on a remote server?
   31.73How can I reference simple DLL which contains one class but has no namespace assigned to it in an .aspx page?
   31.74What's new with IIS 7.0?

32. TextBox

  

   32.1How to cast the value entered in a textbox to integer?
   32.2How to allow only numeric values in a textbox using ASP.NET Validator control?
   32.3Why does TextBox retain its values when posting in spite of having ViewState property disabled for TextBox,?
   32.4I am running the query SQL="Select name from profile where proID=1"; and I am getting the result in Dataset dsdata. How can I read the text from the dataset and assign it to textbox1.text ?
   32.5Why do I get error message "Option Strict On disallows implicit conversions from 'System.Web.UI.Control' to 'System.Web.UI.WebControls.TextBox'."?
   32.6How to align the Text property of the Textbox Control?
   32.7How to clear all the textboxes in my form?
   32.8How to convert TextBox value into a DateTime variable?
   32.9How to programmatically set the width of the textbox control?
   32.10How to get the textbox value at the client side ?
   32.11How to display data in Textboxes using DataSet?
   32.12How to display data in Textboxes using DataReader?
   32.13Is there a TextArea in ASP.NET?
   32.14How to right align the text in the TextBox?
   32.15How to force the max no. of characters in a multiline TextBox using RegularExpressionValidator?
   32.16How to change server control backcolor from a variable?
   32.17How to create an array of Web Controls?
   32.18How to show TextBox web server control with TextMode Property Password as **** rather than blank?

33. Dropdownlist

  

   33.1How to apply css style to each item of the dropdownlist or listbox control?
   33.2How to concatenate and display 2 fields in a dropdownlist?
   33.3I have 3 DropDownLists on the page : one for a Month, second one for a Day, and the last one for a Year. How can I let the user choose the data and enter it to 'datetime' column in the database.
   33.4I have a page with a Dropdownlist and some simple code for the SelectedIndexChanged but it does not do a postback?
   33.5How to add an extra item to the DropDownList filled with data from a database?
   33.6Can I use a dropdownlist to allow user to select multiple items from a list of available items?
   33.7Why do I get System.Data.DataRowView/System.Data.Common.DbDataRecord as the item in a dropdownlist?
   33.8How can I display a Tool tip for a dropdownlist?
   33.9How to select a specific Item in a DropDownList?
   33.10How to display multiple spaces in a dropdownlist?

34. Config files

  

   34.1What is the best place to store Database connection string?
   34.2My web.config gives error "Unrecognized attribute 'verb'."?
   34.3Can I use IIS as an alternative way of configuring Custom error pages?
   34.4How can the username and password been created from login control?

35. ADO.NET

  

   35.1What is the Performance comparison between DataSet and DataReader?
   35.2How to get the count of records in the Database table using the DataSet?
   35.3How to check if the Dataset has records?
   35.4How to retrieve value of a field in a dataset?
   35.5How to filter the data in the DataView and display it in some DataControl?
   35.6How to truncate the data in the column?
   35.7How to find the null fields in the datareader?
   35.8I am running the query SQL="Select name from profile where proID=1"; and I am getting the result in Dataset dsdata. Now how do I read the text from the dataset and assign it to textbox1.text ?
   35.9How to query the database to get all the Table names?
   35.10How to View one record per page in ASP.NET?
   35.11How to insert data in database using Textboxes?
   35.12When I try to enter a null value for DataTime in Database I get error message "String was not recognized as a valid DateTime" or "Value of type 'System.DBNull' cannot be converted to 'String'"?
   35.13How to use Parameterized queries in ASP.NET?
   35.14How to filter distinct records from a normal Select query and display in a web control?
   35.15A field with bit data type value when displayed on a web page shows true/ false how to display a bit value as 1/0?
   35.16When I try to enter null value to DateTime field in database it is saved as 1/1/1900 12:00:00 AM?
   35.17How to use Stored Procedures in ASP.NET?
   35.18How to display multiple records using DataTable.Select?
   35.19How to get the count of items in a dataReader?
   35.20How to check EOF with SqlDataReader?
   35.21How to filter xml data and display data in the DataGrid?
   35.22Why do I get the error message "ExecuteReader requires an open and available Connection. The connection's current state is Closed"?
   35.23Why do I get the error message "The ConnectionString property has not been initialized"?
   35.24I get the error message "Keyword not supported: 'provider'", when using Sql Server why?
   35.25Why do I get the error message "ExecuteReader: Connection property has not been initialized"?
   35.26Why do I get the error message "There is already an open DataReader associated with this Connection which must be closed first."?
   35.27I get the error message "Cast from type DBNull to type String is not valid." when I try to display DataReader values on form?
   35.28What is the significance of CommandBehavior.CloseConnection?
   35.29How to maintain Line feeds when saving data to a database?
   35.30How to use the Same DataReader to populate two different ListBoxes?
   35.31How to resolve the error message "Cannot implicitly convert type 'string' to 'System.DateTime' " when using a DataReader?
   35.32Why do I get the error message "Value cannot be null. Parameter name: dataSet "?
   35.33Why do I get the error message "The SelectCommand property has not been initialized before calling 'Fill'. "?
   35.34How to use OleDb DataSet?
   35.35How to use OleDb DataReader?
   35.36How to loop through a Dataset to display all records?

36. Session

  

   36.1What are the different ways to manage client states?
   36.2How to create a page that displays and manages images in a directory using a tree control?
   36.3What are the server-side techniques to manage Session State on the Server?
   36.4What techniques can be used to manage Session State on the Client?
   36.5How to simplify state maintenance with ASP.NET?
   36.6When I use the Session in component class as Session("CustID"), I get error message "Session is not declared". Why?
   36.7How to print out all the variables in the Session?
   36.8Why isn't session state available?
   36.9Can I share session state between ASP.NET and ASP pages?
   36.10Can I share session state between web applications (i.e. "virtual directories" or "applications" in IIS)?
   36.11What is the difference between Session.Abandon() and Session.Clear()?
   36.12The SessionID remains the same even after the Session times out or Session abandons?
   36.13Why are my Session variables lost frequently when using InProc mode?
   36.14Does session state have a locking mechanism that serialize the access to state?
   36.15Response.Redirect and Server.Transfer is not working in Session_End?
   36.16Is the session Timeout attribute a sliding timeout value?
   36.17I am writing my own HttpHandler. Why is session state not working?
   36.18Why isn't Session available in my event handlers in global.asax?
   36.19Will my session state be saved when my page hit an error? Will my session state be saved when my page hit an error? In Session_End, I tried to do some cleanup job using SQL but it failed. Why?
   36.20When I create a Session variable if I'm using inproc, where is the session variable stored?
   36.21Is the session timeout attribute in minutes or seconds?
   36.22How to store SortedList in Session or Cache?
   36.23Why do I lose my Session variables on redirect when I set "cookieless" to true?
   36.24What are the disadvantages of setting cookieless to true?
   36.25Can I store my session state in a database other than tempdb, In SqlServer mode?
   36.26Can different apps store their session state in different databases on the same SQL server?
   36.27Do I have a valid HttpSessionState object and HttpContext object in Session_End?
   36.28Why aren't my sessions expiring, I am using SQLServer mode?
   36.29I set EnableSessionState to "ReadOnly", but in InProc mode I can still modify the session. Why is that?
   36.30How can I avoid specifying a plain password for my sql connection?
   36.31How can I use Session variables in a class?
   36.32What kind of objects can I store in a Session State?
   36.33Why did my request hang after I switch to SQLServer mode?
   36.34I have a frameset page which has an HTM extension, and I found out that each frame it contains displays a different session id on the first request. Why?
   36.35Why do I get the error message "Session state can only be used when enableSessionState is set to true, either in a configuration file or in the Page directive"?
   36.36How to remove a Session variable?
   36.37Is there any way to know how much memory is being used by session variables in my application?

37. ASP.NET 2.0

  

   37.1How do we use the Wizard Control while creating forms?
   37.2What's new in Whidbey with respect to building ASP.Net web applications?
   37.3What are Master Pages?
   37.4Does ASP.NET 2.0 allow users to Build Web Sites Using Master Pages?
   37.5What is different in the ASP.Net 2.0 code behind model?
   37.6What is an Atlas?
   37.7What is AJAX?
   37.8What's new with databinding in ASP.Net 2.0?

© 2001-2010 Copyright Syncfusion Inc. All rights reserved.  |  Privacy Policy  |  Contact  |  Sitemap