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.8k
How to edit text in textbox on click of button in datalist
Apr 25 2014 1:30 AM
I a using datalist in it I am using 1 button and 1 textbox.
How to edit text in text box on click of button?
My datalist code is:
<asp:DataList ID="datalist" RepeatDirection="Horizontal" RepeatColumns="6" AlternateText=" " runat="server" Height="102px" Width="229px" CellSpacing="5" >
<ItemTemplate >
<asp:TextBox ID="txt" runat="server" Text='<%# Eval("AName") %>' ReadOnly="true" Enabled="false" />
<asp:Button ID="edit" runat="server" Text="Edit" Height="30" Width="40" AlternateText=" " OnClick="edit_Click" CommandArgument='<%# Eval("AName") %>' CommandName="manageWiki" CausesValidation="True">
</asp:Button>
</ItemTemplate>
</asp:DataList>
Reply
Answers (
2
)
How to hide toolbar and navigation pane in pdf through C#
how to show each group box along based on value of variable