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

0 Answers 45 Views
Ajax DropDownList Grid
Josif
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!

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

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

No answers yet. Maybe you can help?

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