https://bugzilla.novell.com/show_bug.cgi?id=457943


           Summary: ScriptManager.GetCurrent : Cannot cast from source type
                    to destination type
           Product: Mono: Class Libraries
           Version: 2.0.x
          Platform: x86-64
        OS/Version: Windows XP
            Status: NEW
          Severity: Blocker
          Priority: P5 - None
         Component: Sys.Web
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: [email protected]
          Found By: Development


Description of Problem:
I was unable to load a page via XSP2 with ScriptManager and MS AJAX Tab control

Steps to reproduce the problem:
1. Set a Script Manager and a Tab Control on a single page and load it via
XSP2.
2. 


Actual Results:

Server Error in '/' Application

--------------------------------------------------------------------------------

Cannot cast from source type to destination type.
Description: HTTP 500. Error processing request.

Stack Trace: 

System.InvalidCastException: Cannot cast from source type to destination type. 
at System.Web.UI.ScriptManager.GetCurrent (System.Web.UI.Page page) [0x00000]  
at System.Web.UI.ScriptControl.get_ScriptManager () [0x00000]   at
System.Web.UI.ScriptControl.OnPreRender (System.EventArgs e) [0x00000]   at
AjaxControlToolkit.ScriptControlBase.OnPreRender (System.EventArgs e) [0x00000]
  at System.Web.UI.Control.PreRenderRecursiveInternal () [0x00000]   at
System.Web.UI.Control.PreRenderRecursiveInternal () [0x00000]   at
System.Web.UI.Control.PreRenderRecursiveInternal () [0x00000]   at
System.Web.UI.Control.PreRenderRecursiveInternal () [0x00000]   at
System.Web.UI.Control.PreRenderRecursiveInternal () [0x00000]   at
System.Web.UI.Control.PreRenderRecursiveInternal () [0x00000]   at
System.Web.UI.Page.ProcessLoadComplete () [0x00000]   at
System.Web.UI.Page.InternalProcessRequest () [0x00000]   at
System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context) [0x00000]  

--------------------------------------------------------------------------------
Version information: Mono Version: 2.0.50727.42; ASP.NET Version: 2.0.50727.42 

Expected Results:
Load a page with MS AJAX tab control

How often does this happen? 
Always

Additional Information:


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to