[Mono-bugs] [Bug 363665] New: Error casting in a dynamically loaded repeater itemtemplate

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Feb 21 10:39:04 EST 2008


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


           Summary: Error casting in a dynamically loaded repeater
                    itemtemplate
           Product: Mono: Class Libraries
           Version: unspecified
          Platform: i386
        OS/Version: Windows Server 2003
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Sys.Web
        AssignedTo: mhabersack at novell.com
        ReportedBy: me at zns.se
         QAContact: mono-bugs at lists.ximian.com
          Found By: Development


Created an attachment (id=196316)
 --> (https://bugzilla.novell.com/attachment.cgi?id=196316)
VS2005 Project Examplifying the error

Description of Problem:
If you set a webusercontrol as a dynamically loaded itemtemplate for a
repeater, set the datasource to a List<CustomObject> and inside the
webusercontrol do a simple Eval("CustomObjectProperty") you get an error
"Cannot cast from source type to destination type". This runs perfectly fine
under IIS ASP.NET 2.0

Steps to reproduce the problem:
1. See description and attached project

Actual Results:
Throws error "Cannot cast from source type to destination type"

Expected Results:
Bound repeater.

How often does this happen? 
Every time

Additional Information:
Tested with Mono 1.2.5 and 1.2.6 running xsp2.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list