473,394 Members | 1,715 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Property Pages

Is it possible to have custom property pages for a Component and if so how I
can write one please ?

Also, is it possible to reuse the drop down box that we get for Data Source
and Data Member inside VS.net's property grid, for my component ? If so any
pointers would be immensely appreciated.

Thank you.
Nov 20 '05 #1
3 1770
You can implement a page Class's child where you write your properties. All
page that must inherits from this new class.

Public Class MyPage
Inherits System.Web.UI.Page

End Class
"Nice Chap" <Ni******@PlasmaDyne.com> wrote in message
news:u9**************@TK2MSFTNGP09.phx.gbl...
Is it possible to have custom property pages for a Component and if so how I can write one please ?

Also, is it possible to reuse the drop down box that we get for Data Source and Data Member inside VS.net's property grid, for my component ? If so any pointers would be immensely appreciated.

Thank you.

Nov 20 '05 #2
I'm sorry I have read very quickly your message. Forget my solution.
"Stefano Galluzzo" <st**************@alfapi.com> wrote in message
news:_x******************@tornado.fastwebnet.it...
You can implement a page Class's child where you write your properties. All page that must inherits from this new class.

Public Class MyPage
Inherits System.Web.UI.Page

End Class
"Nice Chap" <Ni******@PlasmaDyne.com> wrote in message
news:u9**************@TK2MSFTNGP09.phx.gbl...
Is it possible to have custom property pages for a Component and if so
how I
can write one please ?

Also, is it possible to reuse the drop down box that we get for Data

Source
and Data Member inside VS.net's property grid, for my component ? If so

any
pointers would be immensely appreciated.

Thank you.


Nov 20 '05 #3
Nice Chap,
Is it possible to have custom property pages for a Component and if so how I can write one please ? What do you mean by "property page"? Do you mean the values listed in the
Property Window?

This control is actually the System.Windows.Forms.PropertyGrid, which you
can freely use in your own app. By using various interfaces & attributes in
the System.ComponentModel namespace you can control what & how properties
are displayed in the Grid.

For details on the property grid see:

http://msdn.microsoft.com/library/de...ngpropgrid.asp

http://msdn.microsoft.com/library/de...etpropbrow.asp
Also, is it possible to reuse the drop down box that we get for Data Source and Data Member inside VS.net's property grid, for my component ? If so any pointers would be immensely appreciated. Yes it is possible, I don't remember if the above two links cover it, or I
read it someplace else... Post if its not covered in the above two articles.

Hope this helps
Jay
"Nice Chap" <Ni******@PlasmaDyne.com> wrote in message
news:u9**************@TK2MSFTNGP09.phx.gbl... Is it possible to have custom property pages for a Component and if so how I can write one please ?

Also, is it possible to reuse the drop down box that we get for Data Source and Data Member inside VS.net's property grid, for my component ? If so any pointers would be immensely appreciated.

Thank you.

Nov 20 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: MW | last post by:
Hi, In my ATL COM project I want do implement dialog and add some property pages on it. What should I do do to this ?. I tried to add to standard ATL dialog class some interfaces which allow...
0
by: mélanie paterson | last post by:
Hi, We are using Microsoft Visual Studio .NET 2002 on a Terminal Server (Windows Server 2000 SP4). I add users in the local group DEBUGGER USERS. There is a GPO for that group to configure the...
1
by: VBSponge | last post by:
Hi all. In A2K i have a report with a control bound to to calculate the page count for the report. I need to retrieve this page count from the report, and build it into a TOC containing this an...
1
by: Marco | last post by:
Dear All I am writing an application which fetches Web pages. I have been using the System.Net.HttpWebRequest.Timeout property to specify how long a request made with the GetResponse() method...
0
by: Ron Wagner | last post by:
I've got a small VC++ program I'm working on that uses 5 property pages. On my development machine everything works fine. On a laptop that I sometimes use for development, clicking on 2 of the...
0
by: Mark Collard | last post by:
When you add a ToolTip component to a Form (or UserControl) the other controls on the form display a ToolTip property in the property grid. This is because it implements the IExtenderProvider...
4
by: Brian McCullough | last post by:
Hello, I have a single Web Site Project (WSP, not Web Application Project/WAP). I don't have a WDP project with this, so I don't have a need for a solution file (.sln). I have noticed that my...
2
by: Mike | last post by:
ASP.NET 2.0 I have some code working in a code-behind that I want to move to a utility class. In the code behind, I can reference the querystring and get the Page value easily. However, when...
6
by: =?Utf-8?B?SmF5IFBvbmR5?= | last post by:
I am trying to access a Public property on a Master Page from a Base Page. On the content pages I have the MasterType Directive set up as follows: <%@ MasterType virtualpath="~/Master.master" %>...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
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...
0
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.