Thursday, September 23, 2010

Circus with DataPager and ListView

I have been playing with ListView and DataPager a lot lately. One reason is I have read a quite lot on these controls and thought very high of it. The combination gives us a light weight data control with Pagination facility. What more can you ask for, right?

To a vanilla page (with no gimmicks), these controls behave very nice. But once, you start your circus, they don't bend.

The magic of pagination lies in PageDataPropertiesChange() event of the ListView control. This is the event where you set the next page number properties to retrieve the next set of data. Whenever you click on a page number (which is rendered by the DataPager control), the PageDataPropertiesChange() event gets triggered.


One scenario I had was with a ListView control, the controls of which I wanted to change dynamically, particularly on ItemDataBound event. But, every time any control changes in ListView Item, the PageDataPropertiesChange() gets hit! So, pagination happens even before I hit the page numbers in the DataPager control. And that was my problem, and which it took some time to figure it out. Particularly after a heavy dose of Indian Bread and Tuna curry! :)

So there was no way out. I needed the dynamic behaviour of ListView and the pagination wouldn't budge.

After lot of googling around, I had to succumb. I split  up the pages, which I am not still happy about.

The one thing I don't understand, why would a ListView event get hit when the DataPager control is shaken?

If you know of any tricks, please pass me on.

Wednesday, September 22, 2010

ABCs of WCF - Coming Soon

This year, our user group had very few topics for novices. The only ones we had were run by our President, Judy Calla.

I would be presenting a beginner's session on WCF on November 16th - yes, that Whys and the Whats. And of course, the Hows! :)

If you are from Harrisburg or would be visiting during the month, come on in and join for a fun filled 2 hours of WCF.

Code Camp 2010 - Another Milestone

I should thank all the speakers who participated in our code camp and made it a successful one. The participants (attendees) had a full day of technical infotainment and had absolutely enjoyed.


Raffle books at the code camp

Code Camp 2010 has become another golden feather on our user group's hat. Many kudos go to the organisers who made it possible and Judy Calla, our President, who lead us to a heart-filling day.

Tuesday, August 10, 2010

Code Camp 2010 Preparations

Finally, I am finished with organizing speakers for the upcoming .NET Code Camp. The list is still unpublished (is that a word?) as the speakers are reviewing their schedule. But I promise you, we have a beautiful line up, as it was last time.

Code Camp Registration is still open and you would want to visit http://www.central-penn.net/ for details. The event is on September 11, 2010 and would be held on ITT (Harrisburg, PA) premises.

UPDATE
The speaker line-up has been published. Please visit http://www.central-penn.net/ for details.

BEGINNER'S MONTH

I have so many friends who are yet to jump to open systems. They are stuck in mainframe and mainframe like systems and are not ready to roll on to new and upcoming technology. I have helped many by introducing them to .NET.

Central Penn .NET User Group is conducting a .NET BEGINNER'S MONTH. This session would cover only basics of  object oriented programming in .NET.

If you are a beginner and you would like to know about .NET, this is the place to go.

Please visit http://www.central-penn.net/ for registration.

Tuesday, July 06, 2010

VS2010 Community Launch

On July 20, 2010, Central Penn .NET User Group is organizing VS2010 Community Launch event.


This would be held on our regular meeting hours (5:30 PM to 7:30 PM). You are all welcome!

Wednesday, March 10, 2010

ASP.NET 4.0

On April 12 of this year, VS2010 and .NET 4.0 would be released to the world.


And that would be an exciting day indeed!


If you want to get a scoop on what ASP.NET 4.0 holds, please visit Dan Maharry's series of posts in ASP.NET 4.0 COMETH!

I am already enjoying VS2010 Beta! :)

Cookies, anyone?

  Our application started having integration issues early March this year. Did I say that was intermittent? To add to our confusion, we coul...