Custom Control

  • Thread starter Thread starter shapper
  • Start date Start date
S

shapper

Hello,

I am starting to create various custom controls for Asp.Net 2.0 and I
am using Visual Studio 2005.

I have a few questions:

1. Should I use the Web Site or Project Model?
I believe Project Model allows me to embed the resources (images,
css files, etc) into my DLL.
Maybe this is better for distribution?
2. When creating a control which option in VS2005 should I use?
I create all my control in my VB code.
Component, UserControl, etc?

As I said I have the plan for 5 Asp.Net controls so I need to decide
how to start.

Thanks,
Miguel
 
I would use controls in a project model.

Project - Website [Main Program]
Project - DataControls [Class Libriary]
Project - Custom Controls [User Controls]

See how you divide your solution?

Imagine each project in your solution as subjects in a classroom. They are
seperate ideas, but they are all related. When you update your solution (you
know how programmers are, never satified with their creation, *LOL*) you can
easily find the code.
Hope this helps, and good luck!

--
Thiele Enterprises - The Power Is In Your Hands Now!

--
Hello,

I am starting to create various custom controls for Asp.Net 2.0 and I
am using Visual Studio 2005.

I have a few questions:

1. Should I use the Web Site or Project Model?
I believe Project Model allows me to embed the resources (images,
css files, etc) into my DLL.
Maybe this is better for distribution?
2. When creating a control which option in VS2005 should I use?
I create all my control in my VB code.
Component, UserControl, etc?

As I said I have the plan for 5 Asp.Net controls so I need to decide
how to start.

Thanks,
Miguel
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Custom Control. How to start? 3
Control 1
Embed resource 1
Vista Sidebar gadget controls disappear 2
Use image in web control 1
Vb.net 2008 custom controls 1
How to Create a user Control 1
User controls in VS 2005 2

Back
Top