Questions tagged as 'webforms'

0
answers

is it possible to read the fields that have a view in SQL server from C # webform?

Is it possible to get the headings of a view on SQl server from a C # form, and send these names to a textbox separated by commas? for example: What would you call this what I try to do to investigate? camposSQL = LeerVista: "vw_VistaNombre...
asked by 01.11.2017 / 19:06
1
answer

Framework error in the IIS windows server

Previously I published my ASP projects in IIS and visualized them correctly. Currently, I refresh my project with updates made and I receive a framework error. Currently in the web config of the project I left: 4.5.2, although previously I...
asked by 12.08.2016 / 15:11
0
answers

Remove or add attribute runat="server"

My question is timely, is there any way to remove or add the attribute runat="server "dynamically to a tag? I explain. If I have over there a div in HTML : <div id="un_div" runat="server">Cualquier cosa</div>...
asked by 26.07.2017 / 22:04
1
answer

Avoid duplicating url aspx c #

I would like to ask if it is possible to do the following: Avoid duplicating the same page in the browser tab. I explain, I have a link that is www.registrar.aspx, I want that when you copy the link and paste in another tab do not load and th...
asked by 24.08.2017 / 03:44
2
answers

Textbox on asp.net

Have you noticed that sometimes they register on one or another page, when changing focus in terms of textbox, either tabulating or directly with a click, beside it appears a message validating the data? Eye, this without doing postback or an...
asked by 17.07.2017 / 13:59
0
answers

Error when including a webform file in a view for MVC C #

Along with saying hello, I wanted to ask for your great help: It turns out that I want to incorporate in a view, a partial one that is a webform: I have a view called See: public ActionResult Ver(){ return View(); } in the cshtml I call...
asked by 18.05.2017 / 05:39
1
answer

The events of the controls do not cause Postback in Firefox

The same page works correctly in IE and Chrome. <button id="BCrearB" type="button" class="button-green" title="Construye una encuesta nueva" onclick="DoPostBack('BCrearB');"> <img src="/NuevaEncuesta.png"> <span id="NuevaEnc...
asked by 28.03.2017 / 15:19
1
answer

How users are managed in ASP.NET Webforms VS2015

Good day, As the users and roles are managed in ASP.NET, I have seen that it was with membership but it is already discontinued and now it is with Identity but I find it very confusing and they are mainly based on MVC, the problem is that there...
asked by 17.03.2017 / 17:00
1
answer

Calling a PageMethod with ajax from a WebForm within an mvc project

I would like to know why this "404 (Not Found)" error is flagging me when I try to call a WebMethod with ajax from a WebForm or aspx, now the detail is that the webform is inside a Mvc project I do not know if it has something to do I leave t...
asked by 26.12.2016 / 17:36
1
answer

.NET VS- [WebException: The operation has timed out]

I am developing a program in C # with Web Forms that consume methods of a WCF service. The following error is coming to me:    Exception "The operation has timed out".       Description: An unhandled exception occurred during the ex...
asked by 16.10.2016 / 22:30