Hi,
I'm having some datatypes that needs to be presented in form layout on mobile devices. For ensuring that the form is presented in a similar way across devices and being scalable we use jQuery mobile for form layouts.
Therefore, I need to create the form on-the-fly. I'm thinking on doing it in a razor function and merely inserting the function on a page.
To be able to create the correct form elements based on the type of the datatype property (e.g. a datatype of type string needs to be presented as a textbox with the corresponding jQuery mobile properties) I need to check each type of each property. How can I do that?
Thx!
I'm having some datatypes that needs to be presented in form layout on mobile devices. For ensuring that the form is presented in a similar way across devices and being scalable we use jQuery mobile for form layouts.
Therefore, I need to create the form on-the-fly. I'm thinking on doing it in a razor function and merely inserting the function on a page.
To be able to create the correct form elements based on the type of the datatype property (e.g. a datatype of type string needs to be presented as a textbox with the corresponding jQuery mobile properties) I need to check each type of each property. How can I do that?
Thx!