473,472 Members | 2,211 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

custom web control help

Hi.

I have created a templated control, and I want to know how i can set it
up so that the projects consuming it will have all the same intellisense
benefits of using any other server control. It will be used by multiple
projects.

Nov 15 '05 #1
4 1455

Hi Scott,

You can add you template control into the tool box as a simple control by
using
"add/remove item" command in tool box.

Also, you can use "add reference" command to add this control's reference,
you can instantiate a object of your control then you can use its
intellisense.

Hope this helps
Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

--------------------
| From: "Scott C. Reynolds" <sr*********@hotmail.com>
| User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5b)
Gecko/20030901 Thunderbird/0.2
| X-Accept-Language: en-us, en
| MIME-Version: 1.0
| Newsgroups: microsoft.public.dotnet.languages.csharp
| Subject: custom web control help
| Content-Type: text/plain; charset=ISO-8859-1; format=flowed
| Content-Transfer-Encoding: 7bit
| Lines: 7
| Message-ID: <T3***********************@bgtnsc05-news.ops.worldnet.att.net>
| NNTP-Posting-Host: 40c28eefae3c706f0b28f8a3f9953605
| X-Complaints-To: ab***@worldnet.att.net
| X-Trace: bgtnsc05-news.ops.worldnet.att.net 1063808371
40c28eefae3c706f0b28f8a3f9953605 (Wed, 17 Sep 2003 14:19:31 GMT)
| NNTP-Posting-Date: Wed, 17 Sep 2003 14:19:31 GMT
| Organization: AT&T Worldnet
| Date: Wed, 17 Sep 2003 14:19:31 GMT
| Path:
cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed 00.sul.t-online.de!t-onlin
e.de!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!wn14fee d!wn13feed!wn11f
eed!worldnet.att.net!bgtnsc05-news.ops.worldnet.att.net.POSTED!not-for-mail
| Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.csharp:185507
| X-Tomcat-NG: microsoft.public.dotnet.languages.csharp
|
| Hi.
|
| I have created a templated control, and I want to know how i can set it
| up so that the projects consuming it will have all the same intellisense
| benefits of using any other server control. It will be used by multiple
| projects.
|
|

Nov 15 '05 #2
i have added the reference, and we don't use it visually so adding it to
the tollbox doesn't help. I've also added it to the GAC. None of these
seem to help.

i pass it a couple of variables in the code-behind file for it to init
with, and in code-behind after doing a protected mycontrol thecontrol; I
get all the members with intellisense, but what i want is for it to be
recognized on the aspx page in the HTML view, such that the IDE knows
the tags for the templates, like it does with a DataGrid. I would think
there would have to be a way to do this....what if I were developing
commercial controls...they wouldn't sell well if they didn't integrate
with the IDE.

Jeffrey Tan[MSFT] wrote:
Hi Scott,

You can add you template control into the tool box as a simple control by
using
"add/remove item" command in tool box.

Also, you can use "add reference" command to add this control's reference,
you can instantiate a object of your control then you can use its
intellisense.

Hope this helps
Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

--------------------
| From: "Scott C. Reynolds" <sr*********@hotmail.com>
| User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5b)
Gecko/20030901 Thunderbird/0.2
| X-Accept-Language: en-us, en
| MIME-Version: 1.0
| Newsgroups: microsoft.public.dotnet.languages.csharp
| Subject: custom web control help
| Content-Type: text/plain; charset=ISO-8859-1; format=flowed
| Content-Transfer-Encoding: 7bit
| Lines: 7
| Message-ID: <T3***********************@bgtnsc05-news.ops.worldnet.att.net>
| NNTP-Posting-Host: 40c28eefae3c706f0b28f8a3f9953605
| X-Complaints-To: ab***@worldnet.att.net
| X-Trace: bgtnsc05-news.ops.worldnet.att.net 1063808371
40c28eefae3c706f0b28f8a3f9953605 (Wed, 17 Sep 2003 14:19:31 GMT)
| NNTP-Posting-Date: Wed, 17 Sep 2003 14:19:31 GMT
| Organization: AT&T Worldnet
| Date: Wed, 17 Sep 2003 14:19:31 GMT
| Path:
cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfee d00.sul.t-online.de!t-onlin
e.de!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!wn14fee d!wn13feed!wn11f
eed!worldnet.att.net!bgtnsc05-news.ops.worldnet.att.net.POSTED!not-for-mail
| Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.csharp:185507
| X-Tomcat-NG: microsoft.public.dotnet.languages.csharp
|
| Hi.
|
| I have created a templated control, and I want to know how i can set it
| up so that the projects consuming it will have all the same intellisense
| benefits of using any other server control. It will be used by multiple
| projects.
|
|


Nov 15 '05 #3

Hi Scott,

I understand your meanning.
To add intellisense support in HTML view, it needs more works to do.
For details, you can refer to the link below:
http://www.ondotnet.com/pub/a/dotnet...dex3.html?page
=4

Hope this helps,
Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

--------------------
| From: "Scott C. Reynolds" <sr*********@hotmail.com>
| User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5b)
Gecko/20030901 Thunderbird/0.2
| X-Accept-Language: en-us, en
| MIME-Version: 1.0
| Newsgroups: microsoft.public.dotnet.languages.csharp
| Subject: Re: custom web control help
| References:
<T3***********************@bgtnsc05-news.ops.worldnet.att.net>
<Iu**************@cpmsftngxa06.phx.gbl>
| In-Reply-To: <Iu**************@cpmsftngxa06.phx.gbl>
| Content-Type: text/plain; charset=ISO-8859-1; format=flowed
| Content-Transfer-Encoding: 7bit
| Lines: 72
| Message-ID: <rN***********************@bgtnsc05-news.ops.worldnet.att.net>
| NNTP-Posting-Host: 42ee9941be519ab480930273aa1225bf
| X-Complaints-To: ab***@worldnet.att.net
| X-Trace: bgtnsc05-news.ops.worldnet.att.net 1063893207
42ee9941be519ab480930273aa1225bf (Thu, 18 Sep 2003 13:53:27 GMT)
| NNTP-Posting-Date: Thu, 18 Sep 2003 13:53:27 GMT
| Organization: AT&T Worldnet
| Date: Thu, 18 Sep 2003 13:53:27 GMT
| Path:
cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!news-out.cwix.com!newsfeed.cwix.co
m!tdsnet-transit!newspeer.tds.net!205.215.62.125.MISMATCH!i n.100proofnews.co
m!in.100proofnews.com!cycny01.gnilink.net!cyclone1 .gnilink.net!wn11feed!worl
dnet.att.net!bgtnsc05-news.ops.worldnet.att.net.POSTED!not-for-mail
| Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.csharp:185810
| X-Tomcat-NG: microsoft.public.dotnet.languages.csharp
|
| i have added the reference, and we don't use it visually so adding it to
| the tollbox doesn't help. I've also added it to the GAC. None of these
| seem to help.
|
| i pass it a couple of variables in the code-behind file for it to init
| with, and in code-behind after doing a protected mycontrol thecontrol; I
| get all the members with intellisense, but what i want is for it to be
| recognized on the aspx page in the HTML view, such that the IDE knows
| the tags for the templates, like it does with a DataGrid. I would think
| there would have to be a way to do this....what if I were developing
| commercial controls...they wouldn't sell well if they didn't integrate
| with the IDE.
|
|
|
| Jeffrey Tan[MSFT] wrote:
|
| >Hi Scott,
| >
| >You can add you template control into the tool box as a simple control
by
| >using
| >"add/remove item" command in tool box.
| >
| >Also, you can use "add reference" command to add this control's
reference,
| >you can instantiate a object of your control then you can use its
| >intellisense.
| >
| >Hope this helps
| >Best regards,
| >Jeffrey Tan
| >Microsoft Online Partner Support
| >Get Secure! - www.microsoft.com/security
| >This posting is provided "as is" with no warranties and confers no
rights.
| >
| >--------------------
| >| From: "Scott C. Reynolds" <sr*********@hotmail.com>
| >| User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5b)
| >Gecko/20030901 Thunderbird/0.2
| >| X-Accept-Language: en-us, en
| >| MIME-Version: 1.0
| >| Newsgroups: microsoft.public.dotnet.languages.csharp
| >| Subject: custom web control help
| >| Content-Type: text/plain; charset=ISO-8859-1; format=flowed
| >| Content-Transfer-Encoding: 7bit
| >| Lines: 7
| >| Message-ID:
<T3***********************@bgtnsc05-news.ops.worldnet.att.net>
| >| NNTP-Posting-Host: 40c28eefae3c706f0b28f8a3f9953605
| >| X-Complaints-To: ab***@worldnet.att.net
| >| X-Trace: bgtnsc05-news.ops.worldnet.att.net 1063808371
| >40c28eefae3c706f0b28f8a3f9953605 (Wed, 17 Sep 2003 14:19:31 GMT)
| >| NNTP-Posting-Date: Wed, 17 Sep 2003 14:19:31 GMT
| >| Organization: AT&T Worldnet
| >| Date: Wed, 17 Sep 2003 14:19:31 GMT
| >| Path:
|
cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfee d00.sul.t-online.de!t-onli n
|e.de!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!wn14fee d!wn13feed!wn11 f
|eed!worldnet.att.net!bgtnsc05-news.ops.worldnet.att.net.POSTED!not-for-mail

| >| Xref: cpmsftngxa06.phx.gbl
microsoft.public.dotnet.languages.csharp:185507
| >| X-Tomcat-NG: microsoft.public.dotnet.languages.csharp
| >|
| >| Hi.
| >|
| >| I have created a templated control, and I want to know how i can set
it
| >| up so that the projects consuming it will have all the same
intellisense
| >| benefits of using any other server control. It will be used by
multiple
| >| projects.
| >|
| >|
| >
| >
| >
|
|

Nov 15 '05 #4
Thank you! that is exactly what i was looking for.

Jeffrey Tan[MSFT] wrote:
Hi Scott,

I understand your meanning.
To add intellisense support in HTML view, it needs more works to do.
For details, you can refer to the link below:
http://www.ondotnet.com/pub/a/dotnet...dex3.html?page
=4

Hope this helps,
Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

--------------------
| From: "Scott C. Reynolds" <sr*********@hotmail.com>
| User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5b)
Gecko/20030901 Thunderbird/0.2
| X-Accept-Language: en-us, en
| MIME-Version: 1.0
| Newsgroups: microsoft.public.dotnet.languages.csharp
| Subject: Re: custom web control help
| References:
<T3***********************@bgtnsc05-news.ops.worldnet.att.net>
<Iu**************@cpmsftngxa06.phx.gbl>
| In-Reply-To: <Iu**************@cpmsftngxa06.phx.gbl>
| Content-Type: text/plain; charset=ISO-8859-1; format=flowed
| Content-Transfer-Encoding: 7bit
| Lines: 72
| Message-ID: <rN***********************@bgtnsc05-news.ops.worldnet.att.net>
| NNTP-Posting-Host: 42ee9941be519ab480930273aa1225bf
| X-Complaints-To: ab***@worldnet.att.net
| X-Trace: bgtnsc05-news.ops.worldnet.att.net 1063893207
42ee9941be519ab480930273aa1225bf (Thu, 18 Sep 2003 13:53:27 GMT)
| NNTP-Posting-Date: Thu, 18 Sep 2003 13:53:27 GMT
| Organization: AT&T Worldnet
| Date: Thu, 18 Sep 2003 13:53:27 GMT
| Path:
cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!news-out.cwix.com!newsfeed.cwix.co
m!tdsnet-transit!newspeer.tds.net!205.215.62.125.MISMATCH!i n.100proofnews.co
m!in.100proofnews.com!cycny01.gnilink.net!cyclone 1.gnilink.net!wn11feed!worl
dnet.att.net!bgtnsc05-news.ops.worldnet.att.net.POSTED!not-for-mail
| Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.csharp:185810
| X-Tomcat-NG: microsoft.public.dotnet.languages.csharp
|
| i have added the reference, and we don't use it visually so adding it to
| the tollbox doesn't help. I've also added it to the GAC. None of these
| seem to help.
|
| i pass it a couple of variables in the code-behind file for it to init
| with, and in code-behind after doing a protected mycontrol thecontrol; I
| get all the members with intellisense, but what i want is for it to be
| recognized on the aspx page in the HTML view, such that the IDE knows
| the tags for the templates, like it does with a DataGrid. I would think
| there would have to be a way to do this....what if I were developing
| commercial controls...they wouldn't sell well if they didn't integrate
| with the IDE.
|
|
|
| Jeffrey Tan[MSFT] wrote:
|
| >Hi Scott,
| >
| >You can add you template control into the tool box as a simple control
by
| >using
| >"add/remove item" command in tool box.
| >
| >Also, you can use "add reference" command to add this control's
reference,
| >you can instantiate a object of your control then you can use its
| >intellisense.
| >
| >Hope this helps
| >Best regards,
| >Jeffrey Tan
| >Microsoft Online Partner Support
| >Get Secure! - www.microsoft.com/security
| >This posting is provided "as is" with no warranties and confers no
rights.
| >
| >--------------------
| >| From: "Scott C. Reynolds" <sr*********@hotmail.com>
| >| User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5b)
| >Gecko/20030901 Thunderbird/0.2
| >| X-Accept-Language: en-us, en
| >| MIME-Version: 1.0
| >| Newsgroups: microsoft.public.dotnet.languages.csharp
| >| Subject: custom web control help
| >| Content-Type: text/plain; charset=ISO-8859-1; format=flowed
| >| Content-Transfer-Encoding: 7bit
| >| Lines: 7
| >| Message-ID:
<T3***********************@bgtnsc05-news.ops.worldnet.att.net>
| >| NNTP-Posting-Host: 40c28eefae3c706f0b28f8a3f9953605
| >| X-Complaints-To: ab***@worldnet.att.net
| >| X-Trace: bgtnsc05-news.ops.worldnet.att.net 1063808371
| >40c28eefae3c706f0b28f8a3f9953605 (Wed, 17 Sep 2003 14:19:31 GMT)
| >| NNTP-Posting-Date: Wed, 17 Sep 2003 14:19:31 GMT
| >| Organization: AT&T Worldnet
| >| Date: Wed, 17 Sep 2003 14:19:31 GMT
| >| Path:
|

cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfe ed00.sul.t-online.de!t-onli

n
|

e.de!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!wn14fee d!wn13feed!wn11

f
|

eed!worldnet.att.net!bgtnsc05-news.ops.worldnet.att.net.POSTED!not-for-mail

| >| Xref: cpmsftngxa06.phx.gbl
microsoft.public.dotnet.languages.csharp:185507
| >| X-Tomcat-NG: microsoft.public.dotnet.languages.csharp
| >|
| >| Hi.
| >|
| >| I have created a templated control, and I want to know how i can set
it
| >| up so that the projects consuming it will have all the same
intellisense
| >| benefits of using any other server control. It will be used by
multiple
| >| projects.
| >|
| >|
| >
| >
| >
|
|


Nov 15 '05 #5

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

Similar topics

8
by: Tinus | last post by:
Hello all, I've create a custom control (UserControl) and have a custom Item Collection. The control is a custom calendar which is draw using the Graphics Rectangle etc. functions. It is drawn...
15
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...
21
by: One Handed Man \( OHM - Terry Burns \) | last post by:
When using a custom control. In order to check and see if values have changed one has to implement the IPostBackDataCollection interface. The values returned for the control seem to be simply a...
7
by: Shimon Sim | last post by:
I have a custom composite control I have following property
2
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...
19
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...
5
by: Alan Silver | last post by:
Hello, I have a products page that takes a product ID in the query string. Based on the product details (from a database), the page then loads up one of a number of custom controls, calls a...
15
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...
2
by: ahmed.maryam | last post by:
Hello Everyone, I designed a custom control that is entirely covered by a picture box. I then dragged this custom control onto a windows form application (called main) and I need to handle mouse...
0
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,...
0
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,...
0
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
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 project—planning, coding, testing,...
0
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...
0
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...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.