I am creating runtime div. and it have a some content. but i created again same name runtime div. It is not replace old runtime div content.
please tell me
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Nitin BhardwajPosted Nov 1, 2013, 2:15 AM
Jaganathan BantheswaranPosted Oct 31, 2013, 7:53 AM
create runtime div like,
HtmlGenericControl div = new HtmlGenericControl("div");
div.ID = "dynamic-div";
form1.Controls.Add(div);
To Remove,
var oldDiv = Page.FindControl('dynamic-div');
form1.Controls.Remove(oldDiv)
oldDiv.Dispose();
Nitin BhardwajPosted Oct 31, 2013, 6:26 AM
Jaganathan Bantheswaran please reply.
Nitin BhardwajPosted Oct 31, 2013, 6:18 AM
";
" + datatable.Rows[i]["Headline"].ToString() + "
Sanjay KumarPosted Oct 31, 2013, 5:56 AM
http://stackoverflow.com/questions/18821759/create-and-place-buttons-on-page-load-then-bind-them-to-a-single-event
http://forums.asp.net/t/1182543.aspx
http://stackoverflow.com/questions/467016/can-i-dynamically-add-html-within-a-div-tag-from-c-sharp-on-load-event
Jaganathan BantheswaranPosted Oct 31, 2013, 5:41 AM
can you post some code?
Nitin BhardwajPosted Oct 31, 2013, 5:34 AM
Jaganathan BantheswaranPosted Oct 31, 2013, 5:27 AM
What are you trying to achieve here?