Hi,
For a page with a scheduler control on it, I would like to have a refresh function. The scheduler gets it's data from a WCF webservice. I would like to use that to read appointments again and to prevent a postback begin fired. What clientside JS method is available for reading / refreshing all appointments on the current timeframe of the scheduler control?
For a page with a scheduler control on it, I would like to have a refresh function. The scheduler gets it's data from a WCF webservice. I would like to use that to read appointments again and to prevent a postback begin fired. What clientside JS method is available for reading / refreshing all appointments on the current timeframe of the scheduler control?
4 Answers, 1 is accepted
0
Hello iCe01,
We plan to implement auto-refresh (with polling) and/or expose a public Refresh method in the client API of RadScheduler.
Meanwhile, you can use the following workaroud:
Greetings,
Peter
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
We plan to implement auto-refresh (with polling) and/or expose a public Refresh method in the client API of RadScheduler.
Meanwhile, you can use the following workaroud:
function refreshSchedulerClientSide() |
{ |
var scheduler = $find('<%= RadScheduler1.ClientID %>'); |
scheduler.set_selectedDate(scheduler.get_selectedDate()); |
} |
Greetings,
Peter
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Datamex
Top achievements
Rank 2
answered on 09 Jun 2009, 01:35 PM
Works like a charm, thanks very much!
0
Jose Granja
Top achievements
Rank 1
answered on 10 Dec 2010, 12:42 PM
Hi,
I saw this as well but I would like that my resources refresh as well... I have the resources grouped (a list of persons) and I want to view more or less depending of the user! Initially he sees all the persons diary but he might want to see only one for example! I tried using the rebind method but it won't refresh the resources!
Is there a way to call the getresources method from the webservice? I would like to change the color of my background as well! I have a diferent background for the user availibility!
maybe is there was a way to hide certains resources that would be fine! like I have resoures from person 1 2 3 and I want to hide those from 3.
is there a way? I hope I expalined myself clearly, I'm afraid my english is not that good
regards,
jose
I saw this as well but I would like that my resources refresh as well... I have the resources grouped (a list of persons) and I want to view more or less depending of the user! Initially he sees all the persons diary but he might want to see only one for example! I tried using the rebind method but it won't refresh the resources!
Is there a way to call the getresources method from the webservice? I would like to change the color of my background as well! I have a diferent background for the user availibility!
maybe is there was a way to hide certains resources that would be fine! like I have resoures from person 1 2 3 and I want to hide those from 3.
is there a way? I hope I expalined myself clearly, I'm afraid my english is not that good
regards,
jose
0
Hi Jose Granja,
You need to postback in order to change the resource grouping. This change cannot be performed on the client-side - the scheduler comes already rendered on the client side and only smaller parts such as the appointments are rendered there.
Of course there is a chance that you meant something else. If this is the case, could you, please, explain it in a bit more detail?
Regards,
Nikolay Tsenkov
the Telerik team
You need to postback in order to change the resource grouping. This change cannot be performed on the client-side - the scheduler comes already rendered on the client side and only smaller parts such as the appointments are rendered there.
Of course there is a chance that you meant something else. If this is the case, could you, please, explain it in a bit more detail?
Regards,
Nikolay Tsenkov
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.