473,661 Members | 2,448 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Custom control and toolbox tabs

Hi.

I wrote two simple custom controls to help me learn asp.net. Each control is
his own project, I didn't put them on the same assembly. The first control
derives from BaseValidator and the second derives from Textbox. I created a
new web application and selected my controls on the Tools - Add/Remove
Toolbox Items menu option. One of the controls appeared at the Web Forms tab
and the other appeared at the General tab. Why? Shouldn't the two controls
appear on the Web Forms tab? Is it possible to configure a control to appear
at a specific tab on the Toolbox?

TIA,
Erik Cruz
Nov 18 '05 #1
1 1353
Once the control is added to your toolbox, you can drag it from any location
and place it in any tab you want.

Best regards,

Mohammad Samara.
ICS (London) ltd.

"Erik Cruz" <er************ ******@antares. com.br> wrote in message
news:eT******** ******@tk2msftn gp13.phx.gbl...
Hi.

I wrote two simple custom controls to help me learn asp.net. Each control is his own project, I didn't put them on the same assembly. The first control
derives from BaseValidator and the second derives from Textbox. I created a new web application and selected my controls on the Tools - Add/Remove
Toolbox Items menu option. One of the controls appeared at the Web Forms tab and the other appeared at the General tab. Why? Shouldn't the two controls
appear on the Web Forms tab? Is it possible to configure a control to appear at a specific tab on the Toolbox?

TIA,
Erik Cruz

Nov 18 '05 #2

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

Similar topics

2
2578
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 good while and I'm getting really frustrated now! My problem is this - my custom controls periodically disappear from my
3
3657
by: Troy | last post by:
ok, I fat-fingered the Line control in the Crystal Reports tab of the toolbox and now its gone. I can still insert lines with a right-click, but where is the Line control? I found the LineObjectInstance in the object browser, inside .Shared...ViewerObjectModel but can't find any control in the customize toolbox window. How do I get the line control back or restore the Crystal Reports Tab? thx
0
3254
by: Jeremy Chapman | last post by:
I have included below virtually all the code to a control I'm trying to build. My issue is that an array list property in my control does not get persisted properly to the aspx page code in design time. If I type the code in the aspx manually it does get parsed correctly though. This is an example of the aspx code that gets parsed correctly. For some reason, if I changed update the Tab property of the control through the GUI at design...
2
1480
by: Tony Hedge | last post by:
Hello, Framework: NET 1.1, Language VB So I am going through the basic walkthrough example in .NET on how to create a simple custom control. Takes about 2 minutes and when done I have a DLL that I can add to a toolbox in Web app. Problem is, once the control is in my toolbox I cannot drag it onto a web page!!! I get the dreaded 'O' with a line through it. I also tried in HTML view but when I switch to Design view I get a box...
5
1843
by: craigkenisston | last post by:
I created a derived class from "Literal". I put the code in the App_Code folder and the control is working as expected. Now, I wan this control to be in the ToolBox, just like the others, what do I need to do ? Should it be in a separate library file to be able to get this ? Thanks in advance,
15
6506
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 accept other controls. The control i drag drop on it becomes the child of my custom control's parent form and not the child of my custom control. Then i added this line "" before my custom control class (i dont know what this line does). Now
5
3740
by: John Kotuby | last post by:
Hi all, This is my first time trying to creaet and use a custome Web Control in a Web Site project in ASP.NET 2.0 with VS 2005 and VB. I created the control in a separate Web Control Library project. The original code for that control was written in VS 2003 for .NET 1.1. I created a Web Project and pulled the VB module into the project. I compared the syntax to the VB template classs that was built and it looked very similar. I then...
0
1521
by: R.A.F. | last post by:
Hi, I wrote a little app which should add on Toolbox palette my custom controls. however, it does not work. it creates well my TAB with my custom name, but it does not add my custom control. where is the problem ?
1
5250
by: JTC^..^ | last post by:
When I create a custom control inside my Windows Application project it does not appear in the toolbox. I'm using Visual Studio 2005 (Team System for Developers), so this should appear automatically, right? I've compiled the application and selected show all items, but the controls do not appear. If I create an external Windows Control library and import the controls they appear. I also tried resetting the toolbox, then creating a new...
0
8341
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,...
0
8851
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, 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...
0
8754
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8542
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,...
0
7362
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, 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...
1
6181
isladogs
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...
0
5650
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4177
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...
1
2760
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

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.