Questions tagged as 'asp.net'

1
answer

fill ComboBox with enum c # in MVC

I am using MVC with C #, I have a problem as I can fill a ComboBox with @ Html.DropDownList () using an enumeration from my controller, knowing that in my ComboBox it should be placed as value (number in the enumeration) and the text (name of...
asked by 15.06.2018 / 00:37
1
answer

Why do you create a cookie with name ASP.NET_SessionId?

I have a project in ASP.NET MVC 5 in which when reviewing the cookies of my application there is one that is called ASP.NET_SessionId , which does not stop what it is and why it is created. Does anyone know anything about this...
asked by 14.06.2018 / 00:02
2
answers

Error in enum c # when placing arithmetic sign

I am filling a ComboBox through an enum in MVC c #, in that combo are filled as options of the arithmetic operators combo, but I only require the symbol (+, -, *, /), when I only place the sign generates me an error I have already place...
asked by 18.06.2018 / 19:55
0
answers

How do I configure the ejabberd server to access the bosh module in a lan network?

http://localhost:5280/bosh access normally   http://server.com5280/bosh What should I configure to access in this way? I have configured the ejabberd.yml as follows: port: 5280 ip: "::" module: ejabberd_http request_handlers:...
asked by 14.06.2018 / 19:02
0
answers

Kendo Template does not show special characters

I am using Kendo UI to generate a report in ASP.net the problem is that I am trying to show a multiselect and it does not work for me, eh tried with many ways to show it on the script that contains the template, eh used Viewbags and Dictionary t...
asked by 13.06.2018 / 17:07
1
answer

how can I get the client's printer list in ASP.NET [closed]

Will someone know if there is any way to list the printers on the client side? I was using system.drawing but it just lists me from the server. Any suggestions?     
asked by 20.06.2018 / 00:24
1
answer

asp.net client / server

How could I call a server-side function from the client side, which returned results and use that data from the client side? client-side code: html: <input type="button" value="Search" onclick="codeAddress();"</input> javas...
asked by 20.06.2018 / 00:54
0
answers

Change the CommandTimeout to a WebMatrix Database query

Someone knows how to increase the CommandTimeout in a query by using the class Database from WebMatrix, internally creates a sqlCommand object with a default time of 30 seconds. My code is similar to the following: var db = Database.Open(...
asked by 13.06.2018 / 19:22
1
answer

Problems with Enums

I have the following enum public enum Tipo { Tipo0 = 0, Tipo1 = 1, Tipo2 = 2, Tipo3 = 3 } Which I use in my model in the following way public class MiModeloViewModel { public Enums.Tipo Tipo { get; set; } } F...
asked by 08.06.2018 / 19:27
0
answers

UPDATE Microsoft JET Database Engine error '80040e21'

It is a website built in .ASP and with an ACCESS database. It has been in operation for 3 years and has not caused any problems but today I started to give this error. The error is as follows,    Microsoft JET Database Engine error '80040e...
asked by 11.06.2018 / 21:04