[Mono-dev] ASP.NET Server.Transfer

Fabio Yasusi Yamamoto fabio at hostname.org
Tue Nov 8 09:23:34 EST 2005


wow! this was fast!!

nice work!
thanks!!


Gonzalo Paniagua Javier wrote:

>On Mon, 2005-11-07 at 14:22 -0200, Fabio Yasusi Yamamoto wrote:
>  
>
>>Hi
>>
>>    Does anybony knows if "Server.Transfer( "page.asp", true )" work on 
>>mono?
>>
>>if i set the second argument to false  it work
>>
>>The problem occur  every time i try to use the parameter TRUE, and the 
>>destination page has a <asp:> tag.
>>    
>>
>
>  
>
>>System.InvalidCastException: Cannot cast from source type to destination type.
>>in <0x00035> System.Web.UI.StateBag:LoadViewState (System.Object savedState)
>>in <0x00031> System.Web.UI.Control:LoadViewState (System.Object savedState)
>>    
>>
>
>Just for the record, this is now fixed in svn. It was an interesting bug
>that has been there forever and showed up when calling Server.Transfer
>when Page.IsPostBack was true.
>
>Thanks for the test case.
>
>-Gonzalo
>
>
>_______________________________________________
>Mono-devel-list mailing list
>Mono-devel-list at lists.ximian.com
>http://lists.ximian.com/mailman/listinfo/mono-devel-list
>  
>




More information about the Mono-devel-list mailing list