Questions tagged as 'asp.net-mvc-4'

1
answer

Solution .Net with Membership does not connect to oracle database

I'm trying to run a project on my computer but it reports error in the string:    OracleConnection.ConnectionString is invalid The same project works normally on the computer where it was started. The Oracle version on both computers is 1...
asked by 06.07.2016 / 15:19
1
answer

Remove part of the time interval Kendo TimePicker

When you use% w / w% of% w / w to set a service time selection, the minimum period (8:00 AM) and maximum (18:00) has been set, however it will be necessary to remove the interval from 12:00 until 1:30 p.m. in this list. How to do this action?...
asked by 14.01.2015 / 12:13
2
answers

null check returns reference error

Model public class Transacao { [DatabaseGeneratedAttribute(DatabaseGeneratedOption.Identity)] public int ID { get; set; } [Required] public DateTime Data { get; set; } [Required] public decimal Valor { get; set; } }...
asked by 14.05.2014 / 20:40
1
answer

Combo box with search

I need to create a combobox that allows the administrator to search the user and that while the administrator is searching, some options that are similar to the one that has been entered appear within the combo. In addition, after finding...
asked by 08.09.2014 / 02:53
2
answers

Pass values from one form to one method in Model and return the result to another textbox on the Form

I have a very simple form with 3 textbox and a button. I would like to get the value of the first two textbox by clicking the button and move to a method present in my model and after that return that result to the third textbox . I'm havin...
asked by 20.03.2015 / 15:52
2
answers

Form in the view with sub-forms in partialView

Dear friends, I have a view that contains only @model Projeto.Models.Oc and a form . Within this form , I have buttons that call MODAL , these MODAL have partialView , @model Projeto.Models.Rc , etc. I wanted to...
asked by 07.04.2014 / 15:12
1
answer

How to pass a JSON Object to a method in webservice?

I'm trying to pass a JSON Object to a method in my controller and I'm not getting it, the problem is that the email field always returns null. How to do this? I'm trying like this. JSON Object {"UsuarioJsonModel": {"email":"meuemail...
asked by 10.11.2016 / 19:07
1
answer

RegularExpression only letters in the Model

Using the following RegularExpression in Model: [RegularExpression(@"^\d+$")] public int ano_da_configuracao { get; set; } I get the following result: Itriedthefollowingwaytoacceptonlyletters:[RegularExpression(@"/^[A-ZÁÀÂÃÉÈÍÏÓÔÕÖÚÇÑ ]+...
asked by 11.02.2015 / 18:21
1
answer

problem with jQuery ajax

I'm having a problem using google charts, where it works perfectly in Internet Explorer, but when I run the same page in google chrome or firefox, the graphics are not displayed My action [OutputCache(Location = OutputCacheLocation.None)]...
asked by 15.09.2015 / 19:29
4
answers

Data Conditional Annotation MVC4

I researched bales here and did not find a solution that I wanted. I would like to know if anyone has done anything similar in MVC4. Model: public class Trabalhador { [Required(ErrorMessage = "*")] public int Id { get; set; }...
asked by 07.05.2014 / 15:57