Skip to Content
0
Former Member
Jul 11, 2007 at 05:23 AM

Scrren gets refreshed after using onClientClick

11 Views

Hello All,

Once again a very strange behaviour that I've noticed in an application that we are developing....

First of all, we have a set of DDLB, which generates a table....and we have set some initial conditions on the DDLB selections....

In the tableView, after the user selects a row, there is a button to open related data....But we required a pop-up only, and not navigation to next page...

So what i m doing is i write a few javascript variables equal to a few abap variables...and then use <b>window.open</b> using <b>onClientClick</b>.....

This is working fine....

But the problem is that whenever i do that, then if i try and deselect a row or do any other event, then it resets all the variables to the initial including the DDLB's and then the user needs to select everything....again...also since the itab is getting cleared....no tableView is appearing....

What i have also found is that whenever i do onClientClick, then on any event, it goes to the onCreate event, which ideally should not happen.....

Is there a way that I can set it not to do so...???Please advise....

Thanks in advance..

Tatvagna.