Skip to content
Advertisement

Tag: asp.net

Error when trying to display an image saved in a computer file

I am developing an application which allows me to bring some files saved from another server for that I have a code made in Asp.net which I consume with Javascript to bring the image, but when I get the image to show it, the following generates me error, Not allowed to load local resource: file: /// C: /Users/usuario/Desktop/imagenes/prfil/descarga.png, but when

Show json result in Textbox ASP.Net

I want to know that how can I get the following json result in textbox instead console.log in asp.net C# ? Thx everyone Answer Try this: you can have: Sometimes your js code could be executed before the rendering of the asp.net page has been completed, so it is better to add the js to the end of the body,

ASP.Net Webform: Add HTML and javascript dynamically

I need a ASP.net application which is only kind of “pageDisplayer” from content which is coming from an API. So I choose ASP.net Webform and tried the following: The html content and the script are loaded correct but I cannot access DOM elements in the javascript. The javascript looks like that No I get the error “form is null”. For

asp modal popup closes immediately when running it from user control

I have a user control that contains a confirm button extender and a modal popup extender. It looks like: The user control gets a dropdownlist. When changing the dropdownlist selection, the button onclick event should run. In the user control aspx.cs there is the follow code: Use the user control in aspx looks like: and in aspx.cs: This is working

Reading same textbox value each time from jquery popup

I have JQuery Popup whchi has a textbox. JQuery Popup trigger on OnClick event of a Checkbox. HTML My effort is to receive textbox value in server side C# Code and display it using an other jquery popup Server Side Code C# Problem My server side code can receive JQuery popup textbox value but every time i get the same

Advertisement