473,385 Members | 1,848 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,385 software developers and data experts.

How to get parent/controldesigner of STANDARD webcontrol

KCS
Hi there. I need to determine, at design time (programmatically via
IDesigner?) if a control on the web form can accept dropped controls, so that
I can display a design time dialog showing the names of the controls you can
drop other controls on to.

So my question is - how? Is it possible to determine / access the parent
control designer or control designer for a control you did not author (such
as standard panel control) without having to create a control that inherits
it? Or is there some property or method not obvious (via WebControl?) that
shows this?

Thanks for any help, Kevin.
Nov 19 '05 #1
0 969

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

Similar topics

2
by: CroDude | last post by:
Hi all! I've made a custom group-box control derived from a GroupBox. Additionally I've made a ControlDesigner derived class associated with my group box to remove some unneeded properties. But...
3
by: spmm# | last post by:
Hi! Could someone please help me with the following; I have a WebControl that basically looks like this: public class LeftMenu : System.Web.UI.WebControls.WebControl { private string...
6
by: grist2mill | last post by:
I want to create a standard tool bar that appears on all pages that is a control. The toolbar has a button 'New'. What I wolud like when the user clicks on 'New' depends on the page they are on. I...
2
by: | last post by:
I am looking for a easy way to trap an Exception that may occurr in any one of 30 child web controls to be trapped at the topmost parent WebUser control or Page Level. I have tried variations of...
1
by: PJ6 | last post by:
Is there any way to get around a control losing its viewstate if its parent is changed in code? Paul
0
by: Vincent Scheel | last post by:
Hello everyone, I've build a CompositeControl (a photogallery) which has a few properties (number of rows, number of columns). The control has a designer which extends the ControlDesigner class....
2
by: Daves | last post by:
code in a webcontrol's Page_Load event wants to grab value of a TextBox in the parent page; (TextBox) _textBox = (TextBox) this.Page.FindControl("TB_TextBox1"); string _value = _textBox.Text; ...
1
by: Joe | last post by:
I'm working on a usercontrol, and an associated ControlDesigner for it. In the designer, when I mouse over a particular area of the usercontrol, I want to change the cursor from the standard...
1
by: Charles Zhang | last post by:
I created a custom server control that derives from WebControl. I found Parent and Page property are null for the control I created. But Parent is a readonly property so that I have no way to...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
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...
0
Oralloy
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,...

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.