Click here to Skip to main content
15,907,687 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi,

i created a server control and build it and get the servercontrol dll.

how do i add it in web application??

i want to add the server control in toolbox.

help to solve this issue..
Posted
Updated 21-Oct-13 19:53pm
v2

1 solution

Hi,
follow below steps:

-> Create a new tab as "Custom Controls" in your tool box.
-> Right click on the new tab and select "Choose Items"
-> Browse your "servercontrol.dll"
-> you can see your control added to your tool box tab
-> Drag and Drop that control into your page



hope it works.
 
Share this answer
 
Comments
sankmahesh 22-Oct-13 2:17am    
i try the steps.

it returns error "there are no components in 'Fullpath\servercontrol.dll' that can be placed on the toolbox." like this.

i mistake i do.

can you explain me.
Karthik Harve 22-Oct-13 2:21am    
Then i doubt DLL is not compiled and build properly.
sankmahesh 22-Oct-13 2:22am    
That build successfully
Karthik Harve 22-Oct-13 2:22am    
try by running “devenv/setup” in Visual Studio Command Prompt.
sankmahesh 22-Oct-13 2:32am    
Setting environment for using Microsoft Visual Studio 2010 x86 tools.

c:\Program Files\Microsoft Visual Studio 10.0\VC>devenv/setup

Microsoft (R) Visual Studio Version 10.0.30319.1.
Copyright (C) Microsoft Corp. All rights reserved.

The operation could not be completed. The requested operation requires elevation
.
c:\Program Files\Microsoft Visual Studio 10.0\VC>

that is my result

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900