Click here to Skip to main content
16,018,419 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,


<asp:UpdatePanel ID="upTest" ChildrenAsTriggers="true" UpdateMode="Conditional" runat="server">
<contenttemplate>
<asp:Button ID="btnSubmit" runat="server" Text="Get Quick Quote" OnClick="btnSubmit_Click"
ValidationGroup="required" Width="150px" CssClass="save" UseSubmitBehavior="false" />


<asp:UpdateProgress ID="UpdateProgress1" DisplayAfter="10" runat="server" AssociatedUpdatePanelID="upTest">
<progresstemplate>

<asp:Image runat="server" ID="waitimg" ImageUrl="~/images/pleaseWaitImage.gif" CssClass="waitText"/>





here wat happening is i am validating the code from code behind if validation error is find in code behind but its not showing in front end i used triggers also both the post and aschronous triggers no use how an i achive this could any one help me please.......


regards,
naveen
Posted

In codebehind before validation block ends and return to webform add following line
C#
System.Threading.Thread.Sleep(3000);//3000 means 3 seconds
 
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