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

View and place Usercontrols in Webforms

Hi,
I made a usercontrol with 2 TextBoxes and 2 labels.
When i place the usercontrol in a webform, i see the grey rectangle, and i can place the usercontrol only on the top of the form. I found that i can place the usercontrol in a panel, and so i can move the panel (and the control) in my WebForm.
There is another way to place the usercontrol so i can move the control without the panel, and a way to view the control in my WebForm at designtime also, without viewing only the grey rectangle?

Thank you
Alessandro Rossi.
Nov 18 '05 #1
2 1093
Hello Alessandro,
Please review this article
http://www.wimdows.net/articles/article.aspx?aid=10
regards,

--
Mohamed Sharaf
Microsoft GTSC Developer support for Middle East

"Alessandro Rossi" <al**************@areaitsrl.com> wrote in message
news:2F**********************************@microsof t.com...
Hi,
I made a usercontrol with 2 TextBoxes and 2 labels.
When i place the usercontrol in a webform, i see the grey rectangle, and i can place the usercontrol only on the top of the form. I found that i can
place the usercontrol in a panel, and so i can move the panel (and the
control) in my WebForm. There is another way to place the usercontrol so i can move the control without the panel, and a way to view the control in my WebForm at
designtime also, without viewing only the grey rectangle?
Thank you
Alessandro Rossi.

Nov 18 '05 #2
I saw the article, but in that article, the user control is designed like a bitmap. Is there a way to create an .ascx user control and view the control at design time when i add it in a webform?

Thank you
Alessandro Rossi
Nov 18 '05 #3

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

Similar topics

1
by: Dani | last post by:
hi First of all: sorry for my bad english :-) I've got a problem with usercontrols - and no idea how to fix it! :-( I had registered a usercontrol navigation.ascx in the common-way...
1
by: Jerry Tovar | last post by:
I am using .Net 2003 on a XPPro running IIS. I am unable to view any of my ASPX webforms in a browser unless I modify the .ASPX file and replace Codebehind="employee.aspx.cs" with...
4
by: Anders K. Jacobsen [DK] | last post by:
Hi I have some common UserControls i want to share between to sites (on the same mashine but on diffrent virtual paths). right now i have on solution file with aprox 10 projects. 2 of these is...
11
by: Greg Smalter | last post by:
I'm converting some ASP web projects from VS 2003 to VS2005/ASP 2.0. The worst problem I've run into is all references (in codebehind CS files) to UserControls fail. I get the error "The type...
1
by: Robert | last post by:
I have a large web site converted from 1.1 to 2.0 and in VS 2005, the IDE complains that in the ASPX file (html source): Error 1 Element 'stylesheet' is not a known element. This can...
4
by: Nadav Popplewell | last post by:
Hi everybody, I've install Visual studio Team Edition for Testers on my computers, And I can't seem to find how to show the toolbox. The documenation says there should be a 'Toolbox' menuitem...
0
by: mikrogen | last post by:
Am I the only one, who is upset with Design view in Visual C++? There is so many bugs, that it is almost unusable (both VC express and VS Professional), .. I.e. - you cannot use usercontrol...
4
by: Nathan Sokalski | last post by:
In several of my UserControls I add properties. If I access these properties in the CodeBehind of the pages that use the controls, I recieve an error when compiling. The reason for this is because...
2
by: =?Utf-8?B?Um9iZXJ0IFNtaXRo?= | last post by:
Hi, I have just installed visual studio 2005 professional edition (evaluation version). However it will not allow me to view webforms in a website project in design view. I can just see the HTML...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: 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
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.