Questions tagged [updatemodel]

217 questions
0
votes
1 answer

ASP.NET Model binder question for updating child table

I'm using Linq to SQL within an ASP.NET MVC application. The model consists of a Decisions table with a foreign key link to an Options table (one decision, many options). So the Model allows me to access the Options collection through the…
kwgainey
  • 5
  • 2
0
votes
1 answer

Changing EF Model and creating new entities in runtime

I'm using EF4 in model (DB First), POCO in entities, ASP.Net in UI. I have a Biz layer of course. I need to design dynamic form generator. I decide to create a table from forms design by users, and then update my EF model in runtime, generate POCO…
PickleRick
  • 419
  • 1
  • 5
  • 13
0
votes
2 answers

UpdateModel with SelectList

I have class named Product public class Product { public virtual int Id { get; set; } public virtual Category Category { get; set; } } Please tell me how to update Category with UpdateModel method. Below you'll find category code in View
k1.
  • 103
  • 1
  • 5
-1
votes
1 answer

Update global Model from controllers in SAPUI5

Is possible update the global model of the project in SAPUI5 from one of my controllers? I have some views with their respective controllers and I need to update the global model from some of this controllers. Is possible? Thank you.
JK97Tae
  • 28
  • 8
-1
votes
1 answer

Inline component is not defined or not allowed (HTTP PUT)

I have been looking at this for quite some time and I don't know why it fails, because in another controller I have the same code and it updates the model. What do you think it could be? onAcepta: function(oEvent) { var oModel =…
JK97Tae
  • 28
  • 8
-1
votes
1 answer

Updating the dropdown list field value which is created using drop down list using create

i got a problem while updating a record for a model in yii. i have 2 models. im working on one model now. I'm creating a record for one model using create controller. in the form i've 1 fields which is the name field(im getting this name from other…
Developer
  • 3,857
  • 4
  • 37
  • 47
-3
votes
1 answer

How to get data on magento model based on phone number?

I want to edit magento custom table based upon phone number and status search, i am not sure how to do it this in magento model architecture. Please help me. I found some update queries with load id but i want to load data using customer…
Naveenbos
  • 2,532
  • 3
  • 34
  • 60
1 2 3
14
15