* System.Web/HttpWriter.cs: new Response property and WriteUTF8Ptr
method.
* System.Web/HttpResponseStream.cs: added support for writing from an
IntPtr. copied the memcpy method from String.cs.
* System.Web.Compilation/BuildManager.cs: updated comment.
* System.Web.UI/ResourceBasedLiteralControl.cs: new Control. It's just
like a LiteralControl but will render itself from the bytes pointed to
by an IntPtr and not create any string from the underlying data unless
needed.
* System.Web.UI/TemplateControl.cs: implemented a bunch of methods
that are used from the precompiled assemblies for a web project. The
most notable change needed is to be able to read a win32 resource from
the dll of the control. The resource is a concatenation of literals
with plain text for the control and a specialized LiteralControl is
generated from different chunks of the resource.
* System.Web.UI/HtmlTextWriter.cs: new method that returns the
HttpWriter in use.
* System.Web.dll.sources: added new file.
* System.Web.Util/ICalls.cs: new internal call to get a pointer to the
win32 resource associated with the control's assembly.
svn path=/trunk/mcs/; revision=127579
* HtmlTextWriter.cs: if OnTagRender returns false when called from
RenderBeginTag, push the tag to the stack regardless, and ignore
it in DoBeginTag and RenderEndTag. Fixes bug #463634
svn path=/trunk/mcs/; revision=124377
* add new resources:
PageWithAdapter.aspx for PageTest and PageAdapterTest.
TestCapability.browser for AppBrowsersTest.
* NunitWebResources/adapters.browser,
NunitWebResources/AppBrowsersTest.browser: modified to support
testing reference nodes with captures, and adapters.
* NunitWeb/NunitWeb/WebTest.cs: ensure that, during AppDomain
unload, no new requests are sent to the app host and any
pending requests are completed before the the unload occurs.
Also added WebTest.AppUnloaded event that tests can use to wait
for the app to unload (e.g. after touching Global.asax), and
WebTest.CleanApp() which can be called to restart the app with
the a skeleton directory structure. Tests which add files that
could effect other tests (e.g. App_Browsers/*.browser files) should
call WebTest.CleanApp() during TearDown to return the app to a
pristine environment.
++ Test/mainsoft/MainsoftWebTest/ChangeLog (working copy)
* HtmlAgilityPack/AssemblyInfo.cs: made assembly delay signed so that
tests can access System.Web internals now that System.Web is
InternalsVisibleTo this assembly.
++ Test/System.Web/ChangeLog (working copy)
* AppBrowsersTest.cs: added. Includes tests for Control.Adapter,
Control.ResolveAdapter, Control.TagWriter, and
Control.CreateHtmlTextWriter, when using App_Browsers/*.browser files.
AppBrowsersTest is currently tagged [Ignore], pending a fix for
bug #351878.
* HttpRuntimeTest.cs: added. Includes test for
HttpRuntime.UnloadAppDomain(). Marked [Ignore], pending a fix for
bug #351878.
++ Test/System.Web.UI.Adapters/ChangeLog (revision 0)
* PageAdapterTest.cs: added tests for PageAdapter.
* ControlAdapterTest.cs (ConfigCapabilitiesNotCalled): added test to
ensure that HttpCapabilitiesBase.ConfigCapabilities() is not called
during normal page processing if no files are in App_Browsers.
* ControlAdapterTest.cs: added tests for ControlAdapter.
++ Test/System.Web.UI/ChangeLog (working copy)
* PageTest.cs: add tests for using a PageAdapter.
* ControlTest.cs: moved commented out ResolveAdapter_1 test to
../System.Web/AppBrowsersTest.cs. Fixed typo in test name.
Added Customcontroladapter.Adapter property for use by AppBrowsersTest.
++ Test/System.Web.UI.WebControls.Adapters/ChangeLog (revision 0)
* MenuAdapterTest.cs: added
* WebControlAdapterTest.cs, HierarchicalDataBoundControlAdapterTest.cs,
DataBoundControlAdapterTest.cs, HideDisabledControlAdapterTest.cs: added
++ Test/System.Web.UI.WebControls/ChangeLog (working copy)
* MenuTest.cs (Menu_RenderStaticItems): added tests to check that
result was the same when using the base MenuAdapter as when using
no adapter.
* MenuTest.cs (Menu_RenderStaticItemsWithAdapter): added test
to ensure that MenuAdapter.RenderItem() is called.
* HierarchicalDataBoundControlTest.cs, WebControlTest.cs,
DataBoundControlTest.cs: added test for use of ControlAdapters
when present.
* WebControl.cs: added test for IsEnabled.
++ System.Web/ChangeLog (working copy)
* HttpApplicationFactory.cs: Added support for detecting
App_Browsers/*.browser files and using them to determine capabilities.
Also restart the app if the App_Browsers, App_Code, or App_GlobalResources
directories are created.
* BrowserCapabilities.cs (TagWriter): get value via internal virtual
GetTagWriter() method, which is overridden in nBrowser.Result.
* HttpRequest.cs (BrowserMightHaveSpecialWriter, BrowserMightHaveAdapters):
internal properties added to allow Page and Control methods to avoid
accessing Request.Browser to get browser-specific HtmlTextWriters or
ControlAdapters. Those things only exist when there are App_Browsers
files.
++ System.Web.UI.Adapters/ChangeLog (working copy)
* ControlAdapter.cs: made control field internal so
derived internal classes can access it without using base.Control
which can involved several typecasts.
* PageAdapter.cs: implemented all members.
* ControlAdapter.cs: implemented all members.
* PageAdapter.cs, ControlAdapter.cs: add MonoTODO's.
++ System.Web.UI/ChangeLog (working copy)
* Page.cs (SavePageControlState, LoadPageControlState): save/load
adapter state in 2.0 profile.
* Page.cs (CreateHtmlTextWriter): call Browser.CreateHtmlTextWriter()
in 2.0 profile.
* Page.cs (RenderPage): call CreateHtmlTextWriter() to get the writer
in 2.0 profile.
* Page.cs (DeterminePostBackMode, InitOutputCache,
RenderClientScriptFormDeclaration, InternalProcessRequest,
PageStatePersister): added support for PageAdapters.
* Control.cs (Adapter, ResolveAdapter): implemented. Adapter calls
ResolveAdapter and remembers result. ResolveAdapter checks for adapters
of the Type hierarchy until it finds one.
* Control.cs (SaveViewStateRecursive, LoadViewStateRecursive): save/load
adapter state in 2.0 profile.
* HtmlTextWriter.cs (BeginRender, EndRender): added empty virtual methods
required by 2.0 profile. These are called by corresponding methods of
System.Web.UI.Adapters.ControlAdapter.
* Page.cs, Control.cs: don't access Request.Browser if it couldn't have
any adapters/writers because there are no files in App_Browsers/.
++ Assembly/ChangeLog (working copy)
* AssemblyInfo.cs: made InternalsVisibleTo System.Web.test_net_2_0.dll
to support ControlAdapterTest.ConfigCapabilitiesNotCalled().
++ ChangeLog (working copy)
* System.Web_test.dll.sources: added
System.Web.UI.WebControls.Adapters/MenuAdapterTest.cs
System.Web.UI.WebControls.Adapters/WebControlAdapterTest.cs
System.Web.UI.WebControls.Adapters/HierarchicalDataBoundControlAdapterTest.cs
System.Web.UI.WebControls.Adapters/DataBoundControlAdapterTest.cs
System.Web.UI.WebControls.Adapters/HideDisabledControlAdapterTest.cs
System.Web.UI.Adapters/PageAdapterTest.cs
System.Web.UI.Adapters/ControlAdapterTest.cs
* Makefile (RESOURCE_FILES_2): added
System.Web.Configuration_2.0/RandomRoboBotKeywords.txt
* Makefile (TEST_RESOURCE_FILES): added
Test/mainsoft/NunitWebResources/PageWithAdapter.aspx
* System.Web.dll.sources: added
System.Web.Configuration_2.0/CapabilitiesBuild.cs
System.Web.Configuration_2.0/CapabilitiesChecksum.cs
System.Web.Configuration_2.0/CapabilitiesResult.cs
System.Web.Configuration_2.0/ICapabilitiesProcess.cs
System.Web.Configuration_2.0/nBrowser/Result.cs
System.Web.Configuration_2.0/nBrowser/NodeTypes.cs
System.Web.Configuration_2.0/nBrowser/Identification.cs
System.Web.Configuration_2.0/nBrowser/File.cs
System.Web.Configuration_2.0/nBrowser/Build.cs
System.Web.Configuration_2.0/nBrowser/Node.cs
System.Web.Configuration_2.0/nBrowser/Exception.cs
++ System.Web.UI.WebControls.Adapters/ChangeLog (working copy)
* WebControlAdapter.cs, HierarchicalDataBoundControlAdapter.cs,
DataBoundControlAdapter.cs: changed to use ControlAdapter.control
instead of using base.Control or using a new control field.
* MenuAdapter.cs: added internal constructor that takes a Menu
parameter. The constructor is used when writing unit tests.
* MenuAdapter.cs (OnInit, OnPreRender, RenderBeginTag,
RenderContents, RenderEndTag): delegate to base instead of
Control.
* MenuAdapter.cs (LoadAdapterControlState, SaveAdapterControlState,
RaisePostBackEvent, RenderItem): implemented.
* WebControlAdapter.cs (RenderContents): changed to call
control.RenderContents() instead of control.Render().
* WebControlAdapter.cs, HierarchicalDataBoundControlAdapter.cs,
DataBoundControlAdapter.cs, HideDisabledControlAdapter.cs: added
internal constructor that takes a parameter of the corresponding
Control type. The construct is used when writing unit tests.
++ System.Web.Configuration_2.0/ChangeLog (working copy)
* nBrowser/Result.cs, nBrowser/NodeTypes.cs, nBrowser/Identification.cs,
nBrowser/File.cs, nBrowser/Build.cs, nBrowser/Node.cs,
nBrowser/Exception.cs: added. The code under nBrowser handles *.browser
files. It is based on Owen "Ocean" Brady's code, with the following
changes and improvements. Replaced Result.Adapter
property with AdapterTypeMap property which maps control Type to adapter
Type. Added Result.MarkupTextWriter property. Added overrides for
Result.GetAdapters and Result.GetTagWriter to return MarkupTextWriter
and AdapterTypeMap, resp. Changed tree building algorithm to not
depend on nodes with id="Default" and to inject defaultBrowser nodes
as parents of regular nodes with the same ids. Changed Node.cs to use
Item instead of Add when adding a capability or sample header, so that
values get replaced instead of appended. Added support for reference
nodes (ie. nodes with refID="someID").
* CapabilitiesResult.cs: load RandomRoboBotKeywords.txt resource
using the correct name.
* RandomRoboBotKeywords.txt: added
* HttpCapabilitiesBase.cs (CreateHtmlWriter, Adapters): Added
support for *.browsers. Adapters property calls internal virtual
GetAdapters() method which is overrided in nBrowser.Result
returned by nBrowser code. CreateHtmlWriter uses type specified
by TagWriter property.
++ System.Web.UI.WebControls/ChangeLog (working copy)
* DetailsView.cs, ListControl.cs, DataBoundControl.cs,
FormView.cs, HierarchicalDataBoundControl.cs, WebControl.cs:
added support for using ControlAdapters when present.
* WebControl.cs: fixed implementation of IsEnabled to match
documentation.
* Menu.cs (RenderMenuBody): call Adapter.RenderItem() instead of
RenderMenuItem() if an adapter is present. MenuAdapter.RenderItem()
calls back to new Menu.RenderItem() internal method which calls
RenderMenuItem() with the appropriate parameters.
++ System.Web.Configuration/ChangeLog (working copy)
* HttpCapabilitiesBase.cs: changed to use nBrowser for *.browser
support. Also added internal GetConfigCapabilities_called
flag used by ControlAdapterTest.ConfigCapabilitiesNotCalled() to
test that GetConfigCapabilities() is not called during normal page
processing when there are no files in App_Browsers/.
svn path=/trunk/mcs/; revision=97824
* Page.cs: initial implementation of support for Async=true. Added
initial support for ViewStateEncryption. Implemented
CreateHtmlTextWriterFromType.
* PageAsyncTask.cs: Created class to support Async pages.
* ObjectStateFormatter.cs: Added support for ViewState encryption.
* HtmlTextWriter.cs: Fixed constructor to accept null TextWriter
to conform to MS behavior.
svn path=/trunk/mcs/; revision=73797
* Rationalize the user of MonoTODOs.
- Removed all the TODOs that were only overwritten methods
and had no further information.
- Methods that threw exceptions now have the message "Not
implemnted".
- Methods that return some constant are declared like
that.
- Removed a bunch of stale MonoTODOs that had not been
removed.
svn path=/trunk/mcs/; revision=68620
2005-09-23 Ben Maurer <[email protected]>
* HtmlTextWriterTest.cs: Reenable some stuff
In System.Web.UI:
2005-09-23 Ben Maurer <[email protected]>
* HtmlTextWriter.cs: Initial support for escaping.
svn path=/trunk/mcs/; revision=50636
* Html32TextWriter.cs: Added LinkDemand and InheritanceDemand for
AspNetHostingPermission with Minimal level. Added new 2.0 properties
(but the generated HTML doesn't use them).
* HtmlTextWriter.cs: Added LinkDemand and InheritanceDemand for
AspNetHostingPermission with Minimal level.
* ImageClickEventArgs.cs: Added LinkDemand for AspNetHostingPermission
with Minimal level.
* LiteralControl.cs: Added LinkDemand and InheritanceDemand for
AspNetHostingPermission with Minimal level. Default Text is null.
* LosFormatter.cs: Added LinkDemand and InheritanceDemand for
AspNetHostingPermission with Minimal level. Stubbed new 2.0 ctor.
* ObjectConverter.cs: Added LinkDemand and InheritanceDemand for
AspNetHostingPermission with Minimal level. Obsoleted ctor for 2.0.
* ObjectTagBuilder.cs: Added LinkDemand for AspNetHostingPermission
with Minimal level. Added check for null id (HttpException).
* Page.cs: Added LinkDemand and InheritanceDemand for
AspNetHostingPermission with Minimal level. Throw some HttpException
when no context is available.
* Pair.cs: Added LinkDemand for AspNetHostingPermission with Minimal
level. InheritanceDemand too for 1.x.
* PageParser.cs: Added LinkDemand for AspNetHostingPermission with
Minimal level.
svn path=/trunk/mcs/; revision=50093
* CalendarTest.cs: Test based on an msdn example. Again, I (heart)
anonymous methods.
2005-08-03 Ben Maurer <[email protected]>
* RepeatInfoTest.cs: Test for copying from base control
* WebControlTest.cs: Issue I found while doing repeatinfo
* LabelTest.cs: New tests.
* PanelTest.cs: New tests
2005-07-30 Ben Maurer <[email protected]>
* RepeatInfoTest.auto.cs: Regen.
* RepeatInfoTest.gen.cs: Autogenerate tests for 0 items
2005-07-26 Ben Maurer <[email protected]>
* RepeatInfoTest.cs: Remove tests that are contained below
* RepeatInfoTest.auto.cs: Generated tests.
* RepeatInfoTest.gen.cs: A test generator for repeatinfo
2005-07-20 Ben Maurer <[email protected]>
* DropDownListTest.cs (InitialSelectionMade): Add a test for a
regression that seems to be caused by some change to
ListItemCollection. Add this file to sources as all tests other
than this pass using the old impl of ddl except for this, which is
a regression.
2005-07-19 Ben Maurer <[email protected]>
* UnitConverterTest.cs: New tests
2005-07-07 Ben Maurer <[email protected]>
* FontUnitTest.cs: Make it run on msft
2005-08-05 Ben Maurer <[email protected]>
* HtmlTextWriterTest.cs: Option is rendered as a block.
2005-07-18 Ben Maurer <[email protected]>
* HtmlTextWriterTest.cs: I fixed the nested indents
2005-07-18 Ben Maurer <[email protected]>
* HtmlTextWriterTest.cs: Enable some indentation tests, others
need to be disabled
2005-07-12 Ben Maurer <[email protected]>
* HtmlTextWriterTest.cs: Enable some tests
2005-07-11 Ben Maurer <[email protected]>
* HtmlTextWriterTest.cs: The style attr thing below seems to be a
2.0 ism. Add tests for indentation.
2005-07-11 Ben Maurer <[email protected]>
* HtmlTextWriterTest.cs: Add a test for popping end tags working
correctly.
* ToolboxDataAttributeTest.cs: Don't depend on the way that hash
values are generated. Also, use built strings rather than stuff
from ldstr to make the test a bit stronger.
* PropertyConverterTest.cs: Make this pass on MSFT 1.1
2005-07-08 Ben Maurer <[email protected]>
* HtmlTextWriterTest.cs: Update notworking
2005-07-07 Ben Maurer <[email protected]>
* HtmlTextWriterTest.cs: More tests.
2005-08-04 Ben Maurer <[email protected]>
* HttpContext.cs: Kill a NIE.
2005-07-30 Ben Maurer <[email protected]>
* HtmlForm.cs: Make sure we actually put the "?" in the url
2005-08-05 Ben Maurer <[email protected]>
* HtmlTextWriter.cs: Revert the patch below, see test case
2005-08-03 Ben Maurer <[email protected]>
* HtmlTextWriter.cs: Optmize this not to do insane amounts of
allocation for large pages, etc.
2005-07-29 Ben Maurer <[email protected]>
* StateBag.cs: Don't remove when tracking viewstate, as per msft
docs.
2005-07-29 Ben Maurer <[email protected]>
* StateBag.cs: Actually *remove* items that are null. Duh.
2005-07-18 Ben Maurer <[email protected]>
* HtmlTextWriter.cs: Fix nested indentation
2005-07-18 Ben Maurer <[email protected]>
* HtmlTextWriter.cs: Fix indentation (somewhat at least)
2005-07-17 Ben Maurer <[email protected]>
* AttributeCollection.cs: Use the invariant culture.
* StateBag.cs: "Duh" optimization: return null when there are no
dirty items in the view state
2005-07-14 Ben Maurer <[email protected]>
* StateBag.cs: A "short" version of my favorite method.
* HtmlTextWriter.cs: New method to get the tag name staticly.
2005-07-13 Ben Maurer <[email protected]>
* HtmlTextWriter.cs: Remove debugging spew. Style cleanup
2005-07-12 Ben Maurer <[email protected]>
* HtmlTextWriter.cs: Make styles work.
2005-07-11 Ben Maurer <[email protected]>
* HtmlTextWriter.cs: Missing a PopEndTag here.
* PropertyConverter.cs: Pass tests
2005-07-08 Ben Maurer <[email protected]>
* HtmlTextWriter.cs: Much better compliance with msft
2005-07-07 Ben Maurer <[email protected]>
* StateBag.cs: Noticed an issue where SetDirty was called when the
key did not exist.
2005-07-07 Ben Maurer <[email protected]>
* StateBag.cs: Add a method that gets a string or else a default
value.
2005-07-06 Ben Maurer <[email protected]>
* HtmlTextWriter.cs: Make sure to clear attributes when they are
written.
* StateBag.cs: New impl
2005-07-15 Ben Maurer <[email protected]>
* DataSourceHelper.cs: Obsolete
* DataSourceResolver.cs: Moved from DataSourceHelper.
2005-07-14 Ben Maurer <[email protected]>
* DataSourceHelper.cs: Helper method used for data binding.
2005-08-04 Ben Maurer <[email protected]>
* LinkButton.cs: Fix up the test suite here.
* Panel.cs: Fix up nowrap
2005-08-03 Ben Maurer <[email protected]>
* RepeatInfo.cs: Finally figured out how to use base control
2005-07-31 Ben Maurer <[email protected]>
* TextBox.cs: Html encode for multiline text boxes
* HyperLink.cs: Resolve images
2005-07-30 Ben Maurer <[email protected]>
* RepeatInfo.cs: Handle 0 items situations correctly
* HyperLink.cs: Resolve urls correctly
* CheckBox.cs: use the correct ID for the label element.
* Label.cs: Correct AddParsedSubObject impl. See FAQ
2005-07-29 Ben Maurer <[email protected]>
* Label.cs: ClientID should be used rather than UniqueID to get
the For attribute
2005-07-29 Ben Maurer <[email protected]>
* RadioButton.cs: The "remove from groupstate" isn't needed any
more, now that statebag is correct.
2005-07-28 Ben Maurer <[email protected]>
* CompositeControl.cs: Stub
2005-07-25 Ben Maurer <[email protected]>
* RepeatInfo.cs: WOOHOOO! all tests pass. Boy is this class
cracktastic.
2005-07-25 Ben Maurer <[email protected]>
* RepeatInfo.cs: If the repeater has one column, the separators
are rendered on a different line
2005-07-25 Ben Maurer <[email protected]>
* RepeatInfo.cs: Split the horiz and vertical cases, because this
class has rules that are beyond strange. Continue working to make
my tests work.
2005-07-25 Ben Maurer <[email protected]>
* RepeatInfo.cs: Misc fixes for my test suite.
2005-07-22 Ben Maurer <[email protected]>
* HyperLink.cs: Handle non-literal children.
2005-07-21 Ben Maurer <[email protected]>
* Label.cs: SP1 stuff
2005-07-21 Ben Maurer <[email protected]>
* TextBoxMode.cs: Wrong ordering of enum...
2005-07-21 Ben Maurer <[email protected]>
* RepeatInfo.cs: Fix most of the tests.
2005-07-20 Ben Maurer <[email protected]>
* SelectedDatesCollection.cs: Apprarently, I don't write code well
at 1 am.
* Repeater.cs: Uh, actually add stuff to the items collection
(thanks sp ;-)
2005-07-20 Ben Maurer <[email protected]>
* DataGridColumnCollection.cs: New impl
* TemplateColumn.cs: New impl
2005-07-19 Ben Maurer <[email protected]>
* FontUnit.cs: Corcompare fixes
* UnitConverter.cs: Fix api diffs
2005-07-18 Ben Maurer <[email protected]>
* ListControl.cs: Fix api differences
2005-07-18 Ben Maurer <[email protected]>
* TextBox.cs: Finish this up.
* AdRotator.cs: Fix issues in the test suite. Minor style
cleanups.
* Repeater.cs: Fix a bug where the datasource is null and we do
the binding
* WebColorConverter.cs: Optimize by not doing a concat on a
formatted string.
2005-07-17 Ben Maurer <[email protected]>
* ListItemCollection.cs: Multiple uses of equals rather than
string.compare as below. Remove unreachable code warning.
* WebColorConverter.cs (ConvertTo): Use the == operator on string
rather than an invariant non-case ignoring compare. They are
exactly the same thing. Use proper coding style in this method.
* WebControl.cs: Return null when saving the view state if there
is no state in any of the things we save. This creates a fairly
large savings, because we can avoid saving anything about many
levels of deaply nested controls.
2005-07-15 Ben Maurer <[email protected]>
* Repeater.cs (DoItem): Add the DataItem before we call user
methods, as it seems to be there with msft.
2005-07-15 Ben Maurer <[email protected]>
* Repeater.cs (DoItem): We need to .Add the control *before* we
data bind it so that the state gets tracked correctly. Fixes the
postback test case.
2005-07-14 Ben Maurer <[email protected]>
* WebControl.cs:
- Some optimizations
* Don't use enum formatting stuff, it is 1) expensive 2) does
allocations. Use a new method in HtmlControl to do the right
formatting.
* Don't use Enum.IsDefined but an explicit check.
* (x == "" || x.Length < 2) is not needed since "".Length == 0 < 2
- Use the correct coding style.
2005-07-14 Ben Maurer <[email protected]>
* Repeater.cs: Cleanup; use the DataSourceHelper thingy.
2005-07-14 Ben Maurer <[email protected]>
* Repeater.cs: Get it working
2005-07-14 Ben Maurer <[email protected]>
* Repeater.cs: The beginnings of this control
2005-07-13 Ben Maurer <[email protected]>
* RepeaterItem.cs: Compile fix
* RepeaterItemCollection.cs: New file
* RepeaterItem.cs: get OnBubbleEvent right.
2005-07-13 Ben Maurer <[email protected]>
* RepeaterItem.cs: Stub
2005-07-13 Ben Maurer <[email protected]>
* RepeatInfo.cs: Impl.
2005-07-12 Ben Maurer <[email protected]>
* ListItem.cs: New impl.
2005-07-12 Ben Maurer <[email protected]>
* TextBox.cs: Passwords seem 1) not to be rendered to the client
if set, 2) not kept in view state (for security reasons...)
* LinkButton.cs:
* Button.cs: Page.Validate () if needed. Gets the validator tests
working again.
* TextBox.cs: Properties to get the validator stuff to work.
2005-07-11 Ben Maurer <[email protected]>
* LinkButton.cs:
* Button.cs: Bubble the Command event.
2005-07-11 Ben Maurer <[email protected]>
* Button.cs:
- Clean up style (with my wonderful state bag hack!)
- Fix a view state typo.
- Use AddAttributesToRender
- Don't add an extra <span>
2005-07-09 Ben Maurer <[email protected]>
* TextBox.cs: More work on this
2005-07-09 Ben Maurer <[email protected]>
* TextBox.cs: Add the work I did on this today. It's not complete
yet, but its a start!
2005-07-08 Ben Maurer <[email protected]>
* LinkButton.cs: Command impl
2005-07-08 Ben Maurer <[email protected]>
* LinkButton.cs: Initial impl
2005-07-07 Ben Maurer <[email protected]>
* PlaceHolderControlBuilder.cs: new file
* LabelControlBuilder.cs: New file
* HyperLink.cs: use control builder; fix parsing stuff
* HyperLinkControlBuilder.cs: new file
* Panel.cs: misc fixes
2005-07-07 Ben Maurer <[email protected]>
* PlaceHolder.cs: New file. Seems to do nothing
* Label.cs: Use my new statebag trick to reduce typing
* HyperLink.cs: New file
2005-07-06 Ben Maurer <[email protected]>
* Unit.cs: cctor not needed; static fields are 0 init'd by default
* WebControl.cs: Kothari & Datye's book explains how these work.
* IRepeatInfoUser.cs: Reimpl.
svn path=/trunk/mcs/; revision=48921
* CssStyleCollection.cs: Make it work as a standalone collection.
* HtmlTextWriter.cs: Added static method for getting style names.
svn path=/trunk/mcs/; revision=37886
* System.Web.UI/HtmlTextWriter.cs: fixed style attributes rendering
(almost the same bug as in regular attributes).
* System.Web.UI.WebControls/ListBox.cs: mono-stylized.
(AddAttributesToRender): also call parent class method.
svn path=/trunk/mcs/; revision=5326
* 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