
Felipe Casanova
Top achievements
Rank 1
Felipe Casanova
asked on 16 May 2011, 10:01 AM
There seems to be an issue with applying styles in the client side OnDayRender event.
We've noticed that the style is applied correctly, however when the day is hovered over the style reverts to its original style that was applied before the OnDayRender event.
We have a workaround applied by overriding the cell style in the hover event, however the behaviour seems to be incorrect in that it should be remembering the style applied on the client side?
We've noticed that the style is applied correctly, however when the day is hovered over the style reverts to its original style that was applied before the OnDayRender event.
We have a workaround applied by overriding the cell style in the hover event, however the behaviour seems to be incorrect in that it should be remembering the style applied on the client side?
5 Answers, 1 is accepted
0
Hi Matt Cowen,
I would suggest you to review the following online example which elaborates on this matter. Review the provided approach and let me know it helps.
Greetings,
Maria Ilieva
the Telerik team
I would suggest you to review the following online example which elaborates on this matter. Review the provided approach and let me know it helps.
Greetings,
Maria Ilieva
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.
0

Zura Chikhladze
Top achievements
Rank 1
answered on 06 Sep 2011, 08:37 AM
Hi,
this is the case. on one page A there is a hyperlink. on the page B there is the radcalendar that is used to show the different events (like meeteing, etc).
my question is:
how is it possible to redirect from the hyperlink (on page A) to the specific date of the radcalendar (on page B) that will show the event of that date?
(for instance when i click on the link 19 August it will redirect to the 19 August calendar event that will be dispayed on the page)
thank you in advance. chixo.
0

Princy
Top achievements
Rank 2
answered on 06 Sep 2011, 09:32 AM
Hello Zura,
Try the following steps:
C#(calendar.aspx.cs):
Hope it helps.
Thanks,
Princy.
Try the following steps:
- Pass the required date as QueryString.
- Retrieve the value from the navigated page.
- set the SelectedDate and FocusedDate property to the retrieved date.
<
asp:HyperLink
runat
=
"server"
NavigateUrl
=
"~/RadGrid/calender.aspx?date=2/16/2008 12:15:12 PM"
>Click here to go to Calendar page</
asp:HyperLink
>
C#(calendar.aspx.cs):
protected
void
Page_Load(
object
sender, EventArgs e)
{
string
dt = Request.QueryString[
"date"
];
DateTime dtnew=DateTime.Parse(dt);
radCal1.FocusedDate = dtnew;
radCal1.SelectedDate = dtnew;
}
Hope it helps.
Thanks,
Princy.
0

Zura Chikhladze
Top achievements
Rank 1
answered on 06 Sep 2011, 10:15 AM
thank you so much. awesome.
0

Felipe Casanova
Top achievements
Rank 1
answered on 18 Oct 2011, 06:05 PM
>Hi Matt Cowen,
>
>I would suggest you to review the following online example which elaborates on this matter. Review the provided approach and let me
>know it helps.
No, we are using the following approach but the issue persists:
Any chance this has been resolved in recent releases?
>
>I would suggest you to review the following online example which elaborates on this matter. Review the provided approach and let me
>know it helps.
No, we are using the following approach but the issue persists:
var
cell = eventArgs.get_cell();
if
($.inArray(parsedDate.toString(), datesWithEvents) >= 0) {
$(cell).addClass(
"EventOccurring"
);
}
else
{
$(cell).removeClass(
"EventOccurring"
);
}
Any chance this has been resolved in recent releases?