This is a migrated thread and some comments may be shown as answers.

Wrappers in ASP.Net MVC vs html/javascript

0 Answers 72 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Martin
Top achievements
Rank 1
Martin asked on 07 Nov 2012, 12:26 AM
Is it possible to do everything using the Grid and Datasource wrappers that can be done in javascript/html? I made the decision, perhaps unwisely, to use the MVC Wrappers for ASP.Net MVC development. But it is far from obvious what the mapping is from JS to the wrapper and if it is complete.

The examples don't help much. I am trying to put together a grid where some columns are foreign keys on another record. For example, Instead of displaying "Mr.", or "Mrs." or "Ms." etc I would prefer to use key values and then retrieve the value from another table. That is simple. But I want to edit inline and I want that field to be a dropdown list of valid titles.I see an example using javascript but I can't see how to replicate that code in a Wrapper. Also, the example uses local data instead of accessing a database but I can figure out how to get the date from a database.

I don't want to continue trying to get the Wrapper to work if the wrapper only supports a subset of the native functionality.The particular area I am having trouble with is in the definition of Fields.

No answers yet. Maybe you can help?

Tags
Grid
Asked by
Martin
Top achievements
Rank 1
Share this question
or