Solved

Validation Not working

Posted on 2009-07-09
3
413 Views
Last Modified: 2013-11-08
Ajax validation not working , i have a Couple of validation summary and Bulleted list on my page . These Controls will show me the Validation messages and custom database error messages on the page

These works fine on my Development , once i deployed the code in server the validation fires and message but the custome message which needs to come on Bulleted list dosent show up . ( This happens only if i click a LinkButton on the re4spective page , it works fine if i click the Buttons)

 i have enclosed the code snippet for more information


<asp:UpdatePanel ID="updatePanel" runat="server" UpdateMode="Always" >
	<ContentTemplate >
	        </ContentTemplate> 
        </asp:UpdatePanel>
	
	        <div class="PageHeading"><asp:Label ID="PageHeadingLabel" runat="server" /></div>
	        <br />
	        <table>
		        <tr>
			        <td align="left">
			            <asp:ValidationSummary ID="ValidationSummary1" ValidationGroup="CanBeSaved" runat="server"   />
			            <asp:ValidationSummary ID="ValidationSummary3" ValidationGroup="CanSubmit" runat="server"   />
			            <asp:ValidationSummary ID="ValidationSummary2" runat="server" />
				        <asp:BulletedList ID="bulletedErrorList" runat="server" ForeColor="Red"  />
 
				        <asp:Label ID="lblSuccessMessage" runat="server" CssClass="ValidationSuccess" />
				        <div class="CustomError">
					        <asp:Label ID="lblNoRecords" Text="There are no details to view." runat="server" Visible="false"></asp:Label>
				        </div>
			        </td>
		        </tr>
	        </table>
			<asp:PlaceHolder ID="DynamicControlPlaceHolder" runat="Server"></asp:PlaceHolder>
    
 
</asp:Content>

Open in new window

0
Comment
Question by:P_Ramprathap
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
3 Comments
 
LVL 14

Assisted Solution

by:shahprabal
shahprabal earned 500 total points
ID: 24816313
asp:Label ID="lblNoRecords" Text="There are no details to view." runat="server" Visible="false">
0
 
LVL 14

Assisted Solution

by:shahprabal
shahprabal earned 500 total points
ID: 24816537
0
 
LVL 14

Accepted Solution

by:
shahprabal earned 500 total points
ID: 24816572
basically you have to specify the id property of the linkbuttons explicitly.
0

Featured Post

Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question