Questions tagged as 'webforms'

0
answers

Configure ASP.NET WebForms Rotation

Good afternoon, I have an ASP.NET application in WebForms (still) working normally, the client asked to include the date in the route of a new page, I created the route like this: routes.MapPageRoute( "RevendaMapRoute", "Re...
asked by 02.09.2017 / 18:15
0
answers

Field NULL in date, passing as parameter to the bank

I am trying to treat a field in my program to accept data NULL if it is not filled, that field would be CliDtNasc . I did the treatment in the class with the% ter and% in the properties of the treated class to check if the field is...
asked by 18.04.2017 / 16:51
1
answer

How to add a linked column in GridView?

I have the following code that generates my GridView: protected void Page_Load(object sender, EventArgs e) { try { AlteracoesContrato alteracoes = new AlteracoesContrato(movimentacaoId);...
asked by 31.03.2017 / 16:32
0
answers

How to set language according to .resx file

I am aware of the existence of this question: Internationalization using ASP.Net MVC But I have some doubts. I have these language files (I'll have more in the future): Thesysteminquestiondoesnotgiveanypostbackinthepages,soIcannotcha...
asked by 18.04.2017 / 15:37
0
answers

Update a Repeater after inserting a new row in the Table?

Good morning, guys! I have a table that is populated with a Repeater. This table has a filter, which is programmed all via javascript from a ready layout. After adding a new value in the table and using its filter, only the initial values app...
asked by 17.05.2016 / 15:04
2
answers

ASP.NET Web Forms and AjaxControlToolkit

Adding a ajax:ModalPopupExtender to my page I'm having the following error <%@PageTitle="" Language="C#" MasterPageFile="~/Admin/Admin.master" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="Devcompy.ClientWebForms.Ad...
asked by 10.06.2016 / 14:09
2
answers

How do I get the data typed in the TextBox that was dynamically created?

I have created some TextBox controls dynamically in my Code Behind and need to retrieve the values in a new method, however I can not use% changed% in a new method. try { DataTable tbDadosAux =// Método para...
asked by 13.10.2015 / 18:28
0
answers

The underlying connection was closed: The connection was closed unexpectedly

I'm designing in WebForm, and I'm passing an array to a method that will make a post for a specific URL. However, after I run the project and send the array to the method, it breaks with the error reported in the title. private void webBrow...
asked by 14.10.2015 / 03:59
1
answer

How to pass a post with an array to a URL of a WebFORM

I'm trying to send an array with some elements in a post to a url. I called WebBroser method, I passed the parameters, but I still had no idea how to finish implementing. Follow my code: private void webBrowser1_DocumentCompleted(obje...
asked by 09.10.2015 / 04:27
1
answer

How to remove xml encapsulation in json returned by WebService

I created the following method: [WebService(Namespace = "http://myDomain.com.br/PublicacaoService")] [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)] [System.ComponentModel.ToolboxItem(false)] [System.Web.Script.Services.ScriptSer...
asked by 12.08.2014 / 18:49