Convert base64 string into file using Java script

Here you find java script code convert base64 string to file. I converted excel file to base64 string to demo example. I did it in c# code. Code to convert file into Base64 using System; using System.IO; using System.Linq; namespace Demo { public class Program { public static void Main(string[] args) { var fileBytes = … Continue reading Convert base64 string into file using Java script

Advertisements

Colorize negative number using jquery in html table

Recently I was working on creating reports for clients on web portal. We are developing web portabl in asp.net MVC3 and using jquery utility functions. One of the UI requirement was to colorize negative numbers. I can implement in server side in chtml pages but it would not be generic for all pages. So I … Continue reading Colorize negative number using jquery in html table

General Tips: How to validate from and to date of jquery datepicker control

I am using Jquery Date picker control and my page has from date and to date. This control already have some generic validations. Here I am going to one scenarion where it is failing: Validation statement: From date cannot be greater than to date. If you select dates from calendar which is popup on focus or click of … Continue reading General Tips: How to validate from and to date of jquery datepicker control

Implement Search screen using knockoutjs, Jquery and asp.net mvc3

  Here I am trying to explain steps for how to use knockoutjs viewmodel, jquery ajax request in asp.net mvc3 project. I am taking practical example to show behaviour. This example will have simple UI screen with search textbox and button. When click on search button ajax request will go to server and will call … Continue reading Implement Search screen using knockoutjs, Jquery and asp.net mvc3

Implement Search screen using knockoutjs, Jquery and asp.net mvc3

Here I am trying to explain steps for how to use knockoutjs viewmodel, jquery ajax request in asp.net mvc3 project. I am taking practical example to show behavior. This example will have simple UI screen with search textbox and button. When click on search button ajax request will go to server and will call action … Continue reading Implement Search screen using knockoutjs, Jquery and asp.net mvc3