Styling a FileUpload by splitting it into a TextBox and a Button (and IE10 troubles)
This is a classic problem: you want to style your <input type=”file” /> control but the options are kind of limited. The solution is to hide the control and add your own controls, passing any actions from one to the other. With jQuery this can be fairly easily achieved by the following script: $(function () […]
jQuery, ASP.NET and subscribing to (pre-)postbacks
ASP.NET (WebForms) has a concept of postbacks. This is not entirely the same a submitting the current form. A LinkButton for example, when clicked, will call a __doPostBack javascript function which was added by ASP.NET. This means that you can’t always subscribe to the ‘submit’ event with jQuery: $(‘form’).on(‘submit’, function() {}); You might want to […]