I need to perform some actions on the grid on the original page load, not in Ajax calls:
<body onload="setupTopButtons()">
Please tell me how can I accees the grid client object from within setupTopButtons(). All examples I see refer to something like
<telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
<script type="text/javascript">
var grid = $find("<%=RadGrid1.ClientID %>");
//execute some logic here
</script>
</telerik:RadCodeBlock>
which sets var grid to null on the original page load.
<body onload="setupTopButtons()">
Please tell me how can I accees the grid client object from within setupTopButtons(). All examples I see refer to something like
<telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
<script type="text/javascript">
var grid = $find("<%=RadGrid1.ClientID %>");
//execute some logic here
</script>
</telerik:RadCodeBlock>
which sets var grid to null on the original page load.
