Hi,
I want to get the dropdownlist.selectedvalue that located outside from the radgrid and pass the value to the User Custom Edit From in Insert/Edit mode. how can it possible?
.aspx
i want DropDownList1.selectedvalue to be parse to label1 at DropDownListGridDetail.ascx
I want to get the dropdownlist.selectedvalue that located outside from the radgrid and pass the value to the User Custom Edit From in Insert/Edit mode. how can it possible?
.aspx
<
asp:DropDownList
ID
=
"DropDownList1"
runat
=
"server"
>
<
asp:ListItem
Value
=
"Item1"
>Item1</
asp:ListItem
>
<
asp:ListItem
>Item2</
asp:ListItem
>
<
asp:ListItem
>Item3</
asp:ListItem
>
</
asp:DropDownList
>
<
telerik:RadGrid
ID
=
"RadGrid1"
runat
=
"server"
CellSpacing
=
"0"
DataSourceID
=
"SDSDropDownList"
GridLines
=
"None"
Skin
=
"WebBlue"
>
<
MasterTableView
AutoGenerateColumns
=
"False"
CommandItemDisplay
=
"Top"
DataKeyNames
=
"UID"
DataSourceID
=
"SDSDropDownList"
EditMode
=
"PopUp"
>
<
Columns
>
<
telerik:GridEditCommandColumn
ButtonType
=
"ImageButton"
>
</
telerik:GridEditCommandColumn
>
<
telerik:GridBoundColumn
DataField
=
"UID"
DataType
=
"System.Int32"
FilterControlAltText
=
"Filter UID column"
HeaderText
=
"UID"
ReadOnly
=
"True"
SortExpression
=
"UID"
UniqueName
=
"UID"
Visible
=
"False"
>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
DataField
=
"DataValue"
FilterControlAltText
=
"Filter DataValue column"
HeaderText
=
"DataValue"
SortExpression
=
"DataValue"
UniqueName
=
"DataValue"
>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
DataField
=
"DataText"
FilterControlAltText
=
"Filter DataText column"
HeaderText
=
"DataText"
SortExpression
=
"DataText"
UniqueName
=
"DataText"
>
</
telerik:GridBoundColumn
>
<
telerik:GridButtonColumn
ButtonType
=
"ImageButton"
CommandName
=
"Delete"
ConfirmText
=
"Are You Sure You Want to Delete ?"
Text
=
"Delete"
UniqueName
=
"Delete"
>
</
telerik:GridButtonColumn
>
</
Columns
>
<
EditFormSettings
UserControlName
=
"DropDownListGridDetail.ascx"
EditFormType
=
"WebUserControl"
>
<
PopUpSettings
Width
=
"500px"
></
PopUpSettings
>
</
EditFormSettings
>
</
MasterTableView
>
</
telerik:RadGrid
>
i want DropDownList1.selectedvalue to be parse to label1 at DropDownListGridDetail.ascx