Questions tagged as 'webforms'

4
answers

How to display value related to combobox in the textbox?

I'm doing a project in C # and SQL Server, and I need the item selected in the combo to display the corresponding values in a textbox . Here are the codes I've tried: private void preencherCBDescricao() {...
asked by 28.11.2015 / 19:39
3
answers

Get MAC Address from the application's client machine

I would like to know the best way to get the client MAC Address from my Asp.Net Web Forms application. Since it's low-level information, I do not think it's as simple as it sounds.     
asked by 18.02.2014 / 20:16
3
answers

Competition control in database insertion

I have a concurrency control problem when inserting data from a table. The scenario is as follows: There is a table that records daily data according to the user request, and this data can not be duplicated. The current concurrency control ch...
asked by 12.09.2014 / 15:39
2
answers

Serialize object list for JSON: A circular reference was detected while serializing an object of type

I'm trying to Serialize a list of objects to Json and I have received the following error: An exception of type    'System.InvalidOperationException' occurred in   Microsoft.Web.Extensions.dll but was not handled in user code   Additio...
asked by 07.10.2014 / 15:36
2
answers

WebMethod is not called (triggered) through PageMethod

I'm not able to fire a WebMethod on a project created in Visual Studio 2013 (WebForms Application). If I create a project, for example, in Visual Studio 2008 and migrate to Visual Studio 2013, it works correctly. If I create a new proj...
asked by 13.01.2014 / 14:53
1
answer

Convert data datetime to dd / MM / yyyy

I have a GridView and I'm using TemplateField to display the date that is currently in the format 'string yyyy-MM-dd 00: 00: 00'. > I need to show this date only with dd/MM/yyyy . I have already tried {0:dd/MM/yyyy} and it doe...
asked by 25.05.2015 / 22:27
2
answers

How to get Text from a ListView?

How can I get the Text of my Label that is within a ListView without using the FindControl ( Item.FindControl("lblCodigoEdit") as Label).Text ), ie directly access the value you have in my lblCodigoEdit ?...
asked by 01.12.2015 / 12:11
1
answer

Accessing html objects in code in asp.net c #

I have a page that contains asp.net and html objects. How do I access design html objects in .cs with C# ?     
asked by 25.05.2015 / 21:52
3
answers

How to put two divs side by side in Bootstrap

I'm still new to web development and I'm having a question on my form putting the two lines of the form side by side into the responsive Bootstrap, knowing that each input will bring information separately. Example: Nome: ________________...
asked by 06.11.2017 / 16:31
1
answer

Select button with one click and only open with two clicks

I have an ImageButton in webform that represents directories in a grid using repeater. How to do that with 1 click just select the button, and only open with two clicks? <asp:Repeater ID="rtInlineBlock" runat="server">...
asked by 25.02.2015 / 21:18