In Progress

Implementing Stateful Complex Property in an [url removed, login to view] Server Control (C#.Net 2.0)

Hello,

I have developed an [url removed, login to view] Server control where I have created lots of properties of different types like string, bool, enum etc...

Example:

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

string marketName, string companyName

string bookName, decimal bookPrice, string authorName

string studentName, int studentID, int studentAgae

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

Now, I wanted to organize those properties within classes like

public class BookInfo

{

string bookName, decimal bookPrice, string authorName

}

public class StudentInfo

{

string studentName, int studentID, int studentAgae

}

Then I want to appear those grouped properties within the Property Editor in Design Time same like Style or Font classes are shown up in the property editor as a tree.

Finally, all sub properties must be stateful (i.e. store these properties in ViewState). So, you may need to override LoadViewState, TrackViewState, SaveViewState etc methods.

Two very important requirement :

1] The sub properties must be editable in designmode in property editor like Font class or Style Class.

2] The sub properties must maintain State information within ViewState.

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

The format of required Article:

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

Now, I want an easy Visual Studio 2005 (.NET 2.0) Custom Server Control Project with clear comments and the project should have following items.

1] A custom server control with mentioned Book Class, StudentInfo Class and non classed properties where you have implemented State Management for sub properties and also those sub properties are shown up in property editor.

2] The partial class should be used to divide the property definitions in one file, Load View State, Save View State, Track View State etc in another file, Custom Class definitions (i.e. BookInfo, StudentInfo etc) in another file.

3] The complete project should be easily coded so that the solution can be used as a model to create a similar project or add more and more properties within classes and all new properties are easily scalable to implement state management.

Thats all.

Skills: .NET, Website Design, Windows Desktop

See more: stateful property asp, state management complex properties, server control bool property, custom control sub properties, complex properties, complex property aspnet, website editor wanted, up string, want editor, int i, need format article, clear string, article model, enum property viewstate, sub property propertyeditor, user control complex property, aspnet complex control properties, asp page stateful, stateful aspnet user controls, user control properties complex, feeds properties editor, aspnet complex editing, viewstate property complex, server control sub property, vbnet usercontrol complex properties

About the Employer:
( 14 reviews ) Whitby, Canada

Project ID: #213490