Show error image in tab when filed do not pass validation

Thread is closed for posting
3 posts, 0 answers
  1. AC7BE018-B586-437A-AD74-59C83E0A81C1
    AC7BE018-B586-437A-AD74-59C83E0A81C1 avatar
    321 posts
    Member since:
    Jan 2005

    Posted 15 Jan 2007 Link to this post

     

    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
  2. DA841C8E-2D36-447A-9F59-A620D5EAFD93
    DA841C8E-2D36-447A-9F59-A620D5EAFD93 avatar
    462 posts
    Member since:
    Nov 2005

    Posted 23 Jan 2007 Link to this post

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

    Visual Studio version

    2007


    please tell me some info.

    Best regards
    Mostafa
  3. AC7BE018-B586-437A-AD74-59C83E0A81C1
    AC7BE018-B586-437A-AD74-59C83E0A81C1 avatar
    321 posts
    Member since:
    Jan 2005

    Posted 23 Jan 2007 Link to this post

    Sorry it should have been 2005. 

    Jason
Back to Top

This Code Library is part of the product documentation and subject to the respective product license agreement.