Coalesys webmenu for Asp.net Control Problems

Source: Internet
Author: User
Today, I used the coalesys webmenu for Asp.net control and found that the support for Chinese characters was too poor. It was garbled and dizzy! This is how others solve it!

Private void page_load (Object sender, system. eventargs E)
{

String Path = server. mappath (".");
If (! Path. endswith ("Web "))
Path = server. mappath ("../");
String pathforwms = path + "\ usercontrol \ workermenu. WMS ";

Workermenu. loadstate (pathforwms );



Initmenu ();
}
Private void initmenu ()
{
Workermenu. itemfont. size = "12px ";

Workermenu. itemfont. Family = "Ms sans serif ";
Workermenu. Groups [0]. items [0]. Caption = "querying Department Information ";
Workermenu. Groups [0]. items [1]. Caption = "add Department Information ";
Workermenu. Groups [0]. items [2]. Caption = "Modify Department Information ";
Workermenu. Groups [0]. items [3]. Caption = "delete Department Information ";
Workermenu. Groups [1]. items [0]. Caption = "querying instructor information ";
Workermenu. Groups [1]. items [1]. Caption = "add instructor information ";
Workermenu. Groups [1]. items [2]. Caption = "Modify instructor information ";
Workermenu. Groups [1]. items [3]. Caption = "delete instructor information ";
Workermenu. Groups [2]. items [0]. Caption = "querying student information ";
Workermenu. Groups [2]. items [1]. Caption = "add student information ";
Workermenu. Groups [2]. items [2]. Caption = "Modify student information ";
Workermenu. Groups [2]. items [3]. Caption = "delete student information ";
Workermenu. groups [3]. items [0]. Caption = "querying account information ";
Workermenu. groups [3]. items [1]. Caption = "add subject information ";
Workermenu. groups [3]. items [2]. Caption = "Modify Subject Information ";
Workermenu. groups [3]. items [3]. Caption = "delete account information ";
Workermenu. groups [3]. items [5]. Caption = "add professional required subject information ";
Workermenu. groups [3]. items [6]. Caption = "querying professional required subject information ";
Workermenu. groups [3]. items [7]. Caption = "delete professional compulsory subject information ";

Workermenu. Groups [4]. items [0]. Caption = "Required Course information ";
Workermenu. Groups [4]. items [0]. Group. items [0]. Caption = "query required courses ";
Workermenu. Groups [4]. items [0]. Group. items [1]. Caption = "add Required Course ";
Workermenu. Groups [4]. items [0]. Group. items [2]. Caption = "Modify Required Course ";
Workermenu. Groups [4]. items [0]. Group. items [3]. Caption = "delete Required Course ";

Workermenu. Groups [4]. items [1]. Caption = "elective course information ";
Workermenu. Groups [4]. items [1]. Group. items [0]. Caption = "querying electives ";
Workermenu. Groups [4]. items [1]. Group. items [1]. Caption = "add Elective Course ";
Workermenu. Groups [4]. items [1]. Group. items [2]. Caption = "Modify electives ";
Workermenu. Groups [4]. items [1]. Group. items [3]. Caption
]>

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.