Questions tagged as 'asp.net'

1
answer

Show the last day of each month on Date AjaxControlToolkit c #

Good a query as I do so that it is only active the last day of every month in date in aspx AjaxControlToolkit c #? <tr> <td>Fecha</td> <cc1:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server"></cc1...
asked by 01.03.2017 / 19:59
1
answer

MySql query from a page on asp.net

I'm trying to implement this code snippet public List<int> Temperatura() { List<int> Datos = null; string connStr = "server=localhost;user=root;database=sensores;port=3306;password=123456;";...
asked by 15.11.2016 / 05:46
2
answers

in the text field of the email I get [email protected]. How to remove it?

It turns out that I have a datatable that lists personal data of people, and one of them is the mail, when I test it locally, it looks good mail, but from the production site it shows me the email with the word [email protected] the result of th...
asked by 03.01.2017 / 22:37
2
answers

Pass a variable to the signal hub r asp.net - webforms

I have developed a web application with signal r guiding me from this tutorial: link It works fine, but in the tutorial the employee ID is not a variable, it is hardcoded in the hub class, I want to be able to pass the client id as a variab...
asked by 08.11.2016 / 22:13
2
answers

Problem with [Authorize] on asp.net mvc 4

please your collaboration with the following: I have a controller with a couple of actions: [Authorize] public ActionResult conAut() { return View(); } public ActionResult sinAut() { return View();...
asked by 22.11.2016 / 21:40
1
answer

as I think dropDownList with Entity Framework in Asp.net MVC

I'm starting a new project and I'm migrating from webForm to MVC and I confess that I miss the best basic questions for some. Well one of those questions is the following, I need to create a dropDownList and the data of this both the ID and...
asked by 26.10.2016 / 17:45
2
answers

Error using Memcached with Cache API Gx15 U1 .Net

I'm using the Genexus Cache API and trying to get the value of a key gives me a .net exception. Where will the problem come from? Settings: Error: In the log add: DEBUG StoneFramework - StoneFramework.Caching.CacheGet|S...
asked by 27.10.2016 / 19:37
3
answers

Error when wanting to pass a gridview to an excel file

I have my gridview defined as well <asp:GridView ID="GridView1" runat="server" AllowPaging="True" DataSourceID="SqlDataSource1" Width="976px"> </asp:GridView> and I'm trying to pass the data to an excel in the following...
asked by 23.11.2016 / 06:29
1
answer

Restart Session on asp.net and json

I hope you can help me with this topic, I am working on a project with asp.net c #, the problem is that I need to click on a label to execute a Json and it ends the session. I explain to you what I did. I have a VSesion class that has seve...
asked by 23.11.2016 / 13:56
1
answer

Redirecting to the root directory with JavaScript in Asp.Net

I have the following problem: I execute my application and start on the default.aspx page, I execute the following function from a button function RedirectPage() { location.href = ../View/otherpage.aspx;} Now I need to return to default.asp...
asked by 04.11.2016 / 21:22