Tag | jQuery Posts

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), ...
Selecting checkboxes inside the GridView control is a very common operation and that is why I have several articles and videos dedicated to this subject. Selecting CheckBoxes Inside GridView With a Twist VIDEO: Selecting CheckBoxes Inside GridView Recently, I was playing around with JQuery library and thought of implementing the same scenario using the library. Here is the code used to perform the SelectAll and DeSelectAll function. <script language="javascript" type="text/javascript"> $(document).ready(function() ...
Strictly no agencies. I mean it! If I get a single call or email I will NOT be polite. My employer is looking to hire a trainee .NET developer. No real previous .NET experience is required, but you must have a passion for development and the latest technology. You'll get the opportunity to learn and work with many practices and tools that fall under the ALT.NET banner: Agile Practices Test Driven Development Domain Driven Development Continuous Integration NHibernate Castle Binsor BOO Rhino .NET ...
I wanted to have multiple checkboxes in GridView . Below are a few links, that I've read before implemented my user control. Checking All CheckBoxes in a GridView Using Client-Side Script and a Check All CheckBox Storing and Maintaining DataGrid CheckBox Values - Selecting, Confirming & Deleting Multiple Checkbox Items In A DataGrid/GridView Implementing ITemplate as Anonymous Method Creating Web Server Control Templates Dynamically by implementing the ITemplate interface e.g. CheckBoxTemplate ...

I just posted an update on the article "Drag and Drop Using JQuery With Persistence". Now, you will be able to refresh the UI when any new users comes to the room. There were few gotchas associated with this implementation so be sure to check out the article.

I have published my article "Drag and Drop With Persistence Using JQuery" on code project. The article talks about how you can drag and drop objects using JQuery and later persist them in the database.

I have just published a new article "Drag And Drop With Persistence Using JQuery" in which I explained how to drag and drop users to the drop zone. The data is also persisted in the database.

I hope you enjoy the article!

Drag and drop support in a web application always get some attention. I used drag and drop support in one of my applications and I have to admit that it involved a lot of JavaScript code. You can check out the article "Browser Compatible Drag and Drop Shopping Cart". Today I had to create the same drag and drop approach so I decided to check out the drag and drop API's of the JQuery library. I have to admit that JQuery is one of the best JavaScript library that exists today. I can go on and on with ...
Just want to make sure everyone saw this from Scott Gu today One of the things we are trying to do with VS 2008 is to more frequently release public patches that roll-up bug-fixes of commonly reported problems. Today we are shipping a hot-fix roll-up that addresses several issues that we've seen reported with VS 2008 and Visual Web Developer Express 2008 web scenarios. Hot Fix Details You can download this hot-fix roll-up for free here (it is a 2.6MB download). Below is a list of the issues it fixes: ...
This is also from an internal mail to SilverKey Tech Egypt office dev. team. Slightly modified this time! (Yes, I know. I should stop this habit of link collection and get back to writing - hopefully soon) Joe On .NET - Windows Workflow Foundation Tutorial Series SourceMaking (Design Patterns, Antipatterns, Refactoring) Brennan’s Blog » Blog Archive » Intellisense for jQuery in Visual Studio 2008 Happy Coding: OOP and FOOP Linq to SQL DataContext Lifetime Management - Rick Strahl's Web Log Dan Driscoll's ...
Reading the news that Ruby.NET is dead although doesn't feel the best thing to hear, is still logical, and more explicitly it's even "right". After all, it reminded me with the other story about the death of AJAX.NET Professional. I wrote a detailed take on that earlier (in my former blog) and although you might consider this spamming, I feel the same talk needs to be brought back into conversation, because I feel like I want to say the same things, so, I'm quoting it entirely here in this blog. ...
It all started with an email Mohamed Hossam (AKA, Bashmohandes) sent to SilverKey Tech. (the company I work for) local office here in Egypt, referring to the article "Foundations of Functional Programming - Part 1 - B# .NET Blog". It inspired me to send few more language links: Linklist 03022008 - Dynamic programming design patterns, Erlang/C# AMQP Client, AOP - Nauman Leghari's Blog James Kovacs' Weblog - Syntactic Sugar, Compiler Candy, and Other Sweets Charlie Calvert's Community Blog : Expression ...
Some of you might now know but there are over 50 videos hosted on GridViewGuy. The videos target the different technologies associated with the .NET framework. The videos are in different formats i.e some are WMV files, Flash files and downloadable files. I hope you enjoy these videos and if you have a good idea for a new video then comment on this post and I will try my best to create that video :) GridView Parent-Child Relationship Using Ajax & JQuery GridView Edit, Update, Cancel and Delete ...
Few hours ago, Michael Schwarz, the creator of AJAX.NET Professional (A.KA. AJAXPro), the most successful AJAX framework for ASP.NET after Microsoft's ASP.NET AJAX Framework (A.K.A., ATLAS) has stated that he'll no longer be working on the project. Furthermore, he even recommended users to move to Microsoft's AJAX Framework instead!! The reasons Michael mentioned why he will stop the project used by 13.3% of ASP.NET developers doing AJAX work include the fact that ASP.NET AJAX is part of ASP.NET ...

I just published a new video in which I demonstrate how to create a GridView Parent-Child Relationship Using JavaScript, JQuery and Ajax.

Enjoy!

So, on Christmas day I was just checked how to add some more cool effects to the GridView control using JQuery. In this post I will display parent-child data in the GridView control with some help of the wonderful JQuery library. Let's first populate the GridView control. private void BindData() { string connectionString = "Server=localhost;Database=... SqlConnection myConnection = new SqlConnection(connectionStr... SqlDataAdapter ad = new SqlDataAdapter("SELECT ...
My friend Simone has created an interesting survey focused on .NET developers and Ajax. It's a more focused response to this survey on the Ajaxian blog. As of 2 AM (in Italy), there have been 415 responses: ASP.NET Ajax: 80% AJAX Control Toolkit: 17% JQuery: 13% raw Ajax: 12% If you are a .NET developer and are working with Ajax be sure to take the survey ...
As noted in some of my previous posts, there is a lot of excitement around the ASP.NET 3.5 extensions including MVC, Dynamic Data, Silverlight and so on. I have a few samples I'll be posting within the week using ASP.NET MVC with such things as Spring.NET, Castle Windsor, Object Builder and so on. In the mean time, I'm still working on the Spec# posts and some SharePoint Model View Presenter I hope to get out soon. Anyhow, there are some great links out there for doing cool stuff with ASP.NET MVC: ...
So now that I am a CI Factory junkie (just pulled down the latest bits and I am upgrading my 0.8 to 0.9) I figured I have learned a lot since the last time I thought about what my preferred stack is, and a colleague of mine, Robz, got me thinking when he was discussing a post he is going to write that I imagine will be similar to this one. Development Environment Visual Studio 2005 ReSharper VisualSVN TestDriven.Net Visual Studio 2008 (Once R# happens) JetBrains IDE ;) Issue Management JIRA (Thinking ...
This example shows two of my favorite things about jQuery: chainable methods and the find method. The find method is the easiest way to find decendent objects. There are many other ways, but when you to perform work on the parent and the child, chaining the work keeps the code tight and reduces the number of object that must be created Let's say you have something like this: <div id='containerForList'> <span id='listLabel>Description of List Goes Here</span> <ul><!-- items ...

I have just added Ajax enabled feedback features to www.koffeekoder.com website. Now, you can click the "Reply" button which will open a small window where you can submit a feedback. The window opens using a "FadeIn" effect using the JQuery  library. I hope you like this feature :)

Check out the demo below:

JQuery is a JavaScript library is created to make the life of JavaScript developers easy. Let's check out some of the cool features of the JQuery library. The $() function is one of the coolest features of JQuery. If you want to assign the click event to all the anchor tags on the page then you can simply do the following: $("a").click(function() { alert('The link is clicked'); }); If I am interested in a particular element then I can use the following code: $("link1").click(function() { alert('The ...
For those of you out there that enjoy building your personal libraries or extending your knowledge by reading about cutting edge technology...I have to suggest that you get into reviewing books for some of the big technical book publishers out there. I was just recently introduced to this world and must say that I have enjoyed it quite a bit. The books that I have reviewed are not yet released so I can't mention their titles. However, I can say that they did cover all the new fancy features of C# ...
improve :my => 'code' I will be posting code examples soon.. But you may not need to wait for my examples to get started as it has really simplified JavaScript development for many. Several lines of code can be written in line most of the time using this library. Here's the link... http://jquery.com/ When you get there, please be sure to check out the many plugins that are available there. (BTW, I have been impressed by Script # from Mr Softie as well... It allows you to write debuggable .NET ...
Few days back one of my of ex-colleague called me to know what is the best platform of Ajax to work in VS2003 Project, One of his client wants to implement some Ajax features in his existing application . Is it Ajax.net, Prototype, jQuery or Dojo? When I replied him Asp.net Ajax 1.0, he seems bit confused. Yes we can also use Asp.net Ajax for the older version of VS. However, we will not get the full set of features in those older environment. Let me list those features, which will not be available: ...