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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T05:43:25+00:00 2026-05-13T05:43:25+00:00

I recently started development in ASP.NET, and coming from a PHP background I sprinkle

  • 0

I recently started development in ASP.NET, and coming from a PHP background I sprinkle code into the aspx pages using <% %> to control logic.

I’m not debating the best practices of only using code behind, but one strong point in that directions favor is a problem I am experiencing.

Whenever I go into Design view of a page that has code in the aspx file like I mentioned, and make modifications, randomly all the <% %> blocks -shift- in my aspx to what seems like random spots.

This obviously royally messes up my control logic, and after redoing all the internal code 10+ times (yes yes, I’m too lazy to just bite the bullet and move it to code behind), I’m really curious how Visual Studio could make such a mistake?

It even goes so far as to remove some of the <% %> blocks completely (causing missing close braces in my code).

If anyone can help me solve this issue, or knows it can’t be resolved, I would greatly appreciate knowing.

  • 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-13T05:43:26+00:00Added an answer on May 13, 2026 at 5:43 am

    I believe I found out the issues.

    It appears invalid HTML (unclosed tags, or extra close tags) is causing the issues.

    Layout designer did by hand without a syntax checker.

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

Sidebar

Related Questions

I have recently started using the CodeIgniter framework for my PHP development. I was
I've recently started using PHP for OO development. On OSX, I have outgrown Coda
I've recently started using Eclipse Ganymede CDT for C development and I couldn't like
I have recently started a personal project that uses ASP.NET MVC (RC1 at the
I've recently downloaded beta 2 of VS2010 and started playing with ASP.NET MVC2. Initial
My development team is using ASP.NET 3.5 / 4.0 right now, and our sites
I recently started work on a personal coding project using C++ and KDevelop. Although
I recently started using Eclipse at work for my Java servlet projects. I've been
We recently started using maven for dependency management. Our team uses eclipse as it's
I recently started using scons to build several small cross-platform projects. One of these

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.