Skip Navigation LinksHome / Community & Support / Code Library / ASP.NET and ASP.NET AJAX > TabStrip > Show error image in tab when filed do not pass validation

Show error image in tab when filed do not pass validation

Feed from this thread
  • Jason Maronge Master avatar

    Posted on Jan 15, 2007 (permalink)

     

    Requirements

    r.a.d.tabstrip version

    3.4

    .NET version

    2.0

    Visual Studio version

    2005

    programming language

    C# and JavaScript

    browser support

    all browsers supported by r.a.d.tabstrip



    PROJECT DESCRIPTION
    I want to start out and say that I did not create the important part of the code that puts the image in the tab strip.  I found this on a forum post about creating a closable tab.
    http://www.telerik.com/community/forums/thread/b311D-kggbd.aspx

    That being said I needed a way to show where my required fields were that need to have data entered into them or the fields that have incorrect data in them.  This is pretty easy to do if you have a standard form.  The users can just look at the page and see the required field text, but in a page that contains a tab strip it can be a little more difficult.  I decided to use the code to show what tabs have fields that failed the validation.  For the tabs that have fields that do not pass validation create a set of javascript calls to insert the error image on the client side.  Take a look at the project if you are interested and feel free to add on or change it to suit your needs.

    Jason
    Attached files

    Reply

  • Posted on Jan 23, 2007 (permalink)

    Hello & thanks for nice code.
    I couldn't find any info about

    Visual Studio version

    2007


    please tell me some info.

    Best regards
    Mostafa

    Reply

  • Jason Maronge Master avatar

    Posted on Jan 23, 2007 (permalink)

    Sorry it should have been 2005. 

    Jason

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Code Library / ASP.NET and ASP.NET AJAX > TabStrip > Show error image in tab when filed do not pass validation