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
Dipa Ahuja
NA
3.1k
713.8k
profile status
Feb 13 2010 8:49 AM
hi... i want to code like orkut profile status
there are one textbox two buttons(Edit/Update,cancel)
as you know when we click on edit the textbox's read only=false and when click on update textbox become read only..
i tried it but when click on update the textbox text disappears..
home.cs
ProfileCommon p;
protected void Button1_Click(object sender, EventArgs e)
{
if (Button1.Text == "Edit")
{
TextBox1.ReadOnly = false;
Button1.Text = "Update";
}
else if (Button1.Text == "Update")
{
TextBox1.ReadOnly = true;
p.status = TextBox1.Text;
Button1.Text = "Edit";
}
}
Thanks !
Reply
Answers (
3
)
fileupload
sneding Bulk SMS From PC