Questions tagged as 'asp.net'

1
answer

How do I resolve site publishing problem using IIS

The site / system will be placed on the local machine for demonstration I published the site in IIS to be used locally on the machine, but it is returning the error: Description: An error occurred while processing a configuration file needed...
asked by 19.12.2017 / 17:04
1
answer

Onchange function does not work

Good afternoon, I have a function that verifies if the typed email exists in the database, and if the email is valid. Here is the function: <script type = "text/javascript" > function validateEmail(emailField) { var reg = /^(...
asked by 12.12.2017 / 14:53
1
answer

How to enable / disable a txt from a choice of a jquery radiobutton?

I need to enable / disable a field according to the choice in a radiobutton Validations This field should only be active when the "Inactive" radio button is selected Here is the code: RadioButton: <asp:Label ID="Label40"...
asked by 09.01.2018 / 14:41
1
answer

Lock typing TextBox field with CalendarExtender

Good afternoon, I need to block typing the date in an asp.net TextBox field. It can only receive the date selected in the calenderExtender component applied to the TextBox. Would anyone have some way via front end to block typing?     
asked by 23.01.2018 / 20:11
1
answer

Convert file to Byte Array [duplicate]

I am trying to convert a received file in FileUpload (ASP.NET tool) to an array and then the array to a string . But when trying to use Encoding Visual Studio accuses an error saying that this class only accepts a string...
asked by 27.11.2017 / 15:44
1
answer

Pass Aspx page values to Aspx.cs

I have an Aspx page the following code that loads a list of items. It is working, the list is displayed normally. <table width="100%" class="table table-striped"> <tr> <th>Id</th> <th>Nome</th> <th>CPF...
asked by 23.12.2017 / 21:38
1
answer

How to get panels from a child page in ASP.NET

I'm trying to grab the panels from a child page in ASP.NET, but when I use page.Controls, it only retrieves the elements from the master page. I've tried using this, Page.Page, but always the same result, the elements of the master page and n...
asked by 20.11.2017 / 12:16
1
answer

Deserialize Image in ASP.NET WebForm

I have a question about the deserialization of an image in webforms, I am working with Oracle Database which is my context and using the entity framework for image I am using BLOB, I was able to serialize and commit in bd, but not I can deserial...
asked by 24.11.2017 / 13:07
1
answer

Pass an object to Modal

I have a Foreach in a table, I need as soon as the user clicks a line, open a modal with the data of the object contained in that row. Foreach: @foreach (PedidoModel pedido in @Model.Entidades) {...
asked by 08.09.2017 / 15:43