nkdba
Posts: 3
|
| Posted: 06/17/2004, 1:18 AM |
|
Hi All,
I have situation with Button.
We have record editor page, which is refered by 2-3 pages. Our requirement is to check the source and once record is edited, then it should return to the same source.
Ex.
Search Page1 --> Grid Page1 --> Record Page1 --> Grid Page1
Editable Grid Page2--> Record Page1 --> Editable Grid Page2
So, Buttons (Add/Submit/Delete/Cancel) Return Page parameters should returned to the source page only.
Thanks
NK
|
 |
 |
DonB
|
| Posted: 06/17/2004, 6:58 AM |
|
One idea would be to rely on the "history" array (client side), and let that
do it for you. The "link" would be:
javascript:history.go(-1)
Alternatively, you can pass the URL (or some number/value that indicates the
URL), and modify the "Redirect" variable on the server side based on this
value. The hard-coded "href" property of the Grid and Buttons should be
left blank and you then can set it in your code.
--
DonB
http://www.gotodon.com/ccbth
"nkdba" <nkdba@forum.codecharge> wrote in message
news:640d153d337aa5@news.codecharge.com...
> Hi All,
> I have situation with Button.
>
> We have record editor page, which is refered by 2-3 pages. Our requirement
is
> to check the source and once record is edited, then it should return to
the
> same source.
>
> Ex.
> Search Page1 --> Grid Page1 --> Record Page1 --> Grid Page1
> Editable Grid Page2--> Record Page1 --> Editable Grid Page2
>
> So, Buttons (Add/Submit/Delete/Cancel) Return Page parameters should
returned
> to the source page only.
>
> Thanks
> NK
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>
|
|
|
 |
nkdba
Posts: 3
|
| Posted: 06/19/2004, 8:03 PM |
|
Hi, Don
Thanks ., is that simple ... ?!!
Will try to work it out..
Nikhil
|
 |
 |
|