Questions tagged as 'asp.net'

2
answers

How to send an IList data set from the Controller to the View?

I get an amount N of elements of the session, how can I send it to the view and show it in a DropdownList? or as in windowsForm it is known as a combobox public ActionResult Index() { IList<CModel> c = (IList<CModel>...
asked by 04.10.2017 / 20:43
2
answers

Two Models in an MVC view 5

I have two Models: public class Solicitudes { public int SolicitudesID { get; set; } public DateTime FechaEmision { get; set; } public DateTime FechaInicio { get; set; } public DateTime FechaFin { get; set; } public string...
asked by 09.10.2017 / 23:30
1
answer

login in aspx with VB.NET language

Good Day I'm developing a small web application in ASPX with VB.NET language, I already have the login form and for the moment I login with a code validating the TextBox by manually linking them to a specific user. I use Visual Web Developer...
asked by 29.09.2017 / 16:25
3
answers

asp.net C # event onblur recharge full page

Good day, I have a .aspx page where, inside an asp: UpdatePanel, there is an asp: TextBox to which I assigned an event onblur, in the following way: .aspx: <asp:UpdatePanel ID="updatePanel1" runat="server" UpdateMode="Conditional">...
asked by 29.09.2017 / 17:24
1
answer

table with a tr of a single td

Good, I want my table in html to be with only one column in a row, something like a title, similar to this: I mean the cell that says Sign Up, the code in it is the following: <-tr> <-td align="center" colspan="2">Sign...
asked by 30.09.2017 / 22:40
2
answers

Error adding values of a Foreach in MVC3 view C #

Currently I have an error adding some values of a foreach, the view is of extension .cshtml razor in C #, the code is as follows: <div class="panel panel-primary"> <!-- Default panel contents --> <d...
asked by 17.09.2017 / 23:56
1
answer

Manually fill in Chart in ASPX

I am trying to fill in a Chart with manual data, the code I have tried is the following: int[,] horas = new int[,] { { 0, 1 },{ 1, 1 }, { 2, 0 }, { 3, 1 }, { 4, 0 }, { 5, 1 } }; protected void Page_Load(object sender, EventArgs e) { Chart...
asked by 28.09.2017 / 11:52
1
answer

Can an expiration date be set for an html page?

People I have an html with an iframe inside where jquery and a webservice charge a voucher in pdf format, the problem is that the first proof that I want to open does well, while the following continue showing the first. I guess it's because the...
asked by 07.08.2017 / 13:37
2
answers

Why do you mark error in jquery validate plugin?

The plugin de editable I want to apply in the following table <!-- TABLA DETALLES PRODUCTOS --> <div class="col-md-12"> <table id="TableProducts" class="table table-bordered table-responsive"> <thead> <tr clas...
asked by 18.07.2017 / 17:19
2
answers

Modify queries made by the scaffolding first database

I tell you a bit about my problem. By my boss's requirements I had to make an application using the first database technique and then use scaffolding (which I do not like). I was used to doing linq queries and calling them in my controller, n...
asked by 17.07.2017 / 17:47