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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T12:28:12+00:00 2026-05-25T12:28:12+00:00

I.e I have a partial view in MVC Asp.net project with loads of javascript

  • 0

I.e I have a partial view in MVC Asp.net project with loads of javascript inside , now when I perform an action most of javascript is aided by jquery and is using classes.
The same event’s start occurring on multiple instances of the same user control on the page.

So the problem which I have currently is how to uniquely identify from which user control this event is getting called from and hence I would have scope of where to perform the actions on the page. I don’t want to use individual Id’s for the same impact.

  • 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-25T12:28:12+00:00Added an answer on May 25, 2026 at 12:28 pm

    I am not sure to understand what you mean. But if you mean you have some objects, let’s say with the same class ‘myClass’, and want to know which object calls an action, i think you need to have an id for each object but you will keep the class as jQuery selector and use jQuery.attr(id) to read the id of the object

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

Sidebar

Related Questions

Inside of an asp.net mvc partial view, I have an Ajax form that posts
asp.net mvc 3 with razor I have a script inside a partial view <script
I have an ASP.NET MVC Partial View that contains a Html.TextBox that is configured
I am using ASP.Net MVC. I have a partial view which has a form
I have all most the same question as him ASP.NET MVC partial views: input
'm using ASP.NET MVC 3 with Razor views. I have a partial view which
I have HTML table on the ASP.NET MVC View page. Now I have to
I'm new to ASP.NET MVC and I have a partial view with a combo
I have a partial view (UserControl) that implements a simple pager in my Asp.Net
ASP .NET MVC 1 I'd like to show a partial view base on a

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.