Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Drop Down List behavior
Message
From
07/09/2004 15:22:41
 
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00940045
Message ID:
00940062
Views:
15
Ok, I think I know what you're talking about now. I'm doing something very similar, but I'm populating my unbound ddl manually using the ddl's Add() method - Add(new ListItem(key,val)) (the items being read from a text file). I haven't tried using a table, but I can try that out later and see what happens.

Do I take it that your ddl is a web control on an aspx page?

Alan

>Alan;
>
>Thank you for the attempt to solve this issue. No, AutoPostBack will not do it.
>
>I should have added that the control is unbound. That might help a bit more.
>
>This is not easy to describe in words. That is why I gave the ASP example. Let me try another explanation:
>
>1. I want to use a ddl to display a specific piece of data related to a row of data.
>
>2. If I go into Edit mode I want to fill the ddl with data from a table while retaining the original displayed data in the ddl. This will allow the user to make another selection. Right now if I fill the ddl from the table the record shown in the ddl is the BOF.
>
>Does that help? I can try to elaborate more if necessary. It is simple to show someone what I mean but not too easy to put into words! :)
>
>Tom
>
>
>
>
>>I'm not real sure I understand what you want, but if you set the list's AutoPostBack property to true, does that give you what you want?
>>
>>Alan
>>
>>>This is an issue about behavior. In ASP a cbo will display the value saved by the user. When using a table to drive the cbo you can pull down the cbo list and the original value will still be displayed.
>>>
>>>Using a Drop Down List control I want to be able to create the same behavior as described above. Can someone point me in the right direction?
>>>
>>>Tom
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform