Q: How to get Unique ID's for a control, to save its vars in Session/DB?

S

Sky

Hello:

HUGE question that has blocked me for a while now:

I have a usercontrol called Module_PhoneList that is injected in a Panel ,
which can show up in different Pages. (Basically a portal).

The question is as follows:
How can I create a unique Session key/word to distinguish between

PhoneList in Panel 3 on Page 1, and
PhoneList control in Panel 2 on page 2?

In both cases, if the code was created dynamically,
the ID's will be the same for all instances (too inclusive), whereas
the UniqueID will change depending on where it was placed on the page(too
restrictive -- because if I give the user a means to MOVE the control from
position 3 on the panel 1, to the position 1 of panel 2, the UniqueID will
no longer be the same, right?)



Anyway -- probably a dumb question, but frankly, really important to me ;-)
Havn't figured out a way to save the vars for each 'Module' in first
Session, and then back to a Database on Session_End.....

Any and all suggestions for doing this kind of var-saving elegantly, would
be greatly appreciated!

Sky
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top