[Mono-list] problem in __dopostback

George Birbilis George Birbilis" <birbilis@kagi.com
Fri, 11 Feb 2005 18:27:43 +0200

> I'm working with mono in order to port an asp.net professional project on 
> a
> Linux apache server. But we don't want to modify our project sources. I 
> work
> with the svn version of mono (updated twice a day). Today the application
> works at 70%. But there's still a problem with some javascript.
> I'm explaining :
> -when using user components, the ms.net framework generates some :
> __doPostBack('A$blabla','')
> when using user components, the mono framework generates some:
> __doPostBack('A:blabla','')
> the only difference is the ':' and the '$'. Why is there this difference ?
> So i'm editing the file /mcs/class/System.Web/System.Web.UI/Page.cs
> in order that mono generates the correct script...
> Does somebody has ever heard about this problem?

when doing postback, does it work with the change you did?
if not, then you need to change the code that handles the postback too to 
understand $ instead of :

George Birbilis (birbilis@kagi.com)
Microsoft Most Valuable Professional
MVP J# for 2004 & 2005