Commit Graph
37 Commits
Author SHA1 Message Date
Marek Habersack ebbcc1c9f9 [asp.net] Client-side callbacks must use new names for the target and argument fields
__CALLBACKTARGET and __CALLBACKARGUMENT have been renamed to __CALLBACKID and __CALLBACKPARAM, respectively,
recently and this script didn't get update for the change causing callbacks not to work on master.
2010-08-13 00:12:23 +02:00
Igor Zelmanovich cb1151ea77 refactoring
svn path=/trunk/mcs/; revision=92776
2008-01-13 10:03:50 +00:00
Igor Zelmanovich dc5657a2a6 2008-01-13 Igor Zelmanovich <[email protected]>
* webform.js:
	make scripts compatible with MicrosoftAjaxLibrary.		


svn path=/trunk/mcs/; revision=92773
2008-01-13 09:38:32 +00:00
Igor Zelmanovich ac47ac4624 2008-01-10 Igor Zelmanovich <[email protected]>
* webform.js:
	implement useAsync feature for Callback.		


svn path=/trunk/mcs/; revision=92600
2008-01-10 16:46:48 +00:00
Igor Zelmanovich 9d9bc5d816 2008-01-10 Igor Zelmanovich <[email protected]>
* webform.js:
	make scripts compatible with MicrosoftAjaxLibrary.		


svn path=/trunk/mcs/; revision=92579
2008-01-10 11:18:40 +00:00
Igor Zelmanovich 9bcca83dfe 2008-01-09 Igor Zelmanovich <[email protected]>
* WebUIValidation_2.0.js:
	* webform.js:
	make scripts compatible with MicrosoftAjaxLibrary.		


svn path=/trunk/mcs/; revision=92512
2008-01-09 15:31:10 +00:00
Igor Zelmanovich 87fdc74e1c make WebForm_DoCallback useful within AJAX.
svn path=/trunk/mcs/; revision=92469
2008-01-08 16:32:40 +00:00
Igor Zelmanovich d305e47234 2008-01-07 Igor Zelmanovich <[email protected]>
* ClientScriptManager.cs:
	* Control.jvm.cs:			
	* Page.cs:
	* Page.jvm.cs:
	for TARGET_J2EE ensure page life cycle is completed in CrossPagePostBack.
	
2007-01-07 Igor Zelmanovich <[email protected]>

	* Button.cs:
	* ImageButton.cs:
	* LinkButton.cs:
	for TARGET_J2EE used CreateActionUrl instead ResolveClientUrl
	in GetPostBackOptions.			

2007-01-07 Igor Zelmanovich  <[email protected]>

	* HtmlForm.cs: refactoring.


svn path=/trunk/mcs/; revision=92387
2008-01-07 13:38:38 +00:00
Igor Zelmanovich b0397eb1e6 make it compatible with Sys.Web.Extensions scripts
svn path=/trunk/mcs/; revision=92106
2008-01-02 15:04:04 +00:00
Juraj Skripsky f8253fa813 2007-11-06 Juraj Skripsky <[email protected]>
* webform.js (WebForm_FireDefaultButton): Gecko-based browsers
	don't support the click() method for <a/> elements. Use
	eval(myLink.href) instead.


svn path=/trunk/mcs/; revision=89036
2007-11-06 22:21:36 +00:00
Igor Zelmanovich 26e133c649 2007-08-30 Igor Zelmanovich <[email protected]>
* Page.cs: fixed MaintainScrollPositionOnPostBack feature.

2007-08-30 Igor Zelmanovich <[email protected]>

	* webform.js: fixed MaintainScrollPositionOnPostBack feature.


svn path=/trunk/mcs/; revision=85037
2007-08-30 08:31:00 +00:00
Marek Habersack d0a3dcc57d 2007-08-19 Marek Habersack <[email protected]>
* webform.js: __doPostBack is a function defined in the self
            object, not this._form. Fixes bug #82478.

svn path=/trunk/mcs/; revision=84360
2007-08-18 23:42:48 +00:00
Igor Zelmanovich 7bba17dd3c 2007-07-24 Igor Zelmanovich <[email protected]>
* webform.js:
	* WebUIValidation_2.0.js:
	refactoring: provide possibility to define relevant functions in different 
	scopes. (global=window or form element). thus providing a solution for 
	multi form environment.		

2007-07-24 Igor Zelmanovich <[email protected]>

	* ClientScriptManager.cs:
	* Page.cs:
	* Page.jvm.cs:
	added new internal property IsMultiForm which returns false under
	!TARGET_J2EE (Portal). All client scripts are rendered 
	according this property.	
		
2007-07-24 Igor Zelmanovich <[email protected]>

	* BaseValidator.cs: All client scripts are rendered 
	according IsMultiForm property.


svn path=/trunk/mcs/; revision=82648
2007-07-25 08:59:32 +00:00
Igor Zelmanovich 69f0efdf29 fixed WebForm_DoCallback function signature.
make it compatible with ClientScriptManager.GetCallbackEventReference
method and MS version.

svn path=/trunk/mcs/; revision=82007
2007-07-15 11:58:46 +00:00
Marek Habersack 58b8182d65 Revert 77463, since this commit introduces the correct fix for the problem.
2007-05-16  Marek Habersack  <[email protected]>

        * webform.js: in WebForm_ClientCallback set the id of the
        __EVENTVALIDATION element when creating it or otherwise
        WebForm_getFormData will not ignore it as expected by
        WebForm_DoCallback, which will result in the variable being
        present twice in the POST request.


svn path=/trunk/mcs/; revision=77475
2007-05-16 12:35:00 +00:00
Marek Habersack b08d3647e6 2007-04-17 Marek Habersack <[email protected]>
* culevel/culevel.exe.sources: added

	* culevel/Makefile (thisdir): added

	* culevel/CompileUplevel.cs: added

	* Makefile (thisdir): added the culevel subdirectory to the list.

2007-04-17  Marek Habersack  <[email protected]>

	* Makefile (thisdir): added tools/culevel to the list of
	subdirectories - it must be compiled before compiling the classes
	since System.Web depends on it.

2007-04-17  Marek Habersack  <[email protected]>

	* Makefile (System.Web/UplevelHelper.cs): autogenerate the file if
	it doesn't exist.

	* System.Web.dll.sources: added the System.Web/UplevelHelper.cs
	file. It is autogenerated by the culevel compiler.

	* UplevelHelperDefinitions.xml: added default uplevel browsers
	definition file. This serves as input to the culevel compiler in
	the tools directory at the top of the mcs tree.

2007-04-17  Marek Habersack  <[email protected]>

	* WebUIValidation_2.0.js: added HaveRegexp () function to detect
	if the browser supports the RegExp class. Use GetElement ()
	everywhere.

	* WebUIValidation.js: added HaveRegexp () function to detect if
	the browser supports the RegExp class.

	* webform.js: use WebForm_GetElementById everywhere.

2007-04-17  Marek Habersack  <[email protected]>

	* HtmlForm.cs: use the new uplevel browser detection code.

2007-04-17  Marek Habersack  <[email protected]>

	* BaseValidator.cs: use the new uplevel browser detection code.


svn path=/trunk/mcs/; revision=75818
2007-04-17 13:13:03 +00:00
Vladimir Krasnov df9cbd0b12 * webform.js: fixed WebForm_RestoreScrollPosition, old submit call should be from form
svn path=/trunk/mcs/; revision=75614
2007-04-11 16:06:54 +00:00
Igor Zelmanovich 1d8d624edf 2007-02-20 Igor Zelmanovich <[email protected]>
* webform.js: adjusted client script for MaintainScrollPositionOnPostBack 
	feature to multiform enviroument in j2ee portal.


svn path=/trunk/mcs/; revision=73151
2007-02-20 10:03:16 +00:00
Igor Zelmanovich 6631487c2c 2007-02-19 Igor Zelmanovich <[email protected]>
* ClientScriptManager.cs:
	* Control.cs:			 
	* Page.cs:
	implemented PostBackOptions.TrackFocus feature.	

svn path=/trunk/mcs/; revision=73123
2007-02-19 17:38:05 +00:00
Igor Zelmanovich 31ffabbbb0 2007-02-19 Igor Zelmanovich <[email protected]>
* webform.js: fixed WebForm_ReEnableControls

svn path=/trunk/mcs/; revision=73111
2007-02-19 12:49:38 +00:00
Eyal Alalouf 9396a91227 add Http callback support for J2EE portlets.
svn path=/trunk/mcs/; revision=73071
2007-02-18 12:28:38 +00:00
Igor Zelmanovich 93c2a62294 2007-02-14 Igor Zelmanovich <[email protected]>
* Page.cs: for 2.0: '__doPostBack' declared as function of form.
	convention to use 'currForm' instead 'myForm'	

svn path=/trunk/mcs/; revision=72842
2007-02-14 15:37:00 +00:00
Igor Zelmanovich a7f893772d 2007-02-14 Igor Zelmanovich <[email protected]>
* Page.cs: __doPostBack considers 2.0 features 
	such RegisterOnSubmitStatement

svn path=/trunk/mcs/; revision=72821
2007-02-14 12:03:40 +00:00
Igor Zelmanovich 7dc14fae8e 2007-02-013 Igor Zelmanovich <[email protected]>
* Page.cs: fixed exception handling on Callback at client.

svn path=/trunk/mcs/; revision=72775
2007-02-13 14:40:35 +00:00
Igor Zelmanovich 18af3d7394 2007-02-04 Igor Zelmanovich <[email protected]>
* webform.js:
	fixed Callback feature: when WebForm_DoCallback is called 
	not all input elements are posted. for example checkbox if not 
	checked is not posted.

svn path=/trunk/mcs/; revision=72733
2007-02-13 08:55:37 +00:00
Vladimir Krasnov ffc117e499 * webform.js: added validators context init for j2ee portal support
* WebUIValidation_2.0.js: added SetValidatorContext function, refactored evaluation function init ValidatorOnLoad and Page_ClientValidate
* ClientScriptManager.cs: added array declaration also as member of form in TARGET_J2EE for j2ee portal support. 
Added validators context init for GetClientValidationEvent under TARGET_J2EE for j2ee portal support.
* Page.cs: fixed OnFormPostRender, render array declarations after postback script.

svn path=/trunk/mcs/; revision=72465
2007-02-08 10:29:55 +00:00
Igor Zelmanovich 0f0f1e552c 2007-02-04 Igor Zelmanovich <[email protected]>
* Page.cs:
	* ClientScriptManager.cs:
	client scripts (webform.js, callback.js and 
	MaintainScrollPositionOnPostBack.js) were merged into one resource file.

2007-02-04 Igor Zelmanovich <[email protected]>

	* MaintainScrollPositionOnPostBack.js:
	* webform.js:
	* callback.js:	
	merged into one resource file.

svn path=/trunk/mcs/; revision=72408
2007-02-07 13:03:23 +00:00
Adar Wesley 2065e9c976 2007-02-01 Adar Wesley <[email protected]>
* webform.js: fixed WebForm_GetFormFromCtrl to find controls by id
        after chaning UniqueId implementation to have '$'.


svn path=/trunk/mcs/; revision=72103
2007-02-01 16:27:00 +00:00
Vladimir Krasnov ef8f078938 * webform.js: fixed WebForm_DoPostback, no need to find form if url is null
svn path=/trunk/mcs/; revision=71987
2007-01-30 18:03:19 +00:00
Eyal Alalouf 3d357ffc84 Add support for multiple fomrs on the client side in case of TARGET_J2EE portal support.
svn path=/trunk/mcs/; revision=71699
2007-01-25 18:12:05 +00:00
Igor Zelmanovich a53f406596 2007-01-09 Igor Zelmanovich <[email protected]>
* Panel.cs:
	* PanelStyle.cs:
	implemented 2.0 features.	

svn path=/trunk/mcs/; revision=70726
2007-01-09 16:34:59 +00:00
Igor Zelmanovich f1984593a3 2006-12-31 Igor Zelmanovich <[email protected]>
* webform.js: WebForm_AutoFocus support for not focusable elements 
	by setting focus on first focusable child.

svn path=/trunk/mcs/; revision=70285
2006-12-31 15:22:15 +00:00
Igor Zelmanovich fa30f3d51f implemented ValidationGroup feature on client side
svn path=/trunk/mcs/; revision=65387
2006-09-14 13:00:26 +00:00
Chris Toshok 15176b427c 2005-09-06 Chris Toshok <[email protected]>
* webform.js (wasControlEnabled): use __enabledControlArray,
	generated by the HtmlControl foo when using
	SubmitDisabledControls.
	(WebForm_ReEnableControls): used by HtmlForm's
	SubmitDisabledControls.


svn path=/trunk/mcs/; revision=49573
2005-09-06 20:40:34 +00:00
Chris Toshok d080b7bc17 2005-08-27 Chris Toshok <[email protected]>
* webform.js: add copyright blurb, and add implementation of
	WebForm_AutoFocus, used by the 2.0 HtmlForm properties
	DefaultButton and DefaultFocus.


svn path=/trunk/mcs/; revision=48984
2005-08-27 19:58:25 +00:00
Lluis Sanchez 15819244ed 2005-03-11 Lluis Sanchez Gual <[email protected]>
* webform.js: ClientSubmit option set to true means submit
	performed by asp.net, not by the browser.


svn path=/trunk/mcs/; revision=41699
2005-03-11 13:25:55 +00:00
Lluis Sanchez a1e7e25868 2005-02-04 Lluis Sanchez Gual <[email protected]>
* webform.js: Added webform script.


svn path=/trunk/mcs/; revision=40095
2005-02-04 00:50:01 +00:00