or
<div id="phcontent_0_phcontent_0_RadGrid1Panel" style="display: block; ">
<div id="phcontent_0_RadGrid1" class="RadGrid RadGrid_Default" style="width:97%;"
<!-- 2011.2.712.35 -->
<input id="phcontent_0_RadGrid1_ClientState" name="phcontent_0_RadGrid1_ClientState" type="hidden" autocomplete="off">
</div>
</div>if(typeof(Sys)!=='undefined')Sys.Application.notifyScriptLoaded();
(function() {
function loadHandler() {
var hf = $get('phcontent_0_RadScriptManager1_TSM');
if (!hf) return;
if (!hf._RSM_init) { hf._RSM_init = true; hf.value = ''; }
hf.value += ';';
Sys.Application.remove_load(loadHandler);
};
Sys.Application.add_load(loadHandler);
})();

I have followed this guide 'Hiding expand/collapse images when no records' on the telerik site and got it working great, but when i change
HierarchyDefaultExpanded="False" then the images dont show when I now there are child rows in the 2nd table. If i change it to "True" it loads them expanded with the image showing...Does anyone know how i can have it collapsed when first entering the pages but with the images showing when there are child rows?
Many thanks
var btnclickCalledAfterRadconfirm = false;var RRB_lastClickedItem = null;function btn_confirmCallbackFunction(args) { alert('debug 1'); if (args) { btnclickCalledAfterRadconfirm = true; alert('debug 2'); // this works if this was a radmenuitem object RRB_lastClickedItem.click(); -- alert('debug 3'); } else btnclickCalledAfterRadconfirm = false; RRB_lastClickedItem = null; } function RRB_Btn_OnClientItemClickingHandler(sender, eventArgs) { if (!btnclickCalledAfterRadconfirm) { RRB_lastClickedItem = eventArgs.get_button(); var myText = RRB_lastClickedItem.get_text(); //alert('debug: ' + myText); if (myText == 'Clear All') { eventArgs.set_cancel(true); radconfirm("Clear all Alarms?", btn_confirmCallbackFunction); } if (myText == 'Delete All') { eventArgs.set_cancel(true); radconfirm("Delete all Alarms?", btn_confirmCallbackFunction); } if (myText == 'Acknowledge All') { eventArgs.set_cancel(true); radconfirm("Acknowledge all Alarms?", btn_confirmCallbackFunction); } if (myText == 'Clear') { eventArgs.set_cancel(true); radconfirm("Clear selected Alarms?", btn_confirmCallbackFunction); } if (myText == 'Delete') { eventArgs.set_cancel(true); radconfirm("Delete selected Alarms?", btn_confirmCallbackFunction); } if (myText == 'Refresh') { //alert('refresh'); eventArgs.set_cancel(true); $find("<%= RadAjaxManager1.ClientID %>").ajaxRequestWithTarget('<%= lbHiddenRefresh.UniqueID %>', ''); } } btnclickCalledAfterRadconfirm = false; }