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
nishant ranjan
NA
390
0
asp..net & jsonHTML
Feb 17 2014 2:49 AM
i have json stored in hidden field of aspx page.
[{"Field_Control_Id":"txtName","Field_Control_Type":"TextBox","Field_Height":40,"Field_Name":"Name","Field_Width":60,"Field_XPos":100,"Field_YPos":200},{"Field_Control_Id":"txtAddress","Field_Control_Type":"TextBox","Field_Height":20,"Field_Name":"Address","Field_Width":300,"Field_XPos":200,"Field_YPos":300},{"Field_Control_Id":"txtDateOfBirth","Field_Control_Type":"DropDownList","Field_Height":50,"Field_Name":"DOB","Field_Width":250,"Field_XPos":350,"Field_YPos":450}]
what i want is a html page should be created based on data in json i.e., if its textBox with controlid txtname then a textbox(input type ... ) should be created in html with id txtname and same for all other data present and then that html should be rendered into panel in aspx page.
how can i do this. what should be approach?
Reply
Answers (
1
)
Fetch data from database to textbox inside gridview
how to use session variable in class files asp.net 4.0 C#