iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
I would like to bind the webschedule events right from my own dataTable and or Webgrid. I cant find the datasource. Please help.
Hello,
According to your code and scenario, it is similat to unbound mode. You can create unbound data from the Resource, but not from Event.
At the moment, unbound scenario is not supported yet by WebScheduler.
Hope this helps.
Thank you.
WebScheduler can only bind data from ISDataSource only. It doesn't support to bind data from any datasource controls such as datatable.
However, we have noted this scenario as a Feature Request for the next version of WebScheduler.
WebSchedulerResource res = WebScheduler1.Resources.CreateNewItem();WebSchedulerEventBase ent = res.Events.CreateNewItem(); ent.Subject = dt.Rows[0][dt.Columns[2].ColumnName].ToString(); ent.Description = dt.Rows[0][dt.Columns[2].ColumnName].ToString(); ent.StartTime = Convert.ToDateTime(dt.Rows[0][dt.Columns[0].ColumnName].ToString()); ent.EndTime = Convert.ToDateTime(dt.Rows[0][dt.Columns[0].ColumnName].ToString()); ent.Name = dt.Rows[0][dt.Columns[2].ColumnName].ToString().ToString(); ent.CategoryID = "-1"; ent.AllDayEvent = true; res.Name = ent.EndTime.ToString(); res.ResourceName = ent.EndTime.ToString(); WebScheduler1.Resources.Add(res);
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname