Rad grid Inline editing validations on Dynamic Text boxes in server side

2 posts, 0 answers
  1. Rk.MooRthy(DLL Version : 2008.3.1314.35)
    Rk.MooRthy(DLL Version : 2008.3.1314.35) avatar
    21 posts
    Member since:
    Jun 2013

    Posted 28 Feb 2014 Link to this post

    Hi,
    I have one Radgrid with multiple dynamic text box columns and some fileds, that multiple columns are creating in server side only.

    <telerik:RadGrid ID="RGManualSolver" runat="server" AutoGenerateColumns="false" Skin="Vista"
                                               OnNeedDataSource="RGManualSolver_NeedDataSource" OnUpdateCommand="RGManualSolver_UpdateCommand"
                                               OnItemCommand="RGManualSolver_ItemCommand" OnPreRender="RGManualSolver_PreRender"
                                               Width="1040px" Height="300px">
                                               <MasterTableView EditMode="InPlace" EnableColumnsViewState="false" Width="97%" ClientDataKeyNames="MarketName"
                                                   DataKeyNames="MKTID,SCID">
                                                   <Columns>
                                                       <telerik:GridEditCommandColumn ButtonType="LinkButton" UniqueName="EditCommandColumn"
                                                           ItemStyle-Width="60px" HeaderStyle-Width="60px">
                                                       </telerik:GridEditCommandColumn>
                                                       <telerik:GridTemplateColumn DataField="SHOWCOST" HeaderText="VIEW COST ALLOCATION">
                                                           <ItemTemplate>
                                                               <asp:LinkButton ID="LnkShowCostClick" runat="server" Text='<%#Eval("SHOWCOST") %>'
                                                                   CommandName="SHOWCOSTALLOCATIONClick"></asp:LinkButton>
                                                           </ItemTemplate>
                                                       </telerik:GridTemplateColumn>
                                                   </Columns>
                                               </MasterTableView>
                                               <ClientSettings>
                                                   <Scrolling AllowScroll="true" />
                                               </ClientSettings>
                                           </telerik:RadGrid>

    While updating the Grid items, I need validations on that text boxes ..

    Can anyone help me regarding this..

    Thanks
    -Rk.Moorthy
  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 03 Mar 2014 in reply to Rk.MooRthy(DLL Version : 2008.3.1314.35) Link to this post

    Hi,

    Please take a look at the following article on Validation for serverside validations. Provide your code snippet if this doesn't help.

    Thanks,
    Princy
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top