This is a migrated thread and some comments may be shown as answers.

SelectedValue not working when used with ItemsRequested Event? Q3-2007

9 Answers 209 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Jafin
Top achievements
Rank 2
Jafin asked on 21 Dec 2007, 06:10 AM
Is anyone else having problems with getting the SelectedValue of a ComboBox Item when used with the ItemsRequested OnDemand approach?  

I did have it working fine when the property was .Value in the prior release but on moving to Q3-2007 1218 it isn't returning a value.

My ComboBox_ItemsRequested code is similar to:

foreach( Customer c in list)
{
comboBox1.Items.Add(new RadComboBoxItem(name, value);
}

Then I'm querying the control on postback with comboBox1.SelectedValue. which is an empty string.  The text property is being set fine.

I've just opened a ticket to telerik (113674) in case its a bug.

9 Answers, 1 is accepted

Sort by
0
Rosi
Telerik team
answered on 21 Dec 2007, 09:20 AM
Hello Jafin,

We are aware of this problem. Please find the latest build attached  to this message and try it. This sould help.


Regards,
Rosi
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Rainz
Top achievements
Rank 1
answered on 21 Dec 2007, 04:06 PM
Also experiencing the same issue.

Could you please provide the steps for properly applying this hotfix?

Using Vista and VS 2008.

Just want to make sure my GAC and VS 2008 are all properly updated.

So far applying the patch doesn't fix the bug.

Thanks,

Rainz
0
Rainz
Top achievements
Rank 1
answered on 21 Dec 2007, 05:30 PM
Completely uninstalled Prometheus Q3, including VS toolbox and GAC items.

Then downloaded the manual install version, and updated the install files with the hotfix files.

After this performed the manual install, including VS toolbox and GAC.

Exact same issue as before, SelectedValue still not working in the hotfixed version.

If anyone has a solution let us know.

Thanks
0
Helen
Telerik team
answered on 21 Dec 2007, 06:59 PM
Hi Ali,

I've already answered your support ticket. Please review it and let us know how it goes.


Sincerely yours,
Helen
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Nyceane
Top achievements
Rank 1
answered on 05 Jan 2008, 03:51 AM
Can you please post the hotfix publicly? I am having same problem
0
Nikolay
Telerik team
answered on 07 Jan 2008, 08:43 AM
Hello Nyceane,

Have you checked the build attached to this thread by Rosi? What were the results? We cannot attach a dev version of this build to our public forums. If you need a dev version, you will have to open a support ticket under your licensed account. We will attach the files there.

Regards,
Nick
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Jeff
Top achievements
Rank 1
answered on 07 Jan 2008, 06:12 PM
I am experiencing this issue as well. Also have problems with the attributes not being available. Is there a fix to this?

Also, I downloaded the build attached to the thread, and after comparing the versions of the dll, it appears to be the same dll that I am already using from 12/18 release.

Jeff
0
Nikolay
Telerik team
answered on 08 Jan 2008, 09:10 AM
Hello Jeff,

We received your sample project and after we set the custom attribute to the combobox declaration tag, everything ran as expected. Please check our replies to the other support threads you opened.

Regards,
Nick
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Martin
Top achievements
Rank 2
answered on 10 Jan 2008, 10:24 AM
I was having this problem. I applied the Hotfix and it worked for me.

To anyone that is unsure what to do, simply extract the files and overwrite the App_Data, App_GlobalResources, Bin and Bin35 folders in

C:\Program Files\Telerik\RadControls 'Prometheus' for ASPNET Q3 2007

(or whereever you installed Prometheus).

Hope this helps.

Although this fixed the SelectedValue issue, it still sets SelectedItem as null. However that should be the same as the Text property.


Tags
ComboBox
Asked by
Jafin
Top achievements
Rank 2
Answers by
Rosi
Telerik team
Rainz
Top achievements
Rank 1
Helen
Telerik team
Nyceane
Top achievements
Rank 1
Nikolay
Telerik team
Jeff
Top achievements
Rank 1
Martin
Top achievements
Rank 2
Share this question
or