Solved

How to clear ASP Validation Summary when bootstap tab  is clicked

Posted on 2015-01-15
1
210 Views
Last Modified: 2015-01-19
I have a single web page with 2 tabs created with bootstrap.  The IDs are tab1,tab2

Each tab has its on controls and its own button to submit the form.  So web page has 2 validation summary controls 1 for each tab.    What I need to be able to do, client side through jquery hopefully is remove the items in the validation summary for the tab on am on when every I click the other tab.  See the summaries aren't in the tabs so they show until button is hit again, and I would like to clear on switching of the tab.

thanks in advance for the help
0
Comment
Question by:mgmhicks
[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
1 Comment
 
LVL 26

Accepted Solution

by:
Shaun Kline earned 500 total points
ID: 40553394
If you are not able to move the validation summaries onto their respective tabs, do you need to preserve the data on the tab that was displayed prior to clicking the tab button? If not, a page redirect will clear the validation summaries, as the page will fully reload. If you need to preserve the data, you could set the visible property of the control to false in the code behind. If you need to do it with jquery, you would be looking at using CSS to change the display property to none.
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

Introduction JSON is an acronym for JavaScript Object Notation.  It is a text-string data transport mechanism, capable of representing simple or complex data structures in a consistent and easy-to-read manner.  Similar in concept to XML, but more e…
Browsers only know CSS so your awesome SASS code needs to be translated into normal CSS. Here I'll try to explain what you should aim for in order to take full advantage of SASS.
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…
In this tutorial viewers will learn how to style different bullet points for unordered lists in CSS. Begin with a normal unordered list; the default bullet point is a solid circle: In the CSS, create a defined class of unordered list by typing "ul.S…
Suggested Courses

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