Questions tagged as 'asp.net-mvc'

1
answer

Fill in a jquery combobox

See a combo is not popular, that's what I do. The combo is populated, there I need to get the id and show in the combo the text referring to that ID. The ID I have in my table, just need to show the text in the combo. My jquery looks like this:...
asked by 05.11.2014 / 19:05
1
answer

Is it possible to do a basic CRUD in JSON file?

I have the following scenario. I have a news site on ASP.NET MVC that currently accessing it, all the information gets caught in the bank. I want to take these requests from Front. I thought about making a file Data.json and...
asked by 10.10.2014 / 01:43
1
answer

Function $ (document) .ready () only executes once

I have an Asp.Net application that has a menu on a main screen that has 2 links, each one for a page. When I click on the first link and load the first page, the $(document).ready() function runs right and loads all the components I ne...
asked by 29.09.2014 / 20:42
1
answer

Use table of the Database, instead of table created when using Individual Authentication with Identity

I created an application in Asp.net MVC using Identity and I left checked the option for Visual Studio to create the authentication of individual users for me. It turns out that I just discovered that it creates a .mdf file that contains a datab...
asked by 03.10.2014 / 21:25
2
answers

Problems with types and conversions when filling a page

This is the error: An exception of type 'System.InvalidCastException' occurred in App_Web_fjskumyk.dll but was not handled in user code Additional information: Não é possível converter um objeto do tipo 'System.Collections.Generic.List'1[<...
asked by 23.09.2014 / 15:55
1
answer

Update modal content dynamically

I have a table with up to 10 listed services, and each row has an update button. When you click the refresh button, a modal window opens with the data in this row, as well as a form for change. However, I can not get the controller to return...
asked by 20.09.2014 / 02:07
1
answer

How to create a login with different levels of permission?

How to create a login with different levels of permission? Is it necessary to create a table in the database to log in? I have read about formsauthentication, cookies and etc, but I still do not quite understand it.     
asked by 22.09.2014 / 01:02
1
answer

Error using RSAProtectedConfigurationProvider

I am making an example using RSAProtectedConfigurationProvider and it has generated an error, I am not able to solve the problem. using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Co...
asked by 17.10.2014 / 21:36
1
answer

Popular DropDownList and insert with the chosen value

In my DB I have 3 tables: - Genero(IdGenero,Genero,Descricao) - Publicação(IdPublicacao, Titulo, Sinopse,IdUsuario) - PublicaçãoGenero(IdPublicacaoGenero,IdPublicacao,IdGenero) This last one links the first two. My first question is: Ho...
asked by 13.10.2014 / 01:53
1
answer

Read an xml file

I'm trying to read an XML file. string pagina = "https://ws.pagseguro.uol.com.br/v3/transactions/notifications/5B93AB-E9FA04FA04D8-24449BAF8A80-E32467?email=diegozanardo@yahoo.com.br&token=DFA3837517594466BCC87D8F397BF15F"; HttpWebRequest...
asked by 13.10.2014 / 15:41