473,767 Members | 1,695 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Custom Controls in ASP.Net 2.0

What happened to custom controls in ASP.Net 2.0? I can't get my old custom
controls from Asp.Net 1.1 to work in Asp.net 2.0
Nov 20 '05 #1
5 1069
they are designed different. did you them run thru the convert wizard?
without knowing the problem its hard to diagnose.

-- bruce (sqlwork.com)

"Arne" <Ar**@discussio ns.microsoft.co m> wrote in message
news:8F******** *************** ***********@mic rosoft.com...
What happened to custom controls in ASP.Net 2.0? I can't get my old custom
controls from Asp.Net 1.1 to work in Asp.net 2.0

Nov 20 '05 #2
If you are using an assembly in which a custom control is compiled already it
should not be a problem.

If you imported your project into vs.net 2005 then the wizard would take
care of the conversion. Otherwise there are conversion issues that you might
read
about:http://msdn.microsoft.com/library/de...dingaspnet.asp

--
HTH,
Phillip Williams
http://www.societopia.net
http://www.webswapp.com
"Arne" wrote:
What happened to custom controls in ASP.Net 2.0? I can't get my old custom
controls from Asp.Net 1.1 to work in Asp.net 2.0

Nov 20 '05 #3
How do I import a project? I tried to just open an old 1.1 Asp.net Project
but that didn't seem to work.

"Phillip Williams" wrote:
If you are using an assembly in which a custom control is compiled already it
should not be a problem.

If you imported your project into vs.net 2005 then the wizard would take
care of the conversion. Otherwise there are conversion issues that you might
read
about:http://msdn.microsoft.com/library/de...dingaspnet.asp

--
HTH,
Phillip Williams
http://www.societopia.net
http://www.webswapp.com
"Arne" wrote:
What happened to custom controls in ASP.Net 2.0? I can't get my old custom
controls from Asp.Net 1.1 to work in Asp.net 2.0

Nov 20 '05 #4
In vs.net 2005, when you open a project (using the normal
File->Open->Project/Solution options), if that project were written in vs.net
2003, then the wizard will launch automatically.

Did you get a dialog box “Welcome to the Visual Studio Conversion Wizard”
when you opened your project?

This wizard guides you to save a backup of your project before it proceeds.
At the end it will give you log of errors regarding the tasks that it could
not accomplish (for example, I get errors all the time regarding the
references to the business and data layers, which I then have to open,
convert and compile separately)

--
HTH,
Phillip Williams
http://www.societopia.net
http://www.webswapp.com
"Arne" wrote:
How do I import a project? I tried to just open an old 1.1 Asp.net Project
but that didn't seem to work.

"Phillip Williams" wrote:
If you are using an assembly in which a custom control is compiled already it
should not be a problem.

If you imported your project into vs.net 2005 then the wizard would take
care of the conversion. Otherwise there are conversion issues that you might
read
about:http://msdn.microsoft.com/library/de...dingaspnet.asp

--
HTH,
Phillip Williams
http://www.societopia.net
http://www.webswapp.com
"Arne" wrote:
What happened to custom controls in ASP.Net 2.0? I can't get my old custom
controls from Asp.Net 1.1 to work in Asp.net 2.0

Nov 20 '05 #5
re:
How do I import a project?
You don't.

If you open a 2003/1.1 project in 2.0/2005,
it will ask you if you want to *convert* it.

Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
ASPNETFAQ.COM : http://www.aspnetfaq.com/
Foros de ASP.NET en Espaol : http://asp.net.do/foros/
=============== =============== ========
"Arne" <Ar**@discussio ns.microsoft.co m> wrote in message
news:3A******** *************** ***********@mic rosoft.com... How do I import a project? I tried to just open an old 1.1 Asp.net Project
but that didn't seem to work.

"Phillip Williams" wrote:
If you are using an assembly in which a custom control is compiled already it
should not be a problem.

If you imported your project into vs.net 2005 then the wizard would take
care of the conversion. Otherwise there are conversion issues that you might
read
about:http://msdn.microsoft.com/library/de...dingaspnet.asp

--
HTH,
Phillip Williams
http://www.societopia.net
http://www.webswapp.com
"Arne" wrote:
> What happened to custom controls in ASP.Net 2.0? I can't get my old custom
> controls from Asp.Net 1.1 to work in Asp.net 2.0

Nov 20 '05 #6

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

Similar topics

7
3017
by: Shimon Sim | last post by:
I have a custom composite control I have following property
6
2674
by: Suzanne | last post by:
Hi all, I really hope someone out there can help me as I've been tearing my hair out on this one for a good while and I'm getting really frustrated now! My problem is this - my custom controls periodically disappear from my project when I build it. First of I get the message about a missing dependency, then if I rebuild after that - the control just physically disappears from the form, and I get an object not found error when I
2
2596
by: Suzanne | last post by:
Hi all, I'm reposting this message as I'm experiencing this problem more and more frequently : I really hope someone out there can help me as I've been tearing my hair out on this one for a good while and I'm getting really frustrated now! My problem is this - my custom controls periodically disappear from my
2
1880
by: J R M | last post by:
I've developed a custom control (it's basically a drop-down list and then a couple of textboxes to include meta-data for the selection) that I'm embedding into another custom control (the idea is to allow a dynamic number of control1 to appear in control2). Everything renders correctly, however I could never retrieve data on postback from my embedded controls. Upon closer inspection, all of the embedded controls output without any "name"...
6
11081
by: | last post by:
I have made some user controls with custom properties. I can set those properties on instances of my user controls, and I have programmed my user control to do useful visual things in response to how those properties are set. I want to be able to do two other things: a) add User control instances to my page, filling in the place of placeholder controls, and b) programmatically setting custom properties on those dynamically spawned...
15
6521
by: rizwanahmed24 | last post by:
Hello i have made a custom control. i have placed a panel on it. I want this panel to behave just like the normal panel. The problem i was having is that the panel on my custom control doesnt accept other controls. The control i drag drop on it becomes the child of my custom control's parent form and not the child of my custom control. Then i added this line "" before my custom control class (i dont know what this line does). Now
1
1982
by: rizwanahmed24 | last post by:
Hello i have created a custom control. i have placed two template controls on it. One is check box and second is picture box. The custom control also contain two picture boxes as property. These picture boxes can be filled at design time. I want my custom control to act as container. I drag the controls from toolbox on my custom control. Everything is fine so far. But when i compile the application the two template controls i mentioned...
2
1435
by: Ron | last post by:
I would like some more information on custom controls, what they can do and things like that, what you would use them for etc... Can anyone here share some examples of what you have used a custom control for and possibly email a zip file with that control so I could run it in a program to see how it worked? to pts4560 <atyahoo.com ? thanks.
1
2180
by: Abdo Haji-Ali | last post by:
Previously I used to create user controls if I wanted to use a specific set of controls in multiple pages, however I want to deploy my control in other applications so I thought of creating custom controls. Only problem is that I'm used to designing my controls in a WYSIWYG (tm) way (i.e. using the designer and writing HTML tags). The only way I found to create custom controls was to create controls dynamically, set their properties and...
5
4127
by: gerry | last post by:
I am trying to create a custom container control that will only ever contain a specific type of control. At design time, when a control of a different type is added to the container I would like to wrap the control in the proper control type - which is also a container. At design time I want to be able to turn this : <my:container> <asp:textbox />
0
9571
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, well explore What is ONU, What Is Router, ONU & Routers main usage, and What is the difference between ONU and Router. Lets take a closer look ! Part I. Meaning of...
0
9405
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10169
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10013
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 captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8838
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 projectplanning, coding, testing, and deploymentwithout human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6655
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5280
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3930
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
3
2807
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.