By using RegisterStartupScript() method. You dont need to use the ScriptManage to register a JS fuction. You can register and call a JavaScript function using RegisterStartupScript() and will show you ...
In my previous article I have explained how to call WebMethod using Ajax in JavaScript. Now, in this article I’ll show you how to call WebMethod with multiple parameters from JavaScript Ajax. ...
Using Ajax XMLHttpRequest object and POST method. Yes, you can easily call an Asp.Net WebMethod from JavaScript using Ajax and I’ll you how simple it is. ...
Let us assume, you are using Asp.Net and there is a folder full of images and you want to delete images automatically that were created (or added) 1 hour before. You can use the Delete() method of the ...
I have previously shared a post explaining how to get the file name from a URL in JavaScript. While the previous example dealt with validations at the client side, lets see how we get the file name ...
In Asp.Net, you can use the FileInfo class in both C# and VB, to get the file size. It provides the necessary methods and properties to deal with files. Here in this post, I have shared ...
Ajax, as you know stands for Asynchronous JavaScript and XML, which allows web applications (client side) to send and receive data from a server, asynchronously. Ajax can be used with any framework or ...
I shared an article on Hightcharts few days back where I have explained how to create Column charts dynamically using JSON data extracted from a remote file. You can use any data source for the chart ...
You can use the DataGrid control in Asp.Net to export GridView data to an Ms-Word document. I am sharing codes here, both C# and Vb.Net, which explains how easily you can export data extracted from a ...
Asp.Net INPUT controls, like a TextBox, support HTML5 placeholder attribute. By default, the placeholder text is left aligned. I’ll show how easily you can align the placeholder text at the center or ...