Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Accessing Selected Item in List Box
Message
General information
Forum:
ASP.NET
Category:
Web forms
Miscellaneous
Thread ID:
00912266
Message ID:
00912280
Views:
10
Danny,

Thanks. We actually just figured it out. We weren't checking the postback status before calling the databinding commands. That solved the problem.

Thanks again,

David

>David,
>
>Below is a example using the VB.net syntax. Let me know if you need it in C# and I'll be more than glad to...
>
>
>        ' Variables
>        Dim sVar$
>
>        ' Test for no selection
>        If UsersList.SelectedIndex = -1 Then
>            sVar = UsersList.Items(0).Value
>        Else
>            sVar = UsersList.SelectedItem.Value
>        End If
>
>
>Hope that helps...
Previous
Reply
Map
View

Click here to load this message in the networking platform