cancel
Showing results for 
Search instead for 
Did you mean: 

Regarding Pop up windows

Former Member
0 Kudos

Dear Friends,

I need to downlaod the excel sheet from the table when i click a link or button

I have implemented the functionality but when i save it to the local system

a seperater pop up window which is blank is displayed

But my requirement is when i click the button

<b>pop up window should appear in the same Window</b>\

Advance Thanks

Accepted Solutions (1)

Accepted Solutions (1)

ankur_garg5
Active Contributor
0 Kudos

Hi Shravan,

Try changing the <b>Target</b> property of your LinkToURL UI Element.

Bye

Ankur

Answers (1)

Answers (1)

former_member720137
Active Participant
0 Kudos

Hi

Change the Target Property = _blank

It wont open a new window..

Regards

Puneet

Former Member
0 Kudos

Dear Friend

I have used button instead of link Url element..

when I click the button then a new pop up window is opened

i have written a code to open a new window.....and pop up window..

requirement is when i click the button a pop up window should be opened

in teh same button...

Former Member
0 Kudos

Hi,

If you want the window to be opened in the same window then just navigate to the window by firing the outbound plug on the action of the button.

eg. you want to open view2 on clicking a button in view1.

1. Open navigation modeler for your component.

2. Define outbound plug on view1 and inbound plug on view2 and set link between them.

3. OnAction of the button in view1, just fire the outbound plug of view1

wdThis.wdFirePlug<outbound plug of view1>();

Warm Regards,

Murtuza

former_member751941
Active Contributor
0 Kudos

Hi Shravan,

Create an action for the button and write the code for opening the popup or external window whatever you want. If you want the new window will open then don’t use Navigation Plug other use the plug as per Murtuza says.

Regards,

Mithu