[Mono-dev] ASP.NET Server.Transfer

Fabio Yasusi Yamamoto fabio at hostname.org
Mon Nov 7 11:22:35 EST 2005


    Does anybony knows if "Server.Transfer( "page.asp", true )" work on 

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)

More information about the Mono-devel-list mailing list