Kumar Saurabh
April 21st, 2003, 03:11 AM
Hi friends,
I have created a customized tree control in VB.NET and I want to use it in ASP.NET.
How shou I proceed. Right now I cannot add that control in the webform.
Thanks.
V. Lorenzo
April 25th, 2003, 12:00 PM
If the control is a compositional control (ASCX) it might be a little more difficult to be added to your webform, but if it's just a class derived from another class, all you need to do is customize your IDE toolbox.
How? Simple...
1- make the toolbox visible (in my case, I have it in the autohide mode, to have more editing space).
2- Right click over the toolbox area, so a context menu pops out.
3- Click the "Customize toolbox..." option.
4- In the dialog thar appears, click on the ".Net framework components" tab.
5- Click the "Browse" button and locate the DLL generated by the project where you created your tree control.
6- Now the controls list appears updated with the new controls contained in that DLL, deselect the ones that you don't like to put in the toolbox.
7- click the "OK" button and restart the IDE so the changes take effect.
Hope this helps
V.Lorz