Questions tagged as 'asp.net'

1
answer

Doubt with DATAPICKER

I'm using DataPicker and would like to ask a question about just enabling a specific day. <script> $(function () { var datepicker = document.getElementById('<%=txtDataRetirada.ClientID%>'); $("#MainContent_txtDa...
asked by 28.04.2017 / 21:58
1
answer

How to keep option after refresh - asp.net

I have a select, some options and a jquery code that does not change the select, updates the screen with the data of the chosen option. The question is, how do I maintain the option after the window.location? Note: I'm using Asp.Net Code...
asked by 30.03.2017 / 22:39
1
answer

How to send items selected from a Grid by email

I have a grid and I have a different product listings from several suppliers and each supplier has its ID. I would like to select the grid items and send the email to each vendor with their respective items. Icansavethedataapproved.Hereismyc...
asked by 10.03.2017 / 22:05
1
answer

what is the clientcontext sharepoint object?

I have a question, I have already researched in some places but I can not understand what context the clientcontext class instantiates. I am using in my code passing a URL (obviously) I know this class creates a page context that has been pas...
asked by 16.03.2017 / 00:28
3
answers

Page rendering asp.net DisabledCssClass

I have the following problem, I have this code on a page: <div class="modal-footer"> <asp:Button runat="server" ID="btnCancelar" Text="Cancelar" class="btn btn-sm btn-danger" data-dismiss="modal" Width="90px" /> <asp:But...
asked by 13.01.2017 / 19:39
1
answer

How to direct each user to your page corresponding to your access profile using asp.net identity with roles

I have 3 profiles registered in the database SQL Server, they are Master, Admin and User, when you log in as you would for each user to be directed to your permission view. by default the route is loading the home / index. // POST: /Acc...
asked by 09.12.2016 / 21:02
0
answers

Problem with OAuth2 JWT in WebApi2

I'm trying to get the token in the form of a token, but I'm not able to validate the token. My code looks like this when I'm going to call api. What happens is: I am sending the request with the token, but it still does not validate, the to...
asked by 16.12.2016 / 15:35
0
answers

ASP.NET MVC + Checkbox how to proceed? [closed]

I have a list where you can register a SOCCER TIMES in CHAMPIONSHIPS, that is, I need to select several teams for a league, I make a list with checkboxes but I do not know how to proceed later: <ul> @foreach (var item i...
asked by 30.11.2016 / 00:05
1
answer

AjaxPro not accessible in IIS

I have a simple application with WebForms, I have created some methods that I will access through Ajax via AjaxPro DLL. I used the [AjaxPro.AjaxNamespace("Teste")] attribute on the class and the [AjaxPro.AjaxMethod] on the metho...
asked by 16.11.2016 / 18:13
1
answer

How to send a special character to the view, asp.net mvc?

I have a situation where I would like to position the page in the same position as the container where it was before sending Get? Example: <!-- ==== contato ==== --> <div class="container" id="contato" name="contato"> <...
asked by 11.11.2016 / 13:36