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

Error Rendering Control

5 Answers 99 Views
ListView
This is a migrated thread and some comments may be shown as answers.
Jon Hayes
Top achievements
Rank 1
Jon Hayes asked on 28 May 2010, 03:53 PM
I get this error when dropping a RadListView onto the form. There was an error rendering control. The Radlistview control does not have an Item Template specified. All other controls seem to work fine, just this one is throwing an error.

I have Visual Studio 2008 SP1 and have reinstalled the Telerik package.

I am using Q1 2010 AJAX ASP.NET 3.5

thanks

5 Answers, 1 is accepted

Sort by
0
BaiH
Top achievements
Rank 1
answered on 28 May 2010, 05:05 PM
I think the error may be trying to tell you something, listen carefully and hear its wisdom.

--BH
0
Jon Hayes
Top achievements
Rank 1
answered on 28 May 2010, 05:17 PM
Maybe I am just being stupid. Are you suggesting that I add an Item Template to a control that has not been placed on the form yet?
0
BaiH
Top achievements
Rank 1
answered on 28 May 2010, 05:28 PM
Clearly the "error" is telling you that you should set an item template as it is required for the ListView control. So you either declare it in the control's declaration or use the smart tag to EditTemplates.

--BH
0
Jon Hayes
Top achievements
Rank 1
answered on 28 May 2010, 05:38 PM
So you are saying that when I drag the control from the toolbox and drop it on the form, it is normal behavior to receive this error message? The smart tag also does not display the Open Layout Editor option which strikes me as odd. I appreciate your help but it sounds like I am not describing this problem correctly.
0
Louis
Top achievements
Rank 1
answered on 25 Jan 2011, 09:23 PM
I just noticed the same problem.
Tags
ListView
Asked by
Jon Hayes
Top achievements
Rank 1
Answers by
BaiH
Top achievements
Rank 1
Jon Hayes
Top achievements
Rank 1
Louis
Top achievements
Rank 1
Share this question
or