We tested it.The problem remains the same. Do not show Agenda view.We do not use this function. Because I don't know whyWe can't adapt to the example.Thanks for the advice
Hi Phonchai,
Thanks for the update.
We have validated your reported problem at our end and our
previously updated sample is working properly. And for further reference, we
have taken a video demo of it and it can be downloaded from the following link,
Video demo: https://www.syncfusion.com/downloads/support/forum/152557/ze/video_demo-1200749271
Kindly try the above solutions and if the issue still
persists at your end kindly try to replicate the reported issue in our
previously updated sample else if share your working sample(if possible) for
the better serve.
Regards,
Hareesh
Please recommend adding button link URLs inDialog Box edit fromThanks for the advice
Hi Phonchai,
Thanks for the update.
We validated your reported query at our end and the
scheduler’s appointment window can be customized as per your requirement and it
can be achieved using appointmentWindowOpen property. And for further
reference kindly refer the below UG link,
UG link: https://help.syncfusion.com/aspnet/schedule/customization#appointment-window-customization
If you have any other concerns please revert for further
assistance.
Regards,
Hareesh
|
<div id="customWindow" style="display: none">
<div id="appWindow">
<form id="custom">
<table width="100%" cellpadding="5">
<tbody>
<tr style="display: none">
<td>
Id:
</td>
<td colspan="2">
<input id="customId" type="text" name="Id" />
</td>
</tr>
<tr>
<td>
Subject:
</td>
<td colspan="2">
<input id="subject" type="text" value="" name="Subject" onfocus="temp()" style="width: 100%" />
</td>
</tr>
<tr>
<td>
Description:
</td>
<td colspan="2">
<textarea id="customdescription" name="Description" rows="3" cols="50" style="width: 100%; resize: vertical"></textarea>
</td>
</tr>
<tr>
<td>
StartTime:
</td>
<td>
@Html.EJ().DateTimePicker("StartTime").Width("150px")
</td>
</tr>
<tr>
<td>
EndTime:
</td>
<td>
@Html.EJ().DateTimePicker("EndTime").Width("150px")
</td>
</tr>
<tr>
<td colspan="3">
<div class="customcheck">AllDay:</div>
<div class="customcheck">
<input id="allDay" type="checkbox" name="AllDay" onchange="allDayCheck()" />
</div>
<div class="customcheck">Recurrence:</div>
<div>
<input id="recurrence" type="checkbox" name="Recurrence" />
</div>
</td>
</tr>
<tr id="summaryTr" style="display:none;">
<td colspan="3">
<div class="recSummary">Summary:</div>
<div>
<label id="recSummary" name="Summary"></label>
</div>
</td>
</tr>
<tr id="editor" style="display:none;">
<td colspan="3">
<div><a id="recedit" onclick="recurrenceRule()">Edit</a></div>
</td>
</tr>
</tbody>
</table>
</form>
<div>
<button type="submit" onclick="customClick()" id="buttonCustom" style="float:right;margin-right:20px;margin-bottom:10px;">Custom</button>
<button type="submit" onclick="cancel()" id="buttonCancel" style="float:right;margin-right:20px;margin-bottom:10px;">Cancel</button>
<button type="submit" onclick="save()" id="buttonSubmit" style="float:right;margin-right:20px;margin-bottom:10px;">Submit</button>
</div>
</div>
<div id="recWindow" style="display: none">
<div style="margin: 0 15%;">
@(Html.EJ().RecurrenceEditor("recurrenceEditor").SelectedRecurrenceType(0).Frequencies(new List<string> { "daily", "weekly", "monthly", "yearly", "everyweekday" }))
</div>
<div>
<button type="submit" id="recCancel">Cancel</button>
<button type="submit" id="recSubmit">Submit</button>
</div>
</div>
</div>
$(function () {
// defining sub-controls used within custom appointment window
$("#buttonCancel").ejButton({ width: '85px' });
$("#buttonCustom").ejButton({ width: '85px' });
$("#buttonSubmit").ejButton({ width: '85px' });
$("#recurrence").ejCheckBox({ change: "recurCheck" });
$("#recCancel,#recSubmit").ejButton({ click: "onRecurrenceClick" });
// defining dialog control to be used as custom appointment window
$("#customWindow").ejDialog({
width: 600,
height: "auto",
position: { X: 200, Y: 100 },
showOnInit: false,
enableModal: true,
title: "Appointment Window",
enableResize: false,
allowKeyboardNavigation: false,
close: "clearFields"
});
});
function customClick() {
window.location = "https://help.syncfusion.com/aspnetmvc/schedule/customization#appointment-window-customization";
} |
very goodvery goodvery good---------------------------window.location = "https://help.syncfusion.com/aspnetmvc/schedule/customization#appointment-window-customization";i can change url pass parameter to Actionvar url = '@Url.Action("Edit", "Schedule")?Id=' + record.Id;Can I do something like a DataGrid Action?function onClickEditRecord(args) {var grid = $("#GridMaster").ejGrid("instance");var index = this.element.closest("tr").index();var record = grid.getCurrentViewData()[index];//alert("Record Details: " + JSON.stringify(record)); //แสดงทั่งหมด//alert("Record Details: " + record.reportId); //เลือก columnvar url = '@Url.Action("Edit", "Schedule")?Id=' + record.Id;window.location.rel='nofollow' href = url;return true; // bResponse;}
Hi Phonchai,
Thanks for the update.
we have validated your shared code and in this you have get
the details of the row which one you clicked. from this we suspect that your
requirement is to get the same action in Scheduler too. If this is your
requirement, we regret to let you know this is option is not available in
scheduler.
If you have any other concerns please revert for further
assistance.
Regards,
Hareesh
--------------------------------------Hello this morning in Thailand We encountered a new problem.First time to create (Create) Time is correct.But Edit time to correct and save the time will not be correct,for example to edit post at 8:00, but when editing it will see 01.00Suggesting methods for fixing tooThank you so much
Attachment: Capture_time_caf23a1b.zip
Hi Phonchai,
Thanks for the update.
We have validated your reported problem and for that we have
checked for the CRUD actions in our previously updated sample by
changing the system’s timezone to (UTC +07:00) Bangkok, Hanoi, Jakarta
but it is working properly at our side. And for the same, we have taken a video
demo of it and it can be downloaded from the following link,
Video demo: https://www.syncfusion.com/downloads/support/forum/152557/ze/video_demo-1146864508
Kindly try our previously updated sample and if the issue still persists at your end kindly try to replicate the same problem in
the above sample else if kindly share the issue reproducing sample(if
possible) for the better serve.
Regards,
Hareesh