2
Answers

How remove submit query in output?

piya p

piya p

10y
643
1
 
Div

In my application I am using datalist and inside it using image button.
code is like:
<asp:DataList ID="mydatalistlist" RepeatDirection="Horizontal" RepeatColumns="3" runat="server" Height="102px" Width="229px" >
<ItemTemplate>

<asp:ImageButton ID="MyImageButton" runat="server" ImageUrl='<%# Eval("value1") %>' OnClick="MyImageButton_Click" />
</ItemTemplate>
</asp:DataList>


By using above code I am getting image properly but after every image I am getting "Submit Query".
How to remove it?




Answers (2)