Click here to Skip to main content
15,909,591 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I'm trying to host Kendo based MVC 4 solution in azure but i'm getting hell lot error with kendo in azure web role. Pls can you suggest me how to do and DLL that should be used in Azure
Posted
Comments
[no name] 4-Oct-13 7:33am    
you should specify your code and problem because from here we could not justify or imagine your problem or screen.!!
tpkpradeep 6-Oct-13 3:13am    
Yes Sure I posting my Code below it's really an urgent requirement..!! It's very Urgent..!!!

1 solution

@model List<Logstar.Model.SysAdmin.Admin.GMCountry>
@(Html.Kendo().Grid(Model)
        .Name("GridDMGeo")
    .Columns(columns =>
    {     
        columns.Bound(p => p.CountryId).Width(70).Title("CountryIdEncode").Column.Visible = false;
        //columns.Bound(p => p.CountryCode).ClientTemplate(@Html.ActionLink("#=CountryCode#", "", new { }, new { CountryId = "#=CountryId#", @class = "popupLink" }).ToHtmlString()).HeaderTemplate("<b>Date Since</b>").Width(95);
        columns.Bound(p => p.CountryCode).ClientTemplate(@Html.ActionLink("#=CountryCode#", "ViewCountry", new { CountryIdEncode = ("#=CountryIdEncode#") }).ToHtmlString()).HeaderTemplate("Country Code").Width(70);
        columns.Bound(p => p.CountryName).Width(70).Title("Country Name");
        columns.Bound(p => p.CrtDate).Width(70).Title("Updated On");
        columns.Bound(p => p.CrtBy).Width(70).Title("Updated By");
       
    })
    .Pageable()
    .Sortable() 
    .DataSource(dataSource => dataSource
        .Ajax()
        .ServerOperation(false)
    )
)


My Controller:

SQL
public ActionResult ViewCountryList()
       {

XML
ClsCountry objClsCountry = new ClsCountry();
            ViewBag.Encode = new Func<string, string>(LogstarSecurity.Encode);


return View("GMCountryWL", objClsCountry.GetGMCountry(0));
}

This Works perfectly in Non-Azure but i'm facing issues in Kendo

SQL
For Kendo Grid: Error is ::Index must be within the bounds of the List.Parameter name: index

For Kendo AutoComplete ::Entry point was not found.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900