if you want to see the selected value each time, it is easy... give it an ID, say idListBox. while creating it, get the value from form variables to determine the selected value: ... selVal = request.forms("idListBox") loop create a list item if value of the item = selVal then add "selected" to the item add item end loop ... That's it... HainKurt
H
Hain Kurt
@Hain Kurt
Posts
-
To maintain the view state of a dynamically created control -
How to keep Track of Updates..!create a table on database say vehicle_history (the fields that you need to keep track of and a number showing the history id) create a update trigger on original table and insert (if the number of records for that vehicle is <5, or insert + delete the oldest or the one with smallest history id). Thats it... Hain Kurt
-
[ASP.net v2] [C#] Treeview ....try telerik treeview component... they are really working nice and fast... You can find the documentation and tons of running samples... Here is a part from documentation (r.a.d.treeview Client-Side): FindNodeByText(text) Returns the first instance of a node with the specified Text. FindNodeByValue(value) Returns the first instance of a node with the specified Value. HainKurt