Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3954544
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T02:06:43+00:00 2026-05-20T02:06:43+00:00

I am writing an ASP.NET MVC app. I am at the client side validation

  • 0

I am writing an ASP.NET MVC app. I am at the client side validation part. I found that when the UI flashes an error, it uses the class .input-validation-error.

What do I have to do in order to successfully make this class the same as what the jQuery UI uses for Alert CSS.

If you go to http://jqueryui.com/themeroller/ and look at the lower right you’ll see an Alert box. What is the correct way to use this styling for my input validation error class?

I am very new to MVC so am not sure how to go about this

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T02:06:44+00:00Added an answer on May 20, 2026 at 2:06 am

    What I would do is put that line of code in partial view and pass the message or view model to that partial view.

    <div id="error-effect" class="ui-widget">
        <div class="ui-state-error ui-corner-all" style="padding: 0 .7em;"> 
        <div style="margin-top:12px;">
        <p><span class="ui-icon ui-icon-alert" style="float: left; margin-right: .3em;"></span> 
        <strong>Error:</strong> 
        "Your message goes here"
       </p>
        </div>
        </div>
    </div>
    

    If you have imported the JQuery classes correctly, it should display the way it does on themeroller page.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am writing a Asp.net MVC 2 application that uses Forms Authentication and currently
I'm writing an app using asp.net-mvc deploying to iis6. I'm using forms authentication. Usually
I am writing a small app to teach myself ASP.NET MVC, and one of
I'm writing an ASP.NET MVC application and trying to use a RESX file to
I'm writing applications with ASP.NET MVC. In contrast to traditional ASP.NET you're a lot
I'm just starting to pick up ASP.Net MVC and find myself writing a lot
I'm currently writing an ASP.Net app from the UI down. I'm implementing an MVP
We're writing an asp.net web app on IIS 6 and are planning on storing
I am writing an ASP.NET MVC 3 application and I have a number of
I'm writing an ASP.NET MVC 3 site and I need to convert some integer

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.