Create Class Collection in Server Control

En curso Publicado Jan 15, 2008 Pagado a la entrega
En curso Pagado a la entrega

The project description of this extended project:

=================================================

Please ignore this project as this is an extended project for the same coder who worked the first project.

---------------------------------------------

Created a BookInfo class which has sub properties, fine. Now, I want to create a complex property of type Collection which is infact a collection of BookInfo class. So, the Collection class can be like this,

[url removed, login to view](an instance of BookInfo Class);

And this collection should be Stateful (ViewState) as usual and The collection items should be available in Property Browser in DesignTime as a Collection Editor where BookInfo Sub properties are editable too.

Finally, [url removed, login to view]() will return an XML string based on the collection items. The xml should be like this

<xml>

<bookInfoCollection>

<bookInfo>

<author> author1 </author>

<bookName> bookName1 </bookName>

<price> price1 </price>

<shipDay> Sunday/Monday etc.. </shipDay>

</BookInfo>

<bookInfo>

<author> author2 </author>

<bookName> bookName2 </bookName>

<price> price2 </price>

<shipDay> Sunday/Monday etc.. </shipDay>

</BookInfo>

..............

</BookInfoCollection>

Project Requirement:

=====================

1] Please do not hard code the files. The word "hard code" means, do not code in diry style, rather, place the codes in clear Partial Class files so that it is very easily understandable and scalable.

I have lots of properties in my project what I want to make them class collection and thats why I will use your code to learn and organize my hundreds of properties in my server control project. So, if your code is not scalable, it wont be any useful for me. I hope you understood my point.

2] Make partial class file for Class Definition (BookInfo), Collection Class, ViewState Management etc...

Same like before,

Condition 1 : Design time property editor browsable.

Condition 2 : ViewState - State Management.

.NET

Nº del proyecto: #214019

Sobre el proyecto

1 propuesta Proyecto remoto Activo Jan 15, 2008