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.P age
Inherits ClientSidePage
#Region " Web Form Designer Generated Code "
'This call is required by the Web Form Designer.
<System.Diagnos tics.DebuggerSt epThrough()> Private Sub
InitializeCompo nent()
End Sub
Protected WithEvents calSchedDate As
System.Web.UI.W ebControls.Cale ndar
Protected WithEvents dtgSchedule As
System.Web.UI.W ebControls.Data Grid
Now errors like -
Private Sub Page_Init(ByVal sender As System.Object, ByVal e As
System.EventArg s) 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.EventArg s) Handles MyBase.Load
'Put user code to initialize thee page here
Dim dtChannels As DataTable
Dim oChnls As TwoFourTV.BO.Ta bs [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.P age
Public Sub MonitorChanges( ByVal wc As WebControl)
If wc Is Nothing Then Exit Sub
Page.RegisterAr rayDeclaration( "monitorChanges ID", """" & wc.ID &
"""")
Page.RegisterAr rayDeclaration( "monitorChanges Values", "null")
End Sub
Hope this helps.
*** Sent via Developersdex
http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!