V
Vishal
Hello,
I have extended the normal datagrid, with some of the
properties I need and created a web server control called
AA:AADataGrid. This datagrid has autogenerate columns set
to false and I am adding manually columns to it. That
works so far. Now I would like to add an image button to
the first column of the datagrid via the designer - in the
webform where I am using the control.
However:
1.) it doesnt display the imagebutton at all.
2.) the complete header doesnt show any text.
3.) It seems that it shows only one row, with no header.
4.) it Underlines the following text with a red line in
the desinger:
<AlternatingItemStyle
CssClass="gridAlternatingItem"></AlternatingItemStyle>
<FooterStyle CssClass="gridFooter"></FooterStyle>
<ItemStyle CssClass="gridItem"></ItemStyle>
<HeaderStyle CssClass="gridHeader"></HeaderStyle>
<Columns>
<asp:TemplateColumn>
<ItemTemplate>
<asp:imagebutton ImageUrl="~/Images/Plus.gif"
CommandName="Expand" ID="Imagebutton1"
Runat="server"></asp:imagebutton>
And it shows the text: The active schema does not support
the element 'Name of Tag'
What do I am miss here?
Please help. Thanks
I have extended the normal datagrid, with some of the
properties I need and created a web server control called
AA:AADataGrid. This datagrid has autogenerate columns set
to false and I am adding manually columns to it. That
works so far. Now I would like to add an image button to
the first column of the datagrid via the designer - in the
webform where I am using the control.
However:
1.) it doesnt display the imagebutton at all.
2.) the complete header doesnt show any text.
3.) It seems that it shows only one row, with no header.
4.) it Underlines the following text with a red line in
the desinger:
<AlternatingItemStyle
CssClass="gridAlternatingItem"></AlternatingItemStyle>
<FooterStyle CssClass="gridFooter"></FooterStyle>
<ItemStyle CssClass="gridItem"></ItemStyle>
<HeaderStyle CssClass="gridHeader"></HeaderStyle>
<Columns>
<asp:TemplateColumn>
<ItemTemplate>
<asp:imagebutton ImageUrl="~/Images/Plus.gif"
CommandName="Expand" ID="Imagebutton1"
Runat="server"></asp:imagebutton>
And it shows the text: The active schema does not support
the element 'Name of Tag'
What do I am miss here?
Please help. Thanks