1. ASP.NET Introduction 2. Comp of .Net Framework 3.5 3. Sys.Req for VS 2008 4. ASP.NET Envrmnt Setup 5. VS2010 Ultimate Sys.Req 6. Installing VS 2010 7. VS 2012 Sys.Req 8. Installing VS Exp 2012 9. Start the VS 2008 10. Application Life Cycle 11. Page Life Cycle 12. Page Life Cycle Events 13. ASP.NET Example 14. Event Handling 15. Default Events 16. Server Side 17. Request Object 18. Response Object 19. Server Controls 20. Server Controls Properties 21. Server Controls Methods 22. HTML Server Controls 23. Client Side 24. ASP.NET Basic Controls 25. TextBox Control 26. CheckBox Controls 27. RadioButton Controls 28. ListBox Control 29. HyperLink Control 30. Image Control 31. BulletedList Control 32. ASP.NET Directives 33. Implements Directive 34. Master Type Directive 35. Page Directive 36. PreviousPage Type 37. Managing State 38. Control State 39. Cookies 40. Query Strings 41. Server-Side State 42. Session State 43. Validation Controls 44. Required FieldValidator 45. Range Validator 46. Compare Validator 47. RegularExpressionValidator 48. Custom Validator 49. Validation Summary 50. Data Source Control 51. AdRotator Control 52. Calendar Control 53. Calendar Control Example 54. Panel Control 55. Panel Control Example 56. Multi Views Control 57. MultiView & View controls 58. MultiView Control Example 59. FileUpload Control 60. FileUpload Control Eg 61. AJAX Control 62. UpdatePanel control 63. UpdateProgress Control 64. Custom Controls 65. Custom Control Eg 66. Personalization 67. Create Simple Profile 68. ADO.NET 69. ADO.NET Objects 70. DataTable 71. DataRow 72. DataColumn 73. Object Example 74. Error Handling 75. Tracing Errors 76. Debugger 77. Security 78. Authentication 79. Authorization 80. LINQ 81. LINQ Query Operators 82. LINQ Example 83. Caching 84. Data Caching 85. Output Caching 86. Object Caching 87. Web Services 88. Create Web Services Eg 89. Web & Machine.config 90. Settings Schema 91. ASP.NET Deployment 92. XCopy Deployment 93. Web Setup Project 94. ASP Interview Part 1 95. ASP Interview Part 2 96. ASP Interview Part 3 97. ASP Interview Part 4 98. ASP Interview Part 5 99. ASP Interview Part 6
Pr.Pg Next Pg

@ PreviousPage Type Directive tutorials

  • The PreviousPage Type directive provides a way to get strong typing against the previous page, as accessed through the PreviousPage property.



The syntax of the PreviousPage type is

<%@ PreviousPageType attribute="value" [attribute="value"...] %>


  • The below table shows the attribute and description of PreviousPage Type is.





Specifies the type name for the previous page


Specifies the path to the file that generates the strong type


@ Reference Directive

  • Reference directive indicates that another user control, page source file, or arbitrary file located at some virtual path should be dynamically compiled and linked against the current ASP.NET file (Web page, user control, or master page) in which this directive is declared.



The syntax of the @ Reference directive is

<%@ Reference Page="path to .aspx page"Control="path to .ascx file" virtualPath="path to file" %>

  • The following table shows the Attribute and description of the Reference directive.





The external page that ASP.NET should dynamically compile and link to the current file that contains the @ Reference directive


The external user control that ASP.NET should dynamically compile and link to the current file that contains the @ Reference directive


The virtual path for the reference.Can be any file type as long as a build provider exists. For example, it would be possible to point to a master page.



<%@ Reference VirtualPath="~/WebUserControl.ascx" %>


@ Register Directive

  • Creates an association between a tag prefix and a custom control, which provides developers with a concise way to refer to custom controls in an ASP.NET application file (including Web pages, user controls, and master pages)



The syntax of the Register Directive is.

<%@ Register tagprefix="tagprefix" namespace="namespace" assembly="assembly" %>

<%@ Register tagprefix="tagprefix" namespace="namespace" %>

<%@ Register tagprefix="tagprefix" tagname="tagname" src="pathname" %>

  • The following table shows the attributes and descriptions of the Register directive.





The assembly in which the namespace associated with the tagprefix attribute resides.


The namespace of the custom control that is being registered


The location (relative or absolute) of the declarative ASP.NET User Controls file to associate with the tagprefix:tagname pair.


An arbitrary alias to associate with a class

This attribute is only used for user controls.


An arbitrary alias that provides a shorthand reference to the namespace of the markup being used in the file that contains the directive


Pr.Pg border                                              Next Pg