Tag | jQuery Posts

In the post below I am going to run down a short-list of some of the less-popular performance tips and the reasoning behind them. There are loads of blog postings and articles on asp.net performance enhancements, and I urge you to check those out as well. Onto the good stuff... Session.ReadWrite versus Session.ReadOnly It goes without saying that using the Session object will incur some performance overhead so if possible it should be turned off in the web.config. That said, If you’re using the Session ...
A big Thank you to Lee Brandt for organizing a great event in good ole Kansas City. There was a great turn out for the event and the event was very well organized. I reluctantly took on presenting jQuery for the Day of Dot Net event, but I am glad I let Lee talk me into it. It feels great to be presenting. (If you can get passed the fear of public speaking.) For those of you who attended my jQuery presentation, Thank you to you as well. I hope it was enlightening and if you’re not using a javascript ...
Though some of you that were on the fence or have not year head about the MSDN Dev Con, are now more interested in coming out. It’s a tiny price compared to PDC and is coming to a city near you! A good group of local celebrities will be presenting along side proven Microsoft experts at the Orlando event. I will be in the attendance and around any community areas. And any social after event :) Bayer White (Jacksonville), Joe Homnick (Boca Raton), Christopher Bennage (Tallahassee), Rob Eisenberg (Tallahassee) ...
Hi!, As all of you (I hope) I want to have something similar to Intellisense everywhere. So also I want it in JavaScript and particularly in jQuery. Yeah, yeah, I know, that we have Script# and even M$ uses it, but I want pure JS and pure jQuery. I become very as jQuery team brought us Visual Studio Documentation for jQuery. It is on their site in download section. Works very nice and start its help as soon as you start typing, $ goes first then identifier in brackets and after $("sth"). there is ...
I've inherited a BizTalk 2006 applicaton that uses serveral SOAP ports to request data from a 3rd party web service. The web service is secured by "basic" authentication - username / password. After making a few enhancements to the application I deployed to an integration test server which has access to the 3rd party web service. The BizTalk app was unable to retrieve the data and I soon realised that I had forgotten to set the username / password on the SOAP send ports. I wanted the make deployment ...
How do you stay up on new technologies? How do you approach learning a specific new technology? The first thing you have to accept is that the Microsoft technology stack has gotten so vast that it is simply impossible for a single person to be an expert in everything. This is the most important aspect to remember. This post is simply to describe my personal approach for staying up on new technologies in the hopes that other people will find something valuable in this to add to their toolbox. In terms ...
If you're in the Kansas City area and you haven't heard about Kansas City Day of .NET (or KCDODN) then you're missing out. KCDODN is Saturday, December 6th at the Centriq Training center. (Go here to register...) Looks like 4 tracks of .NET Developer goodness, including a session by yours truly. GWB'ers Jeff and John will be there as well... so come say hi if you're there. Kansas City Day of Dot Net Development Architecture SharePoint Special Interest 8:00am - 9:00am Registration & Breakfast ...
Here's the complete list of sessions from PDC and my personal favorites. You can find all the recordings of these sessions at www.microsoftpdc.com. Here's my personal favorites: Windows Azure (Hosted ASP, Workflow, Silverlight, RAW / Azure Storage) A Lap Around Windows Azure (ES16) - 0:46 Slides | WMV-HQ | WMV | Zune A Lap Around the Azure Services Platform (BB01) - 1:12 Slides | WMV-HQ | WMV | Zune Live and Mesh (Sync, Feeds, Resources, Contacts, etc.) A Lap around the Live Framework and Mesh Services ...
Rick Strahl from West Wind Technologies in Maui, Hawaii is sharing his presentation that he did at the ASP.NET Connections recently held in Vegas. His session on jQuery with ASP.NET includes his slide deck and several samples for you to view. His slide deck is very informative with how things work along with some do's and don'ts. Check it out to learn more about jQuery. Technorati Tags: Microsoft, jQuery, Visual Studio ...
I just read the MSDN article on the Visual Round Trip Analyzer. This tool is awesome for finding bottlenecks in your web applications. It also allows you to see where your expensive download points are. With this tool I discovered that if I put a parameter after my large javascripts, such as JQuery, I can set the content expiration in the headers for 1 year. Then any time I need to change the javascript file (also works with images, css, etc...) the browser will then treat the file as new and redownload ...
Here's a simple way to avoid postbacks in your site, still be SEO friendly and degrade gracefully to JavaScript free browsers (and handle middle clicks and copy&paste) in ASP.NET MVC using jQuery. First, we'll create an alternate MasterPage called No.master with no content, only one ContentPlaceHolder: <asp:ContentPlaceHolder ID="MainContent" runat="server" /> Now, we're able to tell via HTTP Headers if a Request is an Ajax Request, so we'll write a new method in our Controller Base class ...
I thought I would share the sessions at the PDC I really enjoyed and would recommend for viewing for those that didn't attend. And you know who you are. :) And those who did attend but didn't get to watch these. I'm sure there are more that were great, but these are the ones that stuck out to me. Deep Dive: Dynamic Languages in Microsoft .NET Jim Hugunin gives a great session on Dynamic Languages. This was the best talk I went to the entire PDC so I'm listing it first, but you should watch The Future ...
NOTE: In this series I build a blogengine using ASP.NET MVC and jQuery from scratch in order to learn more about these new technologies. If you haven't read the first post in this series, I would encourage you do to that first, or check out the jBlogMvc category. You can also always subscribe to the feeds. jBlogMvc is converted to be used on ASP.NET MVC Beta 1 if you haven't downloaded it yet you can find it here, to read about the changes and additions in the beta 1 I do recommend reading ScottGu's ...
Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4 /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-style-parent:""; line-height:115%; font-size:11.0pt;"Calibri",... mso-fareast-"Times New Roman";} Couple of days back, while implementing JQuery I had requirement of adding item to the drop down list after an AJAX Call. This is very simple when we talk about Asp.net AJAX but in Jquery you by yourself need to handle many things at the ...
http://code.google.com/p/jq... If you are a jQuery fanatic, an ASP.NET developer, and a Visual Studio user take a look at the link above for excellent Intellisense integration. If you are not yet a jQuery fanatic but meet the other requirements take a look at the link above as jQuery has been adopted by Microsoft and will be published with Visual Studio moving forward. Good stuff ...
Here at PDC, Los Angeles, there is one thing for sure. ASP.NET Sessions are overflowing invariably across all days. Yes! There are way too many exciting things that I can cover over a single post and in this short duration that I wanted to keep them off until I am back. Quick announcements. ASP.NET Builds on various features such as Dynamic Data, MVC, Astora, AJAX & Futures are available at CodePlex http://codeplex.com/aspnet ASP.NET 4.0 Roadmap provided insight into the features considered for ...

jQuery a fast and concise JavaScript Library has release a version with autocomplete documentation for Visual Studio. You can find it here next to al other versions.

Please don't use the Visual Studio version on production machines, it's way bigger than the other versions of jQuery.
This keynote is all about Windows 7 (the Vista that shoulda been) and new things from ScottGu's team. While yesterday was about the back-end infrastructure of the new cloud platform Azure from Microsoft, today's keynote focused on the front end of Microsoft. One funny question from Ray Ozzie was wondering what we would do at work all day if we didn't have a computer on our desk. Here are some random notes from the keynote. "The PC will be more relevant in the next era." - Ray Ozzie Today we barely ...

Note: The Wireless network at the keynote failed miserably, so this will be posted with a delay.

Scott Guthrie about tools and app development

 New APIs for multitouch and other Windows 7 API.

Note: Lots of attention put in Win32 development with C++.

Read the rest of this entry »

So, as a thousand bloggers have probably already blogged.... Today at PDC was all about the cloud: Windows Azure. Not sure where MS is going with this, but it is interesting. I've got a couple of ideas for things I might want to try out with it on my personal time... More interesting to me and my immediate development projects was ASP.NET MVC. This is what my project wanted a year and a half ago and on ASP.NET 2.0... Oh well, better late than never. Also interesting was MS's support of jQuery. Why ...
Those who are excited like me about the news of jQuery integration into Visual Studio, started adopting jQuery replacing ASP.NET AJAX Client side API. Microsoft also declared there will be a patch for Visual Studio which will support jQuery as well as intellisene for that. For the enthusiasts who just can't for it, here is the way how we can start developing using jQuery with full intellisense support inside Visual Studio 2008: 1. Download jquery-1.2.6-vsdoc.js 2. Inside your JavaScript files, add ...
This session is by Scott Hunter, Program Manager at MSFT In July 2007 - ASP.NET Futures was released That was followined by an Extensions Preview of ASP.NET 3.5 in Dec 07 Then in March 08 - we started doing some new stuff - ASP.NET 3.5 SP1 - MVC and more The ASP.NET will continue to release out-of-bound items. CodePlex is the main driver for that. www.codeplex.com/aspnet - This is where you will find the interim drops. Currently there are ~1,000 downloads today If you want to see all the latest and ...


The intellisense files for JQuery in VS.NET 2008 have been released…and interestingly, they’re not available on Microsoft’s site…but on JQuery’s!

You can get them at:
http://code.jquery.com/jquery-1.2.6-vsdoc.js
and…
http://code.jquery.com/jquery-latest-vsdoc.js

D

So I gave my 10 minute “Shallow Dive: PFX” presentation at CONDG tonight, and it went really smoothly. There were a lot of good presentations tonight, and it’s wonderful to see people in the development community giving back by doing these presentations, teaching, and inspiring people. I will post my slide deck this weekend, after I add some notes so readers can follow along. I would like to give props out to Steve Horn for his JQuery presentation, and to Greg Malcolm for his Mono presentation. Great ...
I recently had a requirement to filter a table as the user was typing. I was able to write a jQuery plugin to do this in just six lines of code. I want to use jQuery to add a keyup handler to my search box, and target table(s) via a selector parameter. First, in order to extend functionality onto a selector, we add a new function to $.fn /* 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; ...
I decided to completely redesign my website www.galasoft.ch (yes, it's about time, I know). For this process, I decided to inspire myself (loosely) from my good friend Robby Ingebretsen's site, which is both simple and beautiful. Read the rest of this entry » ...
Ann Arbor Day of .NET is a blast. Here's just a quick update to share my code and slides from my talk, Browser Magic with jQuery. Slides Demo 1 (Filtering a table of Northwind Products) Demo 2 (Adding AJAX to an existing MVC application) I swear I'll actually update this blog with more in depth posts about my demos within the week ...
Aspiring Web Application Developer? Ever wonder: -"What would it take to start writing some websites in ASP.NET?" -"How do I setup and configure IIS[the web server] and set up SQL?" Wonder no more! There is a simple tool that will install IIS7, VWD Express 2008, SQL 2008 and proper .NET framework for you. Just load the tool, pick a scenario and you are ready in a few minutes! This would saved me some time getting and setting up all the products and settings myself. Awesome! Check out Microsoft Web ...
NOTE: In this series I build a blogengine using ASP.NET MVC and jQuery from scratch in order to learn more about these new technologies. If you haven't read the first post in this series, I would encourage you do to that first, or check out the jBlogMvc category. You can also always subscribe to the feeds. What about new features this part will cover : Configuration is saved in the database. Managing Posts (Editing, Deleting). Posts are now paged. Some jquery magic is used. So, lets have a tour in ...
NOTE: In this series I build a blogengine using ASP.NET MVC and jQuery from scratch in order to learn more about these new technologies. If you haven't read the first post in this series, I would encourage you do to that first, or check out the jBlogMvc category. You can also always subscribe to the feeds. In this part of the series, I build the administration area of the blog engine I am building using the ASP.NET MVC and jQuery, in this part I will cover more basic features used in any blog engine, ...
According to Joe Brinkman from DNN Corp, the new version of DotNetNuke will incorporate jQuery. Microsoft has already announced that jQuery will be in the next version of Visual Studio. The new version of DNN will include widgets which are JavaScript widgets. This is new to the framework and won't be available right away according to Joe. Technorati Tags: DotNetNuke, jQuery ...
I came across JQuery some time back and i can say Wow !! It is a Javascript full on Library. Its great to here that microsoft will be shipping with ASP.NET MVC and will be coming with Visual Studio later you can read more here at Scott's site And as i understood you can use it together with Ajax Control Toolkit etc.. Sweet and Enjoy ...

Now that the book is finished writing, reality is catching up with me and I am finally able to work on the backlog of ideas and projects that has accumulated in the last months. Time to give an update of stuff I do or will do soon.

Read the rest of this entry »

Boyan Mihaylov on SL/Amazon, David Hyde with SL Stock Portfolio, Chris Anderson with SL LOB app, Jesse Liberty on Content Presenter and Isolated Storage, Shawn Burke on ExpandoHeaderControl, Brad Abrams on CSLA and SL, Matthias Shapiro on ListView Styles, Manish Dalal on Combobox in DataGrid, Jeff Wilcox on SL & JS, David Anson on LayoutTransform, Terence Tsang with a simple text effect, and Lee with Combobox in DataGrid The SilverlightShow Write and Win Contest is ready for your votes! Three ...
Wow, the ASP.NET MVC team just keeps getting it right! I am truly shocked that Microsoft is going to take advantage of a well-known, well-tested open source framework instead of trying to (poorly) invent their own... (cough... ASP.NET Ajax) Scott Gu - jQuery and Microsoft : http://weblogs.asp.net/scot... ...
The news took the community by surprise and the reactions are overwhelmingly positive: Microsoft is going to ship jQuery with the ASP.NET MVC framework (very soon) and with Visual Studio (in a near future). For more details, ScottGu and Scott Hanselman are talking about that in a very complete way. Read the rest of this entry » ...
The jQuery Javascript library has gotten a significant amount of attention from Microsoft developers this year in large part to its nice fit with the new ASP.NET MVC framework. I myself was totally new to jQuery and I started using it with MVC because I wanted to see what the big deal was. Sure enough, I became a true believer like many others. And I found myself suddenly having "JavaScript envy" because I couldn't do all the cool jQuery stuff in traditional ASP.NET (i.e., non-MVC) web applications. ...
Hi guys, Well, the portfolio page has changed a bit! I've added this really cool Javascript effect known as FancyZoom, and extended to work with Prototype and Scriptaculous. As an aside, DotNetNuke has native compatibility with two Javascript/AJAX frameworks - Project Atlas (or ASP.NET AJAX) and Prototype, but can't be made to work with any other frameworks like Mootools, jQuery and so on. Funky little way of saving space on the page with a nice UI effect. Only downside is no AJAX, but DNN works ...
Stackoverflow.com is a soon-to-be-released developer community website from Jeff Atwood and Joel Spolsky. It is an evolution of existing sites in the genre, adding reddit and wiki type features to the traditional forum style site. The technology stack it uses is nearly identical to my current personal project: Asp.Net MVC, jQuery, Linq-to-sql, sql 2005. The truly fascinating thing about stackoverflow.com is the buzz. There are already thousands of users on the private beta. I predict, and Joel Spolsky ...
Introduction In Egyptian Developers Conference (EDC) 2008 this April, my geek network noticed a very nice, cute, and sweet little girl with me that I was very proud to introduce not just as one of the cleverest developers in SilverKey, but also as my life mate, my fiancée. Not sure if any of you noticed that by then, although being engaged, we were not wearing rings, yet! Well, WE DID FEW HOURS AGO! Yes, I now wear a ring with Mona's name on it. What a pleasure that is? To understand, you just need ...
I found a new video showing AJAX (Ajax.NET Professional), JavaScript and jQuery. On the Web server they are using ASP.NET. (Note: you need Silverlight for the video player) Download video as WMV ...
UPDATE: The component controller was removed from the MVC framework before the RTM release. For an updated version of this post, click here. At some point when creating a web app, you're going to want some reusable UI components. This might be because you want the same visual UI snippet repeated more than once on a single page or it might be because you want to use the same component on multiple pages. In a traditional ASP.NET web app, typically you would use a User Control for this type of thing. ...
While GeeksWithBlogs was down, I was able to continue blogging thanks to the blog hosting service provided by Blogger.com for my blog mirror. I posted an article there comparing jQuery Corner with the AJAX Control Toolkit, which you can read about at:
http://knitinr.blogspot.com/2008/07/rounded-corners-comparing-jquery-with.html
jQuery is a JavaScript library to interact with HTML, create simple animation and add AJAX capabilities. It works across browsers (don't most things do today?), and lets you do more with less. If you're in the web design & development work, you would have heard about it unless you've been living under a rock, figuratively speaking. jQuery was released in January 2006 and is licensed under the GNU GPL and MIT license. In other words, jQuery is open source and available for free! The library itself ...
The latest release of the MVC framework provides the JsonResult for Controller actions. I was surprised that I did not find a weatlh of examples for usage so I figured it shouldn't be too hard to get a decent example going. It turns out, it was even easier than I anticipated. I wanted to create an example where I would invoke an AJAX call to dynamically populate a dropdown list. jQuery has recently received a huge surge of interest of the ASP.NET MVC community so I've been getting up to speed on ...
· Everything You Wanted To Know About MVC and MVP But Were Afraid To Ask · Functional Programming in C# 3.0: How Map/Reduce/Filter can Rock your World · MbUnit 2.4 - Avoiding Crappy Data Resulted From The Test · Managed Extensibility Framework · IronRuby at Tech Ed 2008 · Velocity: A Distributed In-Memory Cache from Microsoft · Must See WF/WCF Influencer MSDN Webcasts · WCF Webcast Series (Old but good) · Using CSS to Fix Anything: 20+ Common Bugs and Fixes (Found by Mohamed Tayseer) · A jQuery Client ...
If you have ever thought that the famous if(Page_ClientValidate("val... {/*JS Code*/} and myValidator.ValidationGroup = "validationGroup"; are sure not enough client side capabilities in ASP.NET validators, you are right. The list of client side API for ASP.NET Validators can be found on this MSDN page "ASP.NET Validation in Depth": http://msdn.microsoft.com/e... Look for subtitle: "Client-Side APIs". Thanks Simone Chiaretta for mentioning ...
Mark Berseth wrote a very interested article about Bulk Insert Data Using ListView Control. Basically, the ListView control is displayed with the TextBox controls in each row (like MS Excel). Now, the user can write in the TextBox and then use the submit button to insert all the new rows to the database. This works well when you are inserting the data into the database. The problem starts when you try to update the data which is already in the database. Let's say you populate the ListView with some ...

I have just published an article on GridViewGuy. The article talks about the JQuery API and how you can use it in your application. Check out the link below:

A Look into JQuery API

Microsoft .NET framework 3.5 Service Pack 1 and Visual Studio 2008 Service Pack 1 now have public BETAs. The service pack of Visual Studio 2008 has really interesting stuff. Highlights I'm interested in are performance improvements in HTML editor, collection of JavaScript intellisense hotfixes plus new ones enabling better JavaScript intellisense for libraries like jQuery, JavaScript Code Formatting, ASP.NET Routing engine (the one used in ASP.NET MVC, it is actually developed as separate component), ...