Questions tagged as 'asp.net'

1
answer

Html2Canvas ASP.NET Core

I'm trying to add the html2canvas on my ASP.NET Core web site. In documentation , they say to use: npm install html2canvas When I run this command, html2canvas is installed on: myproject/src/myproject/node_modules When I try...
asked by 09.03.2018 / 13:15
1
answer

Not null parameter in Int fields

I'm creating an application in Asp.NET MVC (I'm using the Scafffolded feature), however, all the fields are being filled in, how do I remove this parameter? Note: I've tried unchecking the "Allow null value" option in the database, but withou...
asked by 07.03.2018 / 13:29
0
answers

How to transform a User Control into Custom Control?

Well I do not know if it's possible to do this, but I created a user control a while ago and now I need to reuse it in some ASP.NET projects, but I'd like to show it in my toolbox. I did some research and I can only add a custom control in the t...
asked by 05.03.2018 / 20:45
0
answers

Using selectize

I'm trying to use selectize in my ASP.NET C # WEBFORMS project. I'm not getting it to work, I downloaded the folder, and added it to my project, and I referenced it like this: <script type="text/javascript" src="/javascript/jquery.js"&g...
asked by 02.03.2018 / 13:50
1
answer

OAuth 2.0 flow for authentication of multiple APIs using an authentication server

When I log in through my front-end layer, a request is sent to my authentication server which, in turn, returns a Bearer Token that can be saved in a cookie, for example. No doubt about it! My problem is that my front layer requests N other...
asked by 06.03.2018 / 20:51
0
answers

Load Load Control C #

I need to add a UserControl conditionally. In what way? if the variable Pap_id is equal to 134, I need to load a UserControl that displays two inputText for the user to enter a start date and an end date: var Pap_id = Convert.ToString(Reques...
asked by 27.02.2018 / 12:57
0
answers

Error loading the google api chart in ASP.net

When I took the example from the site it worked, however when I add a new Webform and in a new project and paste the codes from the codebehind example in VB.NET and the aspx code does not work, it gives the alert message, I made some adaptations...
asked by 27.02.2018 / 02:03
1
answer

WebControl input text mask

I created a UserControl called UclDataVigencia very simple. Only one label and two input texts that will be responsible for receiving a start date and an end date. I would like to apply a mask to the date of type dd / mm / yyyy. I tried using jQ...
asked by 23.02.2018 / 20:43
1
answer

Referencing non-static object in a static method

Good evening, I need to reference a PlaceHolder Asp.Net component in a static method in code-behind C# , this method is called via AJAX by front-end see code: Call the method by the front end Form aspx:...
asked by 23.02.2018 / 00:51
0
answers

Elapsed Timer event is not running in service DLL

I created a service DLL and set up a timer for this service to run at certain intervals. But I have a lot of doubts about when I run the service through VS 2013, the service runs the first time the Elapsed of timer event is not running...
asked by 23.02.2018 / 16:15