This is a migrated thread and some comments may be shown as answers.

[Solved] Call Window inside Grid... Load new Data on Window

1 Answer 100 Views
Window
This is a migrated thread and some comments may be shown as answers.
pradip
Top achievements
Rank 1
pradip asked on 17 Sep 2009, 11:19 AM
Hi

My functionality is like this...

Inside RAD Grid, one column is View Details.... On Click of View Details, I have to show Popup window...

Question...
1. How to pass the parameter (Row_ID) from my RAD grid to the Javascript which opens the popup window?
2. Also currently the window is keeping the View of my last window click.... I mean.. say I click on View Details of item No#1 and closed that window. And second time I clicked on Item No# 2 then window opens but it is showing old data only.

How can I get the newly click item data on page load it self?


<

 

script type="text/javascript">

 

function openRadWin() {

 

radopen("ViewSiteGroupSites_Popup.aspx,

"RadWindow1");

 

}

 

</script>

 


<

 

telerik:RadWindowManager ID="RadWindowManager1" runat="server" Modal="true" >

 

 

<Windows>

 

 

<telerik:RadWindow

 

 

id="RadWindow1"

 

 

runat="server"

 

 

showcontentduringload="false"

 

 

width="500px"

 

 

height="500px"

 

 

 

VisibleTitlebar="false"

 

 

VisibleStatusbar="false"

 

 

>

 

 

</telerik:RadWindow>

 

 

</Windows>

 

 

</telerik:RadWindowManager>

 


 

 

 

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 21 Sep 2009, 07:41 AM
Hi Pradip,

1. You could add onclick event to the "View Details" link and open the radwindow in event handler as shown in the Window Editing demo. You can use the window URL to pass parameter Row_ID.

2. Try setting DestroyOnClose property of RadWindowManager to True and see whether it helps in showing corresponding data.
 
-Shinu.
Tags
Window
Asked by
pradip
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or