Well before I put up the questions, thanks a lot to telerik teams and members, you people rocks..
I am having 2 problems
1. I need to make interactions between my RadWindows.
Suppose I am having a treeview and now I drag and dropped 3 or 4 radwindows in my div or zone. Now whenever I change some thing in one of my window then other radwindows should reflect the changes as per 1st one. Is that any possible way to track those things?
2. Track Reload event in RadWindows.
I need to track the Reload event of RadWindow. what exactly I want to achive is this. Suppose I dragged and dropped radwindow in my zone, I given the link as www.telerik.com, suppose I click reload button in top right corner is their any chances that I redirect the page to www.google.com i.e at load of radwindow (i.e. whenever I am dragging and dropping the radwindows ) it should open www.telerik.com but after hitting reload button it will redirect to www.google.com. Is this possible to do?
Reply awaited.
Thanks in advance!!!
Arindam Roy
I am having 2 problems
1. I need to make interactions between my RadWindows.
Suppose I am having a treeview and now I drag and dropped 3 or 4 radwindows in my div or zone. Now whenever I change some thing in one of my window then other radwindows should reflect the changes as per 1st one. Is that any possible way to track those things?
2. Track Reload event in RadWindows.
I need to track the Reload event of RadWindow. what exactly I want to achive is this. Suppose I dragged and dropped radwindow in my zone, I given the link as www.telerik.com, suppose I click reload button in top right corner is their any chances that I redirect the page to www.google.com i.e at load of radwindow (i.e. whenever I am dragging and dropping the radwindows ) it should open www.telerik.com but after hitting reload button it will redirect to www.google.com. Is this possible to do?
Reply awaited.
Thanks in advance!!!
Arindam Roy
6 Answers, 1 is accepted
0
Arindam
Top achievements
Rank 1
answered on 31 Mar 2009, 09:14 AM
Can I have some replies!!!
Do I need to explain my queries in more details?
Do I need to explain my queries in more details?
0
Hi Arindam,
As I noted in my previous reply you could restrict the movement of RadWindow by using the RestrictionZone feature. I am not quite sure however, that RadWindow is suitable for your scenario. Note that RadWindow is based on an IFRAME and behaves just like one. Like the IFRAME and the standard browser's popup (window.open()), RadWindow is simply a container that displays a content page, different from the parent one. In such environment, the communication between the parent and the content is done on the client with JavaScript.
This being said, you could check the RadDock control, which might be more appropriate for scenarios like yours. If you insist on using RadWindow, I suggest to implement the desired functionality by using a standard IFRAME or a browser's popup. Once you have your logic working as expected, send us the runnable project and we will rework it for you so it uses RadWindow.
Greetings,
Georgi Tunev
the Telerik team
Check out Telerik Trainer , the state of the art learning tool for Telerik products.
As I noted in my previous reply you could restrict the movement of RadWindow by using the RestrictionZone feature. I am not quite sure however, that RadWindow is suitable for your scenario. Note that RadWindow is based on an IFRAME and behaves just like one. Like the IFRAME and the standard browser's popup (window.open()), RadWindow is simply a container that displays a content page, different from the parent one. In such environment, the communication between the parent and the content is done on the client with JavaScript.
This being said, you could check the RadDock control, which might be more appropriate for scenarios like yours. If you insist on using RadWindow, I suggest to implement the desired functionality by using a standard IFRAME or a browser's popup. Once you have your logic working as expected, send us the runnable project and we will rework it for you so it uses RadWindow.
Greetings,
Georgi Tunev
the Telerik team
Check out Telerik Trainer , the state of the art learning tool for Telerik products.
0
Arindam
Top achievements
Rank 1
answered on 01 Apr 2009, 01:09 PM
Hi
Thanks for your reply.
Could you please tell me is it possible to track the Reload event of the Radwindow?
Regards
Arindam Roy
Thanks for your reply.
Could you please tell me is it possible to track the Reload event of the Radwindow?
Regards
Arindam Roy
0
Accepted
Shinu
Top achievements
Rank 2
answered on 02 Apr 2009, 04:52 AM
Hi Arindam,
I found one forum thread discussing about "Hooking into window Reload ",
Hope this helps you
-shinu.
I found one forum thread discussing about "Hooking into window Reload ",
Hope this helps you
-shinu.
0
Arindam
Top achievements
Rank 1
answered on 02 Apr 2009, 09:25 AM
Hi Shinu -
Thanks for your reply. It help me somewhat but got stuck in javascript:-
<script type="text/javascript">
function oCCWindow(sender, eventArgs)
{
window.alert("1");
alert("Window with ID " + sender.get_id() + ". Command is " + eventArgs.get_commandName());
}
function openDashboards(sender, eventArgs)
{
//get the clicked node
var title = eventArgs.get_node(sender, eventArgs).get_text();
var link = eventArgs.get_node(sender, eventArgs).get_value();
var oWnd = radopen(link,null);
oWnd.OnClientCommand = 'oCCWindow';
oWnd.set_title(title);
}
</script>
So when I am calling openDashboards from javascript oCCWindow function is not getting invoked. Now if you say how I am calling openDashboards, then its basically drag and drop event of treeview, OnClientNodeDragging I am calling openDashboards function, so when I am clicking the Refresh event of Radwindow I should get the alert message, could you please tell me where I am going wrong?
Reply awaited!!!
Thanks for your reply. It help me somewhat but got stuck in javascript:-
<script type="text/javascript">
function oCCWindow(sender, eventArgs)
{
window.alert("1");
alert("Window with ID " + sender.get_id() + ". Command is " + eventArgs.get_commandName());
}
function openDashboards(sender, eventArgs)
{
//get the clicked node
var title = eventArgs.get_node(sender, eventArgs).get_text();
var link = eventArgs.get_node(sender, eventArgs).get_value();
var oWnd = radopen(link,null);
oWnd.OnClientCommand = 'oCCWindow';
oWnd.set_title(title);
}
</script>
So when I am calling openDashboards from javascript oCCWindow function is not getting invoked. Now if you say how I am calling openDashboards, then its basically drag and drop event of treeview, OnClientNodeDragging I am calling openDashboards function, so when I am clicking the Refresh event of Radwindow I should get the alert message, could you please tell me where I am going wrong?
Reply awaited!!!
0
Arindam
Top achievements
Rank 1
answered on 02 Apr 2009, 09:38 AM
Hey I got it.. thanks for your help...
Cheers to Admin & Shinu for your help!!!
Cheers to Admin & Shinu for your help!!!