473,320 Members | 2,024 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,320 software developers and data experts.

Viewing or Editing Web User Control properties in the designer

I have various different web user controls through out my web application.
I would like to view the properties/fields for these user controls in the
designer property window ....

For instance:
public bool HasMenu {
get
{
return hasMenu;
}
set
{
hasMenu = value;
}
}

I would like there to me a "HasMenu" item in the property window of the
designer that has a drop down box with True/False for the options.

Please let me know if this is possible.

Thanks.

--
Jay Douglas
Fort Collins, CO


Nov 17 '05 #1
2 1264
For this kind of advanced functionality you might want to create a custom
control instead of a user control.
Here's more info:
http://msdn.microsoft.com/library/de...ebControls.asp

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net
Hire top-notch developers at http://www.able-consulting.com

"Jay Douglas" <ja******************@squarei.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
I have various different web user controls through out my web application.
I would like to view the properties/fields for these user controls in the
designer property window ....

For instance:
public bool HasMenu {
get
{
return hasMenu;
}
set
{
hasMenu = value;
}
}

I would like there to me a "HasMenu" item in the property window of the
designer that has a drop down box with True/False for the options.

Please let me know if this is possible.

Thanks.

--
Jay Douglas
Fort Collins, CO

Nov 17 '05 #2
Steve,
Thanks for the reply. I was hoping I could get around make a Web
Control Library but it looks like I may not.

Cheers!

--
Jay Douglas
Fort Collins, CO

"Steve C. Orr [MVP, MCSD]" <St***@Orr.net> wrote in message
news:OT**************@TK2MSFTNGP12.phx.gbl...
For this kind of advanced functionality you might want to create a custom
control instead of a user control.
Here's more info:
http://msdn.microsoft.com/library/de...ebControls.asp
--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net
Hire top-notch developers at http://www.able-consulting.com

"Jay Douglas" <ja******************@squarei.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
I have various different web user controls through out my web application. I would like to view the properties/fields for these user controls in the designer property window ....

For instance:
public bool HasMenu {
get
{
return hasMenu;
}
set
{
hasMenu = value;
}
}

I would like there to me a "HasMenu" item in the property window of the
designer that has a drop down box with True/False for the options.

Please let me know if this is possible.

Thanks.

--
Jay Douglas
Fort Collins, CO


Nov 17 '05 #3

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

Similar topics

0
by: Jim | last post by:
I am having some trouble with user controls and would appreciate any input / advice on where to go with this... :) 1. The first problem, and perhaps the root of the others, is that I have...
0
by: Jim | last post by:
I am having some trouble with user controls and would appreciate any input / advice on where to go with this... :) 1. The first problem, and perhaps the root of the others, is that I have...
1
by: Raj | last post by:
Hi, I have created a Windows 'user control' in C#.NET. This user control defines several public 'properties' that the outer world can use to tweak the behavior of the user control. However,...
5
by: Nathan Sokalski | last post by:
I have a user control that contains three variables which are accessed through public properties. They are declared immediately below the "Web Form Designer Generated Code" section. Every time an...
4
by: Michael | last post by:
Dear all .. If I want to use develop a user control and declare a public property which the type is System.Windows.Forms.GridTableStylesCollection For example : Public Class LookAndView...
2
by: mharness | last post by:
Hello, I've tried a number of examples showing how to read the properties of a user control from an aspx file where the code is on the html view of the form but I can't figure out how to read...
1
by: Lucien Dol | last post by:
Hi all, Can someone help me with this, please? I've got a user control that (amongst other controls) contains a textbox. The textbox has its Anchor property set to "Left, Top, Right", meaning...
8
by: MattB | last post by:
I have a asp.net 1.1/vb application that has a page with a bunch of dynamically added User Controls. When I add the controls, I set the UserControl.EnableViewState to true. For all my controls...
3
by: Mukesh | last post by:
Hi all I have to transfer a dataset and a string from a webform to a user control on the page without using viewstate or session or cookies . properties method is not working properly. if...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.