Why dynamically created HTML Input is Empty After Postback

Jun 15 2010 8:57 AM
Hi, I add HTML and tags to Page dynamically. But after every postbost, all values are empty. 

I read HTML Code from a txt File and give this code Literal.Text.
Example : 
Literal.Text = "<input name="txtValue_15" id="idtxtValue_15" type="text" runat="server" style="width: 150px;" />";

On save button click , I can get all control values.

But if page postback, all inputs values go to empty.
i must get value after postback too.

How can I solve this problem?

Answers (4)