[Mono-dev] [PATCH] System.Web.UI.Page.MaintainScrollPositionOnPostBack

2006-08-03 Thread Igor Zalmanovich
Hello all,   I made an implementation for Page.MaintainScrollPositionOnPostBack. Attached the relevant patch.   Please review, Igor. MaintainScrollPositionOnPostBack.patch Description: MaintainScrollPositionOnPostBack.patch ___ Mono-d

[Mono-dev] r63894 System.Web.UI.WebControls.Style.cs

2006-08-20 Thread Igor Zalmanovich
Hi, Gonzalo!   Modification r63894 for 1.x is refactoring only, that's why I did not include a relevant test:   Old code:       if ((styles & Styles.CssClass) != 0)     {    

[Mono-dev] Test of System.Web.UI.WebControls.Style.cs failed

2006-08-20 Thread Igor Zalmanovich
Hi! Case revert r63894 one of tests for System.Web.UI.WebControls.Style.cs failed. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list

Re: [Mono-dev] [Mono-Dev] [PATCH]System.Web.UI.WebControls.Style.cs, System.Web.UI.WebControls.TreeNodeStyle.cs

2006-09-06 Thread Igor Zalmanovich
Test case was in attached patch. I send it again. Igor. -Original Message- From: Lluis Sanchez [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 06, 2006 5:25 PM To: Igor Zalmanovich Cc: mono-devel-list@lists.ximian.com; [EMAIL PROTECTED] Subject: Re: [Mono-dev] [Mono-Dev] [PATCH

[Mono-dev] [PATCH] System.Web.UI.Page.cs: Cross-page postback

2006-09-20 Thread Igor Zalmanovich
Hi,   There is patch that fixes Cross-page postback feature in ASP.NET 2.0   When page is invoked by cross-page posting, PreviousPage processed all live-cycle up to OnLoadComplite included.   See MSDN here: http://msdn2.microsoft.com/en-us/library/ms178139.aspx http://msdn2.microsoft

[Mono-dev] [PATCH] System.Web.Compilation.TemplateControlCompiler: Data-Binding Syntax: fixed Bind functions

2006-09-27 Thread Igor Zalmanovich
This is the patch to fix Bind functions (Data-Binding Syntax). At run time, the Bind method calls the Eval method, if there is DataItem != null to bind to. If there is DataItem == null (like InsertItemTemplate in FormView) Bind method don't raise exception and works properly to extract data from

Re: [Mono-dev] [PATCH] System.Web.Compilation.TemplateControlCompiler: Data-Binding Syntax: fixed Bind functions

2006-09-27 Thread Igor Zalmanovich
Hi, Tony,   Please send the original aspx file.   This will help me to analyze the source of the problem.   Igor.   From: Tony Gu [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 27, 2006 9:18 PM To: Igor Zalmanovich Subject: Re: [Mono-dev] [PATCH

Re: [Mono-dev] [PATCH] System.Web.Compilation.TemplateControlCompiler: Data-Binding Syntax: fixed Bind functions

2006-10-03 Thread Igor Zalmanovich
lto:[EMAIL PROTECTED] Sent: Thursday, September 28, 2006 8:36 PM To: Igor Zalmanovich Cc: mono-devel-list@lists.ximian.com Subject: RE: [Mono-dev] [PATCH] System.Web.Compilation.TemplateControlCompiler: Data-Binding Syntax: fixed Bind functions   Igor, Thanks! My original aspx is

[Mono-dev] [PATCH] System.Web.UI.WebControls.WebControl - CreateControlStyle()

2006-10-04 Thread Igor Zalmanovich
There is Patch fixes CreateControlStyle method of System.Web.UI.WebControls.WebControl and corresponding test. Please review. Igor. WebControl.patch Description: WebControl.patch ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com htt

[Mono-dev] System.Web.UI.CssStyleCollection

2006-10-08 Thread Igor Zalmanovich
Hello Gonzalo,   r66332 made ~60 regressions in tests for profile 2.0   attached is a simple test for CssStyleCollection class, which illustrates the problem.   Igor. CssStyleCollectionTest.patch Description: CssStyleCollectionTest.patch ___

[Mono-dev] [Patch] System.Web.UI.CssStyleCollection

2006-10-22 Thread Igor Zalmanovich
There is Patch fixes and optimizes System.Web.UI.CssStyleCollection and corresponding tests.   Tested for 1.x and for 2.0   Please review.   Igor.     CssStyleCollection.patch Description: CssStyleCollection.patch ___ Mono-devel-l

[Mono-dev] [PATCH] System.Web.UI.LiteralControl

2006-11-12 Thread Igor Zalmanovich
Attached are the patch fixes LiteralControl constructors and the corresponding Test Case Please, review. Regards, Igor Zelmanovich. [EMAIL PROTECTED] LiteralControl.patch Description: LiteralControl.patch LiteralControlTest.cs Description: LiteralControlTest.cs __

[Mono-dev] [PATCH] System.Web.UI.HtmlControls.HtmlContainerControl

2006-11-12 Thread Igor Zalmanovich
Attached are the patch fixes HtmlContainerControl.InnerText property and the corresponding Test Case Please, review. Regards, Igor Zelmanovich. [EMAIL PROTECTED] HtmlContainerControl.patch Description: HtmlContainerControl.patch ___ Mono-devel-

Re: [Mono-dev] [PATCH] System.Web.UI.LiteralControl

2006-11-15 Thread Igor Zalmanovich
mono-devel-list@lists.ximian.com Subject: Re: [Mono-dev] [PATCH] System.Web.UI.LiteralControl On Sun, 2006-11-12 at 02:18 -0800, Igor Zalmanovich wrote: > Attached are the patch fixes LiteralControl constructors and > the corresponding Test Case Is this change needed in LiteralControl? I do

[Mono-dev] [PATCH] System.Web.Compilation.TemplateControlCompiler

2006-11-15 Thread Igor Zalmanovich
Attached is patch for System.Web.Compilation.TemplateControlCompiler that resolves the problem is described below. When <%# Bind(...) %>-expression is used more then once for same control The generated code looks like follow: Line 174: private System.Collections.Specialized.IOrderedDictionary

Re: [Mono-dev] Two new bugs in System.Web

2006-11-16 Thread Igor Zalmanovich
, November 16, 2006 1:12 PM To: Hubert FONGARNAND Cc: mono-devel-list@lists.ximian.com; Igor Zalmanovich Subject: Re: [Mono-dev] Two new bugs in System.Web On Thu, 16 Nov 2006 09:16:39 +0100, Hubert FONGARNAND <[EMAIL PROTECTED]> scribbled: > I've updated my servers with the latest m

[Mono-dev] [PATCH] System.Web.UI.Page.cs

2006-11-19 Thread Igor Zalmanovich
Attached is patch fixes ControlState feature and corresponded test There is no changes of Life Cycle flow. Please, review. Regards, Igor Zelmanovich. [EMAIL PROTECTED] Page.patch Description: Page.patch ___ Mono-devel-list mailing list Mono-dev

Re: [Mono-dev] [PATCH] ASP.NET 2.0 event validation support

2006-11-19 Thread Igor Zalmanovich
Marek, See Control class for stateMask field, It also tracks life cycle state. I think there is a place for a refactoring. Igor. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Marek Habersack Sent: Friday, November 17, 2006 3:39 AM To: Mono Development

Re: [Mono-dev] [PATCH] ASP.NET 2.0 event validation support

2006-11-19 Thread Igor Zalmanovich
Marek, I have tested Event Validation feature and have found that client side return eventArgument as empty string for controls that set it as null. It causes exception when event is validated. I attached the patch fixes this issue. Please, review. -Original Message- From: [EMAIL PROTEC

Re: [Mono-dev] [PATCH] ASP.NET 2.0 event validation support

2006-11-19 Thread Igor Zalmanovich
Marek, For making controls like Button to support EventValidation you call GetPostBackOptions. This method is called later for getting client script reference. I tried some optimization using of overloaded GetPostBackEventReference method to cause register for event validation. Please, see attac