#56 "New" Properties generates double HTML

closed-fixed
None
7
2002-08-15
2002-05-07
No

Summary:

If a control new's a member of a different type, the
resulting HTML in the documenation has too complete
<HTML> nodes in the html doc.

Sample:

In my situation, I have created our own base class for
WebControl & Page. I want the WebControl.Page to be
of type MyCompnay.Page, not System...Page

public class WebControl :
System.Web.UI.WebControls.WebControls
{
public new MyCompany.Page Page
{
get{};
set{};
}
}

attached is the resulting HTML.

Comments:

I don't know what the "most right" thing to do --
should both be documented? If so, how would it work
in the documentation?

Discussion

  • Jason Wyckoff

    Jason Wyckoff - 2002-05-07
    • summary: "New" Properties generates double HTML --> "New" Properties generates double HTML
     
  • Jason Wyckoff

    Jason Wyckoff - 2002-05-07
     
  • Jason Wyckoff

    Jason Wyckoff - 2002-05-07
    • summary: "New" Properties generates double HTML --> "New" Properties generates double HTML
     
  • Jean-Claude Manoli

    • summary: "New" Properties generates double HTML --> "New" Properties generates double HTML
     
  • Jean-Claude Manoli

    Logged In: YES
    user_id=235364

    I think that the proper way to handle this is to only display
    the "new" property and not the "hidden" one.

     
  • Jean-Claude Manoli

    • summary: "New" Properties generates double HTML --> "New" Properties generates double HTML
     
  • Jean-Claude Manoli

    Logged In: YES
    user_id=235364

    The same problem happens for other class member types.

     
  • Jean-Claude Manoli

    • summary: "New" Properties generates double HTML --> "New" Properties generates double HTML
    • priority: 5 --> 7
     
  • Jean-Claude Manoli

    • summary: "New" Properties generates double HTML --> "New" Properties generates double HTML
    • assigned_to: nobody --> jcman
    • status: open --> closed-fixed
     
  • Jean-Claude Manoli

    Logged In: YES
    user_id=235364

    Implemented a quick fix to prevent this problem.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks