From: Brian @ A. <br...@aj...> - 2006-03-21 16:43:37
|
OK. I got the snapshot this afternoon (about 2pm GMT) and made 2 changes: In manager.cs at line #431 (part of the WriteBeginControlMarker() function) Change writer.Write("<{0} id=\"{1}\">", parentTagName, "__" + control.ClientID + "__"); ^ to writer.Write("<{0} id=\"{1}\">", parentTagName, "Anthem_" + control.ClientID + "__"); ^^^^^^ and then in Anthem.js at line #231 (part of the Anthem_UpdatePage() function) change var containerID = "__" + controlID.split("$").join("_") + "__"; ^ to var containerID = "Anthem_" + controlID.split("$").join("_") + "__"; ^^^^^^ I compiled the dll under Visual Studio 2003 for 1.1 and tested all the example pages in IE6 and FF1.5, and I compiled it also under Visual C# Express for 2.0 and tested all the examples again in IE6 and FF1.5 I saw no errors. Brian Lowe, AJP Interactive w: www.ajpi.co.uk <http://www.ajpi.co.uk/> e: br...@aj... f: 07075 167630 _____ From: Manu Temmerman-Uyttenbroeck [mailto:man...@gm...] Sent: 21 March 2006 12:58 To: br...@aj... Cc: ant...@li... Subject: Re: [Anthem.NET-users] Anthem generated code and HTML Tidy I'll pick up the latest snapshot today, and locate the required changes and email you the relevant lines to change, if you don't mind. I tried CVS and couldn't get my head around it :-/ I wouldn't ask you to send me the necessary changes if I would mind ;) Per my original suggestion, I propose replacing the invalid "__*" with a valid "AJAX_*" I'm not sure about this. I think maybe I would prefer "ANTHEM_*". But use what you want. I'll ask Jason tonight on msn. If he minds, then it won't be a big work to change it into ANTHEM_* So, unless anyone objects loudly (and quickly), I'm going to recommend changing the invalid "__" to a valid "AJAX_". Go for it :) Thx for helping out man! It saves me time... And make you and the other guy happy ;) Manu. |