Posts Tagged by jQuery
Web service proxy in ASP.NET MVC – how to avoid cross-site script warnings
| October 19, 2010 | Posted by Matt under .NET, Ajax, Web |
In this article I will walk through the process of creation of web service proxy in ASP.NET MVC. This is specifically useful as a method of preventing cross-site scripting (XSS) warnings on web page. This is a feature of all modern web browsers and cannot be easily omitted as it enforces same origin policy. This sort…
Cascading dropdowns with just a bit of Ajax in ASP.NET 2.0
| September 7, 2010 | Posted by Matt under .NET, Ajax, Web |
In this sample I am going to go through very common idea of cascading dropdowns. Very basically speaking it is all about having set of dropdowns where next dropdown is populated on the basis of value selected from previous one. Let’s start with very simple xml document: <?xml version=”1.0″ encoding=”utf-8″ ?> <People> <Person ID=”1″…
How to create page with header and iframe covering rest of the page
| August 26, 2010 | Posted by Matt under Web |
A few times I needed to have a page where I have an iframe (I know, I know – it is bad design, but sometimes you need to sacrifice!) with header to the top. I tried many different CSS hacks, but could not get it right. Then I came around pageY(), tiny function created by John Resig (jQuery…
Passing list as parameter from AJAX request to MVC controller
| July 30, 2010 | Posted by Matt under Ajax, Web |
I came across this recently when needed to pass array of selected values into MVC controller during Ajax request. Scenario was that on the page I had set of checkboxes and button. User can then make multiple choice selection and submit form using button. Page could look like this: <ul id=”sampleList”> <li><input type=”checkbox” value=”1″ checked=”checked” />text 1</li>…
I am IT professional with over 10 years of experience in computer programming and web development, specializing in Microsoft technologies.



Recent Comments