зеркало из https://github.com/mono/mail-archives.git
108 строки
4.5 KiB
HTML
108 строки
4.5 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE> [Mono-list] '$' in __dopostback script
|
|
</TITLE>
|
|
<LINK REL="Index" HREF="index.html" >
|
|
<LINK REL="made" HREF="mailto:informatique.internet%40fiducial.fr">
|
|
<META NAME="robots" CONTENT="index,nofollow">
|
|
|
|
<LINK REL="Previous" HREF="025701.html">
|
|
<LINK REL="Next" HREF="025761.html">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#ffffff">
|
|
<H1>[Mono-list] '$' in __dopostback script
|
|
</H1>
|
|
<B>Hubert FONGARNAND
|
|
</B>
|
|
<A HREF="mailto:informatique.internet%40fiducial.fr"
|
|
TITLE="[Mono-list] '$' in __dopostback script">informatique.internet@fiducial.fr
|
|
</A><BR>
|
|
<I>Mon, 14 Feb 2005 09:55:31 +0100</I>
|
|
<P><UL>
|
|
<LI> Previous message: <A HREF="025701.html">[Mono-list] make lines?
|
|
</A></li>
|
|
<LI> Next message: <A HREF="025761.html">[Mono-list] '$' in __dopostback script
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#25730">[ date ]</a>
|
|
<a href="thread.html#25730">[ thread ]</a>
|
|
<a href="subject.html#25730">[ subject ]</a>
|
|
<a href="author.html#25730">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
<HR>
|
|
<!--beginarticle-->
|
|
<PRE>--Boundary-00=_DeGECP7bQNVSRTL
|
|
Content-Type: text/plain;
|
|
charset="us-ascii"
|
|
Content-Transfer-Encoding: 7bit
|
|
Content-Disposition: inline
|
|
|
|
Last week, i've talked about compatibility problems in __dopostback script.
|
|
In fact ms.net call __dopostback script with '$' in the name of the component,
|
|
mono call call __dopostback script with ':'
|
|
Here's the patch that fix this problem, so you can now call __dopostback with
|
|
'$' or ':', it doesn't matter anymore...
|
|
|
|
Hubert FONGARNAND
|
|
_______________________________________________
|
|
Ce message et les éventuels documents joints peuvent contenir des informations confidentielles.
|
|
Au cas où il ne vous serait pas destiné, nous vous remercions de bien vouloir le supprimer et en aviser immédiatement l'expéditeur. Toute utilisation de ce message non conforme à sa destination, toute diffusion ou publication, totale ou partielle et quel qu'en soit le moyen est formellement interdite.
|
|
Les communications sur internet n'étant pas sécurisées, l'intégrité de ce message n'est pas assurée et la société émettrice ne peut être tenue pour responsable de son contenu.
|
|
|
|
--Boundary-00=_DeGECP7bQNVSRTL
|
|
Content-Type: text/x-diff;
|
|
charset="us-ascii";
|
|
name="patch_postback"
|
|
Content-Transfer-Encoding: 7bit
|
|
Content-Disposition: attachment;
|
|
filename="patch_postback"
|
|
|
|
Index: class/System.Web/System.Web.UI/ChangeLog
|
|
===================================================================
|
|
--- class/System.Web/System.Web.UI/ChangeLog (revision 40487)
|
|
+++ class/System.Web/System.Web.UI/ChangeLog (working copy)
|
|
@@ -1,3 +1,8 @@
|
|
+2005-02-14 Hubert Fongarnand <<A HREF="mailto:informatique.internet@fiducial.fr">informatique.internet@fiducial.fr</A>>
|
|
+
|
|
+ * Page.cs: __do_postback script now support names with '$' instead of
|
|
+ ':'
|
|
+
|
|
2005-02-10 Lluis Sanchez Gual <<A HREF="mailto:lluis@novell.com">lluis@novell.com</A>>
|
|
|
|
* Page.cs: Added support for validation groups. Some fixes in
|
|
Index: class/System.Web/System.Web.UI/Page.cs
|
|
===================================================================
|
|
--- class/System.Web/System.Web.UI/Page.cs (revision 40487)
|
|
+++ class/System.Web/System.Web.UI/Page.cs (working copy)
|
|
@@ -666,7 +666,7 @@
|
|
writer.WriteLine ("\tvar theForm = document.getElementById ('{0}');", formUniqueID);
|
|
|
|
writer.WriteLine ("\tfunction __doPostBack(eventTarget, eventArgument) {");
|
|
- writer.WriteLine ("\t\ttheForm.{0}.value = eventTarget;", postEventSourceID);
|
|
+ writer.WriteLine ("\t\ttheForm.{0}.value = eventTarget.replace('$',':');", postEventSourceID);
|
|
writer.WriteLine ("\t\ttheForm.{0}.value = eventArgument;", postEventArgumentID);
|
|
writer.WriteLine ("\t\ttheForm.submit();");
|
|
writer.WriteLine ("\t}");
|
|
|
|
--Boundary-00=_DeGECP7bQNVSRTL--
|
|
|
|
</PRE>
|
|
<!--endarticle-->
|
|
<HR>
|
|
<P><UL>
|
|
<!--threads-->
|
|
<LI> Previous message: <A HREF="025701.html">[Mono-list] make lines?
|
|
</A></li>
|
|
<LI> Next message: <A HREF="025761.html">[Mono-list] '$' in __dopostback script
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#25730">[ date ]</a>
|
|
<a href="thread.html#25730">[ thread ]</a>
|
|
<a href="subject.html#25730">[ subject ]</a>
|
|
<a href="author.html#25730">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
</body></html>
|