skip navigation
Telerik UI for ASP.NET AJAX
Product Bundles
DevCraft
All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
NEW
: Design Kits for Figma
Online Training
Document Processing Library
Embedded Reporting for web and desktop
Web
Kendo UI
UI for jQuery
UI for Angular
UI for React
UI for Vue
UI for Blazor
UI for ASP.NET Core
UI for ASP.NET MVC
UI for ASP.NET AJAX
Mobile
UI for .NET MAUI
UI for Xamarin
Document Management
Telerik Document Processing
Desktop
UI for .NET MAUI
UI for WinUI
UI for WinForms
UI for WPF
Reporting
Telerik Reporting
Telerik Report Server
Testing & Mocking
Test Studio
Test Studio Dev Edition
Telerik JustMock
CMS
Sitefinity
UI/UX Tools
ThemeBuilder
Design System Kit
Templates and Building Blocks
Debugging
Fiddler
Fiddler Everywhere
Fiddler Classic
FiddlerCap
FiddlerCore
Free Tools
VB.NET to C# Converter
Testing Framework
View all products
Overview
Demos
Roadmap
What's New
Roadmap
Release History
Migrate to Blazor
Docs & Support
Support and Learning
Support and Learning Hub
Docs
Demos
Virtual Classroom
Forums
Videos
Blogs
Accessibility and Security
Submit a Ticket
Productivity and Design Tools
Visual Studio Extensions
ThemeBuilder
Embedded Reporting
Pricing
Shopping cart
Login
Contact Us
Try now
close mobile menu
Telerik Forums
/
UI for ASP.NET AJAX
This is a migrated thread and some comments may be shown as answers.
Get the selected value from ComboBox
2 Answers
96 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
trent
Top achievements
Rank 1
trent
asked on
28 Sep 2010,
01:07 AM
Hi there,
All Im wanting to do is get the value from the combo box when i do a post back so that I know what item was selected. This isnt in the manual but it must be a failry common task.
Please help.
Cheers,
Trent
Add a comment
Submit comment
Cancel
2 Answers
, 1 is accepted
Sort by
Score
Date
0
trent
Top achievements
Rank 1
answered on
28 Sep 2010,
02:01 AM
Well i managed to get this working easily by using RadComboBox1.SelectedValue.
The problem now is setting the default value back when it loads. There appears to be some kind of bug.
I set the RadComboBox1.SelectedValue = "ID" when it loads, and it selects it but the text does not populate.
If i disable EnableAutomaticLoadOnDemand, it works, but with it turned on it will not put my text in the box... Have tried just about everything.
Add a comment
Submit comment
Cancel
0
trent
Top achievements
Rank 1
answered on
28 Sep 2010,
02:20 AM
NVM i managed to correct this issue by putting the code in the RadComboBox1_Load Sub
(y)
Add a comment
Submit comment
Cancel
Answer this question
Drag and drop files here or
browse
to attach...
Browse
for files to attach...
Supported file types: PNG, JPG, JPEG, ZIP, RAR, TXT. Max total file size - 20MB.
Submit answer
Cancel
Tags
ComboBox
Asked by
trent
Top achievements
Rank 1
Answers by
trent
Top achievements
Rank 1
Share this question
or
Copy link