CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums

ASP.NET Web Hosting – 3 Months Free!



Zone: > NEWSGROUP > Asp.Net Forum > windows_hosting.hosting_open_forum Tags:
Item Type: NewsGroup Date Entered: 12/13/2003 2:23:52 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 1 Views: 20 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
2 Items, 1 Pages 1 |< << Go >> >|
fuali
Asp.Net User
Toolbox Hiding of My Template Control Containers...12/13/2003 2:23:52 AM

0/0

Here is the story. I have made a Templated Custom Web Control. In the assembly there are a handful of Container class that deal with the tags in the control.

My problem is, since these class inherit the control class, whenever you add the control to the toolbox in VS.NET it adds all the container classes.

So how can I prevent this? I have tried making the container class "internal" instead of public, but it breaks the control.

So the real question is, How do you keep control classes that you don't want to show up in the toolbox when adding a particular assembly containing a class for a control you want to show up in the tool box?
master4eva
Asp.Net User
Re: Toolbox Hiding of My Template Control Containers...12/13/2003 6:49:14 AM

0/0

Simply add an attribute to the class:

[ToolboxItem(false)]
public class Whatever : Control {
// Zzzzz
}

-- Justin Lovell
2 Items, 1 Pages 1 |< << Go >> >|


Free Download:


Web:
Toolbox Hiding of My Template Control Containers... - ASP.NET Forums Toolbox Hiding of My Template Control Containers... Last post 12-13-2003 1:49 AM by master4eva. ... Re: Toolbox Hiding of My Template Control Containers. ...
Using Encoder Templates in your Silverlight Application Now we can use the control. Here’s the XAML for adding it to my application .... and set the height or width of those controls or control containers to 0. ...
ActiveX How can I provide an Align property for my control? The container provides the Align property (and .... The ActiveX control will now appear on the Toolbox. ...
.NET csharp Re: Tab Control - Block CTRL+Tab There kind of is, but only a static template! I created a user control called ucTemplate in my project. Then you just go File -> Export ...
Dynamic Templates for the Repeater, DataList and DataGrid Controls We should add a @Control directive, as this is actually a user control file. We must also cast the Container object to DataListItem, because the template is ...
What is Repeater control? Repeater control is a container control which is template based with no ... Drag and Drop Repeater control from Data section of the Toolbox ...
Taking Full Control: Build Your Own Reusable Datalist with VS.NET Nov 12, 2003 ... This way the container, like a datalist, of the LinkButton can use an ... NET datalist consists entirely of templates. The control has the ...
VivoCiti.com - a livelier city for collaborating and sharing ... index.php (template), to control the contents that is going to be displayed ... much thing but it is just a simple container for you to load your predefined ...
CodeProject: A Custom Dialog Box Control. Free source code and ... Oct 22, 2005 ... One solution would be to add an action verb (Show/hide control) to the ... That version used the old style for generating control templates, ...
15 Seconds : The .NET Architect: Enterprise Template Policy Files NET Web Control Project; Enterprise Template Editor Windows Control; Enterprise Template Editor Framework. (To my loyal readers, please note my new e-mail ...




Search This Site:










web.sitemap and url query parameters

web application and master pages

treeview

css placed in app_themes not placed in <head> ?

master pages across multiple web apps

treeview duplicated values issue

loading controls inside placeholder and using them across postback

defaultbutton property with master page

adding cssclass attribute to contentplaceholder

asp.net web navigation with user interface process application block

treeview and javascript

server.htmlencode not working in masterpage environment

master page, css not affecting page outside of ide

centering a page using css

treeview: re-click selected node

menu rendering problem- no spacing

using masterpage without design time feature..

css doesn't apply

finding control on masterpage

when to reset the state of a masterpage multivew activeindex, if you are reloading a content page?

change all site layout dinamically

expand a tree view parent node when node text is selected

master page error

making the menu within my master page unmovable

can't get a treeview node value from the master page?

how to set the position of the menu items ussing the menu control on asp.net?

how to handle events between master page and child .aspx pages

how to call form elements?

label control in content place holder help

vertical alignment problem using master pages

  Privacy | Contact Us
All Times Are GMT