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
bugmenot - 28 Mar 2007 04:27 GMT
Greg;7385764 Wrote:
> When I try to insert another tag between the custom grid view the
> designer
[quoted text clipped - 5 lines]
> with
> any Attributes?
I'm having the same problem. Any ideas anyone?

Signature
bugmenot
maydaytxjunk@gmail.com - 28 Mar 2007 05:02 GMT
> 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
[quoted text clipped - 15 lines]
>
> I appreciate any help
I am having the same problem. The design-time support only works for
nested items that are direct children of the inherited GridView; such
as <AlternatingRowStyle, Columns, EditRowStyle, etc. However, it works
fine when compiled and run. Any help on this would be great!