Commit Graph
29 Commits
Author SHA1 Message Date
Gonzalo Paniagua Javier 6ca2807e53 2002-07-13 Gonzalo Paniagua Javier <[email protected]>
* ListControl.cs: fixed a couple of range checks.
	* WebControl.cs: MS lies! Not all WebControls must be rendered inside
	an HtmlForm (p.e., Label).

svn path=/trunk/mcs/; revision=5785
2002-07-13 23:07:22 +00:00
Gonzalo Paniagua Javier 91930711e8 2002-07-12 Gonzalo Paniagua Javier <[email protected]>
* list: added some more files from System.Web.Hosting.

	* System.Web.UI/ConstructorNeedsTagAttribute.cs: the default
	constructor sets the property to false.

	* System.Web.UI.HtmlControls/HtmlGenericControl.cs: fixed TagName
	signature and get/set.

	* System.Web.UI.HtmlControls/HtmlInputImage.cs: added attribute and
	fixed signature of ServerClick.

	* System.Web.UI.HtmlControls/HtmlInputText.cs: added attribute.

	* System.Web.UI.WebControls/AdRotator.cs:
	* System.Web.UI.WebControls/Button.cs:
	* System.Web.UI.WebControls/Calendar.cs:
	* System.Web.UI.WebControls/CheckBox.cs:
	* System.Web.UI.WebControls/CheckBoxList.cs:
	* System.Web.UI.WebControls/DataList.cs:
	* System.Web.UI.WebControls/DropDownList.cs:
	* System.Web.UI.WebControls/HyperLink.cs:
	* System.Web.UI.WebControls/HyperLinkColumn.cs:
	* System.Web.UI.WebControls/Image.cs:
	* System.Web.UI.WebControls/ImageButton.cs:
	* System.Web.UI.WebControls/Label.cs:
	* System.Web.UI.WebControls/LinkButton.cs:
	* System.Web.UI.WebControls/ListBox.cs:
	* System.Web.UI.WebControls/Panel.cs:
	* System.Web.UI.WebControls/PlaceHolder.cs:
	* System.Web.UI.WebControls/RadioButton.cs:
	* System.Web.UI.WebControls/RadioButtonList.cs:
	* System.Web.UI.WebControls/Table.cs:
	* System.Web.UI.WebControls/TableRow.cs:
	* System.Web.UI.WebControls/TextBox.cs:
	* System.Web.UI.WebControls/WebControl.cs: removed attributes
	added by mistake (i used GetCustomAttributes (true), d'oh!).

	* System.Web.UI.WebControls/DataListItem.cs: implemented RenderItem.

	* System.Web.UI.WebControls/Repeater.cs: implemented CreateItem and
	InitializeItem.

svn path=/trunk/mcs/; revision=5749
2002-07-13 02:07:57 +00:00
Gonzalo Paniagua Javier 91e5108757 2002-07-07 Gonzalo Paniagua Javier <[email protected]>
* CheckBoxList.cs:
	* DataGrid.cs:
	* DataList.cs:
	* DropDownList.cs:
	* ListBox.cs:
	* PlaceHolder.cs:
	* RadioButton.cs:
	* RadioButtonList.cs:
	* TableRow.cs:
	* WebControl.cs:
	* Xml.cs: forgot to add using System.ComponentModel.

	* BaseValidator.cs: use explicitly
	System.ComponentModel.AttributeCollection as there is another class
	with the same name under System.Web.UI.

svn path=/trunk/mcs/; revision=5642
2002-07-08 00:01:33 +00:00
Gonzalo Paniagua Javier 69860427af 2002-07-07 Gonzalo Paniagua Javier <[email protected]>
* AdRotator.cs:
	* BaseValidator.cs:
	* Button.cs:
	* Calendar.cs:
	* CheckBox.cs:
	* CheckBoxList.cs:
	* DataGrid.cs:
	* DataList.cs:
	* DropDownList.cs:
	* HyperLink.cs:
	* Image.cs:
	* ImageButton.cs:
	* Label.cs:
	* LinkButton.cs:
	* ListBox.cs:
	* Panel.cs:
	* PlaceHolder.cs:
	* RadioButton.cs:
	* RadioButtonList.cs:
	* Table.cs:
	* TableRow.cs:
	* TextBox.cs:
	* WebControl.cs:
	* Xml.cs: added/fixed all attributes used by xsp.

svn path=/trunk/mcs/; revision=5640
2002-07-07 23:46:38 +00:00
Gonzalo Paniagua Javier 47418d0455 2002-06-30 Gonzalo Paniagua Javier <[email protected]>
* DataGridColumn.cs:
	* DataGridPagerStyle.cs:
	* DataList.cs:
	* DataListItem.cs:
	* Image.cs:
	* LinkButton.cs:
	* ListControl.cs:
	* ListItem.cs:
	* ListItemCollection.cs:
	* Repeater.cs:
	* ServerValidateEventArgs.cs:
	* Style.cs:
	* TableRow.cs:
	* WebControl.cs:
	* Xml.cs: more class status page based changes.

svn path=/trunk/mcs/; revision=5508
2002-06-30 23:24:53 +00:00
Gonzalo Paniagua Javier 75426b4397 2002-06-24 Gonzalo Paniagua Javier <[email protected]>
* System.Web.UI/Page.cs: implemented more properties using information
	we already have in Context.
	(OnFormRender):
	(OnFormPostRender):
	(VerifyRenderingInServerForm): implemented.

	* System.Web.UI.HtmlControls/HtmlForm.cs:
	(RenderChildren): use OnFormRender and OnFormPostRender.

	* System.Web.UI.WebControls/WebControl.cs:
	(AddAttributesToRender): call Page.VerifyRenderingInServerForm. All
	WebControl derived classes should be rendered inside a HtmlForm.

svn path=/trunk/mcs/; revision=5434
2002-06-24 20:59:53 +00:00
Gonzalo Paniagua Javier 14dcbdc7a4 2002-06-18 Gonzalo Paniagua Javier <[email protected]>
* WebControl.cs:
	(CopyBaseAttributes): copy Attributes and don't throw exception.

svn path=/trunk/mcs/; revision=5329
2002-06-18 17:14:34 +00:00
Gonzalo Paniagua Javier f201bc89ed 2002-06-12 Gonzalo Paniagua Javier <[email protected]>
* ImageButton.cs:
	(AddAttributesToRender): fixer another stack overflow.

	* WebControl.cs:
	(TagName): modified to use TagKey instead of tagKey as the property
	can be overriden.

svn path=/trunk/mcs/; revision=5258
2002-06-12 16:34:14 +00:00
Gonzalo Paniagua Javier 54758e896f 2002-06-12 Gonzalo Paniagua Javier <[email protected]>
* System.Web.UI/Page.cs:
	(Validators): if the collection is null, create one.
	(GetPostBackEventReference 2): don't throw exception.
	(GetPostBackClientEvent): return a string with containing the method
	name, the control name and the argument.

	* System.Web.UI.WebControls/LinkButton.cs: mono-stylized.
	(AddParsedSubObject):
	(RenderControls): little fixes.

	* System.Web.UI.WebControls/WebControl.cs:
	(AddAttributesToRender): fixed usage of IEnumerator.

svn path=/trunk/mcs/; revision=5256
2002-06-12 15:45:07 +00:00
Gonzalo Paniagua Javier 1c20689cf8 2002-06-12 Gonzalo Paniagua Javier <[email protected]>
* Label.cs: beautified and fixed a couple of 'classic' bugs.

	* WebControl.cs: use Span as default tag when no other provided in
	constructor. That is what MS renders.

svn path=/trunk/mcs/; revision=5249
2002-06-12 12:10:40 +00:00
Gonzalo Paniagua Javier b79e2220a3 2002-06-11 Gonzalo Paniagua Javier <[email protected]>
* System.Web.Caching/CacheDependency.cs: fixed a couple of typos and
	don't throw NotImplementedException in constructors.

	* System.Web.UI/Control.cs:
	(MapPathSecure): until security is implemented, return the same path
	received as argument.
	(RenderControl): call OnPreRender before rendering the control. So
	AdRotator can read its configuration file.Is there any other place
	where this should be done?

	* System.Web.UI/HtmlTextWriter.cs:
	(AddAttribute): fixed. Now it really stores attributes.
	(RenderBeginTag): fixed a couple of bugs (little ones but hard to find).

	* System.Web.UI.WebControls/AdRotator.cs: GetData does not work as it
	should, but now it returns useful data (only the first ad in the file).
	Set the NavigateUrl property in the hyperlink if available.

	* System.Web.UI.WebControls/HyperLink.cs: fixed constructor and a
	couple of stack overflows.

	* System.Web.UI.WebControls/Image.cs: added an attribute and fixed
	stack overflow.

	* System.Web.UI.WebControls/WebControl.cs:
	(RenderBeginTag): fixed.
	(TagName): don't call Enum.IsDefined twice.

svn path=/trunk/mcs/; revision=5230
2002-06-11 19:37:03 +00:00
Gonzalo Paniagua Javier b90100aed8 2002-06-03 Gonzalo Paniagua Javier <[email protected]>
* System.Web/HttpBrowserCapabilities.cs: stubbed out.

	* System.Web.Configuration/HttpCapabilitiesBase.cs: New file.

	* System.Web.Security/DefaultAuthenticationEventArgs.cs: New file.

	* System.Web.SessionState/IReadOnlySessionState.cs: New file.

	* System.Web.SessionState/IRequiresSessionState.cs: New file.

	* System.Web.SessionState/SessionStateMode.cs: New file.

	* System.Web.UI/Page.cs:
	(FileDependencies): now is public public.
	(EnableViewStateMAC): uncommented and made protected.
	(GetTypeHashCode): added method.

	* System.Web.UI.HtmlControls/HtmlForm.cs:
	(RenderAttributes): changed new by override.
	(Name): allow setting the property.

	* System.Web.UI.WebControls/WebControl.cs: added attributes
	PersistChildrenAttribute and ParseChildrenAttribute.

	* System.Web.Configuration/ChangeLog:
	* System.Web.Configuration/HttpCapabilitiesBase.cs:
	* System.Web.Security/ChangeLog:
	* System.Web.Security/DefaultAuthenticationEventArgs.cs:
	* System.Web.SessionState/ChangeLog:
	* System.Web.SessionState/IReadOnlySessionState.cs:
	* System.Web.SessionState/IRequiresSessionState.cs:
	* System.Web.SessionState/SessionStateMode.cs: new files.

	Now we are able to compile some files generated by xsp with our
	System.Web classes.

svn path=/trunk/mcs/; revision=5102
2002-06-03 20:41:49 +00:00
Gaurav Vaish ea05be005d 2002-03-17 Gaurav Vaish <[email protected]>
* Yups! Another milestone reached. System.Web assembly build successfully.

svn path=/trunk/mcs/; revision=3156
2002-03-17 04:44:47 +00:00
Gaurav Vaish cea71236b2 2002-03-16 Gaurav Vaish <[email protected]>
* Trying to go for a build... changes due to the same...

svn path=/trunk/mcs/; revision=3139
2002-03-16 00:59:22 +00:00
Gaurav Vaish 33774cc7d4 2002-02-06 Gaurav Vaish <[email protected]>
Back from a small vacation due to the exams...

* ListItem.cs, ListItemCollection.cs:  Completed
* WebControl.cs  -- Minor changes.

* TableStyle.cs, TargetConverter, TemplateColumn  -- Fully implemented

* ListBox.cs  -- Partial Implementation (See ChangeLog for details)

* ChangeLog  -- Verbose details of the work done

* TODO -- Updated list for completed classes.

svn path=/trunk/mcs/; revision=2245
2002-02-06 02:44:18 +00:00
Gaurav Vaish d88fdc72e5 2002-01-07 Gaurav Vaish <[email protected]>
* <All>.cs  -- A lot of decoration. Gosh! saved, not too many..

svn path=/trunk/mcs/; revision=1887
2002-01-07 02:37:35 +00:00
Gaurav Vaish a25836b7b2 2001-12-19 Gaurav Vaish <[email protected]>
* UI.WebControls/*.cs

 --> Got over 100 erros, 50+ warning (with /nowarn:1595). Trying to remove them for first build. Completing uncompleted. Creating new ones.

svn path=/trunk/mcs/; revision=1640
2001-12-19 10:35:06 +00:00
Gaurav Vaish 9857157773 2001-12-19 Gaurav Vaish <[email protected]>
* System.Web.UI/*.cs
* System.Web.UI.WebControls/*.cs

  ---      Still working hard to make build succesfull. Lots of errors. Really, lots and lots. Not it's 6:00AM and I need to sleep :))

svn path=/trunk/mcs/; revision=1634
2001-12-18 20:29:05 +00:00
Gaurav Vaish 735be5f733 2001-12-18 Gaurav Vaish <[email protected]>
::   Looks like I can build now... Yes!

svn path=/trunk/mcs/; revision=1623
2001-12-18 12:55:30 +00:00
Gaurav Vaish e4baacc8ba 2001-12-02 Gaurav Vaish <[email protected]>
* Minor changes in comments

svn path=/trunk/mcs/; revision=1507
2001-12-02 17:14:11 +00:00
Gaurav Vaish 4e6f4fe924 2001-11-15 Gaurav Vaish <[email protected]>
* AdRotator.cs, BoundColumn.cs, Button.cs, ButtonColumn.cs, DataList.cs, WebControl.cs
                         - the dummy / unimplemented / partially implemented functions now throw NotImplementedException.

svn path=/trunk/mcs/; revision=1360
2001-11-15 07:48:37 +00:00
Gaurav Vaish 535eaddea7 2001:11:12 Gaurav Vaish <[email protected]>
svn path=/trunk/mcs/; revision=1327
2001-11-11 16:21:45 +00:00
Gaurav Vaish 6ee7590715 Created freshly looking WebControl.cs
Now playing with AdRotator.cs

svn path=/trunk/mcs/; revision=1289
2001-11-08 09:52:45 +00:00
Gaurav Vaish d55f22bcd9 Added files:
CalendarDay.cs
	CheckBox.cs
	DayRenderEventHandler.cs

Changing:
	WebControl.cs

svn path=/trunk/mcs/; revision=1276
2001-11-06 17:43:44 +00:00
Miguel de Icaza cf2798d163 Updates from Guarav
svn path=/trunk/mcs/; revision=1258
2001-11-05 06:10:55 +00:00
Miguel de Icaza 7ddd6de390 Incorporate System.Web.UI.WebControls to the build + some fixes
svn path=/trunk/mcs/; revision=1214
2001-10-27 19:27:55 +00:00
Miguel de Icaza 9ee230df00 Add lots of work from Gaurav
svn path=/trunk/mcs/; revision=1209
2001-10-27 12:35:12 +00:00
Miguel de Icaza 83e01843f1 Checked in updates from Gaurav Vaish
svn path=/trunk/mcs/; revision=840
2001-09-17 00:39:57 +00:00
Miguel de Icaza e3cc1a6593 Add WebControls
svn path=/trunk/mcs/; revision=782
2001-09-10 13:18:14 +00:00