urgent !!!

Thread is closed for posting
2 posts, 0 answers
  1. Arsalan
    Arsalan avatar
    7 posts
    Member since:
    Jun 2012

    Posted 17 Jan 2012 Link to this post

    my rad upload is in a  format tempelate which is in the details table of rad grid , i want to implement required field validation on the upload control , i am attaching the markup with the post for your further convenience , thnx


     

     

     

    <telerik:GridTableView DataKeyNames="IncomingDocumentRegisterPA.Id,Id" Name="IncDocRegInit"

     

     

     

     

     

     

     

     

    Width="100%" CommandItemDisplay="Top" EditMode="EditForms">

     

     

     

     

     

     

     

     

    <EditFormSettings EditFormType="Template" PopUpSettings-Height="260px" PopUpSettings-Width="400px"

     

     

     

     

     

     

     

     

    PopUpSettings-Modal="true">

     

     

     

     

     

     

     

     

    <FormTemplate>

     

     

     

     

     

     

     

     

    <div class="BoxHeadFull">Selection of initiator by personal assistant(PA)</div>

     

     

     

     

     

     

     

     

    <!-- INSIDE CHROME -->

     

     

     

     

     

     

     

     

    <asp:ValidationSummary ID="vsInitiator" ValidationGroup="vgrpInitiator" runat="server"

     

     

     

     

     

     

     

     

    ShowMessageBox="true" />

     

     

     

     

     

     

     

     

    <table border="0" cellspacing="0" cellpadding="0" width="100%">

     

     

     

     

     

     

     

     

     

     

     

     

     

    </td>

     

     

     

     

     

     

     

     

    </tr>

     

     

     

     

     

     

     

     

    <tr>

     

     

     

     

     

     

     

     

    <td bgcolor="#ffffff" align="left" class="FormTextBlue">Select scanned document<span class="FormRequiredField"> * </span></td>

     

     

     

     

     

     

     

     

    <td bgcolor="#ffffff" align="left">

     

     

     

     

     

     

     

     

    <span class="FormText">

     

     

     

     

     

     

     

     

    <telerik:RadUpload ID="rfScannedDocument" InitialFileInputsCount="1" MaxFileInputsCount="1" ControlObjectsVisibility="None" runat="server"></telerik:RadUpload>

     

     

     

     

     

     

    <%

     

    -- <asp:CustomValidator ID="ValidateUpload" ControlToValidate="rfScannedDocument" runat="server" ErrorMessage="CustomValidator" OnServerValidate="ServerValidation"></asp:CustomValidator>--%>

     

     

     

    </span>

     

     

     

     

     

     

     

     

     

     

    </td>

     

     

     

     

     

     

     

     

    </telerik:GridTableView>

     

     

     

     

     

     

     

     

    </DetailTables>

     

     

     

     

     

     

     

     

    </MasterTableView>

     

    </

     

     

    telerik:RadGrid>

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

  2. Bozhidar
    Admin
    Bozhidar avatar
    1102 posts

    Posted 17 Jan 2012 Link to this post

    Hello Arsalan,

    You can read how to implement RequredField-type validation in this help article.
     
    Greetings,
    Bozhidar
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top