Commit Graph
1071 Commits
Author SHA1 Message Date
Igor Zelmanovich dc20c430c7 2007-02-06 Igor Zelmanovich <[email protected]>
* DetailsView.cs: 
	header and footer visibility is set at creation.	


svn path=/trunk/mcs/; revision=72364
2007-02-06 17:13:16 +00:00
Igor Zelmanovich 905ca829e3 2007-02-06 Igor Zelmanovich <[email protected]>
* FormView.cs: fixed: 
	header and footer are not created with empty row.	

svn path=/trunk/mcs/; revision=72362
2007-02-06 17:00:43 +00:00
Igor Zelmanovich 348a0f4def 2007-02-06 Igor Zelmanovich <[email protected]>
* FormView.cs: fixed: 
	works properly with not ICollection data source.	


svn path=/trunk/mcs/; revision=72360
2007-02-06 16:10:46 +00:00
Igor Zelmanovich 1050de0b9d 2007-02-06 Igor Zelmanovich <[email protected]>
* DetailsView.cs: fixed: 
	PageIndex, CreateChildControls, 
	works properly with not ICollection data source.	

svn path=/trunk/mcs/; revision=72355
2007-02-06 15:16:38 +00:00
Eyal Alalouf d8091d034e Fix NavigateUrl render for J2EE portlets.
svn path=/trunk/mcs/; revision=72350
2007-02-06 12:00:57 +00:00
Vladimir Krasnov 8e8eeb1479 * BaseValidator.cs: refactored RegisterValidatorCommonScript to use RegisterClientScriptInclude instead of RegisterClientScriptBlock
svn path=/trunk/mcs/; revision=72302
2007-02-05 15:45:23 +00:00
Igor Zelmanovich 86fa72803b 2007-02-05 Igor Zelmanovich <[email protected]>
* DataBoundControl.cs:
	* DetailsView.cs:
	* FormView.cs:
	PerformDataBinding is called with RequiresDataBinding was set false

svn path=/trunk/mcs/; revision=72300
2007-02-05 15:22:55 +00:00
Igor Zelmanovich c688297b0d 2007-02-05 Igor Zelmanovich <[email protected]>
* FormView.cs:
	fixed validation flow.	

svn path=/trunk/mcs/; revision=72287
2007-02-05 08:59:32 +00:00
Igor Zelmanovich b1a33bbaa2 2007-02-05 Igor Zelmanovich <[email protected]>
* DetailsView.cs:
	fixed validation flow.	

svn path=/trunk/mcs/; revision=72286
2007-02-05 08:38:16 +00:00
Igor Zelmanovich cf9a6681e3 2007-02-04 Igor Zelmanovich <[email protected]>
* CustomValidator.cs:
	ValidateEmptyText is considered on client side.	


svn path=/trunk/mcs/; revision=72273
2007-02-04 17:47:20 +00:00
Igor Zelmanovich 98b3130e6f 2007-02-04 Igor Zelmanovich <[email protected]>
* Button.cs:
	* ButtonField.cs:
	* CommandField.cs:
	* DataControlButton.cs:
	* DataControlField.cs:
	* ImageButton.cs:
	* PagerSettings.cs:						
	Internal classes are used in databound controls for buttons 
	are derived from right types. It allows to have access to them by casting
	to public types. This trick is used in one of starter kits of MS.

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

	* Page.cs: 
	VerifyRenderingInServerForm does not fire exception when IsCallback

svn path=/trunk/mcs/; revision=72269
2007-02-04 16:24:33 +00:00
Igor Zelmanovich b62028a984 2007-02-04 Igor Zelmanovich <[email protected]>
* Page.cs:
	* ClientScriptManager.cs:
	fixed RegisterClientScriptInclude: all includes that was registered before 
	rendering are rendered at begin form.		

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

	* Panel.cs: fixed: reverted r71441.
	* TreeView.cs: used internal RegisterWebFormClientScript API 
	to cause the relevant script be included.	

svn path=/trunk/mcs/; revision=72258
2007-02-04 12:02:58 +00:00
Adar Wesley 4be48fc47e 2007-02-01 Adar Wesley <[email protected]>
* FormView.cs: fixed events ModeChanging and ModeChanged
        to be raized in all relevant situations.

2007-02-01  Adar Wesley <[email protected]>

        * Control.cs: Changed UniqueId implementation to have '$' and not ':'
        to conform to MS.  This led to updating several Tests that referenced
        the UniqueId as string.

svn path=/trunk/mcs/; revision=72102
2007-02-01 16:21:30 +00:00
Igor Zelmanovich d00a6c9b20 2007-02-01 Igor Zelmanovich <[email protected]>
* ValidationSammary.cs: fixed:
	control is rendered even if there is no validators on the page.
	important if the page contain a client side script that refer to the 
	id of the validation summary div.	 

svn path=/trunk/mcs/; revision=72078
2007-02-01 10:03:50 +00:00
Igor Zelmanovich c20d29ca50 2007-01-31 Igor Zelmanovich <[email protected]>
* CheckBoxList.cs:
	* DropDownList.cs:
	* ListBox.cs:
	* RadioButtonList.cs:
	EnsureDataBound is called when PostData is processed to restore 
	'state' of control if EnableViewState is false				 

svn path=/trunk/mcs/; revision=72025
2007-01-31 14:16:39 +00:00
Igor Zelmanovich db6918a3f7 2007-01-31 Igor Zelmanovich <[email protected]>
* GridView.cs: fixed: 
	RowDataBound is fired for PagerRow.
	Styles are applied using MergeWith instead CopyFrom 
	to allow using custom styles for rows in code-behind.

svn path=/trunk/mcs/; revision=72022
2007-01-31 13:19:47 +00:00
Igor Zelmanovich acd03f1c5b 2007-01-31 Igor Zelmanovich <[email protected]>
* GridView.cs: fixed: RowCommand event is fired properly.


svn path=/trunk/mcs/; revision=72020
2007-01-31 12:23:11 +00:00
Igor Zelmanovich ae1fdb2c7e 2007-01-31 Igor Zelmanovich <[email protected]>
* GridView.cs: fixed: created rows are added in table after initialization.
	* BoundField.cs: 	

svn path=/trunk/mcs/; revision=72018
2007-01-31 11:31:46 +00:00
Igor Zelmanovich fe75ba5c72 2007-01-31 Igor Zelmanovich <[email protected]>
* Panel.cs: fixed 'background-image' attribute.


svn path=/trunk/mcs/; revision=72015
2007-01-31 09:14:58 +00:00
Igor Zelmanovich 5331271f14 2007-01-31 Igor Zelmanovich <[email protected]>
* BaseDataBoundControl.cs:
	* DataBoundControl.cs:
	fixed DataBinding flow: RequiresDataBinding is set to false in 
	PerformSelect().			
	* HierarchicalDataBoundControl.cs: implemented MarkAsDataBound().

svn path=/trunk/mcs/; revision=72014
2007-01-31 08:50:36 +00:00
Igor Zelmanovich 455e2af16f 2007-01-31 Igor Zelmanovich <[email protected]>
* DetailsView.cs:
	* FormView.cs:
	fixed DataBinding flow for Insert mode.

svn path=/trunk/mcs/; revision=72013
2007-01-31 08:39:45 +00:00
Igor Zelmanovich 5f8d7c5582 2007-01-30 Igor Zelmanovich <[email protected]>
* CheckBox.cs:
	does not RegisterRequiresPostBack if is not enabled.

svn path=/trunk/mcs/; revision=71973
2007-01-30 16:11:50 +00:00
Igor Zelmanovich efd08006de 2007-01-30 Igor Zelmanovich <[email protected]>
* TreeView.cs:
	* TreeView.js:
	fixed PopulateOnDemand: used UniqueID to call WebForms_DoCallBack().


svn path=/trunk/mcs/; revision=71969
2007-01-30 16:00:11 +00:00
Igor Zelmanovich 2ca9ca85d6 2007-01-29 Igor Zelmanovich <[email protected]>
* MultyView.cs: OnActiveViewChanged is called.


svn path=/trunk/mcs/; revision=71899
2007-01-29 16:31:19 +00:00
Vladimir Krasnov 08e9a10ab9 * Panel.cs: fixed AddAttributesToRender for 2.0, text align should be style attribute
svn path=/trunk/mcs/; revision=71870
2007-01-29 14:23:46 +00:00
Adar Wesley 0e80dc0e13 2007-01-29 Adar Wesley <[email protected]>
* EditCommandColumn.cs: implemented CausesValidation and
        ValidationGroup and corresponding tests.
        * DataGrid.cs: fixed generated table to be compatible with MS 2.0


svn path=/trunk/mcs/; revision=71849
2007-01-29 08:14:45 +00:00
Vladimir Krasnov 6e9d8e78c5 * WebControl.cs: added internal method AddDisplayStyleAttribute for display:inline-block style attribute
* LinkButton.cs
* HyperLink.cs
* CheckBox.cs: added call to AddDisplayStyleAttribute on rendering

svn path=/trunk/mcs/; revision=71813
2007-01-28 17:20:21 +00:00
Eyal Alalouf bfdafe6eb1 Fixed a typo.
svn path=/trunk/mcs/; revision=71704
2007-01-25 19:32:10 +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
Vladimir Krasnov 43d89d9595 * TextBox.cs: implemented AutoCompleteType property, fixed AddAttributesToRender
* TextBoxTest.cs: removed NotWorking attribute

svn path=/trunk/mcs/; revision=71592
2007-01-24 13:59:04 +00:00
Ilya Kharmatsky 0a1d87626b Fixed rendering problems in DetailsView control, related to an empty data source.
svn path=/trunk/mcs/; revision=71582
2007-01-24 09:57:22 +00:00
Konstantin Triger 8f896d00c1 ensure the web form client script is registerd before the client script includes are rendered
svn path=/trunk/mcs/; revision=71441
2007-01-22 13:41:03 +00:00
Konstantin Triger 9a3cbe3cd7 suppress exception if eval() fails
svn path=/trunk/mcs/; revision=71423
2007-01-21 15:39:08 +00:00
Miguel de Icaza 6b4c7232fd * SiteMapNode.cs (GetExplicitResourceString): implement.
* HttpContext.cs (GetGlobalResourceObject): remove unused variable.

        * StaticFileHandler.cs (ProcessRequest): remove unused variable.

        * HttpApplication.cs (ProcessError): Remove unused variable.

2007-01-20  Miguel de Icaza  <[email protected]>

        * ClientBuildManager.cs: Remove unused variable (this could be a
        real problem, we never use the appPhysicalTargetDir)

        * AssemblyBuilder.cs: Remove unused field.

        * AppResourceFilesCollection.cs: Remove unused field.

        * TemplateControlCompiler.cs (GetExpressionFromString): Remove
        unused variable.

        * AppResourcesCompiler.cs: Remove unused variable.

        * AppSettingsExpressionBuilder.cs (GetAppSetting): remove unused
        parameter.

        * PageCompiler.cs: Put InternalCreatePageProperty inside the
        NET_2_0 block to eliminate warnings.

2007-01-20  Miguel de Icaza  <[email protected]>

        * HandlerFactoryConfiguration.cs (LoadType): remove unused
        variable.
        (ctor): do not assign parent, we do not use it, keep the code for
        reference.

2007-01-20  Miguel de Icaza  <[email protected]>

        * ApplicationManager.cs: Remove unused variable.
        (ShutdownAll) remove unused variables.

        * ApplicationHost.cs: Protect create_dir lock

2007-01-20  Miguel de Icaza  <[email protected]>

        * SqlRoleProvider.cs: comment out unused code.

        * SqlMembershipProvider.cs: Removed unused variables.
        Remove unused variable.

        * AnonymousIdentificationModule.cs (ClearAnonymousIdentifier):
        remove unused variable.   This might be a real bug.

2007-01-20  Miguel de Icaza  <[email protected]>

        * SessionStateModule.cs: Removed unused variables.

2007-01-20  Miguel de Icaza  <[email protected]>

        * SessionDictionary.cs: Removed unused variable (dirty).

2007-01-20  Miguel de Icaza  <[email protected]>

        * XhtmlTextWriter.cs: comment out unused code.

        * ThemeProvider.cs: comment out unused code.

        * DataSourceView.cs: Comment unused variable.

        * ClientScriptManager.cs: Put the expandoAttributes inside the 2.0
        code

        * Control.cs: Put _templateControl inside the NET_2_0 ifdef

2007-01-20  Miguel de Icaza  <[email protected]>

        * HtmlHead.cs: comment out unused code, in particular metadata is
        commented out because nothing could have triggered its creation.

        * HtmlButton.cs: Move declaration of `csm' inside the 1.1 case.

2007-01-20  Miguel de Icaza  <[email protected]>

        * DataControlFieldCollection.cs (RemoveAt): remove unused
        variable.

        * RoleGroupCollection.cs (OnValidate): Flag as protected, as it
        should not show up.

        * RadioButton.cs (RaisePostDataChangedEvent): This method was not
        used in 1.0, so put the whole method in 2.0

2007-01-20  Miguel de Icaza  <[email protected]>

        * WebPart.cs: Remove

        * PersonalizableAttribute.cs: Remove extra API that was wrong as well.

2006-11-28  Miguel de Icaza  <[email protected]>

        * WebPart.cs:

2007-01-20  Miguel de Icaza  <[email protected]>

        * FileUtils.cs (CreateTemporaryFile): Remove unused variable.



svn path=/trunk/mcs/; revision=71399
2007-01-20 22:42:04 +00:00
Adar Wesley c755a793f2 2007-01-18 Adar Wesley <[email protected]>
* Xml.cs: added support for XPathNavigator, fixed DocumentContent
        to be compatible with MS 2.0, implemented EnableTheming, implemented
        SkinID, fixed Focus behavior.


svn path=/trunk/mcs/; revision=71262
2007-01-18 14:33:17 +00:00
Vladimir Krasnov 5d159dace9 * Menu.js, Menu.js: added null reference checking for every getTree or getMenu call
svn path=/trunk/mcs/; revision=71252
2007-01-18 11:45:05 +00:00
Adar Wesley 1182130305 2007-01-18 Adar Wesley <[email protected]>
* SiteMapDataSource.cs: implemented logic of GetStartNode when
        StartingNodeOffset is positive.


svn path=/trunk/mcs/; revision=71239
2007-01-18 08:30:31 +00:00
Konstantin Triger 9bfa9ec507 ToString the validating property value, if null return an empty string
svn path=/trunk/mcs/; revision=71210
2007-01-17 17:00:06 +00:00
Konstantin Triger b9ec9f962e ToString the validating property value, if null return an empty string
svn path=/trunk/mcs/; revision=71209
2007-01-17 16:56:41 +00:00
Vladimir Krasnov 2f8efd3bbc * TreeView.cs: fixed RegisterStyle, style names should be without leading underscore. fixed RenderNode, node icons should be taken also from level styles
svn path=/trunk/mcs/; revision=71196
2007-01-17 14:41:30 +00:00
Adar Wesley 0253ad0451 2007-01-17 Adar Wesley <[email protected]>
* Repeater.cs: refactored GetData to return data both from DataSource
        and DataSrouceID, Implemented EnableTheming, updated initialization of
        DataBinding according to the pattern of BaseDataBoundControl, fixed
        SelectArguments implementation to call the virtual
        CreateDataSourceSelectArguments method.


svn path=/trunk/mcs/; revision=71190
2007-01-17 13:46:30 +00:00
Konstantin Triger 645443b229 don't force creating rows collection when SelectedIndex changes; RequireBinding on select
svn path=/trunk/mcs/; revision=71189
2007-01-17 13:42:45 +00:00
Vladimir Krasnov 20acde199c * TreeNode.cs: fixed Bind, fixed Value updating
svn path=/trunk/mcs/; revision=71184
2007-01-17 13:02:58 +00:00
Vladimir Krasnov efe2984b90 * DataList.cs: fixed OnBubbleEvent, added SelectedIndex updating
svn path=/trunk/mcs/; revision=71180
2007-01-17 10:27:34 +00:00
Vladimir Krasnov f874c30a24 * DetailsView.cs: fixed CreateChildControls, PageIndex cannot be less than zero
svn path=/trunk/mcs/; revision=71177
2007-01-17 09:55:26 +00:00
Vladimir Krasnov 95674cf3bc revert to crlf line endings, in order to see diff
svn path=/trunk/mcs/; revision=71111
2007-01-16 09:02:33 +00:00
Vladimir Krasnov b03085f9db * DetailsView.cs: fixed CreateChildControls, PageIndex should be less or equal to PageCount
svn path=/trunk/mcs/; revision=71110
2007-01-16 08:53:52 +00:00
Igor Zelmanovich 12b82674a6 2007-01-15 Igor Zelmanovich <[email protected]>
* Menu.cs: added z-index attribute to popup div's.


svn path=/trunk/mcs/; revision=71048
2007-01-15 16:01:24 +00:00
Vladimir Krasnov b7376a3872 fixed crlf
svn path=/trunk/mcs/; revision=71045
2007-01-15 15:43:35 +00:00
Vladimir Krasnov a537943463 * FileUpload.cs: fixed FileName property, should return filename without full path on client side
svn path=/trunk/mcs/; revision=71041
2007-01-15 15:34:59 +00:00