Why DOCUMENT and not WebForm1

Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default Why DOCUMENT and not WebForm1

    hello friends,

    i am a novice developer in ASP.NET.

    i use VS.NET Enterprise Edition.

    i inform you that my question may look
    silly to you but there is no shame in asking
    it to you since i dont know its answer.

    when i opened a web application with
    webform1 as default page,i tried to set its
    properties.

    but in properties window, i observed that it shows
    properties of DOCUMENT and not of webform1.

    also there is one more confusion.

    i took a panel control(web forms panel) and put it on
    the web form.

    i added a few link buttons on it.

    now if i click on panel on its edge, in properties window, it shows
    peoperties of panel.

    but if i click on the mid area of panel, in properties
    window, the properties changes to properties of <P>
    and various different properties like,

    align
    class
    dir

    etc appears.

    now why is it so ?
    what is the fact behind the scene ?

    can anyone tell me that ?

    *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
    Don't just participate in USENET...get rewarded for it!
    varun varun Guest

  2. Similar Questions and Discussions

    1. Characters overlapping in pdf document created from a Word document
      We are using Adobe Acrobat 6.0, Word and Excel 2002 and Windows 2000. We create a portion of a document in Word and a portion in Excel. Then we print...
    2. Document security has been removed, document will close
      I have opened this document numerous times, and all of a sudden I can no longer open this document. Can some one tell me what I need to do to open...
    3. The document could not be saved. There was a problem reading this document (109).
      Me again. I lied. When I tried to use Acrobat Pro 6 to save a file created in Acrobat 5, I got the "info" box: "The document could not be saved....
    4. PDF document ; cannot open pdf within main document
      Pdf doc created in vs. 6.1 The document is placed on a network for other users to view. Operating systems Microsoft 2000. Most users are able to view...
    5. document tabs vanished / can't maximize document window
      I am having the same problem & it also appears & disapears at random. I tried maximizing the document window to no avail. Any ideas will be...
  3. #2

    Default Re: Why DOCUMENT and not WebForm1

    An ASPX page consists of both client-side and server-side elements. The Page
    Template (which it looks like you were observing) is basically an HTML
    document with some additional tags that contain references to server-side
    components, such as the Panel you mentioned. When you look in the Properties
    window while in Design view, you are looking at the properties of the HTML
    elements in the page. One of the highest-level elements is the "document"
    object. The properties window allows you to make changes to the properties
    of these elements without having to go into the HTML and find them.

    A Panel control renders an HTML element called a "div" which defines a
    region on a page in which other HTML elements and text can be placed, and
    treated as a unit. When the Panel is invisible, for example, all elements
    contained in it are invisible. The "<P>" tag you saw was a paragraph symbol,
    and is insertedby default when you create the Panel. The Panel Server
    Control has additional server-side properties which you can also set in the
    Properties window.

    HTH,

    Kevin Spencer
    Microsoft FrontPage MVP
    Internet Developer
    [url]http://www.takempis.com[/url]
    Some things just happen.
    Everything else occurs.

    "varun varun" <anonymous@devdex.com> wrote in message
    news:e3uHDbURDHA.304@tk2msftngp13.phx.gbl...
    > hello friends,
    >
    > i am a novice developer in ASP.NET.
    >
    > i use VS.NET Enterprise Edition.
    >
    > i inform you that my question may look
    > silly to you but there is no shame in asking
    > it to you since i dont know its answer.
    >
    > when i opened a web application with
    > webform1 as default page,i tried to set its
    > properties.
    >
    > but in properties window, i observed that it shows
    > properties of DOCUMENT and not of webform1.
    >
    > also there is one more confusion.
    >
    > i took a panel control(web forms panel) and put it on
    > the web form.
    >
    > i added a few link buttons on it.
    >
    > now if i click on panel on its edge, in properties window, it shows
    > peoperties of panel.
    >
    > but if i click on the mid area of panel, in properties
    > window, the properties changes to properties of <P>
    > and various different properties like,
    >
    > align
    > class
    > dir
    >
    > etc appears.
    >
    > now why is it so ?
    > what is the fact behind the scene ?
    >
    > can anyone tell me that ?
    >
    > *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
    > Don't just participate in USENET...get rewarded for it!

    Kevin Spencer Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139