Tech
Forums
Jobs
Books
Events
Live
Interviews
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
4
Reply
Why dynamically created HTML Input is Empty After Postback
Murat CAKMAK
Jun 15 2010 8:57 AM
6.1k
Reply
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?
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
4
)
Next Recommended Forum
How to integrate MathML .net in asp.net?
querry is returning zero eventhough data is present in data base