I'm looking for an asp.net calendar/scheduler control that will allow for single click entry.
我正在寻找一个允许单击输入的asp.net日历/调度程序控件。
I checked out Telerik and a few others but they seem to require double click, and then a prompt, then entry then save.
我检查了Telerik和其他几个,但他们似乎需要双击,然后提示,然后输入然后保存。
The control should act like a grid where we could input data, tab between days etc.. making it very easy to populate data for that month
控件应该像一个网格,我们可以在这里输入数据,在天之间选项卡等等。这样可以很容易地填充该月的数据
Any suggestions?
1 个解决方案
#1
0
That's a tough call. Most calendaring packages that I have seen require a double-click to begin entry from the schedule view. In this way, the interface can differentiate between selecting a date or time window and attempting to create or edit an entry.
这是一个艰难的电话。我见过的大多数日历包都需要双击才能从日程表视图开始输入。通过这种方式,界面可以区分选择日期或时间窗口以及尝试创建或编辑条目。
In the Telerik RadScheduler control you could override the OnClientTimeClick event to immediately call Scheduler.showInsertFormAt. This could give you the single-click effect you are looking for:
在Telerik RadScheduler控件中,您可以覆盖OnClientTimeClick事件以立即调用Scheduler.showInsertFormAt。这可以为您提供所需的单击效果:
<telerik:RadScheduler ID="RadScheduler1" runat="server"
DayStartTime="05:00:00" DayEndTime="18:00:00"
DataKeyField="Id" DataSubjectField="Subject" DataStartField="StartDateTime" DataEndField="EndDateTime"
OnClientTimeSlotClick="onTimeSlotClick"></telerik:RadScheduler>
<script type="text/javascript">
function onTimeSlotClick(sender, eventArgs) {
var scheduler = $find('<%= RadScheduler1.ClientID %>');
scheduler.showInsertFormAt(eventArgs.get_targetSlot());
}
</script>
#1
0
That's a tough call. Most calendaring packages that I have seen require a double-click to begin entry from the schedule view. In this way, the interface can differentiate between selecting a date or time window and attempting to create or edit an entry.
这是一个艰难的电话。我见过的大多数日历包都需要双击才能从日程表视图开始输入。通过这种方式,界面可以区分选择日期或时间窗口以及尝试创建或编辑条目。
In the Telerik RadScheduler control you could override the OnClientTimeClick event to immediately call Scheduler.showInsertFormAt. This could give you the single-click effect you are looking for:
在Telerik RadScheduler控件中,您可以覆盖OnClientTimeClick事件以立即调用Scheduler.showInsertFormAt。这可以为您提供所需的单击效果:
<telerik:RadScheduler ID="RadScheduler1" runat="server"
DayStartTime="05:00:00" DayEndTime="18:00:00"
DataKeyField="Id" DataSubjectField="Subject" DataStartField="StartDateTime" DataEndField="EndDateTime"
OnClientTimeSlotClick="onTimeSlotClick"></telerik:RadScheduler>
<script type="text/javascript">
function onTimeSlotClick(sender, eventArgs) {
var scheduler = $find('<%= RadScheduler1.ClientID %>');
scheduler.showInsertFormAt(eventArgs.get_targetSlot());
}
</script>