Do ASP.NET client control

xiaoxiao2021-03-06  39

Displaying your own label in AssemblyInfo.cix ("Cudigital: tagprefix) when the custom control is dragged and dropped into the page [Assembly: tagprefix"] [Assembly: tagprefix ", "CUDIGITAL")] In the toolbar displaying a personality icon, set a 16 * 16 bitmap, set the properties of the bitmap, generate a resource that is embedded, create a resource file that is the same as the control class (assuming aa) (Aa.bmp) Add it to the project, set the content as embedded resources, Namespace ServerControls {public Class Numbergenerator:

if it is like this,

Numbergenerator.bmp

Property: Content: Embedded Resource Custom Namespace: ServerControls

Regeneration, delete old toolbox icons, then select DLL, add tools

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

New Post(0)