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
Smart Lucky
NA
555
640.9k
Problem in Createing run time Button
Mar 19 2012 5:51 AM
Hi
i have created button on run time and adding some attributes and when i want to add post attribute at run time it added successfully but not working can any one tell how can i do this...?
Button btn = new Button();
btn.ID = "btn5";
btn.Attributes.Add("runat", "server");
btn.Attributes.Add("onclick", "pop('" + btn.ID + "')");
// btn.Attributes.Add("PostBackUrl", "~/Default2.aspx");
btn.Text = "Test";
this.form1.Controls.Add(btn);
Reply
Answers (
1
)
Video Streaming in Asp.Net
Deploy the application