CodeCharge Studio
search Register Login  

Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> PHP

 Form Button On Editable Grid Must Redirect To Page

Print topic Send  topic

Author Message
aakici


Posts: 49
Posted: 01/23/2005, 1:15 AM

I have an editable grid. I want add a form button which when clicked must redirect to another page depending on user_id value. How can i do this job?
_________________
Regards,
M.Alpaslan AKICI
View profile  Send private message
Martin K.
Posted: 01/23/2005, 2:21 AM

Hello.
You can select a ReturnPage for each Button.
If you want that the ReturnPage only shown the Value for the login User you must select the Where in the ReturnPage like:
YourUserIDField equals = UserID
Type Session

sorry about my english

greets martin
aakici


Posts: 49
Posted: 01/23/2005, 3:21 AM

Sorry but, this solution doesn't work.
I can explain my problem in details. Editable grid has alternate records row. In one column there is a button for viewing details page. and another button for printing page. I want one button to redirect to ordersmaint.php and the other to redirect to printorders.php.
_________________
Regards,
M.Alpaslan AKICI
View profile  Send private message
aakici


Posts: 49
Posted: 01/23/2005, 4:57 AM

I found a solution in another post. Code must be like this:
<input id="Button1" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; FONT-WEIGHT: bold; BORDER-LEFT: 0px; COLOR: white; BORDER-BOTTOM: 0px; BACKGROUND-COLOR: #99ccff; TEXT-ALIGN: center" type="button" value="Yazdır" name="print" onclick="Javascript:parent.location='satisprint.php?order_id={order_id}';" name="{Button_Name}"
language="javascript"></td>

here is link for original post.

http://forums.yessoftware.com/posts.php?post_id=49008

Thanks to MikeR.
_________________
Regards,
M.Alpaslan AKICI
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.