Hello All,
I have designed and built a web control that loads a user control at run
time. The question I have is, can I Load the user control in design view?
Any Ideas or code snippets would be really useful.
Thanks a bunch
oneeye 4 2160
Not sure I understand you fully, but it sounds like you want to build a
custom Designer for your control. If so, see: http://msdn.microsoft.com/library/de...orwebforms.asp
--
HTH,
Kevin Spencer
Microsoft MVP
..Net Developer http://www.takempis.com
Big things are made up of
lots of little things.
"oneeye" <ji*******@ossys.co.uk> wrote in message
news:Ov**************@TK2MSFTNGP09.phx.gbl... Hello All,
I have designed and built a web control that loads a user control at run time. The question I have is, can I Load the user control in design view? Any Ideas or code snippets would be really useful.
Thanks a bunch
oneeye
Hi Kevin
Thanks for your response. The question I asked badly is really about loading
a UserControl in design view.
At runtime my Web Control loads a user control that is specified by one of
it's properties. How do I get the web control to load the User Control when
loaded in the designer ? is this possible??
Cheers
"Kevin Spencer" <ke***@takempis.com> wrote in message
news:Ou*************@TK2MSFTNGP09.phx.gbl... Not sure I understand you fully, but it sounds like you want to build a custom Designer for your control. If so, see:
http://msdn.microsoft.com/library/de...us/cpguide/htm
l/cpcondesign-timeforwebforms.asp -- HTH,
Kevin Spencer Microsoft MVP .Net Developer http://www.takempis.com Big things are made up of lots of little things.
"oneeye" <ji*******@ossys.co.uk> wrote in message news:Ov**************@TK2MSFTNGP09.phx.gbl... Hello All,
I have designed and built a web control that loads a user control at run time. The question I have is, can I Load the user control in design
view? Any Ideas or code snippets would be really useful.
Thanks a bunch
oneeye
You might want to look at the thread "Control Lifetime Radically Different
in Design Mode - Documented?" in
microsoft.public.dotnet.framework.aspnet.buildingc ontrols on 19-Jul-2003.
--
John Saunders
Internet Engineer jo***********@surfcontrol.com
"oneeye" <ji*******@ossys.co.uk> wrote in message
news:%2******************@TK2MSFTNGP12.phx.gbl... Hi Kevin
Thanks for your response. The question I asked badly is really about
loading a UserControl in design view.
At runtime my Web Control loads a user control that is specified by one of it's properties. How do I get the web control to load the User Control
when loaded in the designer ? is this possible??
Cheers "Kevin Spencer" <ke***@takempis.com> wrote in message news:Ou*************@TK2MSFTNGP09.phx.gbl... Not sure I understand you fully, but it sounds like you want to build a custom Designer for your control. If so, see:
http://msdn.microsoft.com/library/de...us/cpguide/htm l/cpcondesign-timeforwebforms.asp -- HTH,
Kevin Spencer Microsoft MVP .Net Developer http://www.takempis.com Big things are made up of lots of little things.
"oneeye" <ji*******@ossys.co.uk> wrote in message news:Ov**************@TK2MSFTNGP09.phx.gbl... Hello All,
I have designed and built a web control that loads a user control at
run time. The question I have is, can I Load the user control in design view? Any Ideas or code snippets would be really useful.
Thanks a bunch
oneeye
Thanks for your responses
Oneeye
"Kevin Spencer" <ke***@takempis.com> wrote in message
news:Oi**************@TK2MSFTNGP11.phx.gbl... In the designer, nothing gets "loaded." How can something be loaded when
the app isn't running? But you can emulate that by using a custom Designer
class for your control. That's why I gave you the link.
-- HTH,
Kevin Spencer Microsoft MVP .Net Developer http://www.takempis.com Big things are made up of lots of little things.
"oneeye" <ji*******@ossys.co.uk> wrote in message news:%2******************@TK2MSFTNGP12.phx.gbl... Hi Kevin
Thanks for your response. The question I asked badly is really about loading a UserControl in design view.
At runtime my Web Control loads a user control that is specified by one
of it's properties. How do I get the web control to load the User Control when loaded in the designer ? is this possible??
Cheers "Kevin Spencer" <ke***@takempis.com> wrote in message news:Ou*************@TK2MSFTNGP09.phx.gbl... Not sure I understand you fully, but it sounds like you want to build
a custom Designer for your control. If so, see:
http://msdn.microsoft.com/library/de...us/cpguide/htm l/cpcondesign-timeforwebforms.asp -- HTH,
Kevin Spencer Microsoft MVP .Net Developer http://www.takempis.com Big things are made up of lots of little things.
"oneeye" <ji*******@ossys.co.uk> wrote in message news:Ov**************@TK2MSFTNGP09.phx.gbl... > Hello All, > > I have designed and built a web control that loads a user control at
run > time. The question I have is, can I Load the user control in design
view? > Any Ideas or code snippets would be really useful. > > Thanks a bunch > > oneeye > > >
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: BBM |
last post by:
Hi,
I have been developing with C# User Controls and occasionally have a problem
where I "lose" a control from the design surface of the User Control. The
controls that I am using to build my...
|
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...
|
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...
|
by: John Richardson |
last post by:
I've been bothered for some time about my DataGrid not populating my rows
very quickly. I have about 10K rows loading into the grid.
I create a datatable dt with 2 columns, an ID and a display. ...
|
by: oneeye |
last post by:
Hello All,
I have designed and built a web control that loads a user control at run
time. The question I have is, can I Load the user control in design view?
Any Ideas or code snippets would be...
|
by: Shourie |
last post by:
I've noticed that none of the child controls events are firing for the first time from the dynamic user control. Here is the event cycle.
1) MainPage_load
2) User control1_Load
user clicks a...
|
by: Dave A |
last post by:
I just don't get this...
If I need to dynamically load controls into a web page I simply need to go PlaceHolder1.Controls.Add(new Button()); or similar. However when I need to dynamically...
|
by: Joe |
last post by:
Hello All:
Do I have to use the LoadControl method of the Page to load a UserControl?
I have a class which contains three methods (one public and two private).
The class acts as a control...
|
by: adiel_g |
last post by:
I added a user control to a webform in Asp.net 2.0. I am also adding
several other user controls to this webform. Now I am trying to find
a way to stop the user controls from loading up when I...
|
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...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
|
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...
|
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,...
|
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: 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...
|
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: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
| |