Hi
Iam trying to bind some data to a RadSchedueler, my problem however is that i would like multiple information to be shown, starttime, end time, comment and type
First i tried using LinQ to retrieve the information however it cannot format the information correctly while also Concattinating the strings.
Iam trying to bind some data to a RadSchedueler, my problem however is that i would like multiple information to be shown, starttime, end time, comment and type
First i tried using LinQ to retrieve the information however it cannot format the information correctly while also Concattinating the strings.
DataClasses1DataContext db = new DataClasses1DataContext();
var q = from v in db.vagtPlans
where v.start < v.slut
select new { v.vagt_dato, v.start, v.slut, kommentar = String.Concat(v.start.Value.ToShortTimeString(),v.kommentar) };
this.RadScheduler1.DataSource = q;
this.RadScheduler1.Rebind();
DataClasses1DataContext db = new DataClasses1DataContext();
var q = from v in db.vagtPlans
where v.start < v.slut
select new { v.vagt_dato, v.start, v.slut, kommentar = v.kommentar };
this.RadScheduler1.DataSubjectField = "start + slut";
this.RadScheduler1.DataSourceID = null;
this.RadScheduler1.DataSource = q;
this.RadScheduler1.Rebind();
How do i do this, is there somewhere where i can change what the Scheduler renders as subject or ?