Help with datagrid

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,077
Latest member
SangMoor21

Latest Threads

Top