Questions tagged as 'webforms'

1
answer

How to control a RadioButtonList via code

I'm using C # asp.net web forms I have two RadioButtonList <asp:RadioButtonList ID="rblGrupo" runat="server" AutoPostBack="True" CellPadding="5" OnSelectedIndexChanged="rblGrupo_SelectedIndexChanged">...
asked by 15.10.2015 / 20:58
1
answer

How to use bundle.config in webforms

I wonder if I can and how to use bundle.config that is used in MVC, in webforms. I learned that there is this possibility but I did not find anything on the net. So I would organize CSS and JS in one place.     
asked by 02.07.2015 / 04:47
1
answer

How to put an OnClick event by calling a javascript function on a Link inside a GRIDVIEW in ASP.NET?

I have a form containing a button that will open a query popup. In this popup, I make a query passing as parameters name and cpf where the query returns, creates a gridview where each record contains a link that will return the data to a java sc...
asked by 21.06.2015 / 23:07
1
answer

Identify via Windows Forms C # the URL that the user accesses

I have a LAN House and would like to do a graphical search of the sites that my clients access. For this, I need a way to capture the URLs that they type in the browser through a Windows Forms application in C #, has anyone made this solution...
asked by 21.05.2015 / 16:49
1
answer

How to use event dynamically created buttons to redirect to another ASP.NET page?

I'm trying to call the event from buttons that were created dynamically with a foreach public void adicionarComanda() { List<Comanda> lc = ControllerComanda.getComanda(); foreach (Comanda comanda in lc) { Button bt =...
asked by 26.05.2015 / 04:05
2
answers

ASPNET Application does not send emails

I have an application that has a screen with sending emails, this application runs 100% on a virtual server (MANWEB10), including sending emails. When exporting to this new server (MANWEB01) the sending of emails simply does not work anymore, so...
asked by 23.04.2015 / 16:58
1
answer

Show success / error message after postback

I have the following functions on my page, when I call them via javascript, they work perfectly: function msgSucesso(msg) { toastr.success(msg); } function msgErro(msg) { toastr.error(msg); } So, I have a button on my aspx page tha...
asked by 30.05.2015 / 20:52
1
answer

Difficulty with repeater using asp.net webforms

I'm having trouble dynamically rendering data in a repeater in asp.net webforms . I feed datasource of repeater with database records, and in html, it needs to be enclosed with </div><div class="row"> tag every 4 rec...
asked by 21.01.2015 / 23:49
1
answer

Error while adding While value in List

I'm trying to add the value of a result from my while , then load it into my GridView . But I'm having a problem adding the value to my List<> . You can not add prob1.vTotal to lstTotal . namespace Avalicao...
asked by 04.11.2014 / 01:24
1
answer

How to handle multiple forms on the same page.aspx?

I have a page.aspx that I have several forms. One of the forms I placed runat="server" and is of type Textbox , I was able to get form data and insert it into the database. But I wanted to do the same with the other forms, but I do not know h...
asked by 22.09.2014 / 16:02