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
Sunny Singh
NA
8
12.9k
Repeater in Asp.net
Jan 29 2012 10:21 AM
<asp:Repeater ID="repProjects" runat="server" OnItemCommand="repProjects_ItemCommand">
<ItemTemplate>
<tr id="<%#(Convert.ToInt32(((RepeaterItem)Container).ItemIndex+1)%2==0?"ContentMainRow":"ContentAlternateRow")%>">
<td>
<%#(((RepeaterItem)Container).ItemIndex+1).ToString()%>
</td>
<td>
<%#Eval("projNote_Title") %>
</td>
<td>
<%#Eval("projNote_Note") %>
</td>
<td>
<%#Eval("projNote_FileAttached") %>
</td>
<td>
<asp:ImageButton ID="imgBtnEdit" CommandName="Edit" ToolTip="Edit a record." CommandArgument='<%#Eval("projNote_Id") %>'
runat="server" ImageUrl="~/resources/Images/edit.png" />
<asp:ImageButton ToolTip="View Details." ID="imgBtnViewProjectDetails" CommandName="View"
CommandArgument='<%#Eval("projNote_Id") %>' runat="server" ImageUrl="~/resources/Images/viewDetails_Icon.png" />
</td>
</tr>
</ItemTemplate>
</asp:Repeater>
I want if projnote_fileattached != null or space then it should display delete Button/Icon in front of file . If it is null or space then fileupload button option should be available . If user deletes file thean also user have an option to upload file
Thanx
Reply
Answers (
0
)
Error - Input string not in correct format
I want to capture back/forward button event of the browser in Java Script for IE