Set RadGrid cell value based on RadDropDownList's selected value in another cell, in BatchEdit mode

0 Answers 45 Views
Ajax DropDownList Grid
Top achievements
Rank 1
Josif asked on 08 Dec 2022, 05:44 PM
RadGrid running in batch edit mode. When selecting a value in dropdown "ddlPayrollId", I need to set  "StaffName" to a certain value, let's say 'Joe' . Can you please provide a VB example on how to do it!

<telerik:GridTemplateColumn UniqueName="PayrollId" DataField="PayrollId">
                            <%# Eval("PayrollId")%>
                            <telerik:RadDropDownList runat="server" ID="ddlPayrollId" DataValueField="PayrollId" DataTextField="PayrollId" DataSourceID="SqlDataSource1">

<telerik:GridBoundColumn DataField="StaffName" UniqueName="StaffName" ReadOnly="True"></telerik:GridBoundColumn>

No answers yet. Maybe you can help?

Ajax DropDownList Grid
Asked by
Top achievements
Rank 1
Share this question