使用UpdatePanel时,RadScheduler不会调用OnAppointmentCommand事件 [英] RadScheduler doesnot call OnAppointmentCommand event when UpdatePanel is used

查看:116
本文介绍了使用UpdatePanel时,RadScheduler不会调用OnAppointmentCommand事件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用RadSchduler,在其中使用UpdatePanel之前,onappointmentcommand可以很好地工作.但是,当我使用UpdatePanel时,它永远不会将事件(当我插入/取消时)称为约会.

任何形式的帮助都可以.

以下是我正在使用的代码

I am using RadSchduler, In which before using UpdatePanel, onappointmentcommand works well. But when I use UpdatePanel it never calls the event (when I insert / cancel) an Appointment.

Any kind of help is fine.

Following is the code I am using

 <asp:UpdatePanel ID="UpdatePanel1" runat="server">
          <ContentTemplate><telerik:RadScheduler ID="RadScheduler1" runat="server"

      SelectedView="MonthView" Skin="WebBlue"

      onappointmentcommand="RadScheduler1_AppointmentCommand1"

       onload="RadScheduler1_Load" DataKeyField="ID" DataSubjectField="Subject"

      DataStartField="Start" DataEndField="End"

      onappointmentdelete="RadScheduler1_AppointmentDelete" AllowEdit="false" Height="600px">

        <InlineInsertTemplate>
            <asp:DropDownList runat="server" ID="ddlAgenTeamLst" DataSourceID="objTeam" DataTextField="name" DataValueField="id"></asp:DropDownList>
            <asp:Button ID="btnInsert" runat="server" CommandName="Insert" Text="Insert"/>
            <asp:Button ID="btnCancel" runat="server" CommandName="Cancel" Text="Cancel"/>
        </InlineInsertTemplate>
</telerik:RadScheduler></ContentTemplate>  </asp:UpdatePanel>



在以上两种情况下,onAppointmentDelete都可以正常工作.但是,当我插入数据时,我需要从下拉列表中获取值,因此我无法使用"OnAppointmentInsert".



In the above onAppointmentDelete is working fine in both the cases. But I need to get the value from the drop down list when I Insert a data, So i am unable to use "OnAppointmentInsert".

推荐答案

此类问题应张贴在特定论坛上以获得快速解决方案.

http://www.telerik.com/community/forums.aspx [
This type of questions should be posted in specific forums in order to get quick solution.

http://www.telerik.com/community/forums.aspx[^]

Regards..:)


这篇关于使用UpdatePanel时,RadScheduler不会调用OnAppointmentCommand事件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆