What Happened to my Formatting

Last post 01-04-2007 7:57 PM by Pztydr. 11 replies.

Sort Posts:

  • What Happened to my Formatting

    12-30-2006, 6:10 PM
    • Loading...
    • Pztydr
    • Joined on 06-18-2003, 9:44 PM
    • Adelaide, Australia
    • Posts 204

    Hi,

        I have a problem with the formatting of my HTML code in source view, as I have nested update panels, panels, views, tables within views and panels the HTML displays itself on one single long line. Real issue if your trying to look for a specific control within that line.

     
    I have tried manually reformatting it which works but doesn't remainm, the next time I look at it it has returned to the way it was.

     
    Has anyone seen or heard of thsi before?? If so anyone know of a way to fix this???

     

    Regards..

    Peter Sad
     

  • Re: What Happened to my Formatting

    12-31-2006, 11:56 AM
    Are you using Beta of Atlas? UpdatePanel control had issues with code formatting in Beta.
    Thanks

    ------------------------------------------------------------

    This posting is provided "AS IS" with no warranties, and confers no rights.
  • Re: What Happened to my Formatting

    12-31-2006, 5:38 PM
    • Loading...
    • Pztydr
    • Joined on 06-18-2003, 9:44 PM
    • Adelaide, Australia
    • Posts 204

    Mikhail,

                Thanks for the reply, I am using v1.0.61025 which I believe is the latest..

     

    Regards..

    Peter..
     

  • Re: What Happened to my Formatting

    01-02-2007, 8:07 PM
    Answer
    Did you fully uninstall previous beta and cleaned generated schemas folder before installing the RC? http://blogs.msdn.com/mikhailarkhipov/archive/2006/12/25/repairing-visual-web-developer-intellisense-issues.aspx
    Thanks

    ------------------------------------------------------------

    This posting is provided "AS IS" with no warranties, and confers no rights.
  • Re: What Happened to my Formatting

    01-03-2007, 12:35 AM
    • Loading...
    • Pztydr
    • Joined on 06-18-2003, 9:44 PM
    • Adelaide, Australia
    • Posts 204

    Mikhail Arkhipov (MSFT):
    Did you fully uninstall previous beta and cleaned generated schemas folder before installing the RC? http://blogs.msdn.com/mikhailarkhipov/archive/2006/12/25/repairing-visual-web-developer-intellisense-issues.aspx

    Mikhail,

                Yes I did uninstall Beta2 prior to installing RC1, I didn't delete the files in the mentioned directory though. I have since done that and reloaded, still have the same problem. I have noted though I get a nyumber of errors (502 of them) when runnning the site, had these for some time but they don't affect the running..

     Error    1    Element 'ScriptManager' is not a known element. This can occur if there is a compilation error in the Web site.    D:\Data\My Documents\Visual Studio 2005\WebMort2\Funeral.aspx    7    10    D:\...\WebMort2\
    Error    2    Element 'UpdatePanel' is not a known element. This can occur if there is a compilation error in the Web site.    D:\Data\My Documents\Visual Studio 2005\WebMort2\Funeral.aspx    9    10    D:\...\WebMort2\
    Error    3    Validation (XHTML 1.0 Transitional): Element 'contenttemplate' is not supported.    D:\Data\My Documents\Visual Studio 2005\WebMort2\Funeral.aspx    10    10    D:\...\WebMort2\
    Error    4    Element 'ObjectDataSource' is not a known element. This can occur if there is a compilation error in the Web site.    D:\Data\My Documents\Visual Studio 2005\WebMort2\Funeral.aspx    11    6    D:\...\WebMort2\
    Error    5    Validation (XHTML 1.0 Transitional): Element 'selectparameters' is not supported.    D:\Data\My Documents\Visual Studio 2005\WebMort2\Funeral.aspx    12    18    D:\...\WebMort2\
    Error    6    Element 'Parameter' is not a known element. This can occur if there is a compilation error in the Web site.    D:\Data\My Documents\Visual Studio 2005\WebMort2\Funeral.aspx    13    26    D:\...\WebMort2\
    Error    7    Element 'Parameter' is not a known element. This can occur if there is a compilation error in the Web site.    D:\Data\My Documents\Visual Studio 2005\WebMort2\Funeral.aspx    14    26    D:\...\WebMort2\

    Hopefully these are not contributing to my problem as well.. 

     Regards..

    Peter.
     


     

  • Re: What Happened to my Formatting

    01-03-2007, 1:37 AM
    They are actually. Intellisense, validation and code formatting use the same data. ScriptManager, UpdatePanel should be picked from AJAX assemblies. How does the page markup look like and how do you reference Atlas/Ajax assemblies in your Web site? 
    Thanks

    ------------------------------------------------------------

    This posting is provided "AS IS" with no warranties, and confers no rights.
  • Re: What Happened to my Formatting

    01-03-2007, 6:05 AM
    • Loading...
    • Pztydr
    • Joined on 06-18-2003, 9:44 PM
    • Adelaide, Australia
    • Posts 204

    Mikhail,

              The HTML markup is still all over the shop, this afternoon I started manually reconfiguring it to look like it should and have noted just now when I went back in that the HTML that I reformatted is okay and displays as it should. So it looks like I will have to complete this step and manually reformat the rest of my aspx file.

     

    The Atlas/Ajax assemblies are reference through the Global cache with a reference added to each page for the AJAX Toolkit.

    On a brighter note I just ran the Edit/Advanced/Format Document option and the whole document has been reformatted correctly and the HTML tags have been corrected (changed to lower case). So everything is honk dory now.. Thanks for your help, persistance, and assistance.

     

    Regards..

    Peter.
     

  • Re: What Happened to my Formatting

    01-03-2007, 12:10 PM
    Did the validation errors go away too?
    Thanks

    ------------------------------------------------------------

    This posting is provided "AS IS" with no warranties, and confers no rights.
  • Re: What Happened to my Formatting

    01-03-2007, 6:19 PM
    • Loading...
    • Pztydr
    • Joined on 06-18-2003, 9:44 PM
    • Adelaide, Australia
    • Posts 204

    Mikhail,

             All errors but 15 plus 15 warnings are left:

    Error    1    Unrecognized tag prefix or device filter '__designer'.    D:\Data\My Documents\Visual Studio 2005\WebMort2\Funeral.aspx    317    96    D:\...\WebMort2\
    Warning    2    Validation (ASP.Net): Attribute 'wfdid' is not a valid attribute of element 'TextBox'.    D:\Data\My Documents\Visual Studio 2005\WebMort2\Funeral.aspx    317    107    D:\...\WebMort2\
    Error    3    Unrecognized tag prefix or device filter '__designer'.    D:\Data\My Documents\Visual Studio 2005\WebMort2\Funeral.aspx    336    96    D:\...\WebMort2\
    Warning    4    Validation (ASP.Net): Attribute 'wfdid' is not a valid attribute of element 'TextBox'.    D:\Data\My Documents\Visual Studio 2005\WebMort2\Funeral.aspx    336    107    D:\...\WebMort2\
    Error    5    Unrecognized tag prefix or device filter '__designer'.    D:\Data\My Documents\Visual Studio 2005\WebMort2\Funeral.aspx    378    96    D:\...\WebMort2\
    Warning    6    Validation (ASP.Net): Attribute 'wfdid' is not a valid attribute of element 'TextBox'.    D:\Data\My Documents\Visual Studio 2005\WebMort2\Funeral.aspx    378    107    D:\...\WebMort2\
    Error    7    Unrecognized tag prefix or device filter '__designer'.    D:\Data\My Documents\Visual Studio 2005\WebMort2\Funeral.aspx    460    93    D:\...\WebMort2\
    Warning    8    Validation (ASP.Net): Attribute 'wfdid' is not a valid attribute of element 'PopupControlExtender'.    D:\Data\My Documents\Visual Studio 2005\WebMort2\Funeral.aspx    460    104    D:\...\WebMort2\
    Error    9    Validation (ASP.Net): This attribute name must be followed by an equal (=) sign and a value. If the value is in quotation marks, the quotation marks must match.    D:\Data\My Documents\Visual Studio 2005\WebMort2\Funeral.aspx    462    70    D:\...\WebMort2\
    Error    10    Validation (ASP.Net): This attribute name must be followed by an equal (=) sign and a value. If the value is in quotation marks, the quotation marks must match.    D:\Data\My Documents\Visual Studio 2005\WebMort2\Funeral.aspx    462    88    D:\...\WebMort2\
    Error    11    Unrecognized tag prefix or device filter '__designer'.    D:\Data\My Documents\Visual Studio 2005\WebMort2\Funeral.aspx    464    63    D:\...\WebMort2\
    Warning    12    Validation (ASP.Net): Attribute 'dtid' is not a valid attribute of element 'Panel'.    D:\Data\My Documents\Visual Studio 2005\WebMort2\Funeral.aspx    464    74    D:\...\WebMort2\
    Error    13    Unrecognized tag prefix or device filter '__designer'.    D:\Data\My Documents\Visual Studio 2005\WebMort2\Funeral.aspx    465    60    D:\...\WebMort2\
    Warning    14    Validation (ASP.Net): Attribute 'wfdid' is not a valid attribute of element 'Panel'.    D:\Data\My Documents\Visual Studio 2005\WebMort2\Funeral.aspx    465    71    D:\...\WebMort2\
    Error    15    Unrecognized tag prefix or device filter '__designer'.    D:\Data\My Documents\Visual Studio 2005\WebMort2\Funeral.aspx    467    33    D:\...\WebMort2\
    Warning    16    Validation (ASP.Net): Attribute 'dtid' is not a valid attribute of element 'Calendar'.    D:\Data\My Documents\Visual Studio 2005\WebMort2\Funeral.aspx    467    44    D:\...\WebMort2\
    Error    17    Unrecognized tag prefix or device filter '__designer'.    D:\Data\My Documents\Visual Studio 2005\WebMort2\Funeral.aspx    468    69    D:\...\WebMort2\
    Warning    18    Validation (ASP.Net): Attribute 'wfdid' is not a valid attribute of element 'Calendar'.    D:\Data\My Documents\Visual Studio 2005\WebMort2\Funeral.aspx    468    80    D:\...\WebMort2\
    Error    19    Unrecognized tag prefix or device filter '__designer'.    D:\Data\My Documents\Visual Studio 2005\WebMort2\Funeral.aspx    481    83    D:\...\WebMort2\
    Warning    20    Validation (ASP.Net): Attribute 'wfdid' is not a valid attribute of element 'DropDownList'.    D:\Data\My Documents\Visual Studio 2005\WebMort2\Funeral.aspx    481    94    D:\...\WebMort2\
    Error    21    Unrecognized tag prefix or device filter '__designer'.    D:\Data\My Documents\Visual Studio 2005\WebMort2\Funeral.aspx    496    33    D:\...\WebMort2\
    Warning    22    Validation (ASP.Net): Attribute 'wfdid' is not a valid attribute of element 'DropDownList'.    D:\Data\My Documents\Visual Studio 2005\WebMort2\Funeral.aspx    496    44    D:\...\WebMort2\
    Error    23    Unrecognized tag prefix or device filter '__designer'.    D:\Data\My Documents\Visual Studio 2005\WebMort2\Funeral.aspx    506    93    D:\...\WebMort2\
    Warning    24    Validation (ASP.Net): Attribute 'wfdid' is not a valid attribute of element 'PopupControlExtender'.    D:\Data\My Documents\Visual Studio 2005\WebMort2\Funeral.aspx    506    104    D:\...\WebMort2\
    Error    25    Unrecognized tag prefix or device filter '__designer'.    D:\Data\My Documents\Visual Studio 2005\WebMort2\Funeral.aspx    510    29    D:\...\WebMort2\
    Warning    26    Validation (ASP.Net): Attribute 'wfdid' is not a valid attribute of element 'Panel'.    D:\Data\My Documents\Visual Studio 2005\WebMort2\Funeral.aspx    510    40    D:\...\WebMort2\
    Error    27    Unrecognized tag prefix or device filter '__designer'.    D:\Data\My Documents\Visual Studio 2005\WebMort2\Funeral.aspx    513    33    D:\...\WebMort2\
    Warning    28    Validation (ASP.Net): Attribute 'wfdid' is not a valid attribute of element 'Calendar'.    D:\Data\My Documents\Visual Studio 2005\WebMort2\Funeral.aspx    513    44    D:\...\WebMort2\
    Error    29    Unrecognized tag prefix or device filter '__designer'.    D:\Data\My Documents\Visual Studio 2005\WebMort2\Funeral.aspx    526    33    D:\...\WebMort2\
    Warning    30    Validation (ASP.Net): Attribute 'wfdid' is not a valid attribute of element 'DropDownList'.    D:\Data\My Documents\Visual Studio 2005\WebMort2\Funeral.aspx    526    44    D:\...\WebMort2\
    Error    31    Unrecognized tag prefix or device filter '__designer'.    D:\Data\My Documents\Visual Studio 2005\WebMort2\Funeral.aspx    540    33    D:\...\WebMort2\
    Warning    32    Validation (ASP.Net): Attribute 'wfdid' is not a valid attribute of element 'DropDownList'.    D:\Data\My Documents\Visual Studio 2005\WebMort2\Funeral.aspx    540    44    D:\...\WebMort2\

     

    Regards..

    Peter.
     

  • Re: What Happened to my Formatting

    01-04-2007, 12:56 AM
    If you used previous builds of Ajax/Atlas, please make sure you removed old assembly from bin and Web site references. Make sure you added reference to System.Web.Extensions.dll from the new (RC) of Ajax. Make sure you fixed web.config exactly as described here: http://ajax.asp.net/docs/ConfiguringASPNETAJAX.aspx
    Thanks

    ------------------------------------------------------------

    This posting is provided "AS IS" with no warranties, and confers no rights.
  • Re: What Happened to my Formatting

    01-04-2007, 12:58 AM
    You can also safely delete __designer:wfdid attributes, they are not supposed to persist from design to source view. Most probably they appeared when Ajax was not referenced properly.
    Thanks

    ------------------------------------------------------------

    This posting is provided "AS IS" with no warranties, and confers no rights.
  • Re: What Happened to my Formatting

    01-04-2007, 7:57 PM
    • Loading...
    • Pztydr
    • Joined on 06-18-2003, 9:44 PM
    • Adelaide, Australia
    • Posts 204

    Mikhail,

              Have now cleared all warnings and errors, I had previously check and updated the Web.Config file so that was okay. thanks for your assistance on this..
     

Page 1 of 1 (12 items)