Archive for January, 2009

Response.Redirect() and JavaScript

A toucan perched on a branch in Brazil. Yesterday we covered issues surrounding using Response.Redirect in server side code. We noted that not handing it correctly could prevent code from running on the server that we want to run.

The other issue is emitting Javascript in the server side in association with Response.Redirect(). This also leads to unexpected problems if you aren’t thinking about what is actually happening with your code.

Read the rest of this entry »

Other Related Items:

Urban Chaos Riot ResponseUrban Chaos Riot ResponseUrban Chaos: Riot Response puts you on the streets of a decaying city in modern day America. Gang warfare is destroying its interior, and you've been ... Read More >
The Sims 2: Open for Business Expansion PackThe Sims 2: Open for Business Expansion PackIn Sims 2: Open For Business you'll get to design your own clothing boutique, beauty salon, florist, high-end electronics shop, bustling restaurant ch... Read More >
SuperPump250SuperPump250SuperPump250

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:

Mennon DV-s 52 Screw Mount 52mm Digital Video Camcorder Lens Hood with Cap, BlackMennon DV-s 52 Screw Mount 52mm Digital Video Camcorder Lens Hood with Cap, Black

The robust lens hoods of the DV series are specifically designed for the permanent use on digital video cameras, to protect the exposed and se... Read More >
LATEX METALLIC LEGGINGS WET LOOK PUNK LEGGINGS SHINY FAUX LIQUID " LEATHER " CELEB PANTSLATEX METALLIC LEGGINGS WET LOOK PUNK LEGGINGS SHINY FAUX LIQUID " LEATHER " CELEB PANTSTurn heads in these seductive celebrity shiny leggings pants with a sense of style. These sexy leggings feature incredible sheen and design that is ce... Read More >

ASP.NET JSON and ViewState

imageI received the following question recently about my article “ASP.NET AJAX using JSON – Here’s how.

If we update the value of a textbox or label via a JSON web service call – will the value of that textbox/label be written to the viewstate or whatever so that the server side code can see the new values that came from the JSON request?

The short answer is, “no, it will not update viewstate.”  But I think it would be helpful to understand when this is important rather than just giving you a blanket answer.

Read the rest of this entry »

Other Related Items:

Pond Skimmer NetPond Skimmer NetEG DANNER MFG - POND SKIMMER NETRoyal ID: ASP02134UPC: 025033021341Vendor: EG DANNER MFGTelescoping net designed for surface skimmingHeavy duty aluminum constructionTelescoping handle to 6.5"Soft, fish - safe nylon nettingSure-grip handle
Pro ASP.NET MVC FrameworkPro ASP.NET MVC Framework

Steven Sanderson has seen the ASP.NET MVC framework mature from the start, so his experience, combined with comprehensive coverage of all the new f... Read More >

Friday Books – Teach Yourself ASP.NET

SAMsTeachYourselfASP.NET3.5ProgrammingIn24HoursSams Teach Yourself ASP.NET 3.5 in 24 Hours

In just 24 sessions of one hour or less, you will be up and running with ASP.NET 3.5. Using a straightforward, step-by-step approach, each lesson builds upon a real-world foundation forged in both technology and business matters, allowing you to learn the essentials of building dynamic, data-driven web applications from the ground up.

Step-by-step instructions carefully walk you through the most common questions, issues, and tasks.

Read the rest of this entry »

Other Related Items:

Beginner's ASP.NET in C# 2003 on DVDBeginner's ASP.NET in C# 2003 on DVDASP.NET 2003 represents an important technology for building enterprise level web applications. Learn the basics of ASP.NET development as you watch a... Read More >
All Purpose NetAll Purpose NetThey are specifically designed for koi, surface skimming, and general all-purpose use. Heavy duty aluminum construction, telescoping handle to 6-1/2 . Soft fish safe nylon netting. Sure-grip handle. Aluminum & Nylon Mesh.
Beginner's ASP.NET in VB.NET 2003 on DVDBeginner's ASP.NET in VB.NET 2003 on DVDASP.NET (VB.NET) 2003 represents an important technology for building enterprise level web applications. Learn the basics of ASP.NET development as yo... Read More >

jQuery – Retrieving HTML Fragments

sunset-bird A couple of weeks ago I mentioned that I had built a tooltip using jQuery.  We focused mostly on the positioning of the tooltip at the time because, historically, that’s where most of the work has been.

But there are other time-saving features that also make the tooltip code I wrote a lot more flexible.

Read the rest of this entry »

Other Related Items:

jQuery: Novice to NinjajQuery: Novice to Ninja

jQuery: Novice to Ninja is a compilation of best-practice jQuery solutions to meet the most challenging JavaScript problems. In this question-and-a... Read More >

Beginning ASP.NET 3.5: In C# and VB (Programmer to Programmer)Beginning ASP.NET 3.5: In C# and VB (Programmer to Programmer)This book is for anyone who wants to learn how to build rich and interactive web sites that run on the Microsoft platform. With the knowledge you gain... Read More >
Don't Mess With Me, I am a Programmer - T-Shirt (40 colors)Don't Mess With Me, I am a Programmer - T-Shirt (40 colors)Cotton T-Shirt 5.6 oz., heavyweight 100% preshrunk cotton T-shirt, Quarter-turned. Seamless collar, Taped shoulder-to-shoulder, Double-needle stitched neck, sleeves and hemmed bottom. Direct printed on Front of T-Shirt, this is not a transfer. Won't peel or crack in washer/dryer.
DotNetNuke Sponsor

 

Most Valuable Blogger
Sponsor