Hi:
I am trying to launch a RadWindow from a Master/Detail RadGrid. Once all editing is done would like to rebind the data in the source detail part of the grid. Lauched grid like I have done in the past, but now need to disable viewstate. Have JavaScript to tell host page that I am closing and should rebind (fine there too). Host page is AjaxManager request event is posted and the data bind command is executed.
But the grid seem to be the same. So is the above sufficient to bind the detail data?
Secondly, I was thinking that ajaxs needs to understand to refresh that control, so I added RadAjaxManager to the grid and the manager and then the RadWindow stopped launching.
How can I keep the window launching?
Phil
I am trying to launch a RadWindow from a Master/Detail RadGrid. Once all editing is done would like to rebind the data in the source detail part of the grid. Lauched grid like I have done in the past, but now need to disable viewstate. Have JavaScript to tell host page that I am closing and should rebind (fine there too). Host page is AjaxManager request event is posted and the data bind command is executed.
RadGrid1.DataBind() |
Secondly, I was thinking that ajaxs needs to understand to refresh that control, so I added RadAjaxManager to the grid and the manager and then the RadWindow stopped launching.
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"> |
<AjaxSettings> |
<telerik:AjaxSetting AjaxControlID="RadAjaxManager1"> |
<UpdatedControls> |
<telerik:AjaxUpdatedControl ControlID="RadGrid1" /> |
</UpdatedControls> |
</telerik:AjaxSetting> |
<telerik:AjaxSetting AjaxControlID="RadGrid1"> |
<UpdatedControls> |
<telerik:AjaxUpdatedControl ControlID="RadGrid1" /> |
</UpdatedControls> |
</telerik:AjaxSetting> |
</AjaxSettings> |
</telerik:RadAjaxManager> |
Phil
8 Answers, 1 is accepted
0
Hi Phil,
I would suggest to examine the Window Editing demo on our site - it shows a scenario similar to yours where RadGrid is rebound after RadWindow is closed. You can examine the code for every file used in that demo by clicking on the arrow next to the ASPX and code-behind pages in the Example Source Code & Description section.
Sincerely yours,
Georgi Tunev
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
I would suggest to examine the Window Editing demo on our site - it shows a scenario similar to yours where RadGrid is rebound after RadWindow is closed. You can examine the code for every file used in that demo by clicking on the arrow next to the ASPX and code-behind pages in the Example Source Code & Description section.
Sincerely yours,
Georgi Tunev
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Phil
Top achievements
Rank 2
answered on 15 Jan 2010, 07:00 PM
Already been there. Already looked at them.
OK, lets assume the problem is that the Ajax is not configured correctly. So, what would be causing the following to stop the Rad Window from launching?
But if it is like the following the RadWindow launches.
Phil
OK, lets assume the problem is that the Ajax is not configured correctly. So, what would be causing the following to stop the Rad Window from launching?
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"> |
<AjaxSettings> |
<telerik:AjaxSetting AjaxControlID="RadAjaxManager1"> |
<UpdatedControls> |
<telerik:AjaxUpdatedControl ControlID="RadGrid1" /> |
</UpdatedControls> |
</telerik:AjaxSetting> |
<telerik:AjaxSetting AjaxControlID="RadGrid1"> |
<UpdatedControls> |
<telerik:AjaxUpdatedControl ControlID="RadGrid1" /> |
</UpdatedControls> |
</telerik:AjaxSetting> |
</AjaxSettings> |
</telerik:RadAjaxManager> |
But if it is like the following the RadWindow launches.
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"> |
<AjaxSettings> |
<telerik:AjaxSetting AjaxControlID="RadAjaxManager1"> |
</telerik:AjaxSetting> |
<telerik:AjaxSetting AjaxControlID="RadGrid1"> |
</telerik:AjaxSetting> |
</AjaxSettings> |
</telerik:RadAjaxManager> |
0
Hi Phil,
The first configuration (the manager ajaxifies the grid and the grid ajaxifies itself) is the same used in the demo that I mentioned, so at this point I cannot say what can be the reason for the problem.
Please open a support ticket and send a small sample project that reproduces your setup and the problem itself - we will check it and do our best to help.
All the best,
Georgi Tunev
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
The first configuration (the manager ajaxifies the grid and the grid ajaxifies itself) is the same used in the demo that I mentioned, so at this point I cannot say what can be the reason for the problem.
Please open a support ticket and send a small sample project that reproduces your setup and the problem itself - we will check it and do our best to help.
All the best,
Georgi Tunev
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Phil
Top achievements
Rank 2
answered on 18 Jan 2010, 03:44 PM
Hi Georgi:
I will try distilling it down.
It is a mystery to me. I can step through and see it hit the launch window, but nothing happens.
Phil
I will try distilling it down.
It is a mystery to me. I can step through and see it hit the launch window, but nothing happens.
Phil
0
OK Phil,
I hope that you will be able to find the reason for the problem. If you need assistance, just send me the isolated project and I will check it.
Greetings,
Georgi Tunev
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
I hope that you will be able to find the reason for the problem. If you need assistance, just send me the isolated project and I will check it.
Greetings,
Georgi Tunev
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Phil
Top achievements
Rank 2
answered on 25 Jan 2010, 02:17 AM
Hi
Per the support ticket the web demo seems incomplete:
Which makes sense. I suggest watching the video:
http://tv.telerik.com/aspnet/radajax/radajax-overview
Phil
Per the support ticket the web demo seems incomplete:
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"> |
<AjaxSettings> |
<telerik:AjaxSetting AjaxControlID="RadAjaxManager1"> |
<UpdatedControls> |
<telerik:AjaxUpdatedControl ControlID="RadGrid1" /> |
</UpdatedControls> |
</telerik:AjaxSetting> |
<telerik:AjaxSetting AjaxControlID="RadGrid1"> |
<UpdatedControls> |
<telerik:AjaxUpdatedControl ControlID="RadGrid1" /> |
<Telerik:AjaxUpdatedControl ControlID="RadWindowManager1" /> |
</UpdatedControls> |
</telerik:AjaxSetting> |
</AjaxSettings> |
</telerik:RadAjaxManager> |
http://tv.telerik.com/aspnet/radajax/radajax-overview
Phil
0
Hello Phil,
I am not quite sure if I understand your last post correctly. If this is the configuration that is working on your side, I assume that you are opening the RadWindow from the server - only then you would need to ajaxify the manager. In the Grid Editing demo, RadWindow is opened from the client by using radopen() - that is why the manager is not ajaxified.
Sincerely yours,
Georgi Tunev
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
I am not quite sure if I understand your last post correctly. If this is the configuration that is working on your side, I assume that you are opening the RadWindow from the server - only then you would need to ajaxify the manager. In the Grid Editing demo, RadWindow is opened from the client by using radopen() - that is why the manager is not ajaxified.
Sincerely yours,
Georgi Tunev
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Phil
Top achievements
Rank 2
answered on 26 Jan 2010, 12:39 AM
Hi:
Yes, I am opening the RadWindow server-side.
Phil
Yes, I am opening the RadWindow server-side.
Phil