Group: Forum Members
Posts: 533,
Visits: 2K
|
Hi,
I have subclassed GridView as my development BaseGirdView. I would like to set certain properties so that all derived GridView has same layout and behavior. I put my code under a method which will be called from BaseGirdView constructor.
I faced problem that:
1. Developer unable to "override" certain settings (property setting) since it is "default" in base class.
2. I have code to auto add column and template to GridView header. When I change any value using propertysheet, VS auto generate markup tag for me and cause multiple column/template markup tag added to aspx. Even though I have code to add column/template only if they are not exist, but it doesn't work.
How to solve this problem?
Thank you
|