Hi,
I am having difficulty setting the default value for the combox inside a grid. Getting an error
Selection out of range
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.ArgumentOutOfRangeException: Selection out of range
Parameter name: value
Source Error:
Stack Trace:
My Goal is to show combobox as a templated column inside a grid. I am using the SelectedValue='<%# Bind("ReqUpdate") %>' to do the binding. The grid is bounded with the datasource using "RadGrid1_NeedDataSource". When I had set the combox Text property, I was not getting any error but the first item in the combo was getting selected.
Other note: When I replace the radcombox with the DropDownList, everything works fine and the value is set properly. But I need to handle client side, onselectedindexchange event. As a result I need to use RADCOMBOX.
Please let me know how can I quickly resolve this issue.
Thanks,
navneet
I am having difficulty setting the default value for the combox inside a grid. Getting an error
Selection out of range
Parameter name: value
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.ArgumentOutOfRangeException: Selection out of range
Parameter name: value
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. |
Stack Trace:
|
My Goal is to show combobox as a templated column inside a grid. I am using the SelectedValue='<%# Bind("ReqUpdate") %>' to do the binding. The grid is bounded with the datasource using "RadGrid1_NeedDataSource". When I had set the combox Text property, I was not getting any error but the first item in the combo was getting selected.
Other note: When I replace the radcombox with the DropDownList, everything works fine and the value is set properly. But I need to handle client side, onselectedindexchange event. As a result I need to use RADCOMBOX.
Please let me know how can I quickly resolve this issue.
Thanks,
navneet