Wrox Programmer Forums
|
ASP.NET 1.x and 2.0 Application Design Application design with ASP.NET 1.0, 1.1, and 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.x and 2.0 Application Design section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 10th, 2003, 10:30 AM
Authorized User
 
Join Date: Jul 2003
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default DataGrid hyperlink column error

Hello all,

I have a hyperlink column within a datagrid that I'm trying to test, but continue to get the same error, for a reason unknown to me. I thought someone out here might be able to assist. To help out, when clicking on the datagrid hyperlink column, I have an event handler for datagrid_SelectedIndexChanged. Here is the description and stack trace. Thanks.



Value cannot be null. Parameter name: s
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.ArgumentNullException: Value cannot be null. Parameter name: s

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[ArgumentNullException: Value cannot be null.
Parameter name: s]
   System.IO.StringReader..ctor(String s) +78
   System.Web.FormatterWithFileInfo.GetSourceFileLine s(String fileName, Encoding encoding, String sourceCode, Int32 lineNumber)
   System.Web.UnhandledErrorFormatter.get_ColoredSqua reContent()
   System.Web.ErrorFormatter.GetHtmlErrorMessage(Bool ean dontShowSensitiveInfo)
   System.Web.HttpResponse.WriteErrorMessage(Exceptio n e, Boolean dontShowSensitiveErrors)
   System.Web.HttpResponse.ReportRuntimeError(Excepti on e, Boolean canThrow)
   System.Web.HttpRuntime.FinishRequest(HttpWorkerReq uest wr, HttpContext context, Exception e)

 
Old July 29th, 2003, 03:32 AM
Authorized User
 
Join Date: Jun 2003
Posts: 97
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to planeswalk
Default

Hi,

I think we can come up with a solution if we saw your code. Try pasting it here and let's see what happens.

Cheers!
Marlon
 
Old February 26th, 2004, 03:38 PM
Registered User
 
Join Date: Feb 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Was there ever any resolution to this problem that occurred in email? I am suffering from the same problem and am eager to find a solution so I can debug my project.
 
Old February 26th, 2004, 03:41 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,110
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Can you post your code?






Similar Threads
Thread Thread Starter Forum Replies Last Post
Editing Datagrid with hyperlink column shs BOOK: Beginning ASP.NET 1.0 0 October 24th, 2004 12:13 AM
Datagrid Button/Hyperlink Column snowydust VB How-To 0 September 6th, 2004 02:14 AM
Hyperlink column in datagrid not working ltdanp21 General .NET 1 July 13th, 2004 03:04 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.