Hi
I use radgrid with itemtemplate like this
<ItemTemplate>
<asp:ImageButton ID="Pict" runat="server" ImageUrl='<%# "~/mypic/" + Eval("picture") %>'
OnClientClick='<%# "Pic_click(" + Eval("ID") + ")" %>' />
<div style="text-align: left">
<br />
<span style="font-family:Verdana; font-size: large; color: #000080;">
<%# Eval("Name") %>
</span>
<br />
<br />
<span style="font-size:large; font-family:Verdana; color: #800000;">
<%# Eval("price", "{0:N} TL") %>
</span>
<br />
</div>
<div align="right">
<asp:ImageButton ID="ImageButton1" runat="server" CommandName="Add" ImageUrl="~/Common/B.png" />
</div>
</ItemTemplate>
i will put a button on page and when user clicked it i will change mygrid to standart column type grid without itemtemplates.
columns with (name, price, ....), after reclicking will change to first type with itemtemplates.
how can i do this ?..
best regards
I use radgrid with itemtemplate like this
<ItemTemplate>
<asp:ImageButton ID="Pict" runat="server" ImageUrl='<%# "~/mypic/" + Eval("picture") %>'
OnClientClick='<%# "Pic_click(" + Eval("ID") + ")" %>' />
<div style="text-align: left">
<br />
<span style="font-family:Verdana; font-size: large; color: #000080;">
<%# Eval("Name") %>
</span>
<br />
<br />
<span style="font-size:large; font-family:Verdana; color: #800000;">
<%# Eval("price", "{0:N} TL") %>
</span>
<br />
</div>
<div align="right">
<asp:ImageButton ID="ImageButton1" runat="server" CommandName="Add" ImageUrl="~/Common/B.png" />
</div>
</ItemTemplate>
i will put a button on page and when user clicked it i will change mygrid to standart column type grid without itemtemplates.
columns with (name, price, ....), after reclicking will change to first type with itemtemplates.
how can i do this ?..
best regards