473,569 Members | 2,844 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Real Size User Controls in IDE

A.M
Hi,

When I use my UserControls in Visual Studio.NET 2003, it just shows a gray
box at design time.

How can i have VS.NET renders the user control during design time?

Thanks,
Ali
Nov 17 '05 #1
2 1345
Hi Ali,

Thank you for using Microsoft MSDN managed newsgroup.

As I understand, you want to add the "design-time support" into the
UserControl you developed. If it is the case, there may be a bit complex to
implement this.

Please refer to the following articles for more detailed info on this topic.

Enhancing Design-Time Support
http://msdn.microsoft.com/library/de...us/cpguide/htm
l/cpconenhancingd esign-timesupport.asp
"...
The .NET Framework provides an extensible architecture for customizing the
behavior and display of components and controls in design mode. This
design-time support architecture allows developers to build customized
design-time extensions for components and controls. Developers can provide
custom design-time behavior, value configuration interfaces, code
generation for property initialization, and take advantage of services
provided by the design-time environment.
..."

Custom Controls and Design Time Support
http://www.intertech-inc.com/DOWNLOA...gntimetalk.pdf

I hope it helps.

Best regards,

Jacob Yang
Microsoft Online Partner Support
Get Secure! ¨C www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Nov 17 '05 #2
Hi Ali,

Thank you for using Microsoft MSDN managed newsgroup.

As I understand, you want to add the "design-time support" into the
UserControl you developed. If it is the case, there may be a bit complex to
implement this.

Please refer to the following articles for more detailed info on this topic.

Enhancing Design-Time Support
http://msdn.microsoft.com/library/de...us/cpguide/htm
l/cpconenhancingd esign-timesupport.asp
"...
The .NET Framework provides an extensible architecture for customizing the
behavior and display of components and controls in design mode. This
design-time support architecture allows developers to build customized
design-time extensions for components and controls. Developers can provide
custom design-time behavior, value configuration interfaces, code
generation for property initialization, and take advantage of services
provided by the design-time environment.
..."

Custom Controls and Design Time Support
http://www.intertech-inc.com/DOWNLOA...gntimetalk.pdf

I hope it helps.

Best regards,

Jacob Yang
Microsoft Online Partner Support
Get Secure! ¨C www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Nov 17 '05 #3

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

Similar topics

1
6535
by: David Coleman | last post by:
When I move my C# development app from desktop PC to laptop (Both run XP Pro)(both set 1024x768) and load it into VS.NET the position and size of controls changes and some user controls on the laptop IDE become mis-aligned. (I can almost live with this bug. Occurs only on the first TabPage of a multi-TabPage control) What I find perplexing...
2
17840
by: VMI | last post by:
How can I change the size of the forms in my Windows application when the screen resolution the user has is higher than the one I developed the application in? I have a customer that has a screen resolution of 1600x1200 and I developed the application in a PC with 1024x768 resolution. Is it possible to increase the forms' sizes accordingly? ...
8
1237
by: Mark | last post by:
Is there a point when the size of a asp.net web project is too big ... and it really should be broken down into multiple projects? For example, there is a significant difference in .dll size between a web site that has 10 codebehind pages v. 50 codebehind pages v 150 codebehind pages. Is there a potential for performance problems at any...
4
3483
by: tshad | last post by:
I am having trouble with links in my DataGrid. I have Links all over my page set to smaller and they are consistant all over the page in both Mozilla and IE, except for the DataGrid. Here is a snippet from my .css file: *************************** body { margin:0; padding:0;
14
3404
by: Galen Somerville | last post by:
My current screen resolution is set to 1024 x 768. My form size always comes up as 1032 x 748. I have tried the help sample ' Retrieve the working rectangle from the Screen class ' using the PrimaryScreen and the WorkingArea properties. Dim workingRectangle As System.Drawing.Rectangle = _ Screen.PrimaryScreen.WorkingArea ' Set the size...
71
5746
by: Mark | last post by:
Sorry if the question is a bit basic. I generally express my font sizes in pixels, originally to handle the Macintosh/Windows font size differences (though I believe that they both now treat points the same way, at least within the browser window). It has been suggested that one should use ems to allow browsers to increase or decrease the...
2
1739
by: =?Utf-8?B?VGVycnk=?= | last post by:
Hope someone has some ideas - this is driving me nuts, I am using VS2008 and have a tightly layed out form at 8 pts. The form has a font dialog and when the user changes the font size, everything works great. I go through the forms control collection (recurively) and everything resizes as it should. Ok, so the next step is to remember the...
15
2603
by: (PeteCresswell) | last post by:
Some time within the next nine months, there's a pretty good chance I'll have the "opportunity" to port a bond trading system that I wrote - whose front end is currently MS Access - to .NET. Quotes bc I need this like I need another hole in the head. But in the words of one of my esteemed colleagues: "I don't sell programming; I sell...
58
5720
by: Don Li | last post by:
I've tried <body style="font-family:Verdana,Arial,Helvetica;font-size:0.8em;"> or <body style="font-family:Verdana,Arial,Helvetica;font-size:11pct;"> or <body style="font-family:Verdana,Arial,Helvetica;font-size:80%;"> to no avail. In IE7 it shows up as Medium. What did I do wrong? Thanks.
0
7612
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...
0
8119
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7668
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...
0
6281
agi2029
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5509
isladogs
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...
0
3653
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...
0
3637
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2111
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1209
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.