ASPxScheduler 9.2.6汉化问题

uuwish 2013-09-04 08:41:17
在网上下载一下汉化DLL,项目引用
DevExpress.Localization.v9.2.dll

在App_GlobalResources已经加入
DevExpress_Web_ASPxScheduler_v9_2.zh-CHS.resx

页面代码

<dxwschs:ASPxScheduler id="ASPxScheduler1" runat="server" Width="100%"
ResourceDataSourceID="resourceDataSource"
AppointmentDataSourceID="appointmentDataSource"
OnAppointmentRowInserting="ASPxScheduler1_AppointmentRowInserting"
OnAppointmentRowInserted="ASPxScheduler1_AppointmentRowInserted"
OnAppointmentsInserted="ASPxScheduler1_OnAppointmentsInserted" >
<Storage EnableReminders="false">
<Appointments>
<Mappings AppointmentId="ID" End="EndTime" Start="StartTime" Subject="Subject"
Description="Description" Location="Location" AllDay="AllDay"
Type="EventType" RecurrenceInfo="RecurrenceInfo" ReminderInfo="ReminderInfo"
Label="Label" Status="Status" ResourceId="CarId" />
</Appointments>
<Resources>
<Mappings ResourceId="ID" Caption="Model" />
</Resources>
</Storage>
<Views>
<DayView DisplayName="当天日历" ShortDisplayName="日">
<TimeRulers><cc1:TimeRuler /></TimeRulers>
</DayView>
<WorkWeekView ShortDisplayName="工作周">
<TimeRulers><cc1:TimeRuler /></TimeRulers>
</WorkWeekView>
<WeekView ShortDisplayName="周">
</WeekView>
<MonthView ShortDisplayName="月">
</MonthView>
<TimelineView ShortDisplayName="时间线">
</TimelineView>
</Views>
</dxwschs:ASPxScheduler>



protected void Page_Load(object sender, EventArgs e)
{

DevExpress.Web.ASPxScheduler.Localization.ASPxSchedulerLocalizer.Active = new DevExpress.LocalizationCHS.DevExpressWebASPxSchedulerLocalizationCHS();
DevExpress.Web.ASPxScheduler.Localization.ASPxSchedulerResLocalizer.Active = new DevExpress.LocalizationCHS.DevExpressWebASPxSchedulerLocalizationCHS();


AppointmentDataSource.InsertParameters.Add("id", Guid.NewGuid().ToString());
AppointmentDataSource.InsertParameters.Add("emp_id", this.GetUser.Id.ToString());
AppointmentDataSource.InsertParameters.Add("user_id", this.GetUser.UserId.ToString());

AppointmentDataSource.SelectParameters.Add("emp_id", this.GetUser.Id.ToString());
AppointmentDataSource.SelectParameters.Add("user_id", this.GetUser.UserId.ToString());


}



<globalization culture="auto" uiCulture="auto"/>




最后汉化不成功,请各位高手帮忙解决一下!
...全文
95 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
yuji821 2013-09-15
  • 打赏
  • 举报
回复
要下载汉化包吧

62,025

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术交流专区
javascript云原生 企业社区
社区管理员
  • ASP.NET
  • .Net开发者社区
  • R小R
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

.NET 社区是一个围绕开源 .NET 的开放、热情、创新、包容的技术社区。社区致力于为广大 .NET 爱好者提供一个良好的知识共享、协同互助的 .NET 技术交流环境。我们尊重不同意见,支持健康理性的辩论和互动,反对歧视和攻击。

希望和大家一起共同营造一个活跃、友好的社区氛围。

试试用AI创作助手写篇文章吧