Solved

Validation Not working

Posted on 2009-07-09
3
412 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

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

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

Welcome my friends to the second instalment and follow-up to our Minify and Concatenate Your Scripts and Stylesheets (http://www.experts-exchange.com/Programming/Languages/.NET/ASP.NET/A_4334-Minify-and-Concatenate-Your-Scripts-and-Stylesheets.html)…
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…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

734 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