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

Urgent : Refreshing main page through rad splitters

1 Answer 48 Views
Splitter
This is a migrated thread and some comments may be shown as answers.
Manish
Top achievements
Rank 1
Manish asked on 09 Jul 2009, 02:41 PM
Hi,
I am using Radcontrols Q1 2007.

I am using 3 rad panes in 1 page say abc.aspx.
The first pane is on the left side, which contains the search criteria.
The second pane is on the right side, which contains the search results from the search criteria.
The third pane is on the bottom, which is a new page i.e. pqr.aspx which opens when we click a record to update from the second pane search results.
Now, what I want to achieve is, after I update the record in the third pane i.e. pqr.aspx, the grid containing the search results in the second pane i.e. abc.aspx should refresh with the updated records. Since, the update is done in the third pane, which is itself a seperate page, i am not able to refresh abc.aspx with the updated record.

I tried doing the following. After update, i am writing the below code in pqr.aspx page

string

sScriptlet = "<script language=\"JavaScript\">window.attachEvent(\"onload\"";

 

sScriptlet +=

",function(){doRefresh()});</script>";

 

ClientScript.RegisterStartupScript(Page.GetType(),

"onload", sScriptlet);
This calls the javascript function doRefresh(). But, inside the function,

 

window.parent. refreshView() does not work.

Please help as this needs to be resolved asap.

Thanks and Regards,
Manish Thapar

1 Answer, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 14 Jul 2009, 11:11 AM
Hello Manish,

As far as I understand, you need to reference the main page from an external page loaded in a RadPane - if sio, I suggest to examien teh following KB article which explians this in details and also has a fully runnable demo attached to it:

http://www.telerik.com/support/kb/aspnet-ajax/splitter/referencing-content-page-in-a-splitter-pane-from-the-parent-page-and-vice-versa.aspx

Since I see that you are working with an external page loaded in a splitter, I also recommend to examine the following KB article which might be handy in other scenario you would like to later implement:

http://www.telerik.com/support/kb/aspnet-ajax/splitter/use-ajax-request-to-update-part-of-an-external-page-loaded-in-a-radpane.aspx

Kind regards,
Svetlina
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Splitter
Asked by
Manish
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Share this question
or