Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Validation Not working

Posted on 2009-07-09
3
Medium Priority
?
415 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
  • 3
3 Comments
 
LVL 14

Assisted Solution

by:shahprabal
shahprabal earned 2000 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 2000 total points
ID: 24816537
0
 
LVL 14

Accepted Solution

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

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
Simulator games are perfect for generating sample realistic data streams, especially for learning data analysis. It is even useful for demoing offerings such as Azure stream analytics, PowerBI etc.
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…

824 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