Scott,
Thanks for looking at this. I am using VS.NET. When I change the
inherits declaration at the top of the main page class to inherit the
ClientSidePage all the standard functionality becomes underlined to
indicate errors. I am including some of the code from the main page
class and also from the ClientSidePage class:
From main page class -
Public Class manage_schedule
'Inherits System.Web.UI.Page
Inherits ClientSidePage
#Region " Web Form Designer Generated Code "
'This call is required by the Web Form Designer.
<System.Diagnostics.DebuggerStepThrough()> Private Sub
InitializeComponent()
End Sub
Protected WithEvents calSchedDate As
System.Web.UI.WebControls.Calendar
Protected WithEvents dtgSchedule As
System.Web.UI.WebControls.DataGrid
Now errors like -
Private Sub Page_Init(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Init [Building the solution generates
the error 'Event init cannot be found']
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
'Put user code to initialize thee page here
Dim dtChannels As DataTable
Dim oChnls As TwoFourTV.BO.Tabs [Building the solution generates
the error Event 'Load' cannot be found]
So basic events cannot be found once the ClientSidePage class is
included.
Here is the ClientSidePage class heading -
Public Class ClientSidePage
Inherits System.Web.UI.Page
Public Sub MonitorChanges(ByVal wc As WebControl)
If wc Is Nothing Then Exit Sub
Page.RegisterArrayDeclaration("monitorChangesID", """" & wc.ID &
"""")
Page.RegisterArrayDeclaration("monitorChangesValue s", "null")
End Sub
Hope this helps.
*** Sent via Developersdex
http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!