cancel
Showing results for 
Search instead for 
Did you mean: 

popup in bsp

Former Member
0 Kudos

Hi all,

I have one requirement for popup.

In my application i have one tableview,and in column there is a link and when user clicks the link it should open one popup.the popup window will be only for viewing the data and then there is abutton called close,then it closes the popup window.

i am using bsp application and htmlb control for this,

can any one give me the sample code for this.

thanks,

vinay

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

can we use javascript?like that,

function zclick()

{

win_text = window.open('GAPI_TODAY.htm', 'WayInfo', 'scrollbars=yes,resizable=yes');

win_text.focus();

}

Former Member
0 Kudos

Hi Vinay,

You can try following steps:

1. Create one Flag variable in attribute with type C.

2. OnInputProcessing: check the event type and event id. If you find the event for cell click you can populate the Flag attribute with X.

3. in Layout at the top write the following javascript code.

var flag1 = "<%= FLAG %>"

if(flag1=="X")

{

document.open(popup.htm', 'popupname', "height=200 width=370 left=620 top=400 status=no")

}

Hope this will help you...

Salil

Edited by: Salil Patel on Jun 26, 2008 12:35 PM