[Mono-aspnet-list] Problem with AJAX ScriptManager and EnablePartialRendering on 2.6.1
earlz
earlz at earlz.biz.tm
Thu Jan 7 15:28:50 EST 2010
Hello, I am attempting to create a small test site using Mono and AJAX. I am
using Mono version 2.6.1 self compiled on OpenSUSE 11.2. I am using the xsp2
2.6.0.0 webserver *without* mod_mono.
So I made a simple page containing an update panel and an AJAX
ScriptManager. In my code behind, I have this:
protected void Page_Init(object sender, EventArgs e)
{
ScriptManager1.EnablePartialRendering = true;
}
Well, If I comment out that line of code, then it works as it normally
would, but with it I get the error
Operation is not valid due to the current state of the object
Description: HTTP 500. Error processing request.
Stack Trace:
System.InvalidOperationException: Operation is not valid due to the current
state of the object
at System.Web.UI.ScriptManager.set_EnablePartialRendering (Boolean value)
[0x00000] in <filename unknown>:0
at Administrative_AdminMasterPage.Page_Init (System.Object sender,
System.EventArgs e) [0x00000] in <filename unknown>:0
at System.Web.UI.Control.OnInit (System.EventArgs e) [0x00000] in
<filename unknown>:0
at System.Web.UI.UserControl.OnInit (System.EventArgs e) [0x00000] in
<filename unknown>:0
at System.Web.UI.Control.InitRecursive (System.Web.UI.Control
namingContainer) [0x00000] in <filename unknown>:0
at System.Web.UI.Control.InitRecursive (System.Web.UI.Control
namingContainer) [0x00000] in <filename unknown>:0
at System.Web.UI.Page.InternalProcessRequest () [0x00000] in <filename
unknown>:0
at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context)
[0x00000] in <filename unknown>:0
Does Mono have trouble supporting the EnablePartialRendering directive or
something?
--
View this message in context: http://old.nabble.com/Problem-with-AJAX-ScriptManager-and-EnablePartialRendering-on-2.6.1-tp27066497p27066497.html
Sent from the Mono - ASP.NET mailing list archive at Nabble.com.
More information about the Mono-aspnet-list
mailing list