In asp.net can we create the pages by giving an interface in the web page itself,where user can specify the text fields,combo boxes,buttons etc.And these should be accessed next time when user wants to use them.
So,basically some database should be used to store these values and this should be done in asp.net(C#).
How can we create dynamic pages in asp.net,i.e.at run time and according to user specification at run time?
Are you trying to say you want users to chose the options and layout they want and then you'll create a page for them with those features, which they'll use on subsequent sessions?
It sounds like you want to have a common page but the user preferrences will display different controls.
ASP.NET is perfect for this.
The best method would be to use provider roles. Part of the membership role allows for user preferrences, you'd overide the default .cs methods, etc for what you want your system to do.
You can use a more sequential code design which is to create one default page that contains all controls. This page receives values that in turn tells the code in the page which controls to enable or disable and the property settings and it can be all done via a querystring.
Basically, your first contact with the user have them choose their options, you then put this in a table, here you can save time by creating a querystring now on this info and save it.
Next, when the user accesses a session, you grab their login info and use that to get their querystring. The querystring is passed into the generic webpage that'll turn on and off controls. You can automate some of this by adding a querystring node in the config files.
Reply:DNT KNW
Reply:If you want to store asp.net variables etc.. in the database you need to use reflection.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment