Tag | jQuery Posts
Two years ago, Rouen Business School (AMBA accredited institution located in Rouen, Normandy, France) decided to develop and implement a proprietary information system in-house. The objective was to administer all the data encompassed by a classic 3500 Students business school: from on-line application forms to the registration system including financial information, scheduling, grades management, etc. The development team at Rouen Business School chose Visual WebGui for the UI. “When we tested the ...
Alex (http://simpleisbest.co.uk/) does a very good job in covering the new features of .NET 4.0 and Visual Studio 2010. His focus is on the developers that have experience in development using previous versions of Visual Studio, more specifically Visual Studio 2008. The following are my views towards his book. 1. Scope / Coverage Even as the book is labeled as introduction, it is covers a broad spectrum of technologies, features and references that are focused into helping a developer quickly decide ...
I have recently started writing another book. The topic of this book is ASP.NET MVC. This book differs from my previous book in that rather than working towards building one project from end to end – this book will demonstrate specific topics from end to end. It is a recipe book (hence the cookbook name) and will be part of the Packt Publishing cookbook series. An example recipe in this book might be how to consume JSON, creating a master /details page, jquery modal popups, custom ActionResults, ...
Just knew from Wang Tao that Microsoft will launch the Web Camp event in many cities to share their technologies and experience on web application building. The topics of this Web Camps would focus on ASP.NET, jQuery and Entity Frameworks and how to build a cool web application based on them which I’m very interesting. And another reason is that, it’s FREE. Please have the detail information and register at http://www.webcamps.ms/, which is built on Windows Azure. And the speaker in Beijing would ...
Great event : Microsoft Visual Studio 2010 Launch @ Microsoft TechEd Blore I was really excited on attending the day 1 of Microsoft TechEd 2010 in Bangalore. This is the first Teched that am attending. The event was really fun filled with lot of knowledge sharing sessions and lots of goodies and gifts by the partners Initially the Event Started by Murthy's Session. He explained about the Developers relating to the 5 elements of nature (Pancha Boothaas) 1. Fire - Passion 2. Wave (Water) - Catch the ...
In this Issue: Rénald Nollet, Roboblob, Laurent Bugnion, Timmy Kokke, Michael Sync(-2-), Victor Gaudioso, and Bill Reiss. Brought to you from a tiny table in my no-tell-motelTM in 'Vegas AKA "cheaper than anywhere else" and the WiFi is free and smokin'... From SilverlightCream.com: Sync your Silverlight out-of-browser application data without service but with Dropbox Rénald Nollet is in good company (Walt Ritscher) because he's demo'ing synching OOB apps with dropbox. Unit Testable WCF Web Services ...
Introduction With the recent news about Silverlight on the Windows Phone and all the great Out-Of-Browser features in the upcoming Silverlight 4 you almost forget Silverlight is a browser plugin. It most often runs in a web browser and often as a control. In many cases you need to communicate with the browser to get information about textboxes, events or details about the browser itself. To do this you can use JavaScript from Silverlight. Although Silverlight works the same on every browser, JavaScript ...
Just found a good (looks like) tool for jQuery coding and debugging from the appinn.com (Chinese) named jQueryPad by Paul Stovell. With it we don’t need to switch between the visual studio and the browser when coding and debugging. There’s only one main screen where we can type the HTML and jQuery code and just press F5 to see the result in the bottom frame. .NET Frameworks 3.5 is required. Hope this helps. Shaun All documents and related graphics, codes are provided "AS IS" without warranty of any ...
I had a problem… okay.. okay.. so I have many problems… but let’s focus on one in particular or this blog post would never end… okay? Thank you…. So, I had an electronic timesheet where users entered hours for each day of the week. It also had a “Week Total” column which was a calculated column of the sum. The calculated column looked like this: Pretty easy.. nothing spectacular. So, what’s the problem? WELL……………….. There is a row in the timesheet for each task a person worked on in a given week. ...
After deciding I wanted to dive full-on into the world of ASP.NET MVC 2, I began doing some research into what would be the best way to support some of my required AJAX functionality on this platform. The result of these efforts was a barrage of options – many of which required completely different JScript infrastructure than what I planned to go forward with. As I’ve been delighted with jQuery so far, I began tossing out all approaches that didn’t natively leverage it… Thus, I planned to resist ...
Going through a VS 2010 IDE Features. We will explore each feature in subsequent posts. The post are documented as being reviewed by me. Breakpoint Labeling Breakpoint Searching Breakpoint Import/Export Dynamic Data Tooling WPF Tree Visualizer Call Hierarchy Improved WPF Tooling Historical Debugging Mini-Dump Debugging Quick Search Better Multi-Monitor Support Highlight References Parallel Stacks Window Parallel Tasks Window Document Map Margin Generate from Usage Concurrency Profiler Inline Call ...
Continuing on my series of builders for C# and Ruby here is the solution in Javascript. This is probably the implementation with which I am least happy. There are several parts that did not seem to fit the language. This time around I didn’t bother with a testing framework, I just append some values to the page with jQuery. Here is the test code: var initialiseBuilder = function() { var builder = builderConstructor(); builder.configure({ 'Person': function() { return {name: 'Liam', age: 26}}, 'Property': ...
Sorry for the rather lengthy post here. I get asked this all the time so I decided to post it…Visual Studio 2010 editions will be available on April 12, 2010. Product Features Professional with MSDN Essentials Professional with MSDN Premium with MSDN Ultimate with MSDN Test Professional with MSDN Debugging and Diagnostics IntelliTrace (Historical Debugger) Static Code Analysis Code Metrics Profiling Debugger Testing Tools Unit Testing Code Coverage Test Impact Analysis Coded UI Test Web Performance ...
Please find how we call JavaScript Object Notation in cloud applications. As we all know how client script is useful in web applications in terms of performance. Same we can use JQuery in Asp.net using Cloud computing which will asynchronously pull any messages out of the table(cloud storage) and display them in the browser by invoking a method on a controller that returns JavaScript Object Notation (JSON) in a well-known shape. Syntax : Suppose we want to write a JQuery function which return some ...
After banging my head for days on a “A potentially dangerous Request.Form value was detected" issue when post (ajax-ing) a form in ASP.NET MVC 2 on .NET 4.0 framework using jQuery and CKEditor, I found that when you use the following: Code Snippet $.ajax({ url: '/TheArea/Root/Add', type: 'POST', data: $("#form0Add").serialize(), dataType: 'json', //contentType: 'application/json; charset=utf-8', beforeSend: function () { pageNotify("NotifyMsgConten... "MsgDefaultDiv", '<img src="/Content/images/conten... ...
MIX day 1’s keynote was all about Windows Phone 7 (WP7). MIX day 2’s was a reminder that Microsoft has much more going on than a new mobile platform. Steven Sinofsky, Scott Guthrie, Doug Purdy and others showed us lots of other good things coming from Microsoft, mostly in the developer stack, that we certainly shouldn’t overlook. These included the forthcoming IE9, its new JavaScript compiling engine and support for HTML 5 that takes full advantage of the local PC resources, including the Graphics ...
I see the question posted fairly often asking what kind SharePoint team an organization should have. How many people do I need? What roles do I need to fill? What is best for my organization? Well, just like every other answer in SharePoint, the correct answer is “it depends”. Do you ever get sick of hearing that??? I know I do… So, let me give you my thoughts and opinions based upon my experience and what I’ve seen and let you come to your own conclusions. What are the possible SharePoint roles? ...
This past weekend I attended SharePoint Saturday Michigan (SPSMI) in Ann Arbor, Michigan. For those unfamiliar, SharePoint Saturday is a community driven event where various speakers gather to present at a FREE conference on all topics related to SharePoint. This made my third SharePoint Saturday attended and second I’ve spoken at. I believe today it was announced that about 210 people total attended the event. I was very happy with the turnout, especially the ratio of male to female attendees. Typically ...
Posts like my intro to jQuery client-side templates may appear, at first glance, to add nothing to the existing body of knowledge. However, the trouble that I regularly encounter with technical documentation is that the author tries too hard to be exhaustive. When first approaching a new topic the reader is most interested in the success scenario. Under normal conditions, how would I use this technology? What is the most basic syntax? A great example of documentation that focuses on the core usage ...
Why Use Client-side Javascript Templates? When building rich internet applications you often need to construct html on the client. I am going to demonstrate how to construct DOM elements using the jqote jQuery plugin (2.0.0). The naive approach to client-side html generation is to embed html inside javascript like: var text = 'Some text'; $('body').append($('<div id="content>' + text + '</div>"')); This approach fails as the complexity of the html increases. It is also a clear separation ...
Here are steps on setting up a slideshow on your SharePoint site really fast using a Content Editor WebPart (CEWP), jQuery and a Picture Library. The jQuery for the slide show makes use of the Cycle plug-in located at http://jquery.malsup.com/cy... There are plenty of demos on the site along with instructions on using the API. Here are the steps to implement the slideshow on a SharePoint site: Download the jQuery library and the Cycle plug-in and upload them to a document library Create a picture ...
In this Issue: Mike Hodnick, Jeremy Likness(-2-, -3-), Bobby Diaz, Jianqiang Bao(-2-, -3-, -4-, -5-), Chris Klug, Nokola, Peter Bromberg, Nigel Sampson, Shawn Wildermuth, and Kirupa. Shoutouts: Chris Woodruff composed a PDF of the MEF Programming Wiki Gavin Wignall has a post up on how to Create a 360 panorama using Microsoft Silverlight Photosynth Chris Klug posted an Update to the multi-touch development intro From SilverlightCream.com: SilverSynth - Digital Audio Synthesis for Silverlight Mike ...
UPDATE (2011-01-28): ASP.NET MVC 3 I have a newer blog post that shows how to get Client Side Validation Summary without doing any of this. I will still be answering questions and supporting this for developers who are still using ASP.NET MVC 2. If you are on ASP.NET MVC 3, go here. Problem The MicrosoftMvcJQueryValidatio... script file, which integrates with the jQuery Validation Plugin, does NOT populate validation errors inside the Validation Summary control. I will show you how to populate validation ...
Here’s the scenario: I have a form which contains a textbox. This textbox should be populated with a query string value. Users should not be able to edit the value of the textbox while adding the item. Solution: The above can be achieved using a Content Editor Web Part (CEWP) and jQuery. Steps: 1. Append the NewForm.aspx url with the following: &PageView=Shared&To... 2. This will cause the ‘Add Web Part’ tool pane to show up. 3. Add a CEWP to the page. 4. Go the webparts properties ...
I needed to create a web page that let the user assign one item of a grid to a target by dragging the item and dropping it on a row on a different grid. I immediately thought about using JQuery UI draggables and droppables but it didn’t work as expected. After looking for a solution for some time I finally came to this post by David Petersen explaining how to provide a helper element to JQuery to wrap the floating row while dragging and it worked perfectly. source.draggable({ helper: function(event) ...
While my home development computer is fried I’m going to hack away at my backlog of non-code related posts. Today I’d like to discuss some of the advantages and disadvantages of using Microsoft MVC over WebForms. First of all, MVC is not the end all, magical platform that many people would like you to believe. In fact I wouldn’t even recommend it to beginner developers. However, if you have experience with .NET and you’re willing to put in the time to learn how MVC works, you will find that it offers ...
jQuery 1.4.2 is now out! This is the second minor release on top of jQuery 1.4, fixing some outstanding bugs from the 1.4 release and landing some nice improvements. To download, go to: http://blog.jquery.com/2010... Technorati Tags: jQuery ...
New Visual WebGui Rich Ajax Applications Platform versions released. 6.3.14 includes some additional stabilization fixes for the on-going support for 6.3. A new beta1 version c of the cutting-edge Visual WebGui 6.4 was also released with a large set of features and a much more complete set of compatibility with the WinForms API and the enhanced developer/designer interfaces and new customization capabilities such as jQuery support. All downloads are free via this link ...
Whenever I am working on a project that requires client-side coding, I immediately starting thinking in JQuery. There are other javascript frameworks out there, but so far I haven’t found one that allowed me to structure my client-side applications quite as cleanly as JQuery does. The only thing JQuery doesn’t support out-of-the-box is a decent templating system for emitting DOM elements. Typically you’d wind up building up large strings and passing them to a method like append, html, etc in order ...
One of the cool new features of MVC 2 is the ability to automatically pick an editor template based on the meta data of each property. This meta data can be as simple as the data type of the property itself. Take an example where we have a Contact object that has a DateTime? property for DateOfBirth. 1: public partial class Contact 2: { 3: [DisplayName("First Name")] 4: public string FirstName { get; set; } 5: 6: [DisplayName("Last Name")] 7: public string LastName { get; set; } 8: 9: [DisplayName("Date ...
Technorati Tags: ASP.NET,TreeView,jQuery When we expand TreeView node JavaScript function TreeView_ToggleNode gets executed (it’s part of the TreeView control itself). So we will “override” this function and add our own functionality to perform scroll to the expanded node. To find source code of TreeView_ToggleNode function you can use IE Developer Toolbar or Firebug. I removed some code from this function that I don’t need to make it shorter. Here is the result. Everything should be pretty self ...
Technorati Tags: ASP.NET,TreeView,jQuery If we have TreeView inside of the div with the fixed width and height we want selected node to be visible after postback. Here is small JavaScript function that does this (you don’t have to use jQuery as I did to get the result): 1: function ScrollToSelectedNode() 2: { 3: //* get selected node id 4: //* 'tvwScrollTo' - is our tree view id 5: var selectedNodeID = $('#<%=tvwScrollTo.ClientID %>_SelectedNode').val(); 6: 7: if (selectedNodeID != '') 8: { ...
If you're using both JQuery and MVC, odds are you're going to want to easily reference your form elements by ID. To handle this using the built in HTML form helper class, you will need to use some of the parameters. For example, if I have a controller named 'Message', with an action named 'AddTopic' and want to create an HTML form that executes a Post with an ID and Name both of 'posttopic', I would use the following code snippet: <% using (Html.BeginForm("AddTopic", "Message", FormMethod.Post, ...
Just ran into this one. The following is the code I was working with:$.ajax({ type: "GET", url: 'http://services.somewhere.... data: { 'param1':'something', 'param2': 'somethingElse' }, cache: false, dataType: 'json', success: function(view) { alert('success'); }, error: function(xhr, ajaxOptions, thrownError) { alert(xhr.status); alert(xhr.responseText); alert(xhr.statusText); } }); This worked in IE 8, but not FF 3.5. The strange part, though, was that the xhr object in my error function ...
The new version of the Visual WebGui Ajax applications platform was released today and offers upgraded performance, scalability and complete developer and designer freedom to design and customize Web 2.0 UIs. Visual WebGui 6.4 beta 1 incorporates about 1,000 complete features either added or fixed from 6.3, including increased customizability with the new control level designer, theme designer and jQuery integration. The new version also includes 4 out-of-the-box skins for simple personalization ...
jQuery 1.4 released. You can find more info at http://api.jquery.com/categ... Also celebrate jQuery 1.4 release with 14 days of jquery at jquery14.com/pre-release-1 Learn about 15 new features of jQuery you must know net.tutsplus.com/tutorials/... Enjoy jQuerying ...
Hey there everyone. I was recently tasked to pitch a book to my publisher. As a first step I need to come up with an outline for the Table of Contents. This book is the standard cookbook style with an added focus on the MVC side of ASP.NET. I have been poking about at other similarly styled books to get some ideas. I think comparing ASP.NET Web Forms to ASP.NET MVC would provide some folks with a good reference point when looking at the two ways of doing things. (Thanks to my friend James Shaw for ...
We are excited to announce that Visual WebGui 6.4 client is going to adopt jQuery as its client engine in order to provide better support for cross browsers, enhanced UI behaviors and most important provide a familiar API to write Visual WebGui extensions such as custom controls and utilizing different protocols such as JSON and REST. jQuery is a lightweight open source JavaScript library (only 15kb in size) that in a relatively short span of time has become one of the most popular libraries on the ...
So the issue is, you have a very large ASP.Net MVC app with many controllers and actions and don't know (or do) on how to restructure it for better maintenance. This article contains some thoughts around what my experiences were with building a large scale app with 10K+ lines of jQuery and 266 Actions dispersed over 98 Controllers. In the beginning: Yes God created .... no I created a relatively small scale Mvc app based on a very limited set of requirements, more like a XP or Agile experience or ...
Welcome to the introduction for what I hope will be the first of many blog posts in a series I’m calling “From Mort to Master”. My goal is to discuss some concepts and tools that I feel is important to the profession of software development, from the perspective of what many would consider a Mort. Who is Mort? “Mort” is one of the internal personas that Microsoft uses when referring to us as developers (specifically, I believe they use the personas for Visual Studio). They are, briefly: Mort: A developer ...
You can upload this example from here (I had made some small modification to the original code but it should be easy to understand. This solution uses just HTML and jQuery): http://cid-4fb5a48846336376... I needed a very simple solution that allows me to show centered modal div. ASP.NET Ajax Control Toolkit has modal popup (http://www.asp.net/AJAX/Aj... And also there are many of jQuery examples. But ...
I've heard a lot of people complain about IE and jQuery, and I found out something that supprised me. IE doesn't support the jQuery class selector well, so it's best practice to avoid it. I've mentioned it to a few other people, and they were shocked to hear about how badly it performs. Take a peek at this article, and it describes it in detail. http://www.artzstudio.com/2... From the article: Note: The class selector is among the slowest selectors in jQuery; in IE it ...
So if you are in my situation, where you have a project using prototype and you want to use the jQuery date picker, you will notice that in certain situations, depending where your javascript is defined, you pickers won't work. The problem is the jQuery and Prototype $. You need to redefine the jQuery $ with anoter literal, like $j. So try this: <script type="text/javascript" charset="utf-8"> var $j = jQuery.noConflict(); $j(function() { $j('.date-pick') .datePicker({ createButton: false }) ...
I want to put in this post some the jQuery methods that I found myself searching the web every other time i need them for the future reference. Check if element exists: if ($('#elementID').length > 0) { // do somehting } Disable/enable element $('#elementID').attr('disab... 'disabled'); $('#elementID').removeAttr(... Clear DropdownList or ListBox $('#ddl_ID >option').remove(); Add entry in the DropDownList or ListBox $('#ddl_ID').append($('<... ...
Technorati Tags: Application Architecture and Design Strategies Technorati Tags: Application Architecture and Design Strategies The Ultimate Programming Cheat Sheet List For Web Designers And Developers http://www.webdesigndev.com... HTML 5 Cheat Sheet CSS Cheat Sheet jQuery Cheat Sheet MySQL Cheat Sheet .Net Cheat Sheet and much more ...
Today we had a little situation where to get the selected text of Dropdown in Jquery. As far as I know we can get only the value as given below $("#somedrop").val() This gives the selected value. I did a little google and found a helpful text in discussion forums . The answer will be simple. $("#somedrop option:selected").text() Please let me know if you have some other ways also. Thanks, Thani ...
Lets quickly have a look at how you can limit the entry to textbox and display the character input left to be keyed in. First things first, the script. <script type="text/javascript"> $(function() { var limit = 250; $('#dvLimit').text('250 characters left'); $('textarea[id$=txtDemoLimi... { var len = $(this).val().length; if (len > limit) { this.value = this.value.substring(0, limit); } $("#dvLimit").text(limit - len + " characters left"); }); }); </script> The $() ...
Welcome back. This time we will look at creating a simple jquery pager plugin to use with asp.net mvc project. Please note the intent is to learn the basics of jquery plugin development. The control as such is not recommended for use in production environment. I recommend having a look at the jQuery Authoring Guideline at docs.jquery.com/Plugins/Aut... Let's begin our journey into the mystery of jquery plugin. The first step is to create a self executing anonymous function. Anonymous functions ...
Welcome to eBoard Hello and welcome to this series of application development using asp.net mvc, jquery, automapper, ninject. Though the world doesn't need another blog engine, but sometimes reinventing the wheel teaches you many unknown things and it's the learning experinece that counts more than anything else. I have been using asp.net mvc + jquery for about a year now. So, it's time to put down something which will help the beginner with this technologies get a good graps of the fundamentals ...
Let's try a simple in-place edit with jquery. For demonstration purpose I am using the plain old HTML file. However, if you, wish you could apply the same technique to asp.net, asp.net mvc or php or any other web application as well. Here is the html that we will be using for the demo. <body> <div style="line-height:3xm;back... Double Click the below paragraph to edit. </div> </br></br> <div class="edit"> Lorem ipsum dolor sit amet, consectetur ...