Tag | jQuery Posts

I am tasked with using an external Web Service API from a different domain to return a JSON object using the dataType: JSONP. I am forced to use JSONP because it is a Cross Domain Request, and I am using an Unobtrusive JavaScript Library we host in the Azure Cloud. Sporadically, I received an error (net::ERR_NETWORK_RESET). There is an alternative external Web Service API from another domain that could provide similar results, but it’s reliability is potentially just as spotty. The documentation ...
Introduction SignalR is a pretty new and very exciting feature in ASP.NET. It offers a simple and clean API that allows you to create real time web applications where the server needs to continuously push data to clients. Common applications are chat, news feeds, notifications and multi-player games. For this exercise we’re going to build a simple chat application in ASP.NET MVC 4 using the power of SignalR. I presume that you already have the basic knowledge on ASP.NET MVC and how stuff works (e.g. ...
Working with client-side technologies like JavaScript's and Ajax can sometimes be a pain in the butt. One practical example is if you’d like to display a message to the end user or do something else after all Ajax calls within the loop are completed. In this post I’m going to show how to make it work. Suppose that we have this JavaScript block below that iterates the table row to get the item ID stored in an input element and then call an action method from the controller through Ajax by passing ...
A couple of months ago I’ve written a simple demo about “Highlighting GridView Row on MouseOver”. I’ve noticed many members in the forums (http://forums.asp.net) are asking how to highlight row in GridView and retain the selected row across postbacks. So I’ve decided to write this post to demonstrate how to implement it as reference to others who might need it. In this demo I going to use a combination of plain JavaScript and jQuery to do the client-side manipulation. I presumed that you already ...
The ComponentOne team presents the most complete collection of extensions for Microsoft Visual Studio LightSwitch. This collection of ready-to-use extensions snaps right into your applications and extends their functionality. You can choose from the following extensions below:" OLAP – instant pivoting data views FlexGrid – grid view with conditional formatting, printing and filtering Chart – the easiest way to get a chart in LightSwitch PDFViewer – open PDFs such as SSRS reports without an external ...
The default NuGet template for MVC3 pushes down jQuery 1.5.1. You can upgrade to a new version (1.7.1 is current when this was written) to avoid a problem with the creation of “unknown” HTML5 tags in IE6-8: Take this sample HTML page using HTML5Shiv to provide support for new HTML5 tags in IE6 – IE8. The page has a number of <article> tags that are backwards compatible in Internet Explorer 6-8 thanks to the HTML5Shiv. After the article elements there is a jQuery 1.5.1 script tag, and a ready() ...
This is just a little script to have cat paws walking across the page using jQuery.I searched for something similar, but couldn’t find anything so this is what I ended up with… <!DOCTYPE html><html><hea... <script type="text/javascript" src="http://code.jquery.com... <script type="text/javascript" src="catpaws.js"></sc... anything you like here, catpaws.js will append a couple of DIVs to the body tag when ...
We are looking to hire someone with (but not necessarily all of!) :- - Good web skills Javascript / Html / CSS + any javascript frameworks Jquery / Knockout etc - ASP.NET MVC 4 (or earlier) - ASP.NET Webforms ( any exposure ) - SQL Server / NHibernate ( or other ORMs ) - Webservices -WPF ( we do a number of inhouse windows apps ) - A love of software development and good development techniques! You can see what we do at http://www.outpostcentral.com Drop me an email at keith dot nicholas AT outpostcentral.com ...
A little while ago I was part of architecting and leading a project and one of my very talented ex-coworker was in charge of doing most of the branding. He incorporated the Nivo Slider as part of the rotating banner on the home page. It seems like Rotating banners are the thing to do for internet sites these days. I have to admit, done right, they can be quite tasteful. Since my co-worker was in charge of doing most of the branding I did not get a great chance to see how he implemented the Nivo Slider. ...
Today's $10 deal of the day from APress at http://www.apress.com/97814... is Pro ASP.NET 4 CMS"This book will immerse you in a variety of advanced topics, including architecting different application data tiers, memory caching paradigms, data mining, and search engine optimization. " I have reviewed this book and recommended it last 30/Nov as follows: This book is more than just a book about an ASP.NET CMS system - it has much practical advice and examples for the Dot Net web developer. I liked ...
Good news to all Web devs, ComponentOne has released Wijmo v2. A complete kit of 40+ jQuery UI widgets including everything you'll need to build rich HTML5 applications in a cinch. If you know jQuery, you know Wijmo. This release provides unmatched functionality with 14 hot, NEW widgets including: For data visualization - Area, Bubble, Scatter, and Composite Charts, as well as Linear and Radial Gauges Powerful Events Calendar with HTML5 offline storage For rich media - Lightbox, Gallery, and Video ...
I ran across a unique scenario recently, and I’m not sure if I should be proud of the solution, or appalled at the Frankenstein result. Either way, I thought I’d post about it to possibly help others in the same situation. I was developing a website leveraging jQuery / AJAX to query views of data at runtime. The kicker? I didn’t know which views. The choice of database view was determined via configuration and user choice. I was leveraging jqGrid for the client-side grid presentation, sorting, filtering, ...
I’ve been testing\evaluating ComponentOne’s Studio for ASP.NET Wijmo suite for an MVC 3 project and I’m quickly becoming a fan! This product has so many things going for it that I’m not sure where to start. I’m going to focus on the Wijmo components, but the suite also contains a set of controls for ASP.NET WebForms development. If the Webform controls are as good as the MVC controls, they’re worth a look. There are two versions of the Wijmo components. An open source version containing 30 widgets ...
This is my first post in this new year and was thinking about a topic to write on. Lately I have been working on varied things that flexes the brain muscles and things which I haven't done before. So a lot of learning and some unlearning this new year. One of the big issue which most people faces is learning to learn!.So, today I will share my experience of how I go about learning a technology, a skill or anything you want. The first and foremost thing is the motivation. This thing is very personal ...
In a previous posting, I discussed replacing the stock MVC serializer used for the JsonResult exposed when you use the controller method Json(..) instead of View. This was all find and dandy. But how – you may wonder – can I call actions that contain complex parameters? Do I need a special binder? Should I write my own? The answer is mostly "no". As Phil Hack blogged, the ASP.NET MVC framework already contains value providers that take care of that for you. All you need to do is ensure that your ...
So lately I have been back in the dev arena more so and working from home. I find that I have some spare time because sometimes I pile directly through lunch. Today I was playing around with a control that I felt I had tested thoroughly. I was completely wrong. So here is an explanation of how to build out the accordion control in a webpart without having the same issues. First off go here and download the jquery-ui-1.8.16.custom.min.js and jquery-1.6.2.min.js. Then what I want you to do is create ...
I’ve been seeing many members in the forums asking how to display a large copy of the image on mouseover. Some of them are displaying the image in a Repeater, GridView or DataList control. I didn’t find any direct solution that shows the scenario they wanted so I thought of writing this post to demonstrate how to go about it. I know there are lot of ways of doing/implementing a solution for this scenario and this is just one them. In this example I’m going to use the DataList control for displaying ...
The typical way to check for whether anything has changed in the view when you’re navigating away from a page is to bind a method to the change event of each input and to set a flag if this has happened. This flag is then checked when leaving the page and a notification is shown to the user if the flag is raised. This is all good but it does not take into account things like changing the order of inputs and changing values back to their original values. Also, creating dynamic elements makes this ...
I’m not sure I have ever thrown this down in writing. I probably have said this 800 or 900 times, but I think that HTML 5 in SharePoint 2010 sucks. The support is terrible in the two most prevalent web browsers at the enterprise level – Internet Explorer and Firefox. If you can’t even get the video tag to work in IE 9 or the latest version of Firefox then that’s a huge fail for the product with HTML 5. What I think needs to be done in the product to improve HTML 5 support so that we can move towards ...
Wishing a very happy and blessed New Year to you in advance! A new release of Microsoft All-In-One Code Framework is available on December 29th. We expect that its 11 new code samples covering typical programming scenarios in Windows Phone 7, ASP.NET, WPF, Windows Shell, and WDK would ease your development in the coming New Year. You can download the code samples using Sample Browser or Sample Browser Visual Studio extension. They give you the flexibility to search samples, download samples on demand, ...
On 23/24 Dec Site Point at http://www.sitepoint.com/sale/ are offering a very specical deal - all the special offers that they have made this month are available again!

This  includes some excellent books on CSS and JQUERY!
I’ve heard people mention, a few times, how they would like for Microsoft to provide a blank template for ASP.NET MVC. The request seems strange because this is something that anyone can do themselves. This isn’t just creating an MVC project and deleting all the items, which I would agree is tedious. Rather, you can create a custom template of any type for reuse and sharing. This blog post shows how to create a custom project template, using the need for a blank MVC template as the use case. Creating ...
Recently (as in, last night) I started playing with jQuery Mobile. My experiences with jQuery, while occasionally frustrating, have been overwhelmingly positive. So when a friend mentioned jQuery Mobile to me, I figured I'd give it a try. A little Googling revealed some helpful tutorials and other resources, one of which was this handy basic page (which I got from here) <!DOCTYPE html><html><hea... Title</title><link rel="stylesheet" href="http://code.jquery.co... ...
I remember myself a tweet from Scott Hanselman a couple of months ago, where he asked us to check out a small application he wrote. As one of the first testers of his new "thing", I was interested but there were no documentation or libs available yet. A couple of days a go, I read a blogpost from Maarten Balliauw about SignalR. (Maarten's blog). Because I allready heard about SignalR a couple of months ago, I had to develop a very small application to test how it really works. 1. Install SignalR ...
Don’t miss out on these great session with Markus Egger in the Dallas office! Where: Microsoft Dallas Office – 7000 SR-161 (George Bush Turnpike), Dallas, TX 75039 When: Tuesday, December 13, 2011 – 1:30 – 4:30 PM Signup for this FREE event in Dallas Join Markus Egger, Microsoft RD and one of the longest running MVPs, for an afternoon of free information. CODE Magazine and EPS Software are in a unique position to share information based on real world experience in projects that are either our own ...
This was a very interesting event, I had never spoken in an event with so many developers in one place. It was cool! I had two talks, one on HTML5 and IE9 where I demonstrated the HTML5 and CSS3 coverage in IE9 and performance improvements, the second on ASP.NET MVC Best Practices where I talked about a fraction of things that you need to be aware of and possibly use when you are developing an MVC application. The HTML5 and IE9 talk was more of a showcase and focused on new features that will continue ...
Using a simulated dialog window is a nice way to handle inline data editing. The jQuery UI has a UI widget for a dialog window that makes it easy to get up and running with it in your application. With the release of ASP.NET MVC 3, Microsoft included the jQuery UI scripts and files in the MVC 3 project templates for Visual Studio. With the release of the MVC 3 Tools Update, Microsoft implemented the inclusion of those with NuGet as packages. That means we can get up and running using the latest version ...
Goal: Issues to consider when upgrading from jQuery version 1.6 to 1.7. This is a short list and may help identify the real issues you need to concern yourself with in stead of reading through all the release notesSummary of issues encountered during upgrade:As you prepare for upgrade to jQuery 1.7 from 1.6.x, this is a quick glimpse of all the issues that are relevant, not sure if it covers all but may be all you need to worry about.Use this method only for checking checkboxes and radio buttons:$("input:checked")h... ...
I presented sessions on MVC .Net and webmatrix. I covered stuff like what’s new in MVC .net and the architecture goodness of MVC pattern. I also demonstrated how MVC 3 / MVC 4 harness HTML 5 / mobile along with Jquery and Modernizr. PHP coding using MVC and Webmatrix and other advanced stuff like hosting PHP on windows or porting MYSQL Db to MSSQL is also is also part of the demo in the sessions. The slide decks are available at below link and all the demo is recorded and also shared at below link. ...
Today I was looking for a solution to get finally the JScript/Javascript/jQuery Intellisense Featureworking with my ASP.Net Webform Project to work. I found some good articles: - JScript IntelliSense Overview- JScript IntelliSense: A Reference for the “Reference” Tag- Enabling JavaScript intellisense in VS.NET 2010 to work with SharePoint 2010- Rich IntelliSense for jQueryBUT, all of suggested solutions did not work right with my Master Page based Visual Studio 2010 Solution.Only with physical Javascript ...
I am a 21 year old Web Developer, with over five years experience in the PHP field. Covering Javascript - jQuery & Ajax, mySQL, JSON and CSS. Out of the five years experience, three have been as a freelancer, the rest commercial work. (I have to say freelance is more comfortable whereas commercial really does get you to do things out of the box.) This blog will cover problems I come across and the solutions I came up with. Bringing ideas into reality - even if it's never been done before! Overall ...
I was a bit of a late-comer to the JQuery party, but now I've been using it for a while it's given me a host of options for adding extra flair to the client side of my applications. Here's a few generic JQuery functions I've written which can be used to add some neat little features to a page. Just call any of them from a document ready function. Apply JQuery Themeroller Styles to all Page Buttons The JQuery Themeroller is a great tool for creating a theme for a site based on colours and styles for ...
These are some of the best RSS feeds I've found for keeping up with HTML5. I'm doing jQuery & MVC development as well so you will find the links have a jQuery/MS angle to them. WhenCanIUse The oh-so-necessary caniuse.com, in RSS update format: http://feeds.feedburner.com... ScriptJunkie http://services.social.micr... good HTML, JavaScript, CSS site hosted by MS Rachel Appel's blog http://rachelappel.com/rss?... ...
Goal: Store custom data with the data attribute on any DOM element and retrieve it. Previously under HTML4 we used to use classes to store custom data, something to the affect of <input class="account void limit-5000 over-4999" /> and then have to parse the data out of the class In a book published by Peter-Paul Koch in 2007, ppk on JavaScript, he explains why and how to use custom attributes to make data more accessible to JavaScript, using name-value pairs. Accessing a custom attribute account-limit=5000 ...
Today is the big day, the day I attempt to use Ajax in the app… I’ve never done this (well, tell a lie, I’ve done it in a ‘tutorial’ site, but that was a while ago now), so it’s going to be interesting.. OK, basics first, let’s start with the @Ajax.ActionLink Right, first stab: @Ajax.ActionLink("Click to get latest", "LatestEntry", new AjaxOptions { UpdateTargetId = "ajaxEntrant", InsertionMode = InsertionMode.Replace, HttpMethod = "GET" }) As far as I’m aware, I’m asking to get the ‘LatestEntry’ ...
Yes, I was. Recently, I’ve taken a good hard look at JavaScript. I’ve used it before but mostly in the capacity of web design. Using JQuery to make your web page do cool stuff is different than really creating a JavaScript application using all of the language constructs. What I’m finding as I use it more is that I may have been wrong about my assumptions about it. Let me explain. I enjoyed doing cool stuff with JQuery but the limited experience with JavaScript as a language coupled with the bad ...
In this Issue: Colin Eberhardt, WindowsPhoneGeek, John Papa, Jesse Liberty, Derik Whittaker, Sumit Dutta, Asim Sajjad, Dhananjay Kumar, Charles Petzold, Peter Kuhn, and Ollie Riches. Above the Fold: Silverlight: "Display Total Records After Applying PagedCollectionView Filter" Asim Sajjad WP7: "Announcing: Phone as a Remote Control" Peter Kuhn Metro/WinRT: "Asynchronous Processing in Windows 8" Charles Petzold Shoutouts: Michael Palermo's latest Desert Mountain Developers is up Michael Washington's ...
Last week I pushed a new application up to production, and started hearing complaints of a memory leak. After running some diagnostics I learned two exciting things: http://bugs.jqueryui.com/ti... The current version of jQuery UI (1.18.16) has a memory leak with the DatePicker control - including the DatePicker control as part of the jQuery UI is all it takes to cause memory to be allocated and never returned until the browser is closed. Every refresh of the page, or every time a new page is ...
· For the last decade, the majority of my dev work has leveraged the .NET Framework for construction of information systems. However, my interest has lain in numerical computing. · Is it possible to have an increasingly higher level of abstraction and at the same time achieve underlying high performance computing? The prevailing winds say no: C# is aimed at productivity, and C++ is for performance. Garbage collection was great, but do we still need it with the availability of smart pointers? Would ...

From the terminal type:

lsb_release -a
I am in the process learning HTML 5 ,Jquery and CSS 3- I would be documenting my finding going forword as and when i come up with new tags. Audio tag - This tag helps to display any type of audio information. This has options of specifying two sources. Based on the browser what type it supports, it will pick that. The another tag is Source tag. <audio controls="controls"> <source src="Song1.ogg" type="audio/ogg" /> <source src="Song1.mp3" type="audio/mp3" /> Your browser does not ...
UPDATE The below sample just showcases the locality sample. The complete set of attributes exposed which include PostalCode, CountryRegion, Address etc., are available at http://msdn.microsoft.com/e... This is the third in the series of posts I am doing on HTML5 for ASP.NET Developers Geolocation is one of the popular features of HTML5 that’s being touted as a favorite for building location aware applications. It helps to a great extent not just for Web Applications that run ...
This would be the first in the series of posts I plan to do for HTML5 for ASP.NET Developers The first thing that everyone would have experienced is the HTML5 header tag. The regular header tag that Visual Studio creates for ASP.NET Webforms is <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml... This would be the header tag present in the Master Page or the actual ASPX Page when you don’t inherit from a Master Page. Till HTML5 specifications ...
Today post will show you how to build an Ajax form with JQuery validate supporting (unobtrusive) client and server side validation using ASP.NET MVC 3. If you want to see an examples, you can visit this post about Ajax in ASP.NET MVC 3. To enable (unobtrusive) client side Ajax and validation support include the following JavaScript files (in Views/Shared/_Layout.cshtml): javascript" src="@Url.Content("~/Script... <script type="text/javascript" src="@Url.Content("~/Script... ...
I've wrote this article a few months ago but in Portuguese: http://pontonetpt.org/blogs... I've decided to translate it to engish. The sample project is hostead at GitHub but it's in Portuguese (the same as my first article). Link Github: https://github.com/guilherm... I've been progamming with unit testing and test-driven developement in use for server-side for 2 years. On the last months i've been working ...
Soon, the latest ASP.NET MVC will be launched. I cant wait to try as whole. This is the preview of this new product- Web Platform Installer – Installs the MVC4 Project Templates.- Nuget package – perfect for upgrading an existing MVC3 project- Stand Alone Installer- Installs the MVC4 Project Templates. This is the cool design with new features In addition to CSS design there is improved functionality in the new template. The template support technique called adaptive rendering to support theme on ...
Hani Amr Normal Hani Amr 1 4 2011-10-12T15:22:00Z 2011-10-12T15:26:00Z 1 91 525 Microsoft Corporation 4 1 615 14.00 Clean Clean false false false false EN-US X-NONE AR-SA /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin-top:0in; mso-para-margin-right:0in; mso-para-margin-bottom:10.0pt; mso-para-margin-left:0in; ...
OOook, those who know me, or have read my blog probably have a pretty good idea that I’m a silverlight, wpf, wcf, c#, xamly kinda guy. I’ve never really done anything webby, the closest I’ve gotten is doing a bit of backend stuff, well, times change, and quite frankly I wanted to do something new… soooo I’ve opted to go down the MVC route, for two main reasons – 1, I figured I may as well learn a good framework, 2, Matt Abbott told me that MVC lets you get dirty with HTML, and that’s one of the things ...
Sometimes, when working with JavaScript, we need to write a confirm dialog or message box to display some informative data. We can either use JavaScript alert function or confirm function for such operations. But in order to make a nice UI, we can resort to JQuery UI dialog, which gives a nice chrome window. But settings that up is not a one liner task. In this article, I will present a small plugin which will help us display some basic dialog just to get the job done without too much code.Read More ...