TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
piya p
NA
84
47.9k
How to remove spacing between image button in datalist
Apr 17 2014 3:49 AM
I am using following code for showing images in datalist.
By using this code there is gap between two images.How to remove that gap?
<asp:DataList ID="dtlist" RepeatDirection="Horizontal" RepeatColumns="5" AlternateText=" " runat="server" Height="102px" Width="229px" CellPadding="5" >
<ItemTemplate >
<asp:ImageButton ID="ImageButton1" runat="server" ImageUrl='<%# Eval("col1") %>' Height="150" Width="150" AlternateText=" " OnClick="ImageButton1_Click" CommandName="imgClick" />
<br />
<asp:label ID="txt1" runat="server" Text='<%# Eval("col2") %>' />
<asp:Button ID="edit" runat="server" Text="Edit" Height="30" Width="40" AlternateText=" " OnClick="edit_click" CausesValidation="True" />
</ItemTemplate>
<AlternatingItemTemplate></AlternatingItemTemplate>
</asp:DataList>
Reply
Answers (
1
)
Need the dump paper of 70-483 Microsoft certification in C#.
url Tracking