CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.

YesSoftware Forums -> CodeCharge Studio -> .NET

 problems in adding a variable in the hrefparams command

Print topic Send  topic

Author Message

Posts: 30
Posted: 03/08/2004, 2:16 PM

I am following one of the examples the following way:
this is in before show of a form:

if (Request.QueryString["custnum"] == null || Request.QueryString["custnum"].Length == 0) {
LinkParameterCollection HrefParams = new LinkParameterCollection();
(<<<This is the problem statement<<<<)

Response.Redirect(Request.Url.AbsolutePath + "?" + HrefParams.ToString("GET","custnum"));

The code compiles fine - but when it comes to executing it - it times out. Now if I replace "applookupcustnum.Text" with something like "123" (as in the example) - there is no problem.

I have tried putting {} and also done the string "'" + applookupcustnum.Text + "'" to no result.

The before show and the formcontrol are in the same form : applookup.

The reason why I am doing it this way is so that I can throw in the URL for another form to pick up its value later in the page.

Appreciate your help
View profile  Send private message

Posts: 30
Posted: 03/08/2004, 2:22 PM

oops..made a mistake: should read:


compiled fine, but timed-out while running.

Anything with dbl-quotes ran fine - showing just the literal in the dbl-quote
View profile  Send private message

Add new topic Subscribe to topic   

These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.

Home   |    Search   |    Members   |    Register   |    Login

Powered by UltraApps Forum created with CodeCharge Studio
Copyright 2003-2004 by  and YesSoftware, Inc.