0

jQuery and AIR – Moving from web page to application (2)

Posted by Raymond Camden on Sep 30, 2009 in Flex  | View Original Article
  As a followup to my previous entry, I discuss modifying my Hangman game to make use of a database of words.

Tags: , ,

 
0

Mega Freebies Day : Winners Announced

Posted by Noupe on Sep 30, 2009 in Design & Graphics  | View Original Article
 


Few weeks ago we announced the Mega Freebies Day, and celebrated with a new design for Noupe. 15 generous sponsors offered to give away premium web design-related products, services & licenses just for you guys.

Over 450 wonderful readers participated in the giveaway. And the winners were randomly selected and are now announced in this post.

And the winners are…

1. ThemeForest
  • #51495 | Matty
  • #51500 | Jelani Harris
  • #51501 | Nina
  • #51508 | Ahmad Alfy
  • #51519 | Marko Randjelovic
  • #51525 | Mustafa Quilon
  • #51535 | coldchiliandhotchilly
  • #51555 | Jesse McFarlane
  • #51586 | Francois
  • #51620 | Chris Robinson
2. Page Flip
  • #51629 | WpthemesMall
  • #51650 | Heather St. Marie
3. Elegant Themes
  • #51652 | yasser
  • #51686 | Blurt Brumme
  • #51732 | Peter Steen Høgenhaug
4. SnobbySlice
  • #51759 | karansinh
5. Themegalaxy
  • #51803 | Paul
  • #51837 | adam
6. Designious
  • #51730 | Amy L
  • #51662 | abhijeet
  • #51505 | Tom
  • #51693 | redwall_hp
  • #51782 | Boci
7. Obox-Design
  • #51742 | webbografico
  • #51798 | Stefan Alexandru
  • #51831 | Rommel Miraflores
8. Gomedia
  • #51696 | Abhin
  • #51968 | Alex
  • #52158 | Pablo
9. Artbox7
  • #52214 | manSur
  • #52220 | chaitanya vrk
  • #52248 | DanHillesheim
  • #52360 | paburmester
  • #52383 | Jim
10. Stock Graphic Designs
  • #52863 | Magdy
11. Flashotaku
  • #51556 | Darin
  • #51610 | Jim Raymonds
  • #52005 | Teo Farro
12. Printprintprint
  • #51556 | Dipak Patel
  • #51871 | philip
13. Bizcard
  • #51560| Michael Castilla
  • #51858 | Garry
14. Gabfirethemes
  • #51517 | Alexandru Pitea
  • #51572 | Bakhtier
  • #51606 | Dnyanesh
  • #51582 | RussellUresti
  • #51591 | Rob
  • #51601 | Felipe Arima
15. Gorilla Themes
  • #51628 | Phyza
  • #51630 | AntiheroKing
  • #51687 | Rohan

Thank you to everyone who participated and congratulations to all the winners.

Related posts:

  1. Premium WordPress Themes Giveaway: Winners Announced
  2. 25 Winners Announced for Stock Graphic Designs Giveaway!
  3. Premium WordPress Themes Giveaway: Winners

Tags:

 
0

Behaviors vs Subclassing in Silverlight

Posted by bryantlikes on Sep 30, 2009 in C#, Dotnet  | View Original Article
 

As a Silverlight developer, when you want to add functionality to an existing control, you have two main options as I see it (if you want to get reuse from your code). You can either subclass the control or, as of Silverlight 3,  you can write a behavior for it. For example, one of the requests for the current Silverlight application that I’ve been working on was to have the TextBox select all the text when you tabbed to it or clicked in it. We can easily add this functionality using both of the above methods:

Here is how this could be done using subclassing:

public class SelectAllTextBox : TextBox 
{
    public SelectAllTextBox()
    {
        this.GotFocus += new RoutedEventHandler(TextBox_GotFocus);
    }

    private void TextBox_GotFocus(object sender, RoutedEventArgs e)
    {
        this.SelectAll();
    }
}

And here is how you would write this as a behavior:

public class SelectAllBehavior : Behavior<TextBox>
{
    protected override void OnAttached()
    {
        base.OnAttached();
        AssociatedObject.GotFocus += new RoutedEventHandler(AssociatedObject_GotFocus);
    }

    void AssociatedObject_GotFocus(object sender, RoutedEventArgs e)
    {
        ((TextBox)sender).SelectAll();
    }
}

The behavior has one more line of code and the added requirement of adding a reference to System.Windows.Interactivity.dll from the Blend 3 SDK. The bigger difference is how the code looks in our view when we add the control to it.

The subclassed control looks like (where ctrls is the controls namespace of our subclassed control):

<ctrls:SelectAllTextBox Text="{Binding MyText}" />

And the behavior looks like (where i is the System.Windows.Interactivity namespace and b is our behavior’s namespace):

<TextBox Text="{Binding MyText}">
    <i:Interaction.Behaviors>
        <b:SelectAllBehavior />
    </i:Interaction.Behaviors>
</TextBox>

Obviously the behavior is more verbose in this case than the subclassed approach.

Since both of these approaches work, which is the better approach? I think the subclassing is the easier approach, but I think the behavior would be the recommended approach. The reason is that I can build my SelectAll behavior today and then down the road build a different behavior and then selectively apply them to my TextBoxes as appropriate. However, if use the subclass approach I would automatically get the new behavior on all my controls which might not be what I wanted. It also means that if someone builds a better TextBox that I want to use that I would have to try to subclass that control, but with the behavior I could just apply it to the new control.


Tags: ,

 
0

Fixed: “An internal build error has occurred” with FB3 & Galileo

Posted by Mike Slinn on Sep 30, 2009 in Flex  | View Original Article
  James Ward surprised us today with a patch for Flex Builder 3 that makes it work with Eclipse Galileo SR1. James solved the dreaded "An internal build error has occurred" problem. His solution was to replace ProblemManager with his...

Tags: ,

 
0

New & Free Social Media Icon Set For Your Blog

Posted by Noupe on Sep 30, 2009 in Design & Graphics  | View Original Article
 


In this post we release a new and free Social Media Icon Set: A Custom Icon Set, specially designed in a high quality and unique style for our readers that will hopefully meet your expectations and will come in handy in your projects.
6 beautiful and clean icons: New RSS, Twitter, Del.icio.us, Stumble Upon, Facebook and Email. This set was designed by IconShock and released exclusively for Noupe and its readers.

Social Media Icon Set

The files are transparent PNGs, and the source file (.psd) is available for download as well (see the links below). The set is completely free and may be used for any private or commercial project without any restrictions.

Download the set (.zip, including .psd & .ai source files, 5.9 Mb)

Download the set (.zip, including .png source files, 1.2 Mb)

Related posts:

  1. 40 (NEW) High-quality and Free Icon Sets
  2. 50 Most Beautiful Icon Sets Created in 2008
  3. 50 Free High-Quality and “New” (X)HTML/CSS Templates

Tags: ,

 
0

Desktop Wallpaper Calendar: October 2009

Posted by Smashing Editorial on Sep 30, 2009 in Design & Graphics  | View Original Article
 

  


Desktop wallpapers can serve as an excellent source of inspiration. However, if you use some specific wallpaper for a long period of time, it becomes harder to draw inspiration out of it. That’s why we have decided to supply you with smashing wallpapers over 12 months.

And to make them a little bit more distinctive from the usual crowd, we’ve decided to embed calendars for the upcoming month. So if you need to look up some date, isn’t it better to show off a nice wallpaper with a nice calendar instead of launching some default time application?

This post features 50 free desktop wallpapers, created by designers across the globe. Both versions with a calendar and without a calendar can be downloaded for free.

Please notice:

  • all images can be clicked and lead to the preview of the wallpaper;
  • you can feature your work in our magazine by taking part in our desktop wallpaper calendar series. We are regularly looking for creative designers and artists to be featured on Smashing Magazine. Are you one of them?

So what wallpapers have we received for October 2009?

Learn more about the Smashing Book!

Want to learn more about CSS coding and web design? Take a look at our upcoming Smashing Book ($23.90 $29.90, available worldwide). Pre-order now with 20% discount!

Fairytale Land

Designed by Monica Corduneanu from Romania.

Smashing Wallpaper - october 09

Hummingbird

Designed by Vlad Gerasimov from Irkutsk, Russia.

Smashing Wallpaper - october 09

Hope

"As autumn arrives here in the northern hemisphere, we are reminded of the fragility and brevity of life. Yet the brilliant colors of nature, even in death, are a beacon of HOPE — a sure sign that after the cold and death of winter we will experience a new beginning." Designed by Abigail Paul from USA.

Smashing Wallpaper - october 09

Trick or Treat 2000

"It is the year 2000, and robots rule the world. This is a photo of a recently completed fully-functional rod puppet, approx. 10″ tall, set within a digital halloween scene via Photoshop. 0000101011001! (robot translation: Trick or treat!)" Designed by Out of the Chair Design from Canada.

Smashing Wallpaper - october 09

Beautiful Prague

"Last month I visited Prague – a beautiful city.I re-did my wallpaper with Sibiu from May, now with Prague." Designed by Anca Varsandan from Romania.

Smashing Wallpaper - october 09

Escape of Red Riding Hood

"Escape of Red Riding Hood" Designed by Monica Corduneanu from Romania.

Smashing Wallpaper - october 09

Kill your boss (Do not take it seriously)

(Editorial Team) Yes, this is a controversial wallpaper. Please do not take it seriously and consider it to be a funny and scary Halloween wallpaper. Some bosses can be quite harsh sometimes, but that’s definitely no the reason to kill anybody. So we do not take any legal responsibilities for the side effects of you having this wallpaper on your desktop. Happy Halloween!

"When your boss yells that you are too immature to be a designer you are morally obliged to stop whatever youare doing, go to him and have an encounter." Designed by Milana Adamov from Serbia.

Smashing Wallpaper - october 09

Caring for planet

"In October 15 is celebrated the Environmental Education Day in Brazil so i made this illustration to remember the date." Designed by Marcelo Henrique from Brazil.

Smashing Wallpaper - october 09

Metropolitain

Designed by amandinelle from France.

Smashing Wallpaper - october 09

pop girl

Designed by Jennifer Rodriguez from Spain-Tenerife.

Smashing Wallpaper - october 09

Stamps

Designed by Nikola Lazarevic from Serbia.

Smashing Wallpaper - october 09

Sad Eyes

"I take and edit the picture." Designed by Nuno Silva from Portugal.

Smashing Wallpaper - october 09

Pixel Glass

Designed by Khristian Mendoza from Australia.

Smashing Wallpaper - october 09

Pumpkin Time

"After watching ‘Pulp Fiction’ for the nth time, I decided that October is a bad-ass month. This wallpaper is a representation of (what I imagine as) Samuel L. Jackson’s take on October. Badass." Designed by Tessa Pahkamaa from California, United States.

Smashing Wallpaper - october 09

Harvest

"The colors of Autumn revealed in a harvest of fallen leaves." Designed by Charles Godewyn from United States of America.

Smashing Wallpaper - october 09

Movement of Bodies

"I came across a picture of the dancer who inspired me to give him some more movement." Designed by Rhoda Ndirangu from USA.

Smashing Wallpaper - october 09

Vintage

"The past is never dead, it is not even past. ~William Faulkner" Designed by Lety Gidea from Romania.

Smashing Wallpaper - october 09

Cinderella

"Inspired from Cinderella fairy tale chracater and created by using free clip art image of cinderella." Designed by NarjisNaqvi from Pakistan.

Smashing Wallpaper - october 09

The moons glow

"It is a full moon tonight. The fall wind blows the clouds. The leaves have fallen from the trees and a happy pumpkin sits beneath a spooky tree. The tree and the pumpkin both welcome in the month of October." Designed by Allison S. Hoge from USA.

Smashing Wallpaper - october 09

Scary Pumpkin

"Halloween is my favorite holiday. This calendar shows my desire to make Halloween a darker holiday than it has been in the past for me." Designed by Rachel Cobb from USA.

Smashing Wallpaper - october 09

This is how I pass my time

"I was at il Biennale in Venice this August. The Russian house was my favorite, and one of the exhibits had this great “haunted house” set up–plastic baby hands hanging from the ceiling, cramped walking space in darkness. My friend snapped this photo in a hurry and it turned out great considering the low light. I think it’s a bit creepy without overdoing it." Designed by Heather Van De Mark from USA.

Smashing Wallpaper - october 09

After the Fire

"I drove past these burnt houses several times on my way home from work and knew I wantedto try and capture the vision that came to me every time I drove by. With the help of my friends daughter, Kylah, wemanaged to get some great photos and we all really liked this one.I am new at graphics and design but have a very strong passion for anything creative and decided to give it a trythis month as I felt the photo would be a good fit for an October wallpaper." Designed by Flori Chaykowski from Canada.

Smashing Wallpaper - october 09

Zombie’s Grafitti

"A mystical month like October diserve an trash art contribution so the dead can go back to life and haunt the living people. This wallpaper was made for terror e thriller lovers. Download and enjoy it!" Designed by Vinicius Ervilha from Brazil.

Smashing Wallpaper - october 09

Autumn Colors

"Demonstrating the warm, dark colors of fall." Designed by Kari Andresen from USA.

Smashing Wallpaper - october 09

On The Road Again

"Here you have a calendar design. I think that was a pleasant evening to take pictures especially since it was a beautiful sky. Hope you like it." Designed by Adrian Hasmasan from Romania.

Smashing Wallpaper - october 09

Autumnal

Designed by Christine Theis from Germany.

Smashing Wallpaper - october 09

Energy of water

"My wallpaper illustration Energy of water was inspired by terrible ecological problems in Ukraine and round the world." Designed by Egor Kosten from Ukraine.

Smashing Wallpaper - october 09

Mossy Pavement

"Last October we were wandering in the beautiful old section of town Sopron, Hungary, while I took a picture of this pattern at a courtyard. One year later the season is in the right mood to make a wallpaper from the photo." Designed by Balázs Kereskényi from Hungary.

Smashing Wallpaper - october 09

Pumpkin -Surprise

"Grab your pointy hat and get ready for some magic." Designed by Chris Alexander (Yipori) from England.

Smashing Wallpaper - october 09

Oktoberfest

"Theme “Oktoberfest” is written on the hot dog with mustard, served with a beer. All made by modeling clay, photographed, and adjusted in Photoshop." Designed by Begum Burian from Turkey.

Smashing Wallpaper - october 09

October Canvas

Designed by Hashem Gamal Ahmed from Egypt.

Smashing Wallpaper - october 09

The only thing

"This is Spack, my “little” dog (just three years old…!)! I love dogs, don’t leave them alone." Designed by Riccardo Medana from Italy.

Smashing Wallpaper - october 09

Marcha Zaragoza

"This is a composition we made for an event thats going to take place in Zaragoza next 24 October, to join people all over the world to take a stand for a safe climate future, claiming atention from governments of Copenhagen United Nations conference. We are going to ride our bicycles around the city (Zaragoza, Spain)." Designed by Pablo Jimeno Pérez from Spain.

Smashing Wallpaper - october 09

Diwali

"Also called the festival of lights, Diwali is one of the most popular festivals celebrated in India. Diwali or Deepavali is an occasion which is celebrated with lot of enthusiasm in most parts of the country. The day of Diwali witnesses celebrations of the highest magnitude as the entire country is lit with beautiful lights and lot of fireworks are used to celebrate Diwali, a victory of light over darkness.The magnificent five days long jubilation of Diwali celebrations is marked by multi-colored Rangoli designs, special pooja ceremonies, lines of lamps, floral decorations, fireworks, exchange of Diwali Sweets and Diwali Gifts that lend grandeur to the Occasions." Designed by Supriya Kunal Dcunha from India.

Smashing Wallpaper - october 09

Halloween

Designed by Rumake Web Agency from Russia.

Smashing Wallpaper - october 09

Smash Type

"Just a typographically artistic display indedication to smashing magazine." Designed by Two six eight design from United States.

Smashing Wallpaper - october 09

Burnt Orange

"For this wallpaper I wanted to use orange, but not with traditional imagery of pumpkins and Hallowe’en. I did however want to celebrate that October is national breast cancer awareness month, that apple day takes place on the 21st, and I of course had to make a note of Hallowe’en!" Designed by Ducky Design from Canada.

Smashing Wallpaper - october 09

Vintage October

"True colour – casual look. A classical vintage label that becomes all PCs. A must have for all autumn designistas." Designed by Dannci from Slovakia.

Smashing Wallpaper - october 09

Leaves

"simple, calm, quiet and relaxed like some Italian landscape views in the month of October; if you would like this wallpaper in a different resolution just drop me an e-mail. Enjoy!" Designed by Federica Sibella from Italy.

Smashing Wallpaper - october 09

Love-of-October

"”October is a month full of endless questions about creativity. Should I be Jason from Friday the 13th or Michael Myers from Halloween for the costume party. Is this too much for my front yard (while looking upon a extremely detailed macabre with realistic CGI ghosts, goblins, and pyrotechnics)? Designed completely with paint.net. “" Designed by Ian Patrick Buss from United States of America.

Smashing Wallpaper - october 09

Praying Mantis

"My neighbourhood has recently been invaded by hundreds of beautiful praying mantis and this one decided to pose for a while." Designed by Antonio Bustamante Mirayo from Spain.

Smashing Wallpaper - october 09

Moorland

"Have a nice autumn" Designed by John Kichote from Poland.

Smashing Wallpaper - october 09

A Halloween Theme, Go Figure.

"It’s orange. It has a spider and some crazy eyes, so yup, sounds like Halloween to me. Hopefully it is still fun enough to be enjoyed by all of our friends that are not celebrating Halloween. Looks great with or without the calendar. Enjoy!" Designed by Steve Mullen from USA.

Smashing Wallpaper - october 09

Matterhorn

"This picture was taken from Zermatt, Switzerland at the beginning of October 2007. The summit of the Matterhorn peak was on fire and reminded me of the colors of Autumn." Designed by Vincent Prat from France.

Smashing Wallpaper - october 09

Sarajevo

"Sarajevo is capital city of (the state of) Bosnia and Herzegovina and it is wll known with name “City of east and west” I used old postcards which were popular during Austro – Hungarian period to make this digital greeting and to promote this beatuful city. Greetings / Gruss / Selam" Designed by Azra Crneta from Bosni and Herzegovina.

Smashing Wallpaper - october 09

Be Present

"We are here, and it is now. What else is there? Enjoy the moment." Designed by Marlaine Weber from Canada.

Smashing Wallpaper - october 09

Doodletober

"Doodletober celebrates the spontaneous creativity that can come with the long drawn out nights of the month of October (especially in the UK). When your stuck inside and it’s raining on the outside, why not whip out your finest sharpie and a sheet of paper and get doodling!" Designed by Rob Hampson from United Kingdom.

Smashing Wallpaper - october 09

Godfather

"This is a wallpaper I made mostly for myself, As some of you might have noticed it is very similar to last month’s one, and sorry for that i will be bringing more original wallpapers later on. But the wallpaper itself is about my all-time favourite movie the godfather and contains one of my favourite quotes out of the movie." Designed by Luka Dadiani from UK.

Smashing Wallpaper - october 09

Will-o’-the-Wisp

"This design celebrates the spooky side of October by showing a cloud of Will-o-the-wisps under a tree in the moonlight. A passage from my favorite poem by English poet Samuel Taylor Coleridge reminds me of these ghostly lights, so I thought it appropriate to include." Designed by 3 Roads Media from United States.

Smashing Wallpaper - october 09

Falling Leaves

Designed by Rita Pereira from Portugal.

Smashing Wallpaper - october 09

Autumn Leaves

Designed by Kevin Wolstenholme from UK.

Smashing Wallpaper - october 09

Wavular

"Design KompanyÕs ÒwavularÓ series is about possibility. Our title is inspired by the Greek letter lambda, which signifies wavelength in the famous equation E=hc/l. In quantum theory, energy (E), is indirectly proportional to wavelength; and it is in the implied spaces, rather than those we discern most readily with our senses, which inspire our “wavular” drawings. Energy is also directly proportional to c, the speed of light, and h, a coefficient determined by physicist Max Planck, who said: ÒWhen we change the way we look at things, the things we look at change.Ó “Wavular” invokes and invites you to turn a thing on its side, move it a bit here, shift it there, flip it inside out, and consider the negative space it implies, to investigate what else is really there. —DK" Designed by Design Kompany from USA.

Smashing Wallpaper - october 09

Boxter

"Adam Plitt’s Porsche Boxster on the way to the deer camp. Created with Photoshop CS4." Designed by Adam Plitt from USA.

Smashing Wallpaper - october 09

Autumn Waves

"Abstract illustration representing the month october." Designed by Angelika Omer from Austria, Vienna.

Smashing Wallpaper - october 09

That’s CMYK’s Show

"I’m not used to described my own wallpapers. I prefer when spirit do the job. So – What do you think? -" Designed by Lechaftois Boris (Bš) from France.

Smashing Wallpaper - october 09

More Behind

"Websites can look very simple, beautiful and clean, but there is much more behind it, starting in a sheet of paper." Designed by Diego Homem from Brazil.

Smashing Wallpaper - october 09

OctoTypo

"Display typography is a potent element in graphic design, where there is less concern for readability and more potential for using type in an artistic manner. OctoTypo design Inspired by various existing online designs and typographic posters." Designed by DKumar M. from USA.

Smashing Wallpaper - october 09

Cognac

"It’s the VMAs. Something had to happen. Big shout out to Mr. West for the inspiration. We’re not mad at you. We got nothing but love for you." Designed by Umer Tahir from Canada.

Smashing Wallpaper - october 09

Animal Day

"This month we celebrate the international school library month and the world animal day integrating it all with a playful use of typography, you may find a hidden message, enjoy." Designed by Ana Laura Diosdado from mexico.

Smashing Wallpaper - october 09

Minimal

"Development of typography and light in a minimalist and quiet scene." Designed by Tarik AMAR from France.

Smashing Wallpaper - october 09

October Sentense

"Just motivating sentence for October :)" Designed by Temeshi from Poland.

Smashing Wallpaper - october 09

Join in next month!

Please notice that we respect the ideas and motivation behind artists’ work which is why we’ve given artists full freedom to explore their creativity and express emotions and experience through their works. And this is also why the themes of the wallpapers weren’t anyhow influenced by us, but designed from scratch by the artists themselves.

Thanks to all designers for participation. Join in next month!

What’s your favorite?

What’s your favourite theme or wallpaper for this month? Please let us know in the comments! And have a smashing October, folks!


© Smashing Editorial for Smashing Magazine, 2009. | Permalink | 23 comments | Add to del.icio.us | Digg this | Stumble on StumbleUpon! | Tweet it! | Submit to Reddit | Forum Smashing Magazine
Post tags: ,

Tags: , ,

 
0

Really Useful Tutorials You Should Have Read in September 2009

Posted by W3Avenue Team on Sep 30, 2009 in CSS, Javascript, PHP, Tutorials  | View Original Article
 

This update covers tutorials, how-to, screen casts, tips and techniques that you should have read in September 2009. Featured authors include: Alen Grakalic, Kayla Knight, J. David Eisenberg Nick Parsons, Janko Jovanovic, Marco Kuiper, David Walsh, Chris Coyier, Andrew Burgess, Kevin Liew, Jamie Newman, Karl Swedberg, Mike Smith, Glen Stansberry, Dmitry Fadeyev, Karthik Viswanathan, Matt Vickers, Thiemo Fetzer, Siddharth, Shawn, Dicky, Vasili, and Steve Reynolds.

Featured Publications/Blogs include: A List Apart, Carsonified, Spyre Studios, Smashing Magazine, JankoAtWarpSpeed, Marcofolio, Learning jQuery, Templatica, Tutorialzine, Devirtuoso, Webitect, Nettuts+, WebDesignBooth, Css Globe, Six Revisions, CSS-Tricks, LateralCode, Steve Reynolds Blog, David Walsh Blog, and Queness.

So which articles you found most useful. Also feel free to recommend any article that we may have missed.

Similar Posts:

Tags: , ,

 
0

Death to .NET Events

Posted by scott on Sep 29, 2009 in Dotnet  | View Original Article
 

When .NET arrived on the scene it promoted the use of events and delegates to decouple code. Chris Sells had one of the best early stories on how it all works (.NET Delegates:A C# Bedtime Story)*:

Once upon a time, in a strange land south of here, there was a worker named Peter. He was a diligent worker who would readily accept requests from his boss. However, his boss was a mean, untrusting man who insisted on steady progress reports. Since Peter did not want his boss standing in his office looking over his shoulder, Peter promised to notify his boss whenever his work progressed.

For a few years I think we were all infatuated with events. We used them everywhere from the web to the desktop, and even in between. Looking around, you have to wonder if we went down the wrong road.

 roadsign

Consider the people who …

I’m thinking one day soon we will compare writing explicit event code to manual memory management.** Both will be low level details we don’t see in our everyday code.

If so, this will be quite a change from just a few years ago.

--

(*) The start of the story should sound familiar to anyone who worked with COM’s IConnectionPoint, which almost qualifies the story for an award in the horror category.

(**) If this means I never see the INotifyPropertyChanged interface in anyone’s code ever again, then I’ll welcome the new event overlords with open arms.

 
0

Using Microsoft’s Chart Controls In An ASP.NET Application: Programmatically Generating Chart Images

Posted by 4GuysFromRolla.com Headlines on Sep 29, 2009 in Dotnet  | View Original Article
 

The Microsoft Chart controls demos we have examined so far all use the Chart Web control to position the chart image on the web page and to configure a number of its stylistic settings. For example, while the Plotting Chart Data article showed several demos illustrating the different ways to specify the points to plot on the chart surface, all of these demos used a Chart Web control to indicate where on the page the chart should appear, along with its dimensions, its series, its chart areas, its colors, and so on. While the Chart Web control makes it easy to get started with the chart, it is not necessary. From the ASP.NET page's code-behind class you can: programmatically create a Chart object; specify its width, height, colors, and other display-related properties; plot the charts data points through any of the mechanisms discussed in Plotting Chart Data; and generate an image for the chart in a number of different image formats, saving the image data to a file or to a stream.

Being able to programmatically configure the chart and generate the chart image is useful if you want to modify the chart image in some way before displaying it. Perhaps you want to add a watermark, or embed it inside a PDF file. Maybe you don't want to display it at all, but instead want to send it as an attachment in an email, or save the image to the web server's file system or to the database. Whatever the scenario, the good news is that the Microsoft Chart controls make it easy to programmatically create, customize, and generate the chart image.

This article looks at how to programmatically create a chart. Specifically, we'll see how to dynamically add a watermark to the generated chart image, as well as how to email the chart to a recipient. The demos in this installment do not use the Chart Web control at all; instead, the charts in these demos are created and rendered directly from the ASP.NET pages' code-behind classes. Read on to learn more!
Read More >

 
0

Sneak Peek: ASP.NET Time Edit Control

Posted by Mehul Harry (Developer Express) on Sep 29, 2009 in ASP.Net, Dotnet  | View Original Article
 

Check out this sneak peek video on the upcoming ASP.NET Time Edit control, the ASPxTimeEdit.

ASP.NET Time Edit Sneak PeekThe ASPxTimeEdit gives your websites an editor with a slick user interface to edit date and time values. The control looks and behaves a lot like our ASP.NET spin edit control.

This is a great for your end users because they’re already familiar with how to use the up or down buttons of the control. And with keyboard support, there are now 3 different ways to edit the values:

  1. Type the date and time into the editor
  2. Using the mouse, change the values by clicking on the up/down buttons
  3. Use the keyboard’s tab and arrow keys to change the values

Click the image and watch the “Sneak Peek: ASP.NET Time Edit Control” screencast below. It’s a short 3 minute video that shows the intuitive UI of the ASPxTimeEdit.

The new ASPxTimeEdit control will be released as part of DXperience 2009 volume 3 later this year.

Be sure to drop me a line below with your thoughts on this new control.

image_45058812[1]DXperience? What's That?

DXperience is a royalty-free tool suite for rapid business application development for WinForms and ASP.NET apps.

Instantly enhance your WinForms and ASP.NET apps by dropping in new feature sets encapsulated in components. DXperience contains:

  • IDE Productivity Tools - Make Visual Studio easier and more effective with IDE enhancements
    • DXCore - IDE tools extensible engine
    • CodeRush - Extensible swiss army knife of tools to make source code editing faster and easier, including code editing templates, code editing utilities (selection, navigation, clipboard), inline code visualizations and the upcoming unit test runner.
    • Refactor Pro - Code editing tools specifically geared for refactoring source code.
  • XAF - Business app framework for WinForms and ASP.NET
  • XPO – Object-relational mapping for .NET
  • Reporting - Reporting "platform" for WinForms and ASP.NET
  • UI Components for WinForms, ASP.NET, WPF and Silverlight

Try a fully-functional version of DXperience for free now: http://www.devexpress.com/Downloads/NET/

Tags: , , , ,

Copyright © 2010 Answer My Query All rights reserved. Maintained by Orange Brains .