This is a migrated thread and some comments may be shown as answers.

Telerik report viewer can't drag and drop

6 Answers 226 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Chris @ Intrinsic
Top achievements
Rank 1
Chris @ Intrinsic asked on 02 Jun 2011, 06:04 AM
I've installed Telerik reporting just now.(actually I've installed it 3 times now, because it doesn't work.)  I can't drag the report viewer control to a .aspx page.  Why is that?  The machine next to me works fine, and the developer told me he had a very hard time getting the report configuration to actually work.  Why?  He doesn't remember what he did, but it took him a long time to actually get telerik reporting configured in VS2010.  What are the Exact steps to follow to get telerik reporting actually working?  I've followed all the documentation, which doesn't work as I just mentioned.  So, what needs to be done exactly?  Any, why isn't this posted along with the documentation? 

6 Answers, 1 is accepted

Sort by
0
IvanDT
Telerik team
answered on 02 Jun 2011, 05:35 PM
Hello Chris,

 Can you give us more comprehensive information about what is going on when trying to drag&drop the Report Viewer? Does any error appear when you drag&drop? Do you add the Report Viewer in Design or in Source view, because references to Telerik.Reporting will be added only if Report Viewer is add in Design. Here is a How-To article that can help you.

Greetings, IvanDT
the Telerik team

 

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Chris @ Intrinsic
Top achievements
Rank 1
answered on 02 Jun 2011, 06:22 PM
No error appears at all. It just doesn't place the tag in source view.  But, with radeditor or any other control, source view works fine when I drag and drop, it appears. 
0
Chris @ Intrinsic
Top achievements
Rank 1
answered on 02 Jun 2011, 06:41 PM
I tried dragging it in design mode, and nothing happens.  Nothing gets changed on the web.config either.  After I manually add this code: 

<%

 

@ Register Assembly="Telerik.ReportViewer.WebForms, Version=5.0.11.316, Culture=neutral, PublicKeyToken=a9d7983dfcc261be"

 

 

 

Namespace="Telerik.ReportViewer.WebForms" TagPrefix="telerik" %>

 



then, I can add telerik report viewer, Only by typing

<

 

 

telerik:ReportViewer></telerik:ReportViewer>

 



So, there's something wrong with my installation, and there shouldn't be.  Also, I installed v5.0.11.510  by mistake, as I had no idea I had to install 5.0.11.316(since the main projects are all 316.).  So, I uninstalled 510, and installed 316, and I'm seeing this problem.  But, that makes me think that I could probably never get this working, once I actually try to build reports, etc.
0
Steve
Telerik team
answered on 06 Jun 2011, 01:09 PM
Hello Chris,

As my colleague explained in previous reply, you should add the viewer to the Design View. This is required as we add two references for the web viewer - Telerik Reporting.dll and Telerik.ReportViewer.WebForms.dll and the only Visual Studio mechanism for adding more than one reference for a single control is in Design view.
We've not been contacted with a problem adding the web viewer to an aspx page, so if you're still having problems we would appreciate if you provide us with detailed steps or a short video where the issue can be observed.

Greetings,
Steve
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Chris @ Intrinsic
Top achievements
Rank 1
answered on 06 Jun 2011, 06:09 PM
The problem was that the telerik installation didn't work, even though I installed and uninstalled multiple times.  I noticed a 'reset toolbox' option on the VS2010 toolbox, so I clicked it.  After that, all of a sudden The Report designer toolbox section appeared, and in the aspx page where the report viewer was placed, I can now drag and drop in both design and source view mode.  I know that it is supposed to work in both source and design view when you drag and drop, just like every other control.  But, I had to reset the toolbox twice, probably because I had 2 visual studio instances open at once.

Thanks.
0
Jorge Sanchez
Top achievements
Rank 2
answered on 02 Mar 2012, 06:32 PM
Thanks that did it for me, in case you don't know how to reset the toolbox here are some instructions

in Main Menu Select "Tools" option, in the context menu select "Toolbox Items"

Select the .NET FrameWork Components tab

Click on "Reset" button, last in the lower right corner and answer yesto prompt

Close the "Toolbox Items" window

In case items are not displayed open "Toolbox View" and right click on toolbox and select "reset" in the context menu.

Also if you see any weird "controls" in the .NET FrameWork Components tab when you opened it you better unmark them.


Tags
General Discussions
Asked by
Chris @ Intrinsic
Top achievements
Rank 1
Answers by
IvanDT
Telerik team
Chris @ Intrinsic
Top achievements
Rank 1
Steve
Telerik team
Jorge Sanchez
Top achievements
Rank 2
Share this question
or