* DataSourceView.cs: fixed:
view raises onchange event when datasource is chenged.
2007-08-06 Igor Zelmanovich <[email protected]>
* DataSourceViewTest.cs:
Added new test.
2007-08-06 Igor Zelmanovich <[email protected]>
* AccessDataSource.cs: does not subscribed on view changed event.
* ObjectDataSource.cs: fixed state management.
* SqlDataSource.cs: fixed state management.
svn path=/trunk/mcs/; revision=83541
* webform.js:
* WebUIValidation_2.0.js:
refactoring: provide possibility to define relevant functions in different
scopes. (global=window or form element). thus providing a solution for
multi form environment.
2007-07-24 Igor Zelmanovich <[email protected]>
* ClientScriptManager.cs:
* Page.cs:
* Page.jvm.cs:
added new internal property IsMultiForm which returns false under
!TARGET_J2EE (Portal). All client scripts are rendered
according this property.
2007-07-24 Igor Zelmanovich <[email protected]>
* BaseValidator.cs: All client scripts are rendered
according IsMultiForm property.
svn path=/trunk/mcs/; revision=82648
* BaseValidator.cs: for NET_2_0: fixed client side validation.
validation is performed in WebForm_DoPostback,
and there is no need to do it twice in ValidatorOnSubmit.
svn path=/trunk/mcs/; revision=82011
* ListItem.cs:
* ListItemCollection.cs: controls based on ListControl should not save view state before than TrackViewState called
svn path=/trunk/mcs/; revision=81396
* WebControl.cs: Revert r80368, as it wasn't the correct
fix. Fixes bug #81945.
* ListControl.cs: if there are no items in the collection, do not
return an empty ArrayList from GetSelectedIndicesInternal. Fixes
bug #81945 and properly fixes bug #78533.
* ListItemCollection.cs: if there are no items in collection,
return null.
svn path=/trunk/mcs/; revision=81170
* GridView.cs:
the Pager is created but unvisible for only one page.
the Patch submitted by Dumitru Ban [[email protected]]
2007-07-01 Igor Zelmanovich <[email protected]>
* GridViewTest.cs:
Added new tests
svn path=/trunk/mcs/; revision=81139
* FormView.cs:
* DetailView.cs:
* GridView.cs:
does not requires data binding if any ITemplate property is set.
2007-07-01 Igor Zelmanovich <[email protected]>
* FormViewTest.cs:
* DetailViewTest.cs:
* GridViewTest.cs:
Added new tests
svn path=/trunk/mcs/; revision=81138
* GridView.cs: fixed AllowPaging feature:
When the AllowPaging is true the GridView control should automatically
hide the pager row when the data source contains fewer than 2 records.
patch Patch submitted by Dumitru Ban [[email protected]]
svn path=/trunk/mcs/; revision=80611
* WebControl.cs: if savedState is a Triplet, take the actual state
data from savedState.First. Also make sure that the data is a
Pair. Fixes bug #78533.
svn path=/trunk/mcs/; revision=80368
* OutputCacheModule.cs: use Context.InternalCache.
* Cache.cs: 2.0 profile uses generic containers to keep the cache
entries.
Gotten rid of the InsertPrivate and InsertInternal methods. The
latter was moved to one of the Insert overloads.
Private entries are no longer handled specifically, because the
internal cache is now kept in a separate object.
2007-06-20 Marek Habersack <[email protected]>
* AppResourcesCompiler.cs: use HttpRuntime.InternalCache to keep
private entries.
* CachingCompiler.cs: as above
* AspGenerator.cs: as above
2007-06-20 Marek Habersack <[email protected]>
* DataSourceCacheManager.cs: use HttpContext.Current.InternalCache
to keep private entries.
* XmlDataSource.cs: as above
2007-06-20 Marek Habersack <[email protected]>
* SessionInProcHandler.cs: use HttpRuntime.InternalCache to keep
private entries.
2007-06-20 Marek Habersack <[email protected]>
* SessionInProcHandler.cs: use HttpRuntime.InternalCache to keep
the internal entries.
2007-06-20 Marek Habersack <[email protected]>
* BasePartialCachingControl.cs: use HttpRuntime.InternalCache to
keep the private entries.
2007-06-20 Marek Habersack <[email protected]>
* HttpRuntime.cs: added new internal property, InternalCache, to
keep all the internal cache entries instead of mixing them with
the public cache ones.
Do not invoke Cache.InvokePrivateCallbacks - this method no longer
exists.
* HttpResponse.cs: private entries are now kept in
Context.InternalCache.
* HttpContext.cs: added new internal property, InternalCache,
which returns the HttpRuntime.InternalCache value.
Fixes bug #81690
svn path=/trunk/mcs/; revision=80321
* ObjectDataSourceView.cs:
* SiteMapDataSource.cs:
* SqlDataSource.cs:
* SqlDataSourceView.cs:
DataSourceChanged and DataSourceViewChanged are raised in right case, when
different properties changed their value.
svn path=/trunk/mcs/; revision=78131
* ObjectDataSourceView.cs: CreateDataObject must pay attention to
TypeConverter attributes on the property being converted.
svn path=/trunk/mcs/; revision=77952
* 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