Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Validation Not working

Posted on 2009-07-09
3
Medium Priority
?
414 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 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…

715 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