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

Scheduler usage scenario -- ideas/comments?

4 Answers 112 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Fooberichu
Top achievements
Rank 2
Fooberichu asked on 27 Dec 2007, 07:55 PM
I have created a module for DotNetNuke for internal use at our company where I currently have an ASP:Calendar control that i've overridden the OnDayRender event to render it in a "calendar-like" format (with up to 3 items per day showing).  It is an event module that allows people in the company to sign up for events and go through a work-flow process including manager approval, custom event fields (so an event could have any # of different items you want to collect data about), etc.

I am in the process of converting it to use RadScheduler so it looks prettier, works "better", and is more intuitive to use.  I have a certain flow that I intend to follow and just wanted to get some general comments about what seems the most intuitive.

Essentially, it starts out that the user comes to the calendar in a monthly view and can see all the events on various days at a quick glance.  They will then be able to click the event and get a detailed synopsis for the event and optionally sign up for the event.  Assuming the event lets them signup, it will do so and shoot an email out to them and, in some cases, to their manager for approval.  If the user is somebody with "edit" rights, they may also edit the event.

So basically my intention is to have an "Event details" page open up in a RadWindow when they click/double-click the event... that page will have a signup link if they are allowed to signup, and if they have rights, an edit link.  Clicking the signup or edit link will open up the respective page within RadWindow, keeping it "internal" and "clean". 

Just want to know if that seems like a clean approach, or if there is a "cleaner" way of approaching this.

Another option would be using the RadToolTip to provide the basic synopsis on mouseover, then clicking either "signup" or "edit" would bring up the appropriate page in a RadWindow though I'm not really sure how to accomplish something like that.

4 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 03 Jan 2008, 11:50 AM
Hello Jonathan,

This is an interesting scenario. Thank you for taking the time to describe it in such detail.

I recommend you use the first approach you outlined, with RadWindow. There is a nice online example - External Edit in RadWindow which demonstrates the desired functionality. The implementation of this is not trivial, but still it is the best way to handle this case. 

Using RadTooTip is a creative approach, but my experience tells me that the implementation of it is likely to lead to complications.

Anyway you choose to go, we will be happy to help you accomplish your goal.



Kind regards,
Peter
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Fooberichu
Top achievements
Rank 2
answered on 03 Jan 2008, 03:24 PM
I ended up following the RadScheduler -> RadWindow External Edit example before your post and have been making some good progress with it.  I have disabled the "allow edit" (to prevent appointment dragging), and then I use the OnClientAppointmentDoubleClick to open a RadWindow with the appropriate details.  The page it opens contains multiple ASCX files that I load up to perform the varying actions such as signing up, viewing the attendance list, etc, and am starting to work on the edit page.

One thing I've noticed (and remedied using UpdatePanels instead) is that a postback on the page inside the RadWindow has some strange effects.  Unfortunately I don't remember what those effects were but I just remember it doing some very weird things until I wrapped up the postbacks in an update panel instead. 

Additionally, I didn't like the RadScheduler updating all the time after I closed the window (since if they are merely viewing it, I really don't want it to refresh) and have looked into the RadWindow passing arguments example to pass a "refresh" argument back to the main window when I am editing, otherwise not passing any arguments at all and preventing it from refreshing the view.  Works beautifully!

This project is moving along nicely though and looks leaps and bounds better than the previous one, not to mention it has a much more intuitive flow to it.  RadScheduler is definitely a good fit for the project and RadWindow helps tie it all together and make it one cohesive process from start to finish.  I'm using a few other Rad controls in there as well to help things move along and so far have been pleased with my recent subscription.
0
Susan
Top achievements
Rank 1
answered on 17 Feb 2008, 05:14 AM
Using the example in 'External Edit in RadWindow', how do I get a reference to RadScheduler1 from the RadWindow popup? The first line in the page_load is RadScheduler1.Databind. Where is RadScheduler1 defined as this is now the popup radwindow. I obviously am missing something???
0
Peter
Telerik team
answered on 18 Feb 2008, 08:21 AM
Hello Susan,

The online example only shows the DefaultCS.aspx page. If you go to your local installation of the controls ->
Live Demos\Scheduler\Examples\RadWindow, you will see the other files involved in this scenario. The one which you are referring to is AdvancedFormCS.aspx which also contains a RadScheduler instance. It updates the same data base to which the scheduler in DefaultCS.aspx page is linked to.

I hope this makes it clearer, but if you have any question, please feel free to contact us. 

Jonathan, thank you for your feedback. I am glad to learn that everything is going nicely with your case.


Kind regards,
Peter
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Scheduler
Asked by
Fooberichu
Top achievements
Rank 2
Answers by
Peter
Telerik team
Fooberichu
Top achievements
Rank 2
Susan
Top achievements
Rank 1
Share this question
or