I entered in work with Telerik RadControls. In web.config telerik set in many places. But can anyone give me algorithm how in new project asp.net (web application) in Visual Studio 2010 add dll? (dll library I have)
If you want to add the items to the toolbox so you can do Drag And Drop, do this:
1). Open Visual Studio
2). Open a new project (or existing)
3). Find your "toolbar" window in VS.
4). Right click in the tool bar white space (somewhere where there are no existing controls)
5). Click "Add Tab"
6). Name this tab "Telerik"
7). Now, right click again, and hit "Choose items"
8). A Window will pop open, you can select your Telerik DLL, and it will fill the tool box with
all the controls you need.
You can then Drag and Drop these controls to your pages.
I hope this helps.
If you have Telerik installed on your Visual Studio machine, but it is not currently part of your project, the easiest way to add the proper Telerik DLLs and web.config entries would be to go to the Telerik menu at the top of your Visual Studio, and select Convert to Telerik Web Site.
You can try with this article
http://www.telerik.com/products/aspnet-ajax/resources/step-by-step.aspx
Related
I have a solution in Visual Studio 2005. I need to change its source control binding from one branch in Visual SourceSafe to another through automation by C# code. I would like to know if there are any APIs to do this.
To bind version controlled projects and solutions to Visual Studio
Highlight the project or solution you wish to bind to Team Foundation version control in Solution Explorer.
On the File menu, click Source Control, and then click Change Source Control.
In Change Source Control dialog box, click Bind.
To unbind version controlled projects and solutions to Visual Studio
Highlight the project or solution you wish to unbind in Team Foundation version control in Solution Explorer.
On the File menu, click Source Control, and then click Change Source Control.
In the Change Source Control dialog box, highlight the solution or project you wish to unbind from version control, and in the toolbar, click Unbind.
It does not seem that there are any official API's that can do this, however Saveen Reddy has uploaded a tool that I have not tested onto codeplex and says it works. Here is the link: Saveen Reddy's blog
I would like to find out if you used it how it went?
I am trying to implement web browser according to this article from msdn.
http://code.msdn.microsoft.com/vstudio/Professional-WebBrowser-dac9c5d0#content
But I have trouble with point 4.2 Adding The NuGet features. I successfully installed the DockPanel Suite via Manage NuGet Packages. This application is WinForms in Visual Studio 2012. After this instalation I should see the DockPanel component in toolbox, but I cannot find it. I tryed everything but still nothing.
What you need to do is:
Open Solution Explorer.
Open the References folder of your project.
Find the reference named 'WeifenLuo.WinFormsUI.Docking'.
Right-click the reference, and then click Properties.
In the Properties window, find the Path item.
Double-click the value of the Path property in order to do a 'Select All,' on it, and then do a Copy to the clipboard.
Right-click the Toolbox, and then choose Choose Items from the menu.
Click Browse on the .NET Components tab.
Paste the path in the Browse dialog box's File name field, and then click Open.
A new checked item, DockPanel, should be visible in the list. Ensure that the check box next to it is checked, and then click OK.
After following these directions, then a DockPanel item should be visible, and you can just drag it to the Designer.
Please note, these directions are for Microsoft Visual Studio 2010 Premium.
I'm using Visual Studio 2005 for a project I'm working on right now. I've created a new, custom control that inherits from 'UserControl'. Now I need to add that control to another Windows Form within the same project. I thought that the IDE would place this custom control into the Toolbox (as I know it's done in the past when I was using Visual Studio 2008), however, it did not. Now, I'm unsure how to get the control added to my form correctly and/or how to make it show up as it should in the Toolbox. The "Auto Toolbox Populate" option under Tools is set to 'True', so I really don't know what else needs to happen at this point. The help of anyone who's had any experience with this would be greately appreciated. Thanks a lot!
You may first build your custom control and create a dll. Then,
Right-click on the Toolbox panel -> Select 'Choose Items' -> Go to '.NET framework components' tab in the 'Choose Toolbox Items' dialog box that appears - > Browse to the dll of your custom user control -> Click OK.
Now the user control will be displaying in your tool box.
Hope this helps...
Try this
Open Solution
Build project
Open your form
Reset the toolbox
Drag the user control from solution explorer to the toolbox
Close the toolbox and all open documents
Open toolbox then the form
User control should appear
worked for me.
I want use the Scintilla controls and the RadControls for Winforms, but I do not know how to incorporate the files. They are in .dll format? How do I use the controls if they are in .dll format?
http://msdn.microsoft.com/en-us/library/wkze6zky%28VS.80%29.aspx
Right click the project, click Add Reference, go to Browse tab, find them and add them.
Generally you would add them to the project you want to use them in, then add a reference, and then use them like any other dll.
For installing into the GAC, see this.
In the winforms toolbox, right click and "Choose Items...", then click the browse button and find the dll. Then go through the list of controls, and check the controls that you've added (usually it will do this step for you).
This knowledge base article on the Telerik website explains how to manually add the controls to the toolbox in Visual Studio.
I am using Visual Studio 2008 SP1 (version 9.0.30729.1). My problem is that the only reporting-related toolbox items I see are 3 "Textbox" controls. Where are the other stuff? Do I need to add a reference to a different assembly?
Here are the steps I take:
1) Open Visual Studio
2) Add new project --> "Reports Application"
3) Open Report1.rdlc
4) Open the toolbox and no controls are available (except the repeating 3 Textbox controls)
Thanks for your help.
My good sense tells me that something got corrupted in your installation.
Here's what I would try before attempting a repair (this happened recently):
I fixed this by going into my profile as follows:
C:\Documents and Settings\MYUSERNAME\Local Settings\Application Data\Microsoft\VisualStudio\8.0\ProjectAssemblies
There are four HIDDEN files in there that make up what is apparently the toolbox cache. If you erase them, they will be re-generated and #13119 will go back to General. As I said, these files appear to be hidden so configure the file explorer accordingly.
Second problem: my User controls disappeared from the toolbox.
I was able to fix it by going into the VS menus:
Visual Studio "Tools" menu
"Options" submenu
"Windows Form Designer" tab
"General" tab
Set "AutoToolboxPopulate" to "True"
My problem was The Report Items Toolbox was showing multiple textboxes instead of valid Report controls.
Solution:
1) Close the visual studio 2005.
2) delete the folders under C:\Documents and Settings\\Local Settings\application Data\microsoft\visualStudio\
3) Open your visual studio 2005 project. It should work
Here is a book reference available through Google Books: http://books.google.com/books?id=b9j0MKXhnygC&pg=PA419&lpg=PA419&dq=vs+2008+Reports+Application+toolbox&source=web&ots=awTO1ibUZH&sig=7iHAUSCZ46_uAjC5lAfLeiXZt_Q&hl=en&sa=X&oi=book_result&resnum=7&ct=result#PPA433,M1
I also did the same (on same VS2008 SP1) and had the exact same items available.
A complete reinstall took care of it.
Thank you!!
This fixed my report designer toolbox. My "report items" group was only showing three textbox items.
I am on Vista though, so the folder was..
C:\Users\Fox\AppData\Local\Microsoft\VisualStudio
I just renamed this and next time VS started it recreated the toolbox and all the items were in place.
Before doing this I had tried to reset the toolbox with a "right-click|reset toolbox" in VS, but it didn't fix the problem, only removing this folder did it.