RadGrid - Getting DataValueField of RadAutoCompleteBox in BatchEditing

2 posts, 0 answers
  1. Sukesh
    Sukesh avatar
    1 posts
    Member since:
    Jun 2014

    Posted 19 Jun 2014 Link to this post

    I am using RadGrid with Template Fields.

                    <telerik:GridTemplateColumn Groupable="false" HeaderText="Assessors" AllowFiltering="false" DataField="SeniorManagerID" UniqueName="SeniorManagerID"
                        HeaderStyle-Width="10%" ItemStyle-Width="10%"
                        HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center">
                            <%# Eval("SeniorManagerName")%>
                            <telerik:RadAutoCompleteBox ID="racbSeniorManagers" DataSourceID="sqlAssessors"
                                EnableEmbeddedSkins="true" Skin="Metro"
                                EmptyMessage="Add Assessor" InputType="Token"
                                runat="server" Width="400" DropDownHeight="100" BackColor="White"
                                AllowCustomEntry="false" TextSettings-SelectionMode="Single"
                                DropDownWidth="400" DataTextField="SeniorManagerName" DataValueField="SeniorManagerID"
                                    ----------Dropdown code



    The code is

    Protected Sub dgAssessors_BatchEditCommand(sender As Object, e As Telerik.Web.UI.GridBatchEditingEventArgs) Handles dgAssessors.BatchEditCommand
                  Dim oldValue as integer = e.Commands(i).OldValues
                  Dim newValue as integer = e.Commands(i).NewValues

    Here I am able to get the Old Value and New Value of the autocomplete Textbox (Text Property) 
    But I want the DataValueField value of telerik:RadAutoCompleteBox control inside the dgAssessors_BatchEditCommand event handler?

  2. Cody
    Cody avatar
    3354 posts

    Posted 24 Jun 2014 Link to this post

    Hello Sukesh,

    You have entered your query in the Telerik Testing Framework forum which is dedicated to customers trying to use the Testing Framework for automated testing of their website. After reading your inquiry it sounds more like you're trying to figure out how to use and implement the RadGrid on your website, is this true? If so I will redirect your inquiry to our RadGrid support team. We, the testing framework support team don't know the RadGrid control.

    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
Back to Top