This is a migrated thread and some comments may be shown as answers.

urgent !!!

1 Answer 24 Views
Upload (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Arsalan
Top achievements
Rank 1
Arsalan asked on 17 Jan 2012, 07:14 AM

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>

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1 Answer, 1 is accepted

Sort by
0
Bozhidar
Telerik team
answered on 17 Jan 2012, 05:44 PM
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
Tags
Upload (Obsolete)
Asked by
Arsalan
Top achievements
Rank 1
Answers by
Bozhidar
Telerik team
Share this question
or