GeekArticles
Database
SQL ServerWorking Around ASP.NET's HyperLink ImageUrl Bug
Author: aspnet.4guysfromrolla.com |
Published: 30th Jan 2008 |
Visited: 46 times |
Add CommentFiled in: SQL Server
If you develop software long enough, you'll inevitably run into bugs in your
platform or framework of choice. It's important on those occasions that you
know how to apply the tools at your disposal to clarify the source of the bug;
reproduce it in a deterministic fashion; and either fix the bug, avoid it
altogether, or find the best possible workaround.
This article shines the light on a bug I came across in the ASP.NET HyperLink control implementation.
In particular, when using URL rewriting the HyperLink control's ImageUrl property can be,
in certain circumstances, incorrectly rewritten. The good news is that there is a simple workaround
that's made possible by the flexible architecture of ASP.NET. We'll look at this workaround.
Regardless of whether you need a fix for this bug, I invite you to read on as this article
examines the tools and techniques I used to research the bug and devise a workaround. These
techniques can help diagnose and rectify other framework-level problems. Read on to learn more!
Read More >
Read Article Sponsored Links
Related Articles
• Hyperlink 2.0 of JS-Less Ajax Ajax without JavaScript is just impossible. When you take the meaning of Ajax, JavaScript becomes a very important part of this web development tool since after all, the letter J in Ajax stands for JavaScript. Any developer who would like to have an Ajax based website should learn ...
• Working with XML Data Using LINQ, a TreeView, and a ListView :: Editing Data
ASP.NET includes a variety of tools for displaying and editing XML documents. A previous article, Working
with XML Data Using LINQ, a TreeView, and a ListView :: Displaying Data, showed how with a TreeView control, a ListView control, an XmlDataSource control,
a LinqDataSource control, and about 50 ...
• ODP.NET - Working with DataTableReader ODP.NET - Working with DataTableReader
DataTableReader is complementary to a DataTable object, and is mainly used as a type of Data Reader in the disconnected mode. The following is the modified code:
Visit http://www.exforsys.com to read complete article
...
• ODP.NET - Handling Nulls when Working with OracleDataReader ODP.NET - Handling Nulls when Working with OracleDataReader
When we work with OracleDataReader (or for that matter, even with data rows in a data table), we may come across nulls. The following is the efficient way to deal in with such scenarios:
Visit http://www.exforsys.com to read complete arti ...
• ODP.NET - Working with Bind Variables together with OracleParameter ODP.NET - Working with Bind Variables together with OracleParameter
With the help of OracleParameter, you can include bind variables within any SQL statement. These bind variables are nothing but run-time query parameters. The values in the SQL statement are bound at run time when we use bind...
V ...
• ODP.NET - Working with OracleDataAdapter with OracleCommand ODP.NET - Working with OracleDataAdapter together with OracleCommand
In the previous examples, we worked with OracleDataAdapter by directly specifying SQL statements. You can also pass OracleCommand to OracleDataAdapter. This is very useful if you deal with stored procedures (covered in Chapter 5). ...