CodeCharge Studio
search Register Login  

Visual Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> ASP

 Add/Update/Delete button should return to source page

Print topic Send  topic

Author Message
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
View profile  Send private message
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
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.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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