This is a migrated thread and some comments may be shown as answers.

Radwindow With Scheduler

2 Answers 37 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Steve
Top achievements
Rank 2
Steve asked on 02 Aug 2012, 05:34 PM
Hi !!!

I have a radscheduler with some appointments binded from data base, it works fine, but the trouble is Im trying to open a radwindow just when an appointment is clicked, but i can't get this, somebody can help me and tell me how can i do that ?

Thanks,
Steven.

2 Answers, 1 is accepted

Sort by
0
Accepted
Princy
Top achievements
Rank 2
answered on 03 Aug 2012, 05:06 AM
Hi Steve,

Try the following code snippet to achieve your scenario.

ASPX:
<telerik:RadScheduler ID="RadScheduler1" runat="server" OnClientAppointmentClick="OnClientAppointmentClick"  ............... >
</telerik:RadScheduler>
<telerik:RadWindowManager ID="RadWindowManager1" runat="server">
  <Windows>
    <telerik:RadWindow ID="RadWindow1" runat="server">
    </telerik:RadWindow>
  </Windows>
</telerik:RadWindowManager>

JS:
<script type="text/javascript">
  function OnClientAppointmentClick(sender, args) {
    window.radopen("", "RadWindow1");
  }
</script>

Hope this helps.

Regards,
Princy.
0
Steve
Top achievements
Rank 2
answered on 03 Aug 2012, 01:36 PM
Thanks Princy, it works perfect !!!
Tags
Scheduler
Asked by
Steve
Top achievements
Rank 2
Answers by
Princy
Top achievements
Rank 2
Steve
Top achievements
Rank 2
Share this question
or