Ask a Question related to ASP.NET General, Design and Development.
-
varun varun #1
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
-
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... -
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... -
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.... -
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... -
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... -
Kevin Spencer #2
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



Reply With Quote

