Wrox Home  

Topic: ASP.NET

Secrets of Real World ASP.NET Dynamic Data Websites (047045735X) cover image

Secrets of Real World ASP.NET Dynamic Data Websites

Craig Shoemaker
ISBN: 978-0-470-45735-1
Wrox Blox PDF
34 pages
March 2009
This title is out-of-print and not currently available for purchase from this site.

About This Title  |  Download Code  |  Errata

Do you think you've discovered an error in this book? Please check the list of errata below to see if we've already addressed the error. If not, please submit the error via our Errata Form. We will attempt to verify your error; if you're right, we will post a correction below.

ChapterPageDetailsDatePrint Run
13 Error in Code
On page 13:

<a href=”javascript:void(0);”
onclick=”window.open($get(‘<%= txtUrl.ClientID %>’).value)”

In some instances the expression does not render the client ID, but is HTML encoded inside the server control.

To remedy this problem use the following code in your field template:

<a href=”javascript:void(0);”


function testUrl()
window.open($get('<%= txtUrl.ClientID.ToString() %>').value);
Printer-Ready Version   Share This
With you wherever you go: pdf + ePub + kindle -- DRM-free