Click here to Skip to main content
15,887,267 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionLinkhub Pin
Member 1279506215-Oct-16 2:40
Member 1279506215-Oct-16 2:40 
AnswerRe: Linkhub Pin
Richard MacCutchan15-Oct-16 6:19
mveRichard MacCutchan15-Oct-16 6:19 
Questionhow to send autogenerated sms to the number given by the user Pin
Member 1279468314-Oct-16 20:39
Member 1279468314-Oct-16 20:39 
AnswerRe: how to send autogenerated sms to the number given by the user Pin
Ovie Prince Tegaton15-Oct-16 6:03
professionalOvie Prince Tegaton15-Oct-16 6:03 
QuestionBioPlugIn ActxControl Pin
Sampat Kamble13-Oct-16 2:11
Sampat Kamble13-Oct-16 2:11 
AnswerRe: BioPlugIn ActxControl Pin
Richard MacCutchan13-Oct-16 5:58
mveRichard MacCutchan13-Oct-16 5:58 
GeneralRe: BioPlugIn ActxControl Pin
Mycroft Holmes13-Oct-16 14:59
professionalMycroft Holmes13-Oct-16 14:59 
QuestionKendo Grid Issues Pin
eejaynic12-Oct-16 11:29
eejaynic12-Oct-16 11:29 
For the life of me I can't understand why my grid won't populate. I'm sending my data from the controller to the view but the grid is always blank.

public JsonResult PopulateGrid()
       {
           var x = (from n in dbContext1.GetOrders("Melody Devoe") select n);
           List<string> items = new List<string>();

           foreach (var item in x)
           {
               items.Add(item.ToString());
           }

           //List<CentralBilling.Models.GetOrders_Result> returnList = new List<CentralBilling.Models.GetOrders_Result>();
           return Json(items.ToList(), JsonRequestBehavior.AllowGet);
           //return Json(items.ToDataSourceResult(request));
       }


Here's the cshtml
<pre lang="HTML"><div class="a">
@(Html.Kendo().Grid<CentralBilling.Models.GetOrders_Result>()
.Name("gridRater")
.DataSource(datasource => datasource
.Ajax()
.Read(read => read.Action("Customers_Read", "Home")))
.Columns(columns =>
{
columns.Bound(o => o.Order_Number);
columns.Bound(o => o.ActDate);
//columns.Bound(o => o.Agent_Role);
//columns.Bound(o => o.aom_shipment_type);
//columns.Bound(o => o.Delay);
//columns.Bound(o => o.DeadlineDist);
//columns.Bound(o => o.DistStatus);
//columns.Bound(o => o.SubmitDate);
//columns.Bound(o => o.LastAct);
//columns.Bound(o => o.LastComment);
})
.Sortable()
.Scrollable()
.Filterable()
.Selectable()
)
</div>
AnswerRe: Kendo Grid Issues Pin
Vincent Maverick Durano17-Oct-16 9:12
professionalVincent Maverick Durano17-Oct-16 9:12 
QuestionRead xml string Pin
trungysp198610-Oct-16 14:36
trungysp198610-Oct-16 14:36 
AnswerRe: Read xml string Pin
Richard MacCutchan10-Oct-16 21:59
mveRichard MacCutchan10-Oct-16 21:59 
QuestionNeed help on how to insert yes/no toggle switch value into Sql table Pin
Bootzilla3310-Oct-16 10:17
Bootzilla3310-Oct-16 10:17 
SuggestionRe: Need help on how to insert yes/no toggle switch value into Sql table Pin
Richard MacCutchan10-Oct-16 22:00
mveRichard MacCutchan10-Oct-16 22:00 
AnswerRe: Need help on how to insert yes/no toggle switch value into Sql table Pin
Mycroft Holmes10-Oct-16 22:57
professionalMycroft Holmes10-Oct-16 22:57 
AnswerRe: Need help on how to insert yes/no toggle switch value into Sql table Pin
Richard Deeming11-Oct-16 2:21
mveRichard Deeming11-Oct-16 2:21 
AnswerRe: Need help on how to insert yes/no toggle switch value into Sql table Pin
ZurdoDev11-Oct-16 3:21
professionalZurdoDev11-Oct-16 3:21 
SuggestionSuggesion Pin
Zarak Ali7-Oct-16 22:27
Zarak Ali7-Oct-16 22:27 
GeneralRe: Suggesion Pin
Afzaal Ahmad Zeeshan7-Oct-16 23:43
professionalAfzaal Ahmad Zeeshan7-Oct-16 23:43 
GeneralRe: Suggesion Pin
Richard MacCutchan8-Oct-16 2:39
mveRichard MacCutchan8-Oct-16 2:39 
AnswerRe: Suggesion Pin
ZurdoDev10-Oct-16 9:48
professionalZurdoDev10-Oct-16 9:48 
GeneralRe: Suggesion Pin
mbb0111-Oct-16 4:12
mbb0111-Oct-16 4:12 
QuestionHow to adjust multiple textboxes in a row with browser window size Pin
Bootzilla336-Oct-16 12:35
Bootzilla336-Oct-16 12:35 
AnswerRe: How to adjust multiple textboxes in a row with browser window size Pin
Richard Deeming7-Oct-16 2:00
mveRichard Deeming7-Oct-16 2:00 
GeneralRe: How to adjust multiple textboxes in a row with browser window size Pin
Bootzilla3310-Oct-16 10:16
Bootzilla3310-Oct-16 10:16 
QuestionLog all request of Web API 2 (DelegatingHandler vs ActionFilterAttribute) Pin
Bastien Vandamme5-Oct-16 16:11
Bastien Vandamme5-Oct-16 16:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.