Moses on DotNetSlackers

.Net Gorean Lifestyler

This site

News

@ Cambridge, UK

Blogs

Sponsors

  • MaximumASP
  • Social Bookmarking
    Online Shopping
    asp.net hosting
    UK online local dating

PagedList Sorted Edition

Me and Amr Elsehemy are working together in something and he requested a feature in some APIs I built. In fact he liked the Rob Conery's PagedList that had been modified by Troy Goode. He used it on his jBlogMVC post series about building Blog Engine using MVC.

That was pretty simple and I noticed something missing on the PagedList that I wished to add! What about sorting. I mean build a PagedList that is sorted. So I made slight changes to the enhanced PagedList made by Troy to support sorting.

Prerequisites:

It is required that you refer to Rob Conery's PagedList and the modified version by Troy Goode before you proceed in order to understand how this PagedList is useful and helpful with MVC and LINQ to SQL as well as LINQ to Entities.

Read more...

2 Parts post on Building jQuery and ASP.Net AJAX Enabled Controls with jQueryCollapsiblePanelExtender Sample

At the end of the last month (September 2008) Microsoft announced that it will be shipping jQuery with Visual Studio going forward. It was a great news for all ASP.NET developers who are jQuery fans as well as jQuery and ASP.NET AJAX folks like me. Before and after that, there were many posts made around the same subject. So I decided to build a simple sample cloning one of the famous ASP.NET AJAX Control Toolkit control "CollapsiblePanelExtender".

I came up with jQueryCollapsiblePanelExtender. Read the following 2 posts for more details:

  1. Building jQuery and ASP.Net AJAX Enabled Controls, The jQueryCollapsiblePanelExtender Part 1 Client Control
  2. Building jQuery and ASP.Net AJAX Enabled Controls, The jQueryCollapsiblePanelExtender Part 2 Server Control
Inheritance and Associations with Entity Framework Part 3

On part 1 and part 2 I explored how to apply 2 different inheritance models (TPH & TPT) in Entity Framework. In this part I'm going to demonstrate associations between 2 base entities. And how to filter end properties to return specific type (sub entity).

Read More

Inheritance and Associations with Entity Framework Part 2

In the previous part I discussed Table-per-Hierarchy Inheritance, in this part I'll go through Table-per-Type Inheritance model. There is a video demonstrating this model if you wish to watch. Here I'll update my previous sample with new entities that demonstrate the Table-per-Type Inheritance model. For the differences between 2 models and definitions return to 1st part.

Read More

Inheritance and Associations with Entity Framework Part 1

In this multi parts series I'll explore how to build inheritance with Entity Framework showing 2 different approaches of inheritance in Entity Framework. Beside that I'll show how to build simple association between 2 entities and show how to provide custom code to retrieve other parts of the relation when inheritance is applied.

My plan not to exceed 3 parts as the subject is not that huge, it is just the demonstration with screen shots that will make the post large that is why I divided it to multi part. I am not good at screen casts beside I don't have a software license to produce one.

Read more about it here.

Username Availability Validator almost ready, the early demo

Few weeks ago Dave started the Advanced ASP.NET AJAX Server Controls book giveaway contest. And yesterday he announced that the control is almost completed, but the contest door is still open. So I thought to grape the bits and start testing it and build a simple sample. [View Demo]

The sample that I am going to demonstrate here will use ASP.NET Create User Wizard control with UserName Availability Validator. In this sample I'll show the important properties of this control as well as the current issues exist.

Read more on this demo.

jBlogMvc Series Started! Keep tuned with Amr Elsehemy

Amr Elsehemey started to blog about ASP.NET MVC. He picked up a good subject to blog about; and jQuery, he named it "" Yesterday he posted his first post in the series, and myself I am waiting for the rest of the series as for it is going to be very interesting, because I have couple of ideas in mind.

He is going to explore the code and posting samples as he developing this simple blog engine. We have been talking about this subject for few days now, and really he has some cool ideas to present. Keep tuned with Amr, I am sure he is going to amuse us with some kicking posts just as he did in his .

Posted: Sep 22 2008, 10:51 PM by mosessaur
Filed under:
Localization\Globalization Considerations and Tips

I've been worked with localization and globalization for a while now. During that period I faced issues and learned many things about the subject. Here I am going to share some of my own ideas and tips to avoid falling in certain issues. It worth to mention that I am talking from GUI point of view and not Application Data point of view.

Read more about it.

Master\Detail with CollapsiblePanelExtender and edit detail with HoverMenuExtender using GridView

Last year, Matt posted a cool post about . Last month I got an e-mail from Justin Riggs, he was trying to combine to things. The usage of HoverMenuExtender as described in Matt's post, and the I posted about few months ago.

I thought to make a repost with few modifications to my sample, and produce another one using CollapsiblePanel and HoverMenu. You can read more about it here. Also you can view demo here

LINQ to Entities, Workarounds on what is not supported

In my previous post I talked about what is not supported in LINQ to Entities and made a simple comparison with LINQ to SQL show that these unsupported things works fine in LINQ to SQL.

In this post I am going to provide workarounds these things. First one will be wrapping the entities with Business Classes. And the second way will be using client evaluation which is converting to work with LINQ to Object. Before you go further, I recommend that you read my previous post to save your time.

LINQ to Entities, Workarounds on what is not supported

LINQ to Entities, what is not supported?

My new post about what LINQ to SQL support and not supported in LINQ to Entities. Different examples with source code. Check it out it might save you sometime searching and investiagting in some known unsupported things in LINQ to Entities.

Building On Demand Loading Master/Details using GridView, CollapsiblePanelExtender and ASP.NET Ajax PageMethods

Well, I'm done with this article that show in details how to build on demand loaded details from master data using GridView and CollapsiblePanelExtender control. Read the article.

Earlier this year Matt Berseth posted about Building a Grouping Grid with the ASP.NET 3.5 LinqDataSource and ListView Controls. Then I followed his post with 2 other posts discussing same idea but with different implementation:

Later I got few comments about how to implement that using AJAX, in order to display the details data on demand. At that time Dave was demonstrating the usage of jQuery AJAX on his post Using jQuery to consume ASP.NET JSON Web Services. So I came up with another demo to apply on demand loading of details data in my post GridView Grouping Master/Detail Drill Down using AJAX and jQuery.

Again I got few other comments on how to apply same approach, but using ASP.NET AJAX Control Toolkit CollapsiblePanelExtender control. So here I'm going to provide how to do that using CollapsiblePanelExtender and ASP.NET AJAX PageMethods call to apply on demand loading of details from the master data. You can read my article and view Demo here

Simple Static Tooltip Widget using jQuery.UI

Few days I posted a new simple jQuery.UI widget, Simple Static Tooltip Widget. In this post, I provide a toop tip with 3 examples.

The tooltip support 3 modes, show/hide tooltip on mouseover/mouseout or on focus/blur or manually using tooltip client APIs (show/hide).

One of the examples shows how to use the tooltip along with AJAX call using jQuery AJAX.

I hope you'll enjoy it.

 

Custom paging with LINQ to SQL.

Here is 4 posts that discuess custom paging using LINQ to SQL. Post include demo and explination with source code download.


Hope you'll enjoy them.

 

Posted: Jul 23 2008, 03:31 PM by mosessaur
Filed under:
jQuery.UI Messenger\Outlook like message notification Widget

Few days I read Matt's post about building jQuery.UI ProgressBar widget. On that same day I followed his post and build one simple widget, Messenger\Outlook like message notification Widget.

Check it out and I hope you'll like it. Demo and Download is included in the main post.

More Posts Next page »