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
Yogesh Ghorpade
NA
762
148.7k
How To Get Value From A Tag Using Reapeter Control
Feb 21 2018 5:22 AM
I Want To Access The HiddenField Value OnbtnEditClick Event from a tag in reapeter
<asp:Repeater ID="RptDeptList" runat="server" OnItemCommand="RptDeptList_ItemCommand">
<ItemTemplate>
<tr>
<td width="47%">
<div ><%#Eval("DepartmentName")%></div>
</td>
<td width="47%">
<div ><%#Eval("MFGUnitName")%></div>
</td>
<td width="6%">
<div align="center">
<a id="btnEdit" href="#" runat="server">
<img src="images/edit.png" alt="edit" title="edit"></a>
<asp:HiddenField ID="hfDeptId" Value='<%#Eval("DeptId")%>' runat="server" />
<asp:HiddenField ID="hfDeptName" Value='<%#Eval("DepartmentName")%>' runat="server" />
<asp:HiddenField ID="hfMFGUnitId" Value='<%#Eval("MFGUnitId")%>' runat="server" />
</div>
</td>
</tr>
</ItemTemplate>
</asp:Repeater>
Reply
Answers (
2
)
want Generic class for ADO.net
crossed red line in C# Winform and hangs application