It is very simple and light weight collaboration white board using HTML5 canvas API, JQuery and SignalR. Users can draw together in the white board. Client side implementation The client side implemented using HTML5 Canvas element and JQuery which helps users to draw lines and shapes. The HTML5 <canvas> element is used to draw graphics, [...]
Posts Categorized: Javascript
WebForms UnobtrusiveValidationMode requires a ScriptResourceMapping for ‘jquery’
Today while working on ASP.Net web application in VS Express 2012 for Web, I got a strange error like this. It was strange because I just added some basic components like TextBox, Requiredfield Validator, and validation summary controls only. Later I found one Microsoft Connect issue. And according to the connect website we can fix [...]
How to access page methods from JQuery
Most of the time to make web page ajax, developers were using UpdatePanel with Script Manager and sometimes (most of the time in my experience) the update panel will affect the performance of the Page. One of the project I used script manager and Pagemethods for the ajax implementation. The current project I am working, [...]
How to access javascript from WebBrowser control
We can invoke any javascript function from windows application using InvokeScript method. Here is my javascript function. And we can call this function like this from C# It will show a MessageBox with text 30. You can also call C# function / methods from javascript also. You need to decorate the class using ComVisible attribute. [...]
How to show confirm dialog before user closing browser tab or window
Recently in ASP.Net forums, I found a question like how to show an alert box before user closing or leaving browser window or tab. You can find the similar dialog, in StackOverflow.com , when you are started answering a question and then trying to close window / tab or navigating from it without submitting the [...]
Pass your own arguments to the ClientValidationFunction in a CustomValidator
Last few days I am working on an ASP.Net, where I can create Grids, Dropdown lists with Post back , and the best part is browser compatibility, client only requires compatible with IE. Yes it was a refresher course for me, I revisited GridView templates, Page.IsPostback checking etc. Today I got a requirement like I [...]