5 Answers, 1 is accepted
0
Accepted
Hi nachid,
Atanas Korchev
the Telerik team
Our initial tests didn't show any incompatibilities. Do let us know if you find any. By the way have in mind that we do not support any of the new features of ASP.NET MVC 3. We will integrate once we have a dedicated ASP.NET MVC 3 build of Telerik.Web.Mvc.dll.
Regards,Atanas Korchev
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
nachid
Top achievements
Rank 1
answered on 07 Oct 2010, 04:11 PM
In the new MVC3, they added two new separate Assemblies
- System.Web.Helpers
- System.Web.WebPages
They were missing in my project and this was conflicting with Telerik assembly
I added them and everything is ok now
I added them and everything is ok now
0
a c
Top achievements
Rank 1
answered on 13 Oct 2010, 08:19 AM
<div class="shrinkBox">
<h2>Control Panel : Summary</h2>
<div class="shrinkForm">
@Html.Telerik().TabStrip().Name("tabs").Items(tabs =>{
tabs.Add()
.Text("Summary")
.Selected(true)
.Content(@<text>
@foreach(var item in (IDictionary<TimeSpan, SystemHealthDTO>)Model){
var duration = item.Key;
var status = item.Value;
<div style="padding:16px;float:left">
<h3 style="margin:2px;padding:0;text-decoration:underline">Last @duration</h3>
<ul style="margin:0;padding:0px">
<li style="list-style: none none;padding:2px">Url Created : @status.UrlCreated</li>
<li style="list-style: none none;padding:2px">Url Visited : @status.UrlVisited</li>
<li style="list-style: none none;padding:2px">User Created : @status.UserCreated</li>
<li style="list-style: none none;padding:2px">User Visited : @status.UserVisited</li>
</ul>
</div>
}
<div class="clear"></div>
</text>); tabs.AddUrls()
.AddUsers()
.AddBannedIPs()
.AddBannedDomains()
.AddReservedAliases()
.AddBadWords();
})
</div>
</div>
error:
Compiler Error Message: CS1593: commissioned the "System.Action" did not use a parameter
Source Error:
Line 18:. Text ("Summary")
Line 19:. Selected (true)
Line 20:. Content (@ <text>
Line 21: @ foreach (var item in (IDictionary <TimeSpan, SystemHealthDTO>) Model) {
Line 22: var duration = item.Key;
<h2>Control Panel : Summary</h2>
<div class="shrinkForm">
@Html.Telerik().TabStrip().Name("tabs").Items(tabs =>{
tabs.Add()
.Text("Summary")
.Selected(true)
.Content(@<text>
@foreach(var item in (IDictionary<TimeSpan, SystemHealthDTO>)Model){
var duration = item.Key;
var status = item.Value;
<div style="padding:16px;float:left">
<h3 style="margin:2px;padding:0;text-decoration:underline">Last @duration</h3>
<ul style="margin:0;padding:0px">
<li style="list-style: none none;padding:2px">Url Created : @status.UrlCreated</li>
<li style="list-style: none none;padding:2px">Url Visited : @status.UrlVisited</li>
<li style="list-style: none none;padding:2px">User Created : @status.UserCreated</li>
<li style="list-style: none none;padding:2px">User Visited : @status.UserVisited</li>
</ul>
</div>
}
<div class="clear"></div>
</text>); tabs.AddUrls()
.AddUsers()
.AddBannedIPs()
.AddBannedDomains()
.AddReservedAliases()
.AddBadWords();
})
</div>
</div>
error:
Compiler Error Message: CS1593: commissioned the "System.Action" did not use a parameter
Source Error:
Line 18:. Text ("Summary")
Line 19:. Selected (true)
Line 20:. Content (@ <text>
Line 21: @ foreach (var item in (IDictionary <TimeSpan, SystemHealthDTO>) Model) {
Line 22: var duration = item.Key;
0
Phat Nguyen
Top achievements
Rank 1
answered on 15 Oct 2010, 03:59 AM
I use Telerik with MVC3 and raise this error:
Compiler Error Message: CS1061: 'System.Web.Mvc.HtmlHelper<object>' does not contain a definition for 'Telerik' and no extension method 'Telerik' accepting a first argument of type 'System.Web.Mvc.HtmlHelper<object>' could be found (are you missing a using directive or an assembly reference?)
Source Error:
Source File: e:\Code\ASP.NET\Projects\eShopMVC3\eShopMVC3\Views\Shared\_Layout.cshtml Line: 5
I added in web.config
Who can help me?
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.Compiler Error Message: CS1061: 'System.Web.Mvc.HtmlHelper<object>' does not contain a definition for 'Telerik' and no extension method 'Telerik' accepting a first argument of type 'System.Web.Mvc.HtmlHelper<object>' could be found (are you missing a using directive or an assembly reference?)
Source Error:
|
Source File: e:\Code\ASP.NET\Projects\eShopMVC3\eShopMVC3\Views\Shared\_Layout.cshtml Line: 5
I added in web.config
<add namespace="Telerik.Web.Mvc.UI" />
<add namespace="Telerik.Web.Mvc" />
Who can help me?
0
Gordon
Top achievements
Rank 1
answered on 15 Oct 2010, 07:27 AM
@Phat: The ASP.NET MVC 3 Beta has a different namespaces config section than the WebForms one -- check this StackOverflow thread.