* System.Web.Extensions.dll.sources: added
System.Web.UI/ScriptReferenceBase.cs
2009-05-26 Marek Habersack <[email protected]>
* ScriptReferenceBase.cs: implemented (3.5 SP1)
* ScriptReference.cs: now inherits from the ScriptReferenceBase
class. Implemented all the required methods, removed some
properties which now live in the base class.
* ScriptManager.cs: code refactoring - moved parts of script
registration code to ScriptReference
2009-05-26 Marek Habersack <[email protected]>
* ListControlDesigner.cs: updated to match MSDN specs, added 2.0
methods. Used in the latest AjaxControlToolkit.
2009-05-26 Marek Habersack <[email protected]>
* System.Design.dll.sources: added
System.Web.UI.Design.WebControls/ListControlDesigner.cs
svn path=/trunk/mcs/; revision=134754
* ListViewContainer.cs: added
* ListView.cs:
Align group with empty items if there are no more data items.
Each group is contained within ListViewContainer.
Calculate the number of groups correctly.
2008-11-18 Marek Habersack <[email protected]>
* System.Web.Extensions.dll.sources: added
./System.Web.UI.WebControls/ListViewTableCell.cs
Added ./System.Web.Query.Dynamic/DynamicClass.cs and
./System.Web.Query.Dynamic/ParseException.cs
Added ./System.Web.UI.WebControls/ListViewContainer.cs
svn path=/trunk/mcs/; revision=119223
* System.Web.Extensions.dll.sources: added
./System.Web.UI.WebControls/ListViewTableCell.cs
2008-11-18 Marek Habersack <[email protected]>
* ListView.cs: implemented grouping support. With this ListView is
feature complete.
Refactored grouped/non-grouped rendering common code into separate
methods.
FindPlaceholder now looks for the placeholder recursively.
Implemented forgotten UpdateItem method.
* ListViewTableCell.cs: added
svn path=/trunk/mcs/; revision=119125
* System.Web.Extensions.dll.sources: added
System.Web.UI.WebControls/DataPagerCommandEventArgs.cs
2008-11-15 Marek Habersack <[email protected]>
* ListViewInsertEventArgs.cs: implemented the Values property.
* ListView.cs: CreateChildControls uses the Items collection to
store the created items.
InsertNewItem triggers page validation if necessary.
Part of InsertNewItem code refactored to DoInsert.
Implemented handling of the Insert and Select commands.
* TemplatePagerField.cs: implemented all the code.
* DataPager.cs: CreatePagerFields now adds the new pager field
control before creating data pagers in it and before binding to
data. This avoids situation in which the field is parentless.
FindPageableItemContainer now properly finds the container if it's
placed directly in the Page.
{Load,Save}ViewState don't use a Pair anymore, object array is
used for compatibility with MS.NET
* NumericPagerField.cs, NextPreviousPagerField.cs,
DataPagerFieldCommandEventArgs.cs: minor refactoring
* ListViewSelectEventArgs.cs: implemented all the code.
* ListViewInsertedEventArgs.cs: Values allocates the dictionary on
demand now.
Initialize all the properties in constructor
* DataPagerCommandEventArgs.cs: added
* DataPagerField.cs: implemented IsTrackingViewState
* DataPagerFieldItem.cs: implements the INonBindingContainer
interface.
svn path=/trunk/mcs/; revision=118918
* System.Web.Extensions.dll.sources: added
./System.Web.UI.WebControls/TemplatePagerField.cs
* System.Web.Extensions_test.dll.sources: added
System.Web.UI.WebControls/EventRecorder.cs,
System.Web.UI.WebControls/ListViewTest.cs,
System.Web.UI.WebControls/DataPagerFieldCollectionTest.cs
2008-10-30 Marek Habersack <[email protected]>
* DataPagerFieldCollectionTest.cs: created. Some basic tests for
DataPagerFieldCollection
* EventRecorder.cs: created. A helper class for tests.
* ListViewTest.cs: created. Some basic test for ListView.
2008-10-30 Marek Habersack <[email protected]>
* DataPagerFieldCollection.cs: implemented most of the methods and
properties, so that using the DataPager is possible now.
* PagePropertiesChangingEventArgs.cs: implemented all the methods
and properties.
* ListView.cs: {Save,Load}ControlState now uses constants to index
state arrays. Total row count is stored in the control state.
CreateChildControls () now uses dummy data to initialize child
controls if no items were found after postback.
CreateChildControls (IEnumerable, bool) now properly calculates
total row count, calls OnTotalRowCountAvailable after creating the
child controls and returns the total row count instead of the
number of created child controls. This makes pager work
correctly.
Implemented SetPageProperties () to support paging.
* NextPreviousPagerField.cs: Correctly order the Next/Previous
buttons.
When creating buttons, cast the new control properly before
assigning properties.
* TemplatePagerField.cs: added (stub)
* DataPager.cs: added missing class attributes (ParseChildren,
PersistChildren and SupportsEventValidation).
{Save,Load}ControlState now use constants to index the state
arrays.
Properly implemented FindPageableItemContainer - it now looks for
the container up the parenthood chain, querying all the naming
containers for the named control.
SetUpForNewContainer now accepts an additional parameter, so that
the SetPageProperties method is called on the container whenever
necessary.
* NumericPagerField.cs: implemented the CreateField method.
* ListViewPagedDataSource.cs: implemented data source
enumerators.
* DataPagerFieldItem.cs: implemented all the methods and properties.
svn path=/trunk/mcs/; revision=117479
* Json.cs: added new Serialize overload which takes a TextWriter
for its output parameter.
Added Deserialize methods.
* JsonSerializer.cs: made InitialJavaScriptDateTicks internal.
Added new Serialize overload which takes a TextWriter for its
output parameter.
Added WriteValue overloads for float and double - they must not be
converted to strings as IConvertibles because their Max/MinValue
end up converted incorrectly.
* JavaScriptSerializer.cs: adjustments for the new JSON
(de)serializer.
* JsonDeserializer.cs: new JSON deserializer code, fully compliant
with the .NET AJAX one.
2008-09-19 Marek Habersack <[email protected]>
* JavaScriptSerializerTest.cs: enabled some tests which were
failing with the old (de)serializer, but work with the new one.
2008-09-19 Marek Habersack <[email protected]>
* System.Web.Extensions.dll.sources: removed most of the
Newtonsoft JSON code, leaving only ReflectionUtils and
JavaScriptUtils.
svn path=/trunk/mcs/; revision=113590
* System.Web.Extensions.dll.sources: added
System.Web.Script.Serialization/Json.cs,
System.Web.Script.Serialization/JsonSerializer.cs and
System.Web.Script.Serialization/StringBuilderExtensions.cs
* System.Web.Script.Serialization/Json.cs: helper class to invoke
de/serializer.
* System.Web.Script.Serialization/JsonSerializer.cs: new
implementation of Json serializer that is free of issues found in
the old one (and faster + simpler).
* System.Web.Script.Serialization/JavaScriptSerializer.cs: staging
transition to the new Json (de)serializer. For now deserialization
is done using the old JSON code, serialization uses the new
serializer.
* System.Web.Script.Serialization/StringBuilderExtensions.cs: a
set of simple StringBuilder extension methods which check the size
of the builder against some value and throw an exception if the
value is exceeded.
svn path=/trunk/mcs/; revision=113254