CodeCharge Studio
search Register Login  

Web Reports

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

YesSoftware Forums -> CodeCharge Studio -> .NET

 retrieve url parameter

Print topic Send  topic

Author Message
PaulK

Posts: 15
Posted: 01/18/2006, 6:59 AM

Hi,

What is the command to retrieve a parameter in ASP c#. I am basicaly trying to set a value of a text box on a before show event.

I also not sure how you set the value of text boxes in the before show event. I know in PHP i would do something like $pagename->textboxname->setValue("Value"), however im not sure how you do it in asp c#, i presume its item.itemname.setValue("value") ?

i have tried item.oppID.SetValue(Request.QueryString["opID"]) but it doesnt seem to work
View profile  Send private message
PaulK

Posts: 15
Posted: 01/18/2006, 7:42 AM

ok seems if i do the following

string tempVal;
tempVal = Request.QueryString["opID"];
System.Web.HttpContext.Current.Response.Write(tempVal);

it prints out the value from the query string im looking for, now i just need to know how to set the value for the textbox in the before show, anyone able to point me in the right direction?

cheers for any help
View profile  Send private message
Stan
Posted: 01/18/2006, 7:44 AM

You can use standard action "Retrieve Value for Control" for this.
PaulK

Posts: 15
Posted: 01/18/2006, 7:55 AM

ah yeah, never looked at that, cheers Stan :)
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 http://support.yessoftware.com.

PHP Reports

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

Home   |    Search   |    Members   |    Register   |    Login


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