Questions tagged as 'webforms'

0
answers

Website slowness when using SignalR for notifications

Good morning, I'm developing a site to run in local intranet format on IIS . With asp.net ADO technologies in the WebForms format, I'm using the SignalR library to monitor a simple table in SQL Server Express vi...
asked by 13.01.2018 / 13:21
0
answers

SignalR Can not read property 'MyHub' of undefined

Good afternoon, I'm trying to apply the SignalR library to a site with Master page in .aspx WebForms, but I'm getting error reading the Hub file. I can not get the site to see such a file. I've run into a website without MasterPage and it works...
asked by 10.01.2018 / 18:31
0
answers

How to store another page (web form) in a variable Page asp.net

In a button1_click event of my Default.aspx page the following happens: Page pagina = this; But instead of storing the page itself, I need to store another page of my project, "Cadastro.aspx" for example. Is this possible?     
asked by 24.01.2018 / 15:36
1
answer

How to retrieve Input data for CodeBehind ASP.net

My question is this: I have my HTML code and I'm doing field validation with JavaScript, but I would like to call the function and pass the value in CodeBehind. Example String name = uname (my input); Is it possible? <!--Form de Login -...
asked by 09.01.2018 / 19:49
1
answer

Automatic line break textbox multiline form of email C #

Hello everyone, help me here because I tried everything and it did not work, I'm not able to make the multiline textbox send the line break by email in the contact form. ex: Ola Quebra de linha tudo bem resultado: Ola Quebra de linha tudo bem...
asked by 19.12.2017 / 22:44
1
answer

Convert data structure in JSON to Object

I'm using the framework Materializecss - autocomplete , and would like to feed an autocomplete field with data coming from my database. Autocomplete works with data in the following object structure: { "Apple": null, "Microsoft": null,...
asked by 01.12.2017 / 14:14
1
answer

Load Fields via DropDownList

I have a dropdownlist (cbreceitas) which is loaded through SqlDataSource, where after loading the cbreceitas, it loads the cbplanos through SqlDataSouce, follows the code: <div class="grid-9"> <asp:Label ID="Label8" runat="se...
asked by 01.12.2017 / 18:35
1
answer

Web Components for Bank Data Search

I'm doing a small system for registering product items. As I came from Delphi I was looking for a way to load the products by code or by name in a Dropdownlist. I've been searching and seen a system that was using a component like I wanted...
asked by 24.11.2017 / 14:15
0
answers

How can I use CSHTML (Razor) in ASPX WebForm projects?

I was taking a look at in this question in English Stackoverflow, because I really find it very confusing to use the ASPX files and I find the Razor syntax more friendly. When trying to add a file with the extension .cshtml the proje...
asked by 01.12.2017 / 12:43
1
answer

Preventing sending data when updating page F5 in ASP.NET

I have a problem, I have a grindview with products, every time I add a product in the stamp it adds, but if I click on F5 it adds the new data to the cart. public partial class carrinho : System.Web.UI.Page { ProjetoContext bd = null;...
asked by 21.11.2017 / 19:43