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

[Solved] Replace textbox with combo box in edit mode

1 Answer 132 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Clive Hoggar
Top achievements
Rank 1
Clive Hoggar asked on 13 Jun 2009, 09:18 PM

Hi
I have a simple RadGrid setup in automatic edit mode.
I coverted one of the columns to Template and editing on that column works OK.
When I replaced that textbox with a combo box populated from an SQL datasource,
and 2-way bound to the column, the EDIT link button does nothing when clicked, and
I get an error in Firefox error console:

Error: [Exception... "'Sys.WebForms.PageRequestManagerServerErrorException: Sys.WebForms.PageRequestManagerServerErrorException: Selection out of range
Parameter name: value' when calling method: [nsIDOMEventListener::handleEvent]"  nsresult: "0x8057001c (NS_ERROR_XPC_JS_THREW_JS_OBJECT)"  location: "<unknown>"  data: no]

 

Does this shed any light?

Thanks for any help.

I am sure this worked once, but it doesn't now..

Clive

1 Answer, 1 is accepted

Sort by
0
Veli
Telerik team
answered on 16 Jun 2009, 01:02 PM
Hello Clive,

The description you have given is not sufficient to draw conclusion on the origin of the problem. Could you, please, either describe in detail how do you create and initialize your columns and edit controls, in particular RadComboBox, or, even better, provide us some relevant sample code we can look through.

Sincerely yours,
Veli
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Grid
Asked by
Clive Hoggar
Top achievements
Rank 1
Answers by
Veli
Telerik team
Share this question
or