* TemplateParser.cs: refactoring - use HttpApplication.LoadType to
actually look up types.
* ControlBuilder.cs: as above
2007-05-15 Marek Habersack <[email protected]>
* BuildProviderCollection.cs: refactoring - use
HttpApplication.LoadType to actually look up the type.
* HttpHandlerAction.cs: as above
* WebConfigurationHost.cs: refactoring - moved the LoadType to
HttpApplication to share the code between 1.1 and 2.0 profiles.
2007-05-15 Marek Habersack <[email protected]>
* ObjectDataSourceView.cs: refactoring - use
HttpApplication.LoadType to look up types.
2007-05-15 Marek Habersack <[email protected]>
* HttpApplication.cs: refactoring - moved LoadType from
WebConfigurationHost here and made it internal static, in order to
make the code avaliable from all the places where extended type
loading is required.
svn path=/trunk/mcs/; revision=77396
* Table.cs: render rows, not controls
* HyperLink.cs: RenderContents must check if the render method
delegate is present and, if yes, call the base RenderContents.
* LinkButton.cs: as above.
* Label.cs: as above.
* TableCell.cs: as above.
This change makes the HeaderTemplate in the Wizard control work.
2007-05-10 Marek Habersack <[email protected]>
* Control.cs: small formatting change
svn path=/trunk/mcs/; revision=77164
* Wizard.cs: if a next/previous step handler modifies
ActiveStepIndex do not, respectively, increase/decrease the
current step, but use whatever was set in the handler.
Also set eol-style to native and removed CRLFs, plus some reformatting.
svn path=/trunk/mcs/; revision=77127
2007-05-09 Marek Habersack <[email protected]>
* TreeNodeStyleCollection.cs: do not set font's underline flag to
false, set it to its own value instead.
* TreeView.cs: if level style exists and has ChildNodesPadding
set, it takes precedence over the node style setting (if any).
svn path=/trunk/mcs/; revision=77002
* TreeView.cs: children padding is rendered only before and after
the children are rendered, not between them. Also, render padding
only if there are any nodes to follow the current one.
svn path=/trunk/mcs/; revision=76905
* Wizard.cs: additional checks to see whether the wizard needs to
move to a next step or not. Fixes bug #81532. Patch sent by Mike
Morano <[email protected]>, thanks!
svn path=/trunk/mcs/; revision=76819
* FormView.cs: fixed:
avoid NullReferenceException when used EditTemplate w/o binding
directive such Eval or Bind.
svn path=/trunk/mcs/; revision=76814
* MenuItem.cs: fixed:
when 'Value' property is not set, value of 'Text' property is used
instead and vice versa.
* MenuTest.cs:
new tests were added.
svn path=/trunk/mcs/; revision=76809
* TreeNode.cs: fixed:
when 'Value' property is not set, value of 'Text' property is used
instead and vice versa.
* TreeNodeTest.cs:
* TreeViewTest.cs:
new tests were added.
svn path=/trunk/mcs/; revision=76782
2007-05-04 Marek Habersack <[email protected]>
* HtmlAnchor.cs: use ResolveClientUrl when generating
attributes. Necessary if the control is in a master page which is
in a different directory than the current page.
2007-05-04 Marek Habersack <[email protected]>
* AdRotator.cs: use the new GetPhysicalFilePath method to look up
the physical path of the ad file.
2007-05-04 Marek Habersack <[email protected]>
* TemplateControlCompiler.cs: do not query the parent for
TemplateSourceDirectory if we are generating code for a Master
Page.
2007-05-04 Marek Habersack <[email protected]>
* Control.cs: added an internal method to resolve a physical path
to a file from its virtual path considering the possibility that a
control is placed in a master page, which in turn is referenced
from a directory another than that of master page itself.
svn path=/trunk/mcs/; revision=76665
* TreeNode.cs: correct version of the fix in r76488. Nodes
retrieved from a navigation data source which have empty URL will
not be selectable.
svn path=/trunk/mcs/; revision=76604
* TreeViewTest.cs: revert r76541.
2007-05-03 Marek Habersack <[email protected]>
* TreeView.cs: revert r76488, it wasn't entirely correct. I need
to investigate the special cases it solved a bit more.
svn path=/trunk/mcs/; revision=76597
* HttpCapabilitiesBase.cs: move the User-Agent code to a separate
internal method.
2007-05-01 Marek Habersack <[email protected]>
* HtmlForm.cs: do not use User-Agent directly, we must take
ClientTarget into account.
2007-05-01 Marek Habersack <[email protected]>
* BaseValidator.cs: do not use User-Agent directly, we must take
ClientTarget into account.
2007-05-01 Marek Habersack <[email protected]>
* PageParser.cs: clientTarget comparisons must be case-insensitive
svn path=/trunk/mcs/; revision=76522
* ConnectionStringsExpressionBuilder.cs: support expressions with
suffixes .ProviderName and .ConnectionString (case-insensitie) and
generate a call to GetConnectionStringProviderName in the former
case. Fixes bug #81490
2007-04-30 Marek Habersack <[email protected]>
* SqlDataSource.cs: do not catch the exception if ProviderName is
not null or empty (as per docs and what MS.NET does).
2007-04-30 Marek Habersack <[email protected]>
* DbProviderFactories.cs: throw the same exception MS.NET does.
svn path=/trunk/mcs/; revision=76486
* SqlMembershipProvider.cs:
ChangePassword throws exception if new password has invalid format.
2007-04-19 Igor Zelmanovich <[email protected]>
* ChangePassword.cs:
does not accept invalid new password.
svn path=/trunk/mcs/; revision=75955
* BaseValidator.cs: for TARGET_J2EE:
used Page.Request.Browser to determine RenderUplevel
2007-04-18 Igor Zelmanovich <[email protected]>
* HtmlForm.cs: for TARGET_J2EE:
used Page.Request.Browser to determine RenderUplevel
svn path=/trunk/mcs/; revision=75870
* SiteMapDataSource.cs: query the site map for the current node
when configured to use it as the start point. Fixes bug #81376,
patch from Mike Morano <[email protected]>.
svn path=/trunk/mcs/; revision=75864
* Calendar.cs: change year/month format to be culture aware. Fix
for bug #81390. Patch submitted by Atsushi Enomoto
<[email protected]>
svn path=/trunk/mcs/; revision=75861
* culevel/culevel.exe.sources: added
* culevel/Makefile (thisdir): added
* culevel/CompileUplevel.cs: added
* Makefile (thisdir): added the culevel subdirectory to the list.
2007-04-17 Marek Habersack <[email protected]>
* Makefile (thisdir): added tools/culevel to the list of
subdirectories - it must be compiled before compiling the classes
since System.Web depends on it.
2007-04-17 Marek Habersack <[email protected]>
* Makefile (System.Web/UplevelHelper.cs): autogenerate the file if
it doesn't exist.
* System.Web.dll.sources: added the System.Web/UplevelHelper.cs
file. It is autogenerated by the culevel compiler.
* UplevelHelperDefinitions.xml: added default uplevel browsers
definition file. This serves as input to the culevel compiler in
the tools directory at the top of the mcs tree.
2007-04-17 Marek Habersack <[email protected]>
* WebUIValidation_2.0.js: added HaveRegexp () function to detect
if the browser supports the RegExp class. Use GetElement ()
everywhere.
* WebUIValidation.js: added HaveRegexp () function to detect if
the browser supports the RegExp class.
* webform.js: use WebForm_GetElementById everywhere.
2007-04-17 Marek Habersack <[email protected]>
* HtmlForm.cs: use the new uplevel browser detection code.
2007-04-17 Marek Habersack <[email protected]>
* BaseValidator.cs: use the new uplevel browser detection code.
svn path=/trunk/mcs/; revision=75818
* LoginView.cs: do not call CreateChildControls directly from the
IsAuthenticated setter since that would destroy the controls the
user might've configured from their Page_PreRender method.
Do not use IsAuthenticated in CreateChildControls since that
prevents the _correct_ template from being instantiated before the
control is transferred to the user's OnPreRender handler. Fixes
bug #81344.
svn path=/trunk/mcs/; revision=75629
* HtmlInputHidden.cs:
* HtmlSelect.cs:
* HtmlInputText.cs:
* HtmlSelect.cs:
* HtmlInputText.cs:
* HtmlInputImage.cs:
* HtmlInputFile.cs:
* HtmlInputCheckBox.cs:
* HtmlInputRadioButton.cs:
* HtmlInputImage.cs: do not register the control for post back
processing or if it's disabled.
2007-04-11 Marek Habersack <[email protected]>
* ImageButton.cs: implement the Enable property and do not
register for post back if the control isn't enabled.
2007-04-11 Marek Habersack <[email protected]>
* Page.cs: check whether control passed to
RegisterRequiresPostBack implements the IPostBackDataHandler
interface.
svn path=/trunk/mcs/; revision=75594
* BaseDataBoundControl.cs: restore the LAMESPEC note and code it
describes - tests show this is what's happening on MS.NET as
well.
svn path=/trunk/mcs/; revision=75425
* GridView.cs:
* BaseDataBoundControl.cs:
Break recursion when the property is set from within the OnSelect handler
in user's code. fixes bug #81175.
svn path=/trunk/mcs/; revision=75422
* SiteMapDataSource.cs: fix GetStartNode for situations when the
current URL is not defined in the sitemap file. Fixes bug
#81314. Patch from Mike Morano <[email protected]>.
svn path=/trunk/mcs/; revision=75419
* ObjectDataSourceView.cs: fixed events so they are raized at the
right times. Added many tests to verify the correct time.
* SqlDataSourceView.cs: fixed events so they are raized at the right
times. Added many tests to verify the correct time.
svn path=/trunk/mcs/; revision=75137