Questions tagged as 'c#'

1
answer

Component to select files or directories

What is the name of that component in Visual Studio / C # that I select the directory and get the file path?     
asked by 09.10.2014 / 22:09
1
answer

AjaxBeginForm Replace does not work

I am using Ajax.BeginForm to update a specific div on the page. When submitting and executing the action, instead of updating this DIV, the page is updated with the partial view returned from Action. I use this same snippet of code in ano...
asked by 09.10.2014 / 16:55
2
answers

Consume WebService from an external link

When consuming a webService from an external URL through the link in the browser link returns the following JSON message:    {"add-in": "from 9201 to the end - even side (even side belongs to   the "Count"), "neighborhood": "Barreiro"...
asked by 16.01.2015 / 15:37
2
answers

Enable KeyPress in Panel C #?

I have an application and it works like this. I have a code to create TextBox dynamically when the maximum number of letters in TextBox1 is 2. Here is the code: private void VerificaTextBox(int contador) { for...
asked by 18.01.2015 / 20:54
1
answer

Doubt when generating a .doc file with C #

The method below downloads the document that is generated dynamically, however when the file is opened it shows a file conversion option, leaving the Unicode (UTF-8) checked by default. What do you do to not show this message? public...
asked by 15.01.2015 / 19:53
1
answer

How to retrieve all events that are in FullCalendar?

I have a page that has a list of events that can be dragged to a FullCalendar. After dragging all my events to FullCalendar and clicking the finish button I want to get a list, or something of that, with all events and on what date this event...
asked by 16.01.2015 / 18:27
1
answer

Lists do not load next to the model

My model: public class Grupo: ModelBase { public Grupo() { this.Itens = new List<Item>(); } public Grupo(string nome): this() { this.Nome = nome; } public string Nome { get; set; } public v...
asked by 16.09.2014 / 22:25
1
answer

How to upload multiple images to SQL Server using JSON in ASP.Net MVC?

I need to insert a set of information into the SQL Server database data, but along with them some photos along with some strings. I'm looking forward to moving everything through JSON. Input to select the image: <th> <div...
asked by 05.09.2014 / 22:33
1
answer

Executing methods through configurable keyboard shortcuts

I'm developing a system that has some functions (eg F12 -> Close the system). In the system has the form of parameters, and in this form I would like the client to choose which shortcut for each function. detail: each function is a method in sou...
asked by 28.01.2015 / 18:02
1
answer

Execute procedure with CodeFirst

I'm trying to run a procedure in ASP.NET MVC with CodeFirst. I saw some examples on the internet but they are not working, can anyone help me? public void Copiadados(int Cod_Cli, int Cod_Obra) { SqlParameter p1 = ne...
asked by 13.08.2014 / 19:55