Skip to content

Take desktop screenshot with Electron

I am using Electron to create a Windows application that creates a fullscreen transparent overlay window. The purpose of this overlay is to: take a screenshot of the entire screen (not the overlay itself which is transparent, but the screen ‘underneath’), process this image by sending the image as…

Prevent string to become number in javascript

I have a string 100-10-0 in my MVC model. I have to pass this string to a javascript function on an HTML button click. My code is: @Model.BarCode has the value “100-10-0”. My javascript function is: Problem here is that when barcode comes to javascript method as parameter it is converted to number…

How to check table column data type

I am trying to make table configurable. Before that I am making demo component through which I can make a my own configurable table. I want to pass few things to my table like, column names and data. Column Name I want to pass like this: the dataType above states that this column will have input type text whe…