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 4245168
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T03:48:18+00:00 2026-05-21T03:48:18+00:00

At the moment it is just an intellectual excercise for I do not have

  • 0

At the moment it is just an intellectual excercise for I do not have time to invest in this, but I am interested if anyone has any experience entirely replacing jQuery with another javascript framework like Dojo Toolkit or Google Closure.

How much of the jQuery is actually baked in to the MVC framework or is it all implemented in an unobtrusive manner so that at least in theory, it all can be replaced…

What would be involved in replacing entire javascript framework?

  • 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-21T03:48:18+00:00Added an answer on May 21, 2026 at 3:48 am

    There is nothing baked up into jQuery, it’s all about the developer, if you want to use it, it will use jQuery, if you want to use ASP.NET Ajax Library it will use that, if you want to use anything else … same answer.

    When you have a Model with some validation, the only thing that the .NET Framework does is add data- attributes to the input form, from this you can elaborate your own version to do client validations.

    For example:

    [Required]
    [ValidatePasswordLength]
    [DataType(DataType.Password)]
    [Display(Name = "Password")]
    public string Password { get; set; }
    
    [DataType(DataType.Password)]
    [Display(Name = "Confirm password")]
    [Compare("Password", ErrorMessage = "The password and confirmation password do not match.")]
    public string ConfirmPassword { get; set; }
    

    and then

    <div class="editor-label">
        @Html.LabelFor(m => m.Password)
    </div>
    <div class="editor-field">
        @Html.PasswordFor(m => m.Password)
        @Html.ValidationMessageFor(m => m.Password)
    </div>
    
    <div class="editor-label">
        @Html.LabelFor(m => m.ConfirmPassword)
    </div>
    <div class="editor-field">
        @Html.PasswordFor(m => m.ConfirmPassword)
        @Html.ValidationMessageFor(m => m.ConfirmPassword)
    </div>
    

    will translate into

    <div class="editor-label">
        <label for="Password">Password</label>
    </div>
    <div class="editor-field">
        <input data-val="true" data-val-length="&amp;#39;Password&amp;#39; must be at least 6 characters long." data-val-length-min="6" data-val-required="The Password field is required." id="Password" name="Password" type="password">
        <span class="field-validation-valid" data-valmsg-for="Password" data-valmsg-replace="true"></span>
    </div>
    
    <div class="editor-label">
        <label for="ConfirmPassword">Confirm password</label>
    </div>
    <div class="editor-field">
        <input data-val="true" data-val-equalto="The password and confirmation password do not match." data-val-equalto-other="*.Password" id="ConfirmPassword" name="ConfirmPassword" type="password">
        <span class="field-validation-valid" data-valmsg-for="ConfirmPassword" data-valmsg-replace="true"></span>
    </div>
    

    From here you can create your own Client Side validation. The code above was taken from the default project and it has no jQuery integration…

    If you want jQuery integration, then all you need to do is append those 2 files:

    <script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
    

    as well jQuery Library off course, so as you can see, you, has in all .NET Framework, are the one that tells the Framework what to do, not the other way around 😉

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

Sidebar

Related Questions

Is this possible? I just want a small table in my current view... here
I have a problem with the function replace . What I want to accomplish
Is there any way to get NHibernate to emit a deadlock hint? e.g. for
Can't figure out, how to update decimal field to null or emptiness. Have tried:
I want to modify the glBindTexture() function to keep track of the previously binded
I'm currently working with the ASP.NET login control. I can set a custom failure
I've got an ImageView which I'm displaying a contacts picture using a Uri which
A server offers a SOAP function call interface. Hundreds, perhaps a few thousand, of
I'm attempting to use String#gsub to add a slash in front of % or
I'm working on an 'IDE' for Android - it could be useful for editing

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.