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

ModalPopup in scheduler appointment

7 Answers 96 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Jonathan
Top achievements
Rank 1
Jonathan asked on 29 May 2008, 01:35 PM
Is it possible to call a modalpopup from within an appointment because it doesn't seem to work.

Also, is it possible to have a div within an appointment which expands outside of the edges of the appointment?

Cheers

7 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 30 May 2008, 12:16 PM
Hi Jonathan,

Have you seen the External Edit in RadWindow example? Is this what you need? If you want to implement something different, please be more specific.

As for the second question, RadScheduler does not support this functionality.


Best wishes,
Peter
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Jonathan
Top achievements
Rank 1
answered on 30 May 2008, 03:18 PM
Hi

Yes I've seen the radwindow, I use it elsewhere. The problem is that I don't want to have to load another page to display some information.

The reason being that the appointment isn't big enough to show all the information I want to show. So my idea is to have a button called 'more' or something similar which when you click it displays a modal popup which contains more information about the appointment. This doesn't need to be a whole new page, just a div with some extra info.

Cheers
Jon
0
Peter
Telerik team
answered on 02 Jun 2008, 12:05 PM
Hello Jonathan,

If that's the case, then I suggest you consider the Using RadToolTip example. The tooltip shows on hover of the appointment and displays additional info such as start and end time and a scrollable div with the entire subject's text. Let us know if this is an acceptable alternative for you.

This same scenario is also possible with a modal window, but you will still need another page to pass to the window.

Greetings,
Peter
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Jonathan
Top achievements
Rank 1
answered on 03 Jun 2008, 03:56 PM
Hi Peter

That is pretty much exactly what I want.

One problem though, hopefully simple. When I moseover the event the tooltip appears with the loading icon but then disappears. Any ideas as to why this happens? Also can I fire the display of the tooltip on a button click?

Cheers
Jon
0
Jonathan
Top achievements
Rank 1
answered on 04 Jun 2008, 09:19 AM
Ok I've got a bit further with this problem.

It seems that when I mouse over the appointment that this event is being called immediatley

function

hideActiveToolTip()

{

var controller = Telerik.Web.UI.RadToolTipController.getInstance();

var tooltip = controller.get_activeToolTip();

if (tooltip)

{

tooltip.hide();

}

}

Which I'm pretty sure it shouldn't be. The only place which I can that is causing this problem is this bit of code from the demo

Private

Sub Scheduler_DataBound(ByVal sender As Object, ByVal e As System.EventArgs) Handles Scheduler.DataBound

RadToolTipManager1.TargetControls.Clear()

ScriptManager.RegisterStartupScript(

Me, GetType(Page), "HideToolTip", "hideActiveToolTip();", True)

End Sub

What do you think?




0
Accepted
Peter
Telerik team
answered on 05 Jun 2008, 11:09 AM
Hello Jonathan,

You can display the tooltip on left-click by setting ShowEvent="OnClick" for RadToolTip manager. As for the other problem, I don't quite get it. The online example seems to work fine. Please, let me know if I am missing something.


Regards,
Peter
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Jonathan
Top achievements
Rank 1
answered on 05 Jun 2008, 03:18 PM
Hi Peter

The problem was the scheduler event which was outputting a hide script.

Removing that fixed my problem.

Cheers
Tags
Scheduler
Asked by
Jonathan
Top achievements
Rank 1
Answers by
Peter
Telerik team
Jonathan
Top achievements
Rank 1
Share this question
or