Questions tagged as 'asp.net-mvc'

1
answer

Infinite Scroll ASP NET MVC C #

Good afternoon, I'm implementing an infinite list in asp net mvc and I have some doubts about what is the best way to do this. I implemented using partial view, making a request via ajax and return this partial view and give an append to my html...
asked by 11.09.2018 / 20:24
2
answers

How can I prevent a user from sending the same form multiple times?

I have a form on a page, sometimes users can double-click the button to submit the form ... The form is a @using (Ajax.BeginForm(...)) { } How can I prevent this from happening?     
asked by 20.12.2013 / 15:12
1
answer

How to integrate the application with Whatsapp? [closed]

I wanted to know if it's possible to integrate a C # application with Whatsapp?     
asked by 19.07.2017 / 14:48
1
answer

How to use Format: Webgrid?

I'm developing with MVC, and I have the view list [...] var columns = new WebGridColumn[] { grid.Column("Id"), grid.Column("Descricao"), grid.Column("UsuarioModificacao"), grid.Column("DataModificacao"),...
asked by 30.12.2014 / 13:17
2
answers

Send Model Razor with $ Ajax Serialized to Controller

I'm trying to send an object to controller , using ajax . The object goes to the controller with Json , but only recognizes the values of the get, not the post. $.ajax({ type: "POST", url: "@Url.Action("Adi...
asked by 13.06.2014 / 19:01
5
answers

How to embed CSS in HTML tags?

I have a CSS file containing the following code. .texto{ Color: Red; } I have the HTML file with these tags : <html> <body> <span class="texto">TEXTO 1<span> <span class="texto">TEXTO 2<span> <sp...
asked by 05.11.2014 / 19:54
2
answers

Login with Windows Authentication in IIS

I have a SqlServer 2008 base where all users can connect to it via Windows domain, this works correctly via SQL Management Studio. I'm doing a C # Application in MVC, and wanted it when the user accessed the site, I could get that login and p...
asked by 03.05.2016 / 14:17
2
answers

Disable css and image cache in browser

Recently, I developed a project that had some drastic changes in its design, mainly on the side of css and images. In this, accessing it on some machines, I verified that to view your new design it was necessary to clear the cache (ctrl + f5). H...
asked by 19.07.2016 / 13:47
5
answers

Change return / Date (1386295200000) / to date format

I have a return of json that comes from SqlServer : /Date(1386295200000)/ How to convert to date format dd/mm/yyyy ?     
asked by 22.03.2018 / 20:12
3
answers

Error in controller ViewData

What could be wrong with this example? I can not do this: var pessoa = new Pessoa ( PessoaId = 1, Nome = "teste teste", twitter = "@teste" ); Error message:    'Name' does not exis...
asked by 30.09.2014 / 16:48