ASP .NET Server Control Development Experience

xiaoxiao2021-03-06  20

ASP .NET Server Control Development Experience

1, let the control show your own icon Step1: make your own BMP icon file (16 x 16), naming rules: If the control class file is named myWebControl.cs, the icon file is: myWebControl.bmp; Step2: Join the project, Setting the file properties "Generate Operation" is "embedded resource". Step3: Re-compile, OK. 2, let the added control label prefix show your company name in front of the namespace, the Namespace, or the control class file, add: [Assembly: tagprefix ("cysoft.web.ui.webcontrols", "cysoft"]]

转载请注明原文地址:https://www.9cbs.com/read-44587.html

New Post(0)