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 |
 |
 |
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 |
 |
 |
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 |
 |
 |