Whenever no controls are selected in the VS.Net 2003 webforms
designer, the Properties box defaults to "DOCUMENT", which allows
me to set properties such as bgColor, bgProperties, bottomMargin,
clientTarget, errorPage, targetSchema, etc.
I have searched various assemblies with .Net Reflector for such
a class, but to no avail.
Does anyone have an idea where this DOCUMENT class resides
in the framework? Somewhere, something must send an object to
the propertygrid causing it to display those exact properties?
/Joergen Bech 4 1030
It's a VS.Net thing. Some of the properties map to the Page class, such as
Culture, Trace and codePage. Others are simply values the editor places in
your HTML, and aren't ASP.Net related, such as a the bgColor, title and
link.
Karl
--
MY ASP.Net tutorials http://www.openmymind.net/ http://openmymind.net/redirector.aspx?documentId=51 - Learn about AJAX!
"Joergen Bech @ post1.tele.dk>" <jbech<NOSPAMNO SPAM> wrote in message
news:dh******** *************** *********@4ax.c om... Whenever no controls are selected in the VS.Net 2003 webforms designer, the Properties box defaults to "DOCUMENT", which allows me to set properties such as bgColor, bgProperties, bottomMargin, clientTarget, errorPage, targetSchema, etc.
I have searched various assemblies with .Net Reflector for such a class, but to no avail.
Does anyone have an idea where this DOCUMENT class resides in the framework? Somewhere, something must send an object to the propertygrid causing it to display those exact properties?
/Joergen Bech
It doesn't reside in the framework. It resides in the HTML DOCUMENT object
model. It represents the HTML document itself.
--
HTH,
Kevin Spencer
Microsoft MVP
..Net Developer
Big things are made up of
lots of little things.
"Joergen Bech @ post1.tele.dk>" <jbech<NOSPAMNO SPAM> wrote in message
news:dh******** *************** *********@4ax.c om... Whenever no controls are selected in the VS.Net 2003 webforms designer, the Properties box defaults to "DOCUMENT", which allows me to set properties such as bgColor, bgProperties, bottomMargin, clientTarget, errorPage, targetSchema, etc.
I have searched various assemblies with .Net Reflector for such a class, but to no avail.
Does anyone have an idea where this DOCUMENT class resides in the framework? Somewhere, something must send an object to the propertygrid causing it to display those exact properties?
/Joergen Bech
Are you referring to IHTMLDocument2 in
Microsoft.VSDes igner.Interop.T rident?
I am aware of this one, but something like
Microsoft.Visua lStudio.Web.Web Forms.PageDirec tive in
microsoft.visua lstudio.web
comes much closer in terms of the properties displayed
in the propertygrid. Some properties are missing, though,
so I suppose another class derived from PageDirective
is used instead.
My original question was -which class- was used to send
to the propertygrid. The grid needs an object of a specific
type - not just a collection of name/value pairs in order to
perform its duties. At the moment I am not too concerned
with where the values eventually end up.
???
Regards,
Joergen Bech
On Tue, 4 Oct 2005 07:39:33 -0400, "Kevin Spencer"
<ke***@DIESPAMM ERSDIEtakempis. com> wrote: It doesn't reside in the framework. It resides in the HTML DOCUMENT object model. It represents the HTML document itself.
> Are you referring to IHTMLDocument2 in Microsoft.VSDes igner.Interop.T rident?
No, I'm referring to the HMTL Document Object Model.
--
HTH,
Kevin Spencer
Microsoft MVP
..Net Developer
Big things are made up of
lots of little things.
"Joergen Bech @ post1.tele.dk>" <jbech<NOSPAMNO SPAM> wrote in message
news:4o******** *************** *********@4ax.c om... Are you referring to IHTMLDocument2 in Microsoft.VSDes igner.Interop.T rident?
I am aware of this one, but something like Microsoft.Visua lStudio.Web.Web Forms.PageDirec tive in microsoft.visua lstudio.web
comes much closer in terms of the properties displayed in the propertygrid. Some properties are missing, though, so I suppose another class derived from PageDirective is used instead.
My original question was -which class- was used to send to the propertygrid. The grid needs an object of a specific type - not just a collection of name/value pairs in order to perform its duties. At the moment I am not too concerned with where the values eventually end up.
???
Regards,
Joergen Bech On Tue, 4 Oct 2005 07:39:33 -0400, "Kevin Spencer" <ke***@DIESPAMM ERSDIEtakempis. com> wrote:
It doesn't reside in the framework. It resides in the HTML DOCUMENT object model. It represents the HTML document itself. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Corrie Meyer |
last post by:
Announcement: SwiftReports standard edition 1.0 for Visual Studio
..NET 2003 released by UniSwift.
We are pleased to announce the first release of a fully-managed
reporting
tool for the Microsoft .NET framework. SwiftReports provides complete
code integration with the Visual Studio .NET 2003 environment.
Developers can use Visual Studio .NET 2003 to write code in either C#
or Visual Basic .NET for report control and event handling.
|
by: lawrence |
last post by:
This PHP function prints out a bunch of Javascript (as you can see).
This is all part of the open source weblog software of PDS
(www.publicdomainsoftware.org). We had this javascript stuff working,
but it only worked for IE. You can see a working version here:
http://www.publicpen.com/designer/mcControlPanel.php
username: designer
password: designer123
However, I've tried to rewrite this so it would work in all browsers,
|
by: Richard Fritzler |
last post by:
I was given the task of designing a complete web based
document prep system. In simplest terms (using a msword
explanation) create a database of merge fields, and a
library of templates. Allow the webuser to select the
template, merge his DB record, and produce a formatted
document that can be printed or downloaded.
We need to do this without specialized software on the
client, since it will be universally available to
webusers. We...
|
by: Corrie Meyer |
last post by:
Announcement: SwiftReports standard edition 1.0 for Visual Studio
..NET 2003 released by UniSwift.
We are pleased to announce the first release of a fully-managed
reporting
tool for the Microsoft .NET framework. SwiftReports provides complete
code integration with the Visual Studio .NET 2003 environment.
Developers can use Visual Studio .NET 2003 to write code in either C#
or Visual Basic .NET for report control and event handling.
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |