G
Guest
When trying to compile (using Visual Web Developer 2005 Express Beta;
frameworkv2.0.50215 ) the source code below I get errors (listed below due to
the use of ICallBackEventHandler. Ultimately I want to use a callback from
the client side to update webcontrols based on user input without using
postback.
I am seeking a way to stop the compile errors.
using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
public partial class _Default : ICallbackEventHandler
{
protected void Page_Load(object sender, EventArgs e)
{
}
public string RaiseCallbackEvent(string eventArgument) { }
}
I get these errors
1. 'ASP.Index_aspx.FrameworkInitialize()': no suitable method found to
override c:\WINNT\Microsoft.NET\Framework\v2.0.50215\Temporary ASP.NET
Files\callback\02ec0c94\71251b27\tvquf1zy.0.cs
2. 'ASP.Index_aspx.GetTypeHashCode()': no suitable method found to
override c:\WINNT\Microsoft.NET\Framework\v2.0.50215\Temporary ASP.NET
Files\callback\02ec0c94\71251b27\tvquf1zy.0.cs
I added the code
protected virtual void FrameworkInitialize()
{
}
protected override void GetTypeHashCode()
{
}
but then I get an error about the access level of GetTypeHashCode
Error 1 'ASP.Default_aspx.GetTypeHashCode()': cannot change access modifiers
when overriding 'protected' inherited member
'_Default.GetTypeHashCode()' c:\WINNT\Microsoft.NET\Framework\v2.0.50215\Temporary ASP.NET Files\callback\02ec0c94\71251b27\zqawgoe7.0.cs
frameworkv2.0.50215 ) the source code below I get errors (listed below due to
the use of ICallBackEventHandler. Ultimately I want to use a callback from
the client side to update webcontrols based on user input without using
postback.
I am seeking a way to stop the compile errors.
using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
public partial class _Default : ICallbackEventHandler
{
protected void Page_Load(object sender, EventArgs e)
{
}
public string RaiseCallbackEvent(string eventArgument) { }
}
I get these errors
1. 'ASP.Index_aspx.FrameworkInitialize()': no suitable method found to
override c:\WINNT\Microsoft.NET\Framework\v2.0.50215\Temporary ASP.NET
Files\callback\02ec0c94\71251b27\tvquf1zy.0.cs
2. 'ASP.Index_aspx.GetTypeHashCode()': no suitable method found to
override c:\WINNT\Microsoft.NET\Framework\v2.0.50215\Temporary ASP.NET
Files\callback\02ec0c94\71251b27\tvquf1zy.0.cs
I added the code
protected virtual void FrameworkInitialize()
{
}
protected override void GetTypeHashCode()
{
}
but then I get an error about the access level of GetTypeHashCode
Error 1 'ASP.Default_aspx.GetTypeHashCode()': cannot change access modifiers
when overriding 'protected' inherited member
'_Default.GetTypeHashCode()' c:\WINNT\Microsoft.NET\Framework\v2.0.50215\Temporary ASP.NET Files\callback\02ec0c94\71251b27\zqawgoe7.0.cs