Find -> HTML Tags can't find any tags in my pages
- I am trying to use Expression Web's "Find -> HTML Tags", but it seems to be unable to find any of the HTML tags in my documents. The documents are .aspx files, and I have tried finding many different types of tags that I know are in the document, but it can't find them. The HTML Tag finder used to work on my computer, so it's confusing that it won't work now. I can use the normal Find/Replace to get the job done, but the HTML finder can change attributes more easily, which is why I'd rather use that.
I am using Windows XP Pro SP3, if that might have any effect on the program.
Todas as Respostas
Interesting.
I can reproduce that in an aspx page made from a .master page. It won't find tags (in the editable content area, definitely on the page).
In a regular .aspx page, the find HTML tag function works.
Perhaps this is because the page made from the .master page has no html indicators: <html> tag, etc.. Until it's merged with the .master by the server, it doesn't look like an HTML page.
Now, I'd consider this perhaps logical, but still a "feature" that should be corrected: the html tags are still there.- My pages are all using master pages as well, so maybe that is where the issue is occurring.
- I sort of wondered if it could be a master page issue. Would you file the bug on connect and post a link back here so people can vote on it. http://connect.microsoft.com join the Expression Studio feedback group to file bugs.
MS MVP Expression Tutorials & Help http://by-expression.com and online instructor led Expression Classes I have reported this issue over two years ago. It's probably the bug that annoys me most. I would like to provide the URL of that report, but Microsoft chose to shut down the old Connect site...
Title: Code editing limitations when working with ASP.NET Master PagesID: 273826
Description: In pages that are attached to ASP.NET Master Pages, some of EW's code editing features simply do not work. This is an example for such a file:
<%@ Page masterpagefile="master.master" language="VB" title="Title" %> <asp:Content id="Content1" runat="Server" contentplaceholderid="ph1"> <p class=foo>...</p> </asp:Content>
Reproduction Steps: 1. Create a new Master Page.
2. Create a page from that master page.
3. In this page, e.g. type <p class=foo>...</p> in Code View.
4. Run the commands Apply XML Formatting Rules and Reformat HTML. EW does not modify the code. In a "regular" page, that is attached to a Master Page, EW would change the code to <p class="foo">...</p>.
5. Now press Ctrl+H and select the HTML Tags tab. Create a rule that should affect the code above, e.g. change "p" elements to "h1" elements. Click Replace All. Again, EW does not modify the code.
- I posted a slightly modified version of the bug above, viewable at this address: https://connect.microsoft.com/Expression/feedback/ViewFeedback.aspx?FeedbackID=471257 . The bug I created doesn't include the issue about the "Apply XML Formatting Rules" and "Reformat HTML" issues, so if you would like to create bugs for those issues, Christoph, you can get the credit for these. :)
- I don't see how anyone would earn credit by copying an existing report.

