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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T01:14:37+00:00 2026-05-14T01:14:37+00:00

I was just editing some C# code between <% %> tags in an .ascx

  • 0

I was just editing some C# code between <% %> tags in an .ascx file, and I noticed that the Refactor contextual menu is unavailable. And even if I manually add items from this menu to a custom toolbar, they are disabled when viewing aspx/ascx files.

I usually only have small snippets of C# code in my aspx/ascx files, but it would still be nice to be able to perform refactoring operations on any code that exists between <% %> tags. I feel like I’m going back to the dark ages when I have to use find/replace to change the name of a variable.

Questions

Is there a way to enable Visual Studio’s refactoring features while viewing aspx/ascx files in Visual Studio?

Are there any Visual Studio plug-ins (preferably free) that offer this kind of functionality?

  • 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-14T01:14:38+00:00Added an answer on May 14, 2026 at 1:14 am

    Resharper allows to change variable name in views. There is no Refactor menu under right click, but there is still refactoring in main menu and with shortcuts. It is not free, but definitely worth buying.

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

Sidebar

Ask A Question

Stats

  • Questions 540k
  • Answers 540k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Well, if you reduce the size of the view but… May 17, 2026 at 2:36 am
  • Editorial Team
    Editorial Team added an answer The script in the post you referenced is just grabbing… May 17, 2026 at 2:36 am
  • Editorial Team
    Editorial Team added an answer I believe the only two things you need are hibernate's… May 17, 2026 at 2:36 am

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Related Questions

I'm currently editing a good sized class in C# that has a ton of
I am looking for the best practice of handling inter project dependencies between mixed
I have a many-to-many relationship between Issues and Scopes in my EF Context. In
Possible Duplicates: Code polisher / reformater for C, C++ or Fortran Best C++ Code
I'v been struggling with this one for some time so any hint or suggestion
I am still learning to use MVVM and Prism and have some general questions:
There is an interesting coding standard in my shop that says that we don't
I want to parse (in a special way) a CSS file with PHP. Example:
I have two Java class hierarchies that share a common ancestor and implement a
I'm just starting out with Ruby and Rails, trying out Devise with Rails 3.

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.