Dynamically created elements from codebehind need to be inserted between specific elements
I created a method and pass the element type, id, and any inner text that instantiates a new html element. The last statement: Me.Controls.Add(element)
adds it to the end of the page, but I would like it to be inserted in a specific position (between 2 divs within a form). What I am describing is very similar t开发者_如何学运维o this post on SO here, although it was for javascript.
Perhaps look at using a PlaceHolder control..
精彩评论