- Home
- Forum
- ASP.NET Core - EJ 2
- Card Template in Scheduler
Card Template in Scheduler
Hi,
Thanks
SIGN IN To post a reply.
5 Replies
1 reply marked as answer
PN
Praveenkumar Narasimhanaidu
Syncfusion Team
March 9, 2021 03:42 PM UTC
Hi Tümer,
Greetings from Syncfusion support..!
We have validated your requirement “Card template in scheduler” and achieved your requirement with the help of event template in scheduler. You can change cell height according to your requirement using scheduler cssClass property. We have prepared sample with shared requirements which can be downloaded from following link.
Index.cshtml
|
<ejs-schedule id="schedule" height="550" selectedDate="new DateTime(2018, 2, 15)" views="@ViewBag.view" cssClass="schedule-cell-dimension">
<e-schedule-eventsettings dataSource="@ViewBag.datasource" template="@ViewBag.template"></e-schedule-eventsettings>
</ejs-schedule> |
HomeController.cs
|
public IActionResult Index()
{
ViewBag.datasource = GetWebinarData();
ViewBag.template = "<div class='template-wrap'><div class='e-card' ><div class='e-card-image'><div class='e-card-title'><div class='subject'>${Subject}</div></div></div> <div class='e-card-content' ><div class='description'>${Description}</div></div></div></div>";
return View();
} |
Please refer to below UG links for more information.
Cell Dimensions: https://ej2.syncfusion.com/aspnetcore/documentation/schedule/cell-customization/#setting-cell-dimensions-in-all-views
Event Template: https://ej2.syncfusion.com/aspnetcore/documentation/schedule/appointments/#appointment-customization
Kindly try the above solution and get back to us if you need any further assistance.
Regards,
Praveenkumar.
Marked as answer
TÜ
Tümer
March 9, 2021 04:32 PM UTC
Hi,
Thank you for your answer. I am not allowed sign in the link you provided. Access Denied!
Regards,
Tümer
Thank you for your answer. I am not allowed sign in the link you provided. Access Denied!
Regards,
Tümer
NR
Nevitha Ravi
Syncfusion Team
March 10, 2021 06:38 AM UTC
Hi Tümer,
Thanks for your update.
Could you please confirm whether you couldn’t download the shared sample or not able to refer the documentation link? Also please share the screenshot of the problem to help you out.
Regards,
Nevitha
TÜ
Tümer
March 10, 2021 06:43 AM UTC
Hi,
When i click the link, i'm directed to another page.
Regards,
Tümer
Attachment: Capture_d4180f29.rar
When i click the link, i'm directed to another page.
Regards,
Tümer
Attachment: Capture_d4180f29.rar
NR
Nevitha Ravi
Syncfusion Team
March 10, 2021 07:05 AM UTC
Hi Tümer,
Sorry for the inconveniences.
Please find the proper downloadable link and let us know if you need any further assistance.
Regards,
Nevitha
SIGN IN To post a reply.