|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Viewing Composite Controls at Design TimeHello All,
I have created a composite control consisting of a checkbox, label, htmlfileinput, button and hyperlink controls. I have compiled my control and, after doing that, created a project so that I could attempt to see how my control operates. In the designer for my asp.net project, I get an error creating control "box" where my composite control should be. What could be causing this? I have recently uninstalled and reinstalled VS.NET 2003, IIS and the dotnet framework 1.1. Thank you in advance, Jeff Jones If you mean a webcontrol (i.e. derived from WebControl) You are in for
a whole new world of fun http://msdn.microsoft.com/library/en-us/cpguide/html/cpconenhancingdesign-timesupport.asp If you mean a Web user controls ( with an .ascx file) then I'm not sure if it *can* be accessed from outside the project where you made it. Copy the ascx into the second project There's some good info in http://msdn.microsoft.com/library/en-us/dnpag/html/DIforWC-CH03.asp Hope this helps -- addup -- Pay close attention to your namespace. Make sure you are referencing your
control properly. Double check your assembly and class names. Show quoteHide quote "Jeffrey Jones" wrote: > Hello All, > > I have created a composite control consisting of a checkbox, label, > htmlfileinput, button and hyperlink controls. I have compiled my control > and, after doing that, created a project so that I could attempt to see > how my control operates. > > In the designer for my asp.net project, I get an error creating control > "box" where my composite control should be. What could be causing this? > > I have recently uninstalled and reinstalled VS.NET 2003, IIS and the > dotnet framework 1.1. > > Thank you in advance, > Jeff Jones >
Bound dropdownlist in .NET 2.0 -- picking the selected value?
masterpages: body event handler <customErrors mode="Off"/> ERROR How to reference the masterpage body element in server code Repeater.Itemcommand not firing master-pages: naming problem for client-side scripting Button Click event not firing referencing and anchor from within a usercontrol (ascx) referencing and anchor from within a usercontrol (ascx) How to filter file types when using the HTMLInputFile control... |
|||||||||||||||||||||||