Posted on: 2/11/2014 9:35:37 PM | Views : 597

In my application i have a "basepage" class like this:
Imports Microsoft.VisualBasic Public Class BasePage Inherits System.Web.UI.Page Private Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load End Sub End Class The above "basepage" class inherited by all other pages  like this. Please see the Default.aspx.vb file code:
Imports System.Data Partial Class _Default Inherits BasePage End Class The Defaul.aspx file look like this:
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"> <html xmlns="http://www.w3.org/1999/xhtml ...

Go to the complete details ...