Questions tagged as 'asp.net'

0
answers

HELP with Reference to object not established as an instance of an object. in ASP.NET MVC

The fact is that I am developing an online store in ASP.NET MVC, the fact is that when I want to add an item to the basket I get this error: Object reference not set as an instance of an object. And I get it in this part of the code:...
asked by 29.07.2018 / 03:03
0
answers

list cursor in ERROR view in ObjectParameter

I have a project in C # ASP.NET and I am consuming an Oracle package in a login which receives three variables UserName , Password , application_id The code that I have is the following one and it receives me the data and everything: only th...
asked by 03.08.2018 / 23:47
0
answers

How to correctly align a Dropdownlist with a TextBox at the same height?

I am creating a form in which there is a DropdownList and next to a TextBox. I have the problem that the two elements located at the same height do not place me. the DropDownlist fits me a little lower. Also I have to declare a height="1" so tha...
asked by 02.08.2018 / 11:31
0
answers

How to page GridView in Asp.net C #?

I have a gridview with a pagination, it works fine until page 9 but when I select 10 or more it sends me the error "The index was out of range, it should be a non-negative value and less than the size of the collection." I attach my code &...
asked by 28.07.2018 / 03:06
0
answers

How to change pages through event in Button inside UpdatePanel?

I have a page inside an "iframe" on this page there is a form with a button. The button is inside an "UpdatePanel" to show me in case there are some empty fields "labels" of "required field" that are also inside the "UpdatePanel". If the fields...
asked by 27.07.2018 / 10:47
0
answers

CompareValidator show message when required field

I have a date in a text box that controlled its validation with "CompareValidator" <asp:CompareValidator ID="Validator" runat="server" ControlToValidate="txtFecha" CultureInvariantValues="true" ErrorMessage="Fecha incorrecta" SetFocusOnErro...
asked by 25.07.2018 / 12:17
0
answers

IIS problem with ASP.NET

Good I leave you the errors that I visualize in the viewer of events: Error 1 Exception : The server was unable to process the request due to an internal error. For more information about the error, either turn on IncludeExceptionDetailInF...
asked by 26.07.2018 / 15:54
0
answers

Correct way to save permissions by user or groups from form options

You have the following table (HTML), with a list of users (from BD with ASP.NET), you want to add certain settings or permissions (form below the table) for each selected user, or for a group of users (the number of users is dynamic). So, the...
asked by 26.07.2018 / 22:00
0
answers

Custom Authentication in Web API 2 with OWIN

The theme is as follows. I am working on the authentication system for an API in Web API 2, according to a certain need of the project my OAuthProvider is as follows: public override async Task GrantResourceOwnerCredentials(OAuthGrantR...
asked by 26.07.2018 / 02:08
1
answer

Event TextChange only executes instructions inside else: c # and asp.net

I have 4 textBox, I make a query to my BD and depending on what is selected in a DropDownList I must execute a multiplication either Txt1 * Txt3 or Txt2 * Txt3 and show me the result in Txt4 . The method is the same for al...
asked by 24.07.2018 / 16:50