CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> .NET

 Redirect based on Search Returned

Print topic Send  topic

Author Message
CameronF

Posts: 23
Posted: 07/13/2004, 3:00 PM

I have a search that returns resluts from a single table. The items in this table can be of type A or type B depending on what the value of the list box is in the search criteria. Anyway...

When a user clicks the item in the returned grid of results I want it to go to one of two pages.

TypeA_Details.aspx or TypeB_Details.aspx - depending on the type belonging to the record they clicked.

Any idea how I can accomplish this with or without VB.Net???
View profile  Send private message
Stan
Posted: 07/13/2004, 11:58 PM

Hi

You should use Before Show event of the Link control in your grid. Change HRef property of link in this event depending of record type.

Stan

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.