Posts Tagged ‘events’

When Session Objects Get Created With No Session Variables

land-075

I thought about calling this  Session Object Madness, but it really isn’t that crazy once you think through what’s happening.

Here’s the issue.  I have a client who does work for another client who is hosting their sites at IBM.

I’m told that IBM will not enable any session servers so none of the sites can include session objects.  And that’s where the fun begins.

Read the rest of this entry »

Other Related Items:

Urban Jazz Sessions Art Poster Print by David Garibaldi, 36x24Urban Jazz Sessions Art Poster Print by David Garibaldi, 36x24

AllPosters.com is the world's #1 seller of posters, prints, photographs, specialty products and framed art. We're dedicated to bringing our custome... Read More >

Jam Session - Mouse PadJam Session - Mouse PadOur mouse pads add a special personal touch to any room in your home that has a computer mouse. We turned the boring, plain mouse pad into a work of art. Measures 9 1/4 x 7 3/4 x 1/4 thick. Non-slip rubber backing. Works with any type of mouse (optical or ball type). FREE SHIPPING on every order!

If you're new here, you may want to subscribe to the mailing list to get notifications of new post and a virtual tour of past topics. Thanks for visiting!

Manually Adding Event Handlers in VB.NET

office-019

Typically when we write our code, the event handlers get wired up for us using the handles clause.  So we never have to worry about wiring up our event handlers manually.

But what about the case where we want to dynamically add a control to our Windows Form or our ASP.NET page?  For example, add a button.  How would you respond to the button click event?

Read the rest of this entry »

Other Related Items:

Assorted Chocolate 2lb Gift BoxAssorted Chocolate 2lb Gift BoxBeerntsen Confectionery include some of their best candies in this assorted chocolate gift box. Enjoy this 2 lb. Assorted Chocolate Gift box filled ... Read More >
Park and Sun Sports Spectrum Classic Volleyball SetPark and Sun Sports Spectrum Classic Volleyball SetThe Park and Sun Sports TS-CL Spectrum Classic Volleyball Net offers great performance and is a snap for quick setup and portability. This professiona... Read More >
CDN PT1A Digital Timer/Clock 4 Event ProgrammableCDN PT1A Digital Timer/Clock 4 Event ProgrammableThe 4-Event Timer & Clock from CDN lets you count up to 4 channels at the same time, each with its own loud, long alarm to let you know which one has hit zero. It can also be used as a clock and stopwatch.The dual function timer will count up or down 100

Silverlight – Wire up your form for programming

As I mentioned a couple of weeks ago, learning Silverlight is a lot more about relearning some basic assumptions than it is about learning a new language.  We’ve already looked at the basic layout managers available and how that impacts putting a screen together.  Today we want to look at how we can capture events and access the controls from our CSharp code.

< ! Read the rest of this entry »

Other Related Items:

Custom Labeled Gift "Birthday Balloons" Old Fashioned Peanut Butter Fudge BoxCustom Labeled Gift "Birthday Balloons" Old Fashioned Peanut Butter Fudge BoxWith this item you will receive 1 pound of our old fashioned peanut butter delight fudge, custom packaged for a birthday. Expedited orders cannot arrive quicker than 7 days. NOTE: To save on shipping, order multiple items. Shipping charges for this order include shipping, handling and Amazon fees.
PRESS INTRO MS SILVERLIGHT 1.0PRESS INTRO MS SILVERLIGHT 1.0PRESS INTRO MS SILVERLIGHT 1.0
Pampers Natural Aloe Unscented Wipes, 720-count BoxPampers Natural Aloe Unscented Wipes, 720-count BoxPampers Natural Aloe Unscented Wipes - 720 Count Refill Pampers Natural Aloe Unscented Wipes are hypoallergenic for gently cleansing. Unscented pure w... Read More >

Response.Redirect() executes too soon on the Server.

tp_vol4_017 I’ve seen this question a couple of times in various situations. The first involves Javascript and the second involves server side code. Both are caused by a misunderstanding of what this function does and how web pages work.

Let’s start with the easy one: server side code.

Read the rest of this entry »

Other Related Items:

Active Server Pages (ASP)/Visual Basic (VB).NET -  Instructor-based Video Training BundleActive Server Pages (ASP)/Visual Basic (VB).NET - Instructor-based Video Training BundleInteractive Instructor-Based Active Server Pages (ASP)/Visual Basic (VB).NET Bundle Video Training Course on DVD-ROM. Computer Based Training (CBT) a... Read More >
Garmin GDB 55 MSN Direct ReceiverGarmin GDB 55 MSN Direct ReceiverNotice: MSN Direct service will be available only until January 1, 2012. Activate a subscription between November 19, 2009, and March 31, 2010, and re... Read More >
Kate Aspen "Take Note New Baby On The Block" Sticky NotesKate Aspen "Take Note New Baby On The Block" Sticky NotesGood news travels fast, and there's no better news than a new baby! Help family and friends spread the wonderful word with sticky notes sweetly tucked... Read More >

Delegates in .NET

hand-010 I received the following question:

What is a delegate?  What problem does it solve?  and When might I use a delegate?

A delegate is essentially a function pointer.  We have used function pointers in various scenarios in the past to solve the problem of needing to execute user-defined code inside of another function or to fire events using the observed/observable programming pattern.

The problem we’ve always had with function pointers in the past is that there has never been any type safety.  If I had a variable that was supposed to point to a function, I could assign it any function.  So if the function the code is expecting returns a string and takes an integer and a string as parameters, I could assign the variable a function that returned nothing (void) and passed nothing.  My code would compile, but when I got to that function, the chances are my code would blow up on me.

Read the rest of this entry »

Other Related Items:

Head First C#Head First C#

Head First C# is a complete learning experience for object-oriented programming, C#, and the Visual Studio IDE. Built for your brain, this book cov... Read More >

Dark Colony / Outlaw Racers / Army MenDark Colony / Outlaw Racers / Army MenIn Army Men, you are cast in the role of Sarge, an onscreen hero who is responsible for fulfilling a variety of mission objectives set down by Green A... Read More >
DotNetNuke Sponsor

 

Most Valuable Blogger
Sponsor