Ask a Question related to ASP.NET Building Controls, Design and Development.
-
smash2004@gmail.com #1
ASP.NET 2 and custom controls!! How can i create them?
i can't find anything on the net to create a simple custom control with
asp.net 2 and use it in other project..with that i mean having my own
custom control on toolbox to drag it in designtime
in asp.net 1 that was simple...i just built my project and there was
dll which i importet in my tab in toolbox...but in asp.net 2 there are
is no dll generated when i build my project so i can't import
anything...
are there any good tutorials on this, but it has to be ASP.NET 2!!!
or maybe someone can explain me this with a very simple example...
thx in advance
smash2004@gmail.com Guest
-
communication between an application, custom controls, and user controls
Hi, and many thanks in advance... I'm a little lost about how to proceed with communication between an application, custom controls, and user... -
Why the properties of web user controls which inherted from my custom base UI controls MISSED?
Why the properties of web user controls which inherted from my custom base UI controls MISSED? How should I to set enable? -
Custom controls that contain other controls
Okay... maybe this has been done. I hate the Microsoft Tab and Multipage controls. So I'm building my own Tabstrip control. The style and DHTML... -
web custom controls
Hi to all... I have a webform and inside 2 webcontrols like this... Webform.asp |--------------------------------------------------- | ... -
Accessing Properties of Custom Controls child Controls
I am using a Custom Control on a page which renders a button control if required. I need to access the child button control's properties (i.e.... -
Riki #2
Re: ASP.NET 2 and custom controls!! How can i create them?
[email]smash2004@gmail.com[/email] wrote:
I guess you're using Visual Web Developer 2005 Express?> i can't find anything on the net to create a simple custom control
> with asp.net 2 and use it in other project..with that i mean having
> my own custom control on toolbox to drag it in designtime
>
> in asp.net 1 that was simple...i just built my project and there was
> dll which i importet in my tab in toolbox...but in asp.net 2 there are
> is no dll generated when i build my project so i can't import
> anything...
>
> are there any good tutorials on this, but it has to be ASP.NET 2!!!
>
> or maybe someone can explain me this with a very simple example...
>
> thx in advance
In that case, you can't create custom controls with it. You need
Visual Studio 2005. You could also compile your files manually
into a dll with csc or vbc.
Create a batch file "build.bat", with content like this:
SET source=myfile1.vb myfile2.vb
SET target=bin\mydll.dll
SET
assemblies=system.web.dll,system.dll,system.xml.dl l,system.design.dll,system.drawing.dll
SET compiler=%WINDIR%/Microsoft.NET/Framework/v2.0.50215
SET res1=.\mybitmap.bmp,mynamespace.mybitmap.bmp
SET res2=.\myresource.resx
%compiler%\vbc /t:library /out:%target% /r:%assemblies% %source% /res:%res1%
/res:%res2% /nowarn
pause
Replace vbc with csc if you use C#, and replace 2.0.50215 with the correct
version number.
--
Riki
Riki Guest



Reply With Quote

