G
Greg
I'm building a custom web control that inherits from asp.net GridView
control. I'm expecting that when the control is inserted into a page its
design time behavior is the same as GridView but it is not. Here is what I
mean:
<Custom:CustomGridView ID="gv" runat="server">
<Columns>
</Columns>
</Custom:CustomGridView>
When I try to insert another tag between the custom grid view the designer
correctly shows the list of available options like AlternatinRowStyle,
Columns, etc. So I insert Columns tag. But when I try to insert a tag between
Columns tag the designer doesn't give any choices. Has anyone run into
similar issue with the GridView or other controls? Do I need to tinker with
any Attributes?
I appreciate any help
control. I'm expecting that when the control is inserted into a page its
design time behavior is the same as GridView but it is not. Here is what I
mean:
<Custom:CustomGridView ID="gv" runat="server">
<Columns>
</Columns>
</Custom:CustomGridView>
When I try to insert another tag between the custom grid view the designer
correctly shows the list of available options like AlternatinRowStyle,
Columns, etc. So I insert Columns tag. But when I try to insert a tag between
Columns tag the designer doesn't give any choices. Has anyone run into
similar issue with the GridView or other controls? Do I need to tinker with
any Attributes?
I appreciate any help