Ramzan Pukhraj
Top achievements
Rank 1
Ramzan Pukhraj
asked on 10 Feb 2010, 11:30 PM
Hi Dear,
Please tell me what i did wrong?
I just drag rad calender into rad tab control and assign culture = "Arabic Saudi arabia"
I am not able to assign
I am getting below message
(Valid values are between 1318 and 1450, inclusive.
Parameter name: year)
your immediate reply will be appreciated
Thanks & Regards,
Please tell me what i did wrong?
I just drag rad calender into rad tab control and assign culture = "Arabic Saudi arabia"
I am not able to assign
I am getting below message
(Valid values are between 1318 and 1450, inclusive.
Parameter name: year)
your immediate reply will be appreciated
Thanks & Regards,
12 Answers, 1 is accepted
0
Hi Ramzan Pukhraj,
You can try the following as a workaround:
GregorianCalendar calendar = new GregorianCalendar();
CultureInfo cinfo = new CultureInfo("ar-SA");
cinfo.DateTimeFormat.Calendar = calendar;
this.radDateTimePicker1.Culture = cinfo;
Please write us back again, if you need more information.
Best wishes,
Boyko Markov
the Telerik team
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Follow the status of features or bugs in PITS and vote for them to affect their priority.
You can try the following as a workaround:
GregorianCalendar calendar = new GregorianCalendar();
CultureInfo cinfo = new CultureInfo("ar-SA");
cinfo.DateTimeFormat.Calendar = calendar;
this.radDateTimePicker1.Culture = cinfo;
Please write us back again, if you need more information.
Best wishes,
Boyko Markov
the Telerik team
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Follow the status of features or bugs in PITS and vote for them to affect their priority.
0
Ramzan Pukhraj
Top achievements
Rank 1
answered on 14 Feb 2010, 12:11 PM
Hi Boyko,
Thanks for below information.
Let me ellaborate more, how i want to use this calender?
if (application UICulture='ar-SA')
this calender shows "Gegorian Month Name" in Arabic
how can i do above suedo code in C#.Net code?
Regards,
Thanks for below information.
Let me ellaborate more, how i want to use this calender?
if (application UICulture='ar-SA')
this calender shows "Gegorian Month Name" in Arabic
how can i do above suedo code in C#.Net code?
Regards,
0
Hi Ramzan Pukhraj,
Thank you for writing. To check whether the current culture is "ar-SA" and then apply the new culture settings to RadCalendar, you can do the following:
if (CultureInfo.CurrentCulture.Name == "ar-SA")
{
GregorianCalendar calendar = new GregorianCalendar();
CultureInfo cinfo = new CultureInfo("ar-SA");
cinfo.DateTimeFormat.Calendar = calendar;
this.radDateTimePicker1.Culture = cinfo;
}
Please contact us again if you need more information.
Kind regards,
Boyko Markov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Thank you for writing. To check whether the current culture is "ar-SA" and then apply the new culture settings to RadCalendar, you can do the following:
if (CultureInfo.CurrentCulture.Name == "ar-SA")
{
GregorianCalendar calendar = new GregorianCalendar();
CultureInfo cinfo = new CultureInfo("ar-SA");
cinfo.DateTimeFormat.Calendar = calendar;
this.radDateTimePicker1.Culture = cinfo;
}
Please contact us again if you need more information.
Kind regards,
Boyko Markov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Ramzan Pukhraj
Top achievements
Rank 1
answered on 17 Feb 2010, 11:47 AM
Hi Boyko,
I think, I should explain again, may be I wasn't clear before.
I have dual language application
1. English
2. Arabic
Now when user click on Arabic, my calender should show Jan, Feb, Mar,Apr..... & days Sun,Mon,Tue.... in Arabic Language.
can telerik calender control support this?
Regards,
Ramzan
I think, I should explain again, may be I wasn't clear before.
I have dual language application
1. English
2. Arabic
Now when user click on Arabic, my calender should show Jan, Feb, Mar,Apr..... & days Sun,Mon,Tue.... in Arabic Language.
can telerik calender control support this?
Regards,
Ramzan
0
Hi Ramzan Pukhraj,
I have prepared a demo which demonstrates changing the Culture of RadCalendar by clicking two buttons - English and Arabic. Clicking on the Arabic button will modify the Jan, Feb, .... and Monday, Tuesday, .... in Arabic.
I hope this will help you. Please feel free to contact us again, if you need more information.
All the best,
Boyko Markov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
I have prepared a demo which demonstrates changing the Culture of RadCalendar by clicking two buttons - English and Arabic. Clicking on the Arabic button will modify the Jan, Feb, .... and Monday, Tuesday, .... in Arabic.
I hope this will help you. Please feel free to contact us again, if you need more information.
All the best,
Boyko Markov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Ramzan Pukhraj
Top achievements
Rank 1
answered on 20 Feb 2010, 11:14 AM
Thank you Boyko , this is perfect, I got my answer.
Thanks again.
0
Haythem
Top achievements
Rank 1
answered on 23 Nov 2011, 03:20 PM
I have the same problem but with dotnetnuke website
we installed the arabic language pack ar-sa
but we get this error in different pages
like Admin>site settings
Valid values are between 1318 and 1450, inclusive. Parameter name: year
we tried to find out in the database or in the web.config
but we couldnt find how to do it, can you help us please
we installed the arabic language pack ar-sa
but we get this error in different pages
like Admin>site settings
Valid values are between 1318 and 1450, inclusive. Parameter name: year
we tried to find out in the database or in the web.config
but we couldnt find how to do it, can you help us please
0
Hello Haythem,
Thank you for writing.
This forum concerns RadCalendar control which is part of the RadControls for WinForms suite of Telerik. Is your issue related to this suite? If so, please provide me with more details regarding your scenario, so I can provide you with support. Otherwise, please address your questions in the appropriate forums.
I am looking forward to your reply.
Regards,
Stefan
the Telerik team
Thank you for writing.
This forum concerns RadCalendar control which is part of the RadControls for WinForms suite of Telerik. Is your issue related to this suite? If so, please provide me with more details regarding your scenario, so I can provide you with support. Otherwise, please address your questions in the appropriate forums.
I am looking forward to your reply.
Regards,
Stefan
the Telerik team
Q3’11 of RadControls for WinForms is available for download (see what's new). Get it today.
0
Haythem
Top achievements
Rank 1
answered on 29 Nov 2011, 01:17 PM
I'm using dotnetnuke and im using it in arabic, and i got this error, so i was trying to solve this issue
0
Hello Haythem,
Nikolay
the Telerik team
Thank you for your confirmation. Please open a new thread in the appropriate forum section as requested by my colleague Stefan.
Greetings,Nikolay
the Telerik team
Q3’11 of RadControls for WinForms is available for download (see what's new). Get it today.
0
Mazen
Top achievements
Rank 1
answered on 17 May 2012, 08:40 AM
Hello Nikolay,
I believe this is an issue with your support of the Hijri calendar (for ar-SA). I'm facing the same issue too. You can have a look at my post on the DNN forum. http://www.dotnetnuke.com/Resources/Forums/forumid/77/postid/455576/scope/posts.aspx#455576
The calendar does appear correctly the first time but then the behavior is irregular.
Check my post and let me know what do you think about it, and if you have any workaround or solution for this issue. I'm trying to use the datepicker in my own modules.
Regards.
Mazen
I believe this is an issue with your support of the Hijri calendar (for ar-SA). I'm facing the same issue too. You can have a look at my post on the DNN forum. http://www.dotnetnuke.com/Resources/Forums/forumid/77/postid/455576/scope/posts.aspx#455576
The calendar does appear correctly the first time but then the behavior is irregular.
Check my post and let me know what do you think about it, and if you have any workaround or solution for this issue. I'm trying to use the datepicker in my own modules.
Regards.
Mazen
0
Hi Mazen,
Thank you for contacting Telerik support.
Could you clarify which platform your question refers - ASP.NET or WinForms?
I am looking forward to your reply.
Kind regards,
Peter
the Telerik team
Thank you for contacting Telerik support.
Could you clarify which platform your question refers - ASP.NET or WinForms?
I am looking forward to your reply.
Kind regards,
Peter
the Telerik team
RadControls for WinForms Q1'12 release is now live! Check out what's new or download a free trial >>