
| <RadAjaxManager> | |
| <AjaxSettings> | |
| <AjaxSetting AjaxControlID="controlOne"> | |
| <UpdatedControls> | |
| <AjaxUpdatedControl ControlID="controlOne" /> | |
| <AjaxUpdatedControl ControlID="controlTwo" /> | |
| </UpdatedControls> | |
| </AjaxSetting> | |
| <AjaxSetting AjaxControlID="controlTwo"> | |
| <UpdatedControls> | |
| <AjaxUpdatedControl ControlID="controlOne" /> | |
| <AjaxUpdatedControl ControlID="controlTwo" /> | |
| </UpdatedControls> | |
| </AjaxSetting> | |
| <AjaxSetting AjaxControlID="controlThree"> | |
| <UpdatedControls> | |
| <AjaxUpdatedControl ControlID="controlThree" /> | |
| </UpdatedControls> | |
| </AjaxSetting> | |
| </AjaxSettings> | |
| </RadAjaxManager> |
I have a webpage with a RadTreeView inside an RadAjaxPanel, and it has a contextmenu. In this contextMenu, there is an item called "EDIT ITEM", that opens a RadWindow where I can edit something.
On my webpage I also have and RadAjaxmanager.
When I return from the RadWindow, I want to update the RadTreeView inside the RadAjaxPanel.
I have this code in the ASPX-page:
<telerik:RadCodeBlock ID="cb1" runat="server">
<script type="text/javascript">
function pageReturning(arguments)
{
var ajaxManager = $find("<%= RadAjaxManager1.ClientID %>");
ajaxManager.ajaxRequest("VisDet");
}
</script>
</telerik:RadCodeBlock>
In the code behind I have a method that is called, and that is working, because I have tried to add an Response.Redirect, and the method is called. But when I (inside that method) tries to update the radTreeView, then nothing happens.
Please help. I am getting frustrated, and I have use almost 2-3 days on that problem.
Søren
.RadGrid_NewGrid
{
background: #005596;
border-top: 1px solid #000000;
border-bottom: 1px solid #000000;
color: Black;
font: normal 11px Arial, Verdana, Sans-serif;
text-align: left;
cursor: default;
}
.RadGrid_NewGrid
th,
.RadGrid_NewGrid
th a
{
font:bold 11px tahoma,sans-serif;
color:#000;
}
.RadGrid_NewGrid
,
.RadGrid_NewGrid
a
{
font:11px tahoma,sans-serif;
color:#000;
}
.MasterTable_NewGrid
{
border:0px !important;
/*-moz-user-select: none;*/ /*disables text selecting in Firefox to combat unpleasant visual appearance*/
}
.GridHeader_NewGrid
{
border-left: solid 1px #000000;
border-right: solid 1px #000000;
border-bottom: 1px solid #000000;
color: Black;
height: 34px;
background-color: #005596;
}
.GridHeader_NewGrid
a
{
/*background-color: #005596;*/
}
.GridLines_NewGrid
td
{
color:Black;
/*background: #005596;*/
}
.GridRow_NewGrid
{
background-color: #f3f0eb;
height: 20px;
color:Black;
border:none;
}
.GridRow_NewGrid
td
{
color:Black;
border:none;
}
.GridAltRow_NewGrid
{
background-color: #cdc6bc;
height: 20px;
color:Black;
border:none;
}
.GridAltRow_NewGrid
td
{
color:Black;
border:none;
}
.GridPager_NewGrid
{
background: #7D6A55;
color: black;
height: 17px;
}
.GridPager_NewGrid
td
{
border-left: solid 1px #000000;
border-right: solid 1px #000000;
color: black;
padding-left: 11px;
}
.GridPager_NewGrid
a
{
color: black;
font-weight: bolder;
}
.GridHeader_NewGrid
img
{
vertical-align: middle;
}
td.GridHeader_NewGrid
input
{
width: auto;
float: left;
border: solid 1px #666;
border-top: solid 1px #000000;
border-left: solid 1px #000000;
border-right: solid 1px #000000;
border-bottom: solid 1px #000000;
background: #fafafa;
font: bold 10px Verdana, Arial, Sans-serif;
color:black;
height: 14px;
vertical-align: middle;
}
/* grouping button */
.GroupPanelItems_NewGrid
{
background: #cdc6bc;
color: black;
border: solid 1px #000000;
border-top: solid 1px #000000;
border-left: solid 1px #000000;
border-right: solid 1px #000000;
border-bottom: solid 1px #000000;
white-space: nowrap;
font-size: 11px;
}
tr.GroupHeader_NewGrid
{
background: #7D6A55;
color: white;
font-size:8pt;
font-weight: bold;
height: 20px;
border-left: solid 1px #000000;
border-right: solid 1px #000000;
}
.GroupPanel_NewGrid
{
height: 20px;
width: 100%;
text-align: left;
background: #cdc6bc;
border-bottom: 1px solid #000000;
border-top: solid 1px #000000;
border-left: solid 1px #000000;
border-right: solid 1px #000000;
border-collapse: collapse;
}
.GroupPanel_NewGrid
td
{
color:#000;
}
.RadGrid_NewGrid
.rgCollapse
{
background-image:url('Grid/SingleMinus.gif');
}
.RadGrid_NewGrid
.rgExpand
{
background-image:url('Grid/SinglePlus.gif');
}
Please let me know if I am missing out anything.
