Click here to Skip to main content
15,905,877 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to custom control's property to new category in property window in asp.net
as for example
[Category("Appearance")]
        public string GridCssClass
        {
            set { CssClass = value; }
        }

this code will add Property GridCssClass to Property window under Appearance Category
My Question is that i want to make new category and add this property under newly created category
Posted

what's the problem? Add a new category in that proerty for example

[Category("1est1 new category")]
[Description("Indicates the value of something.")]
public string GridCssClass
{
     set { CssClass = value; }
}
 
Share this answer
 
Thanx brother.
It really worked for me.
Good answer
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900