2

Environment:

I am using WebAPI and angularjs for my project.

Problem:

I need to dynamically create html for my models. I am thinking same as like EditorTemplates in MVC. So i create one html and based on datatype, the input box need to create.

My Solution:

I can sent the meta data(for each field name, datatype and value) in json and based on this create html tags.

Any general solution or articles for this. I feel like it is heavy to sent all this metada in every model json

1
  • I got a solution with example in this link even if it sending metadata in json object- metabroadcast.com/blog/… Commented Mar 17, 2017 at 6:01

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.