This is a migrated thread and some comments may be shown as answers.

RadGridNameSpace is undefined

1 Answer 128 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Peter Wong
Top achievements
Rank 1
Peter Wong asked on 18 Mar 2009, 10:31 PM
Hi,
I am using older version of telerik controls. RadGrid is not rendering its skin (any which i set) and also its giving javascript error "RadGridNameSpace is undefined". I am only getting this error on my one site. while it is working perfect on my other sites.
I have already put radcontrols folder on root of site. also rad dlls in bin folder. Its very strange to me why it is happening with me.please help me to resolve this issue.

  <radg:RadGrid  ID="gridReport" runat="server" AllowPaging="True" AllowSorting="True"
                                            AutoGenerateColumns="True" EnableAJAX="True" EnableAJAXLoadingTemplate="True"
                                            EnableOutsideScripts="True" 
                                            PagerStyle-Mode="NumericPages" PagerStyle-Position="TopAndBottom" PageSize="20"
                                            Skin="GrayGrid" Width="100%" OnNeedDataSource="gridReport_NeedDataSource" OnItemDataBound="gridReport_ItemDataBound" OnSortCommand="gridReport_SortCommand" OnColumnCreated="gridReport_ColumnCreated">
                                            <ClientSettings>
                                                <ClientEvents OnRequestStart="RequestStart" />
                                                <Selecting AllowRowSelect="True" />
                                            </ClientSettings>
                                            <MasterTableView CommandItemDisplay="Top">
                                                <CommandItemTemplate>
                                                    <table class="TGridComTemplate">
                                                        <tr>
                                                            <td id="tdButtonExport">
                                                                <asp:LinkButton ID="lbtExcel" runat="server" CssClass="LabelStyle" OnClick="lbtExcel_Click"
                                                                    OnClientClick="return ExportReport()"><img style="border:0px" alt="" src="../../Images/excel.gif" /> Export to Excel</asp:LinkButton></td>
                                                            <td id="tdPrint">
                                                            &nbsp;<asp:LinkButton ID="lbtPrint" runat="server" CssClass="LabelStyle"
                                                                    OnClientClick="return PrintReport()" OnClick="lbtPrint_Click"><img style="border:0px" alt="" src="../../Images/print.gif" /> Print</asp:LinkButton>
                                                           </td>
                                                        </tr>
                                                    </table>
                                                </CommandItemTemplate>
                                                <Columns>                                                                                              
                                                </Columns>
                                                <ExpandCollapseColumn Visible="False">
                                                    <HeaderStyle Width="19px" />
                                                </ExpandCollapseColumn>
                                                <RowIndicatorColumn Visible="False">
                                                    <HeaderStyle Width="20px" />
                                                </RowIndicatorColumn>
                                            </MasterTableView>
                                            <CommandItemStyle HorizontalAlign="Left" />
                                            <HeaderStyle HorizontalAlign="Center" />
                                            <ItemStyle HorizontalAlign="Center" />
                                            <AlternatingItemStyle HorizontalAlign="Center" />
                                            <PagerStyle Mode="NumericPages" Position="TopAndBottom" />
                                        </radg:RadGrid>

1 Answer, 1 is accepted

Sort by
0
Georgi Krustev
Telerik team
answered on 24 Mar 2009, 11:04 AM
Hello Peter,

Please verify that you did not set to "false" EnableEmbeddedScripts property and if the path to the RadControls folder is correct.
If the problem persists I will suggest you open a regular support ticket and send us the page and the web.config of your problematic site.

Sincerely yours,
Georgi Krustev
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
Tags
Grid
Asked by
Peter Wong
Top achievements
Rank 1
Answers by
Georgi Krustev
Telerik team
Share this question
or