Click here to Skip to main content
15,898,036 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
in my Registration page. Used Accordian for show Fileuploader. code is below

XML
<cc1:Accordion ID="Accord1"  HeaderCssClass="accordionHeader" HeaderSelectedCssClass="accordionHeaderSelected"
         ContentCssClass="accordionContent" runat="server" SelectedIndex="-1" FadeTransitions="true"
         SuppressHeaderPostbacks="false" TransitionDuration="250" FramesPerSecond="40" RequireOpenedPane="false"  AutoSize="None">
         <Panes >
<cc1:AccordionPane ID="AccPan1" runat="server" >
<Header ><asp:LinkButton ID="linkupload" runat="server" onclick="linkupload_Click"
           ValidationGroup="MsgInfo" OnClientClick ="hideAccordionPane(0)">Attach Files</asp:LinkButton>

           </Header>
<Content> <fjx:FileUploader  UseInsideUpdatePanel="true"
               ID="FileUploader1" runat="server"   >
    <Adapters>
        <fjx:FileSaverAdapter Runat="server" FolderName="UploadFolder" OnFileNameDetermining="FileNameDetermining" />
    </Adapters>
</fjx:FileUploader></Content>
</cc1:AccordionPane>
         </Panes>
         </cc1:Accordion>


When I click on Attach Files then all text box validation is processed and also Fileuploader is appeared.
Fileuploader is viewed when ach click on 'Attach File' link button. and also RequiredFieldValidator is working ,but I need to view this fileuploader after all textbox entries . Now no validation for Accordian and if textbox is blank or not blank cases Fileuploader is viewed.

I need only show fileuploader when all textboxes data is to be not blank as must validate Accordian.,
Posted
Updated 3-May-12 0:22am
v2

1 solution

If its in Vb.Then u can try msg.me("vali..........") command to show dialog. Simple but we need check over the validation control also.Just check it and do it.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900