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
Prince Antony
NA
66
3.2k
How to get Container.ItemIndex+1 in textbox control
Oct 10 2014 12:43 AM
I have problem on below code.
<asp:TextBox ID="tbxCode" runat="server" CssClass="short " Text='<%# Eval("Code") %>'
onclick="LoadPopup('1','<%#Container.ItemIndex+1 %>')"></asp:TextBox>
<asp:TextBox ID="tbxDesc" runat="server" CssClass="medium" Text='<%# Eval("Desc") %>'
onclick="LoadPopup('1','<%#Container.ItemIndex+1 %>')"></asp:TextBox>
//have problem because of runat=server
<input type="button" class="popup_button" onclick="LoadPopup('1','<%#Container.ItemIndex+1 %>')"
value=".." />
// working fine
how to solve this. I m using this textbox inside the repeater control.
Reply
Answers (
1
)
Update the details in datagridview
How to import resume and Display in text fields in MVC