M
Marcin Gorzynski
Hi
I am trying to develope custom grid gving pssibility to save its datasource
to XML file, View State and Session
Problem is with Session because when I do drag and drop this control into
vsiual designer I see error that makes my control not visualize properly.
"Error rendering the control. Make sure all properites are valid"
get
{
object o = Page.Session["_currentsource"];
if (o == null)
{
return new Exception("Source not provided");
}
return (object)Page.Session["_currentsource"];
}
Any idea how I can use sessin inside inherited class?
Best Regards
Marcin Gorzynski
I am trying to develope custom grid gving pssibility to save its datasource
to XML file, View State and Session
Problem is with Session because when I do drag and drop this control into
vsiual designer I see error that makes my control not visualize properly.
"Error rendering the control. Make sure all properites are valid"
get
{
object o = Page.Session["_currentsource"];
if (o == null)
{
return new Exception("Source not provided");
}
return (object)Page.Session["_currentsource"];
}
Any idea how I can use sessin inside inherited class?
Best Regards
Marcin Gorzynski