Questions tagged as 'asp.net'

2
answers

submitting submit button even when canceling

I have a button in ASP.NET webForm and even clicking cancel it sends the submit. Example on Fiddle link $(function () { $("[name='chk_IDDel']").change(function () { var disabled = true; $("[name='c...
asked by 23.03.2015 / 19:32
1
answer

Error in encryption in C #

Hello!  I already tried to parse the code but I can not find the answer. using System; using System.Collections.Generic; using System.Text; using System.Linq; using System.Web; using System.IO; using System.Security.Cryptography; /// <summ...
asked by 24.04.2014 / 14:00
2
answers

How to update ASP.NET Repeater in real time?

I have a Repeater on a side div that receives the amount of products from the cart and needs to be updated with every click. I have tried rpt.Databind() in the Click event but repeater only refreshes with a refresh of the browser .. An...
asked by 18.03.2014 / 17:37
2
answers

Updating treeview

I have an application that uses a treeview according to the image and code below. ASPX:<%@PageTitle="" Language="C#" MasterPageFile="~/FrontPage.Master" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="IASD.ASCS.WebForm.register....
asked by 05.05.2014 / 18:44
1
answer

Is ASMX web service obsolete?

I came across the need to consume an ASMX Web Service. So far I had just consumed RESTful APIs. I noticed that the same is quite different from a RESTful API, for example. Given the way it's set up, it looks like it's already been set aside,...
asked by 22.03.2018 / 13:23
1
answer

Data overlapping the onClick command

Well, I have a small problem with asp.net webforms . And I gave a cool pack. I know the solution to this may be a bit simple, but I'm confused. Follow the code: public partial class Default : System.Web.UI.Page { List<Pessoa>...
asked by 28.10.2014 / 19:13
1
answer

Data manipulation in excel

I need to get the data generated from a proc save to some variable and make a UPDATE into a worksheet that already exists on a fixed path in the system. Is it possible to do this process via code? Ex. The procedure returned this...
asked by 04.10.2017 / 18:06
1
answer

AuthorizeAttribute in Controlller and Actions

When using an attribute (AuthorizeAttribute) developed by me (with Enums), it is not working as it should: When used to decorate the Controller declaration: [UserTypeAuthorize(TipoUsuario.Administrador)] public class UsuarioController : Bas...
asked by 12.01.2017 / 04:08
1
answer

Disable automatic refresh of a Grid [closed]

Hello, I have been trying to disable refresh a AjaxUpdatedControl of a RadGrid that occurs when I click a button on this Grid. Does anyone have any suggestions how to do this?     
asked by 01.09.2016 / 19:13
3
answers

Send All CheckBox via Post

I'm trying to send all the CheckBox from my View, however, I can only send the ones that are selected via FormCollection Controller public ActionResult Index() { List<ListaCheckBox> listacheck = new List<ListaCheckBox>();...
asked by 29.04.2016 / 17:47