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 3 1155
This article has some good tips and guidelines:
Creating Custom Web Controls with ASP.NET 2.0 http://msdn2.microsoft.com/en-us/library/ms379565.aspx
--
Chris Fulstow
MCP, MCTS http://chrisfulstow.blogspot.com/
shapper wrote:
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
Hello,
I just tried "Create a Web Control Library".
I have a question:
I am creating a library which will have web controls but will also have
a few classes like a custom Mail class.
My plan is to have the library namespace: MyCompany
Then the classes which have web controls will be in MyCompany.Web.U I
Namespace Web.UI
Class MyWebControl
...
End Class
End Namespace
The Mail class will be inside Web:
Namespace Web
Class Mail
...
End Class
End Namespace
Then I will have other classes wich will be just defined as:
Class MyTraClass
...
End Class
Should i just create a Class Library and then organize myself inside
it?
Thanks,
Miguel
Chris Fulstow wrote:
This article has some good tips and guidelines:
Creating Custom Web Controls with ASP.NET 2.0 http://msdn2.microsoft.com/en-us/library/ms379565.aspx
--
Chris Fulstow
MCP, MCTS http://chrisfulstow.blogspot.com/
shapper wrote:
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
And one more question:
Would I be able to give access to only parts of my class according to
licence?
I know this is to far ahead but I would like to plan all this right so
I will not need to change many things in the future.
Thank You,
Miguel
P.S: I saw that MSDN article. I new it but it doesn't answer to all my
questions.
shapper wrote:
Hello,
I just tried "Create a Web Control Library".
I have a question:
I am creating a library which will have web controls but will also have
a few classes like a custom Mail class.
My plan is to have the library namespace: MyCompany
Then the classes which have web controls will be in MyCompany.Web.U I
Namespace Web.UI
Class MyWebControl
...
End Class
End Namespace
The Mail class will be inside Web:
Namespace Web
Class Mail
...
End Class
End Namespace
Then I will have other classes wich will be just defined as:
Class MyTraClass
...
End Class
Should i just create a Class Library and then organize myself inside
it?
Thanks,
Miguel
Chris Fulstow wrote:
This article has some good tips and guidelines:
Creating Custom Web Controls with ASP.NET 2.0 http://msdn2.microsoft.com/en-us/library/ms379565.aspx
--
Chris Fulstow
MCP, MCTS http://chrisfulstow.blogspot.com/
shapper wrote:
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
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: SammyBar |
last post by:
Hi,
I'm trying to bind a custom collection class to a data grid, following the
guidelines from the article
http://msdn.microsoft.com/msdnmag/issues/05/08/CollectionsandDataBinding/default.aspx.
The problem is the article is in VisualBasic. I already get the collection
to be recognized as a Data Source by the IDE. It populated the DataGrid
correctly from the fields on the items object of the collection, but I can't
get the DataGrid to...
|
by: Nick Haines |
last post by:
I need to write my own custom text edit control.. but I'm not sure where to
start - I've never written a custom control... the features I want are
somewhat similar to the VS .Net text editor - text colouring, collapsible
regions etc... I haven't been able to find anything that could achieve that
which is free...
So what is the suggested starting point? Can I make some kind of control
that derives from a RichEdit box and write my own...
|
by: Tinus |
last post by:
Hello all,
I've created a custom control that draws a monthly schedule (using the Draw
function in C#). Basically it draws 31 boxes and writes the day number in
every box.
This works great. But I now want to show a different tooltip for every day.
For now I found out that I can add a tooltip for the entire custom control
|
by: Dales |
last post by:
I have a custom control that builds what we refer to as "Formlets"
around some content in a page. These are basically content "wrapper"
sections that are tables that have a colored header and provide an
open TD with a DIV in it for the content of this formlet. (The DIV is
for DHTML to hide and show the content)
I've created a web page showing step by step the two problems I'm
encountering. This problem is much easier to see than it...
|
by: Jamey Shuemaker |
last post by:
I'm in the process of expanding my knowledge and use of Class Modules.
I've perused MSDN and this and other sites, and I'm pretty comfortable
with my understanding of Class Modules with the exception of custom
Collection Classes.
Background: I'm developing an A2K .mdb to be deployed as an .mde at my
current job-site. It has several custom controls which utilize custom
classes to wrap built-in controls, and add additional functionality....
| |
by: Piotr Strycharz |
last post by:
Hi,
I need to develop a custom control. The control is going to be something
like Properties window in VS - listview (grid?) with resizable columns and
collapsable sections.
The control needs to be read-only, so I do not need embeded text/listboxes,
but I need pictures and some more features. So I started to extend ListView
control. First I tried to do custom item selection (pseudo-code):
ListView:
|
by: Jon Paal |
last post by:
I have a custom server control which renders some html.
I want to capture some interim values generated by the control as it processes the data.
is there a way to capture and retrieve the interim values generated by the control, so they can be used elsewhere in the display
page ?
|
by: Elmo Watson |
last post by:
I've got VS.Net 2005 - professional
I have an idea for a custom control, which will inherit some databinding
stuff, but I'm not really sure where to start.
There's not anything in the New Project window that lists a Web Custom
Control template, or anything near it - -
At this point - all I need to know is :
What kind of project do I create to start this?
Then - are there any websites that go a little further with ideas and how to
make...
|
by: ChopStickr |
last post by:
I have a custom control that is embedded (using the object tag) in an html document.
The control takes a path to a local client ini file.
Reads the file.
Executes the program specified in the ini on the client's PC.
After the program has ended the control looks in a client side temp folder (specified by the ini file) for an image created by the executed program.
If the image is there, then the control moves the file to a public folder...
|
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, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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,...
| |
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...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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 project—planning, coding, testing, and deployment—without 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...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
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
| |