[Mono-dev] System.NotImplementedException in System.Web
Joe Audette
joe_audette at yahoo.com
Wed Sep 7 22:01:34 EDT 2005
Hi All,
I'm using r49671 and I'm getting this error:
System.NotImplementedException: Use the IStateManager
interface instead of this method. It has been
obsoleted due to Project Fresh
in <0x00024>
System.Web.UI.WebControls.ListItemCollection:TrackViewState
()
in <0x000d4>
System.Web.UI.WebControls.ListBox:System.Web.UI.IPostBackDataHandler.LoadPostData
(System.String postDataKey,
System.Collections.Specialized.NameValueCollection
postCollection)
in <0x00336> System.Web.UI.Page:ProcessPostData
(System.Collections.Specialized.NameValueCollection
data, Boolean second)
in <0x00178> System.Web.UI.Page:InternalProcessRequest
()
in <0x000a0> System.Web.UI.Page:ProcessRequest
(System.Web.HttpContext context)
in <0x01098>
System.Web.HttpApplication+<Pipeline>__1:MoveNext ()
Running the following code:
private void DeleteBtn_Click(Object sender,
ImageClickEventArgs e)
{
string pane =
((ImageButton)sender).CommandArgument;
ListBox _listbox = (ListBox)
Page.FindControl(pane);
ArrayList modules = GetPaneModules(pane);
if (_listbox.SelectedIndex != -1)
{
Module m = (Module)
modules[_listbox.SelectedIndex];
if (m.ModuleID > -1)
{
Module.DeleteModule(m.ModuleID);
}
}
Response.Redirect(Request.RawUrl, false);
}
It works correctly under Windows ASP.NET
Thanks for any help or advice,
Joe Audette
joe_audette [at] yahoo dotcom
http://www.joeaudette.com
http://www.mojoportal.com
More information about the Mono-devel-list
mailing list