[Mono-dev] Bug in TextBox control

2006-02-19 Thread Vladimir Krasnov
Hello, If the Text property of TextBox control is null or empty string, value attribute should not be rendered. Test case URL: /System_Web_UI/Control/Control_ClientID.aspx Please approve the attached patch If no one objects, I will commit. Vladimir Krasnov TextBox.cs.1.patch Description:

[Mono-dev] Missing exceptions in System.Web.UI.WebControls.ListControl.TextBox

2006-02-19 Thread Vladimir Krasnov
Hello, Value validation is missing in the following properties of TextBox class: Columns, MaxLength, Rows. Exceptions should be thrown in case of incorrect values. Test cases: /System_Web_UI_WebControls/TextBox/TextBox_Columns.aspx /System_Web_UI_WebControls/TextBox/TextBox_MaxLength.aspx

[Mono-dev] Bug in System.Web.UI.WebControls.LinkButton

2006-02-19 Thread Vladimir Krasnov
Hello, If validation enabled, some javasript code added, but attribute language=javascript is not needed. Test case URL: /System_Web_UI_WebControls/LinkButton/LinkButton_CausesValidation.aspx Please approve attached patch Vladimir Krasnov LinkButton.cs.patch Description: LinkButton.cs.patch

[Mono-dev] Changing TypeDef table

2006-02-19 Thread vijaya raghava mutharaju
Hi, Can we directly change(add) the entries in the metadata tables without adding any entity(like a class) into the assembly (using Mono.Cecil). Maybe just like a comment into the table. Please, can you explain the steps for doing it or if it is not possible then the steps to do in normal way

[Mono-dev] Bug in System.Web.UI.WebControl.DataList in DoItemInLoop

2006-02-19 Thread Vladimir Krasnov
Hello, There is a bug in DoItemInLoop while creating a separator item incorrect itemIndex given. Test case URL: /System_Web_UI_WebControls/DataListItem/DataListItem_ItemIndex.asp Please approve the attached patch If no one objects, I will commit. Vladimir Krasnov DataList.cs.2.patch

[Mono-dev] Bug in System.Web.UI.WebControl.DataList in CreateControlStyle

2006-02-19 Thread Vladimir Krasnov
Hello, I've found a problem while creating a TableStyle for list controls. In the created style, CellSpacing property should be set to zero. This bug causes differences in visual appear of rendered table. /System_Web_UI_WebControls/WebControl/WebControl_TableStyle_CellPadding. aspx Please

[Mono-dev] Bug in System.Web.UI.WebControl.DataList in InitializeItem

2006-02-19 Thread Vladimir Krasnov
Hello, There is a bug in InitializeItem, while applying template to an item. If item's type is SelectedItem and SelectedItemTemplate is not specified, after rendering the item will be invisible. The same about EditItem. Test case URL:

[Mono-dev] Bug in System.Web.UI.WebControls.DataGrid colums autogeneration

2006-02-19 Thread Vladimir Krasnov
Hello, I've found a bug in columns auto generation in DataGrid class. The columns are not generated at all if the specified data source is list of items where each item is a custom class. Is this case it should generate column to each property of the class. Test case URL:

[Mono-dev] Bug in System.Web.UI.WebControls.DataGrid columsautogeneration

2006-02-19 Thread Vladimir Krasnov
Sorry, I forgot the patch file -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Vladimir Krasnov Sent: Sunday, February 19, 2006 3:14 PM To: mono-devel-list@lists.ximian.com Subject: [Mono-dev] Bug in System.Web.UI.WebControls.DataGrid columsautogeneration

[Mono-dev] Bug in System.Web.UI.WebControl.DataList in PrepareControlHierarchy

2006-02-19 Thread Vladimir Krasnov
Hello, Using Style instead of TableItemStyle causes loosing of table specified styles, like align and valign. /System_Web_UI_WebControls/DataList/DataList_AlternatingItemStyle.aspx Please approve the attached patch If no one objects, I will commit. Vladimir Krasnov DataList.cs.5.patch

[Mono-dev] Bug in System.Web.UI.WebControl.DataList in

2006-02-19 Thread Vladimir Krasnov
Hello, While applying styles to a list items, there is a bug while processing EditItem, if editItemStyle is not specified, style of regular item should be applied. Test case URL: /System_Web_UI_WebControls/DataList/DataList_ItemStyle.aspx Please approve the attached patch If no one objects, I

[Mono-dev] Bug in System.Web.UI.WebControls.DataGrid in InitializeNumericPager

2006-02-19 Thread Vladimir Krasnov
Hello, In numeric pager, page number that is not link (current page), should be a label. Test case URL: /System_Web_UI_WebControls/DataGrid/DataGrid_AllowCustomPaging.aspx Please approve the attached patch If no one objects, I will commit. Vladimir Krasnov DataGrid.cs.3.patch Description:

[Mono-dev] Bug in WebControls.DataGridPagerStyle

2006-02-19 Thread Vladimir Krasnov
Hello, Little typo bug in PrevPageText property. Test case: /System_Web_UI_WebControls/DataGridPagerStyle/DataGridPagerStyle_PrevPag eText.aspx Please approve the attached patch If no one objects, I will commit. Vladimir Krasnov DataGridPagerStyle.cs.patch Description:

[Mono-dev] Bug in WebControls.FontInfo

2006-02-19 Thread Vladimir Krasnov
Hello, The first patch fixes CopyFrom method of FontInfo class. This method should not reset the received fontinfo if it is the same instance. Test case: /System_Web_UI_WebControls/TableStyle/TableStyle_MergeWith_S.aspx Second patch fixes FontInfo.ToString() where only font size specified.

[Mono-dev] Bug in WebControls.Style

2006-02-19 Thread Vladimir Krasnov
Hello, The first patch fixes style of birder to solid if it is not set, but has border width. The second patch fixes incorrect comparison of unit when it has zero value. Test case: /System_Web_UI_WebControls/WebControl/WebControl_Style_Border.aspx Please approve the attached patch If no one

[Mono-dev] Regressions in generics runtime support

2006-02-19 Thread Kamil Skalski
Hi! I noticed a few refactorings of generics support in mono recently. Unfortunately there appeared some regressions. First one comes from patch http://lists.ximian.com/pipermail/mono-patches/2006-February/070865.html It causes following assertion when bootstraping Nemerle compiler: COMPILE

[Mono-dev] Bug in System.Web.UI.WebControl.DataGrid with no columns

2006-02-19 Thread Vladimir Krasnov
Hello, If no columns generated, no empty table struct should be rendered. Test case: /System_Web_UI_WebControls/DataGrid/DataGrid_AutoGenerateColumns.aspx Please approve the attached patch If no one objects, I will commit. Vladimir Krasnov DataGrid.cs.4.patch Description:

[Mono-dev] webclient error

2006-02-19 Thread Pablo IƱigo Blasco
greetings. I have a simple aspx file with this code snipet: System.Net.WebClient wc = new System.Net.WebClient(); string url=Request.QueryString[url]; if(url!=null) byte[] buffer =wc.DownloadData(new Uri(url)); ... im using xsp2, when the string gets a not null value I get this exception: