Skip to content

Tag: c#

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…

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…

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 i…