Currently facing an issue with utilizing the RadGrid control from Telerik.
I am attempting to access and manipulate the value of a GridDropDowncolumn within RadGrid using JavaScript (while in edit mode). Does anyone have any suggestions for the correct JavaScript method to achieve this?
This is what my RadGrid GridDropDownColumn looks like:
<telerik:GridDropDownColumn DataField="ProjectileTypeId" HeaderText="Projectile Type"
DataSourceID="ProjectileTypesDataSource"
UniqueName="ProjectileType"
ListTextField="Name" ListValueField="Id" />
My current goal is to retrieve the selected index of the dropdown in JavaScript (during edit mode)
Here's what I currently have:
var radGrid = $get("RadGrid1");
var griddropdownlistElement = $telerik.findElement(radGrid, "ProjectileType");
However, I am uncertain about which JavaScript method should be used to set/get the value.