473,473 Members | 1,752 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Dynamic controls query

Hi,
I am looking for a optimized design for my problem.

Purpose : Need to give a UI where user can select the layout they want.

Initially we also need to give them one possible way to define rows and
col. So I am providing two textbox to get this. After based on row and col i
am generating a table. In which each TD will be showing dropdown to select
which usercontrol to be load in different TD, which need to be stored in
database.

Now I am able to build dynamically a table with dropdown in each TD. But
now comes the issue of persistance. Once user selects usercontrols from
different dropdown , will click the button SAVE. By then all the contents
goes off. I tried various persistance methods. But no success soo far.

Finally looking forward for some experts view. Well, there is a better
solution for this please let me know.

Thanks in advance,
Sachi


Nov 19 '05 #1
1 1085
If they are choosing their own UI, I am assuming they will want to retain
these settings beyond this session?

In that case you would store in either a data store (xml file on server, db
on server) or client cookie

While they are choosing, you can store the interim decision points
(rows/cols counts) in a session variable and call from a postback, so on
each page load it will

1) check if there is stored data setting the UI, and if none, then
2) check if there are session variables indicating they are mid-process in
choosing their ui layout , and if none, then,
3) display the starting point for laying out their ui (two textboxes).

It sounds like you are using events to create the table based on the
textboxes and/or the button on click, but are not retaining the information
between postbacks.

Hope this helps. If you need some code examples, post relevant code
snippets to your question - makes it easier to make the answer more
relevant. :)

"Sachi" <Sa***@discussions.microsoft.com> wrote in message
news:79**********************************@microsof t.com...
Hi,
I am looking for a optimized design for my problem.

Purpose : Need to give a UI where user can select the layout they want.

Initially we also need to give them one possible way to define rows and
col. So I am providing two textbox to get this. After based on row and col
i
am generating a table. In which each TD will be showing dropdown to select
which usercontrol to be load in different TD, which need to be stored in
database.

Now I am able to build dynamically a table with dropdown in each TD. But
now comes the issue of persistance. Once user selects usercontrols from
different dropdown , will click the button SAVE. By then all the contents
goes off. I tried various persistance methods. But no success soo far.

Finally looking forward for some experts view. Well, there is a better
solution for this please let me know.

Thanks in advance,
Sachi

Nov 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: CSDunn | last post by:
Hello, I have a situation with MS Access 2000 in which I need to display report data in spreadsheet orientation (much like a datasheet view for a form). If you think of the report in terms of what...
1
by: Nathan Bloomfield | last post by:
Does anyone know if there is any documentation which relates to Access2k + ? or can anyone help adjust the code? I am having trouble converting the DAO references. TITLE :INF: How to...
2
by: charliewest | last post by:
I need to create textboxes in real-time, the actual number of which is determine by a result from a database query. I have been able to create the controls, and then add them to the ASPX page....
10
by: moondaddy | last post by:
I'm writing an ecommerce app in asp.net/vb.net and need to make the pages searchable and crawlable by spiders, particularly Google's. As far as I know, if my pages's contents are mostly populated...
3
by: PABruceFan | last post by:
I am dynamically adding rows to an asp:table as a result of a database query. The row consists of a label, a textbox and three checkboxes in that order: LABEL TEXTBOX CHECKBOX1 CHECKBOX3 ...
2
by: Dave Williamson | last post by:
When a ASPX page is created with dynamic controls based on what the user is doing the programmer must recreate the dynamic controls again on PostBack in the Page_Load so that it's events are wired...
3
by: WebBuilder451 | last post by:
I have a series of dynamic link buttons created based upon a datareader. I've added a click event and it calls the sub ok: example: "while loop through the reader" Dim ltrCtrl As New...
13
by: salad | last post by:
Operating in A97. I didn't receive much of a response conserning Pivot tables in Access. Pivot tables are nice, but a CrossTab will work for me too. Using a Pivot table, one is actually...
2
by: englishman69 | last post by:
Hello, I have been banging my head against this one for a while... Searches online have revealed many different proposals for correcting my issue but none that I can follow! My basic situation...
0
by: JamesOo | last post by:
I have the code below, but I need to make it searchable in query table, below code only allowed seach the table which in show mdb only. (i.e. have 3 table, but only can search either one only,...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.