Skip to content
Advertisement

Tag: c#

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

C# load cshtml into modal with JQuery

I want to load the content from one page into a modal on another page on the click of a button, but it is also loading in the content from the __Layout page. I have tried calling a controller using: However, I cannot get it to load in solely what is in the MyPage.cshtml file. What am I doing wrong?

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

Export to PDF error using Dot Net Report Builder

I am using the MVC version of the Dot Net Report Builder. I am able to configure dotnetreport and run a test report, but if I click on Export to PDF I get a javascript error – unexpected token export. Looking at the javascript console error it seems to be originating from bootstrap/popper. Answer Thanks for pointing this out, this

How to disable high contrast mode for UWP application

Recently, some users of our application started complaining that it was not rendering properly. They sent in videos showing that all the colors were off and that video in the app was being hidden. After a great deal of troubleshooting the issue, we finally figured out that these users had put their machines into high-contrast display mode, and our application

Advertisement