Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Ok guys... This isn't easy to do and so, I need some advises from you about what's the best known way...

 

From about some time now I'm developing a Comercial Management app. I've been sniffing around on all good softwares and taken the good stuff to my own... :) Spionage...

 

Ok... The thing is, this software must grow with the user, must be flexible enough to solve most of the client tasks and problems without a permanent need to code, letting the user work for hes own. With this in mind, I made a designer of "User Pages" that are pages designed by the user, where he can drop controls that will interact with the database the way he want. In my mind I'm turning my "simple" software into an ERP (Enterprise Resource Planning)...

 

 

 

Now the real question:

What is the best way of storing the configuration of these user defined controls?

 

 

 

I have this way that is saving all the needed control properties values to a DB but most object properties can't be directly cast from a String DB field to a property value... simple as the BackColor...

This can also be overcomed by implementing complex conversion methods...

 

So, after this explanations, I just apretiate some words from you about some experiences you had around this or something ok?

 

Thank you very much...

 

 

 

Alex :D

Software bugs are impossible to detect by anybody except the end user.
  • *Experts*
Posted
You might want to look at serializing the layout and properties and such into XML or another format. Read about [msdn]System.Xml.Serialization[/msdn] namespace for more information.
Posted

Thanks VolteFace...

 

Ok, I serialize my objects but tell me this, What I want to to it's just to serialize a TabPage of a TabControl...

This Tab control have standard tabs but if the user wants he can add Tabs and add custom controls on them.

 

I've ponderated the serialization but...

 

How can I serialize just the user tabs to XML?

Should it have to make a XML file for each user page?

 

 

Thank you very much...

 

 

Alex :D

Software bugs are impossible to detect by anybody except the end user.
Posted

I'm trying to serialize the controls but I cant serialize the controls like a textbox for example...!

 

Or can I ?

Software bugs are impossible to detect by anybody except the end user.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...