I have some code that works fine on my local box but when I deploy to IIS it fails.
this code is in the page.
<script type="text/javascript" language="javascript" >
var _MainGridID = "<%= MainGrid.ClientID %>"
</script>
----
<telerik:RadGrid ID="MainGrid" OnItemDataBound="MainGrid_ItemDataBound" DataSourceID="MyObjectDataSource"
AllowFilteringByColumn="False" AllowSorting="True" AllowPaging="True" PageSize="200"
Skin="Office2007" runat="server" GridLines="None" Width="100%" Height="245px"
EnableViewState="True" AllowMultiRowSelection="True"
OnNeedDataSource="MainGrid_NeedDataSource" AutoGenerateColumns="False" OnDataBound="MainGrid_DataBound">
.......
this code is in a script file...
tableViewM = $find(_MainGridID).get_masterTableView();
The $find is returning null...
this code is in the page.
<script type="text/javascript" language="javascript" >
var _MainGridID = "<%= MainGrid.ClientID %>"
</script>
----
<telerik:RadGrid ID="MainGrid" OnItemDataBound="MainGrid_ItemDataBound" DataSourceID="MyObjectDataSource"
AllowFilteringByColumn="False" AllowSorting="True" AllowPaging="True" PageSize="200"
Skin="Office2007" runat="server" GridLines="None" Width="100%" Height="245px"
EnableViewState="True" AllowMultiRowSelection="True"
OnNeedDataSource="MainGrid_NeedDataSource" AutoGenerateColumns="False" OnDataBound="MainGrid_DataBound">
.......
this code is in a script file...
tableViewM = $find(_MainGridID).get_masterTableView();
The $find is returning null...