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

RadGrid Insert Popup -Downloading aspx

1 Answer 52 Views
This is a migrated thread and some comments may be shown as answers.
Top achievements
Rank 2
Greg asked on 10 Aug 2010, 07:23 PM
Hey everyone,

I have a RadGrid that pops open the Insert/Edit form.  This at one point worked fine, but is now trying to download the ASPX file from the server.  When someone clicks on "Edit" or "Add new record", IE is trying to download the ASPX file and then giving an error that reads:

    Unable to download [File Name] from [Server Name]
    Unable to open this Internet site.  The requested site is either unavailable or cannot be found.
    Please try again later.

I don't believe there is anything special about the grid's definition, but I pasted it below in case I'm just not seeing something:

Thanks a lot,

<telerik:RadGrid ID="gridDelegates" runat="server" 
    AutoGenerateColumns="False" GridLines="Both"
    <MasterTableView AutoGenerateColumns="false" DataKeyNames="ID" CommandItemDisplay="Top" EditMode="PopUp">
            No delegates have been assigned.
            <HeaderStyle Width="20px"></HeaderStyle>
            <HeaderStyle Width="20px"></HeaderStyle>
            <telerik:GridEditCommandColumn UniqueName="colEdit" />
            <telerik:GridBoundColumn HeaderText="Name" UniqueName="colNameOfDelegate" DataField="NameOfDelegate">
            <telerik:GridBoundColumn HeaderText="Start Date" DataFormatString="{0:MM-dd-yyyy}"  UniqueName="colStartDate" DataField="StartDate">
                <ItemStyle Width="68px" />
            <telerik:GridBoundColumn HeaderText="End Date" DataFormatString="{0:MM-dd-yyyy}" UniqueName="colEndDate" DataField="EndDate">
                <ItemStyle Width="65px" />
            <telerik:GridBoundColumn UniqueName="colOffice" HeaderText="Office" DataField="Office">
                <ItemStyle Width="60px" />
            <telerik:GridTemplateColumn UniqueName="colFullDept" HeaderText="Department">
                <ItemStyle Width="60px" />
                    <span><%# DataBinder.Eval(Container.DataItem, "Dept")%>-<%# DataBinder.Eval(Container.DataItem, "SubDept")%></span>
            <telerik:GridButtonColumn ConfirmText="Are you sure you want to delete this delegate? <br/><br/>Click 'OK' to delete.<br/><br/>" 
                                    ConfirmTitle="Delete Confirmation"
                                    CommandName="Delete" Text="Delete"
                            <ItemStyle HorizontalAlign="Center" Width="30px" />
            <telerik:GridBoundColumn UniqueName="colSupervisor" DataField="Supervisor" Visible="false" Display="false" />
            <telerik:GridBoundColumn UniqueName="colDelegate" DataField="Delegate" Visible="false" Display="false" />
            <telerik:GridBoundColumn UniqueName="colDept" DataField="Dept" Visible="false" Display="false" />
            <telerik:GridBoundColumn UniqueName="colSubDept" DataField="SubDept" Visible="false" Display="false" />
            <telerik:GridBoundColumn UniqueName="colIsActive" DataField="IsActive" Visible="false" Display="false" />
        <EditFormSettings UserControlName="~/UserControls/DelegationEditor.ascx"
               EditFormType="WebUserControl"  CaptionDataField="NameOfDelegate" CaptionFormatString="Delegate rule for {0}"
               InsertCaption="New Delegate">

1 Answer, 1 is accepted

Sort by
Telerik team
answered on 13 Aug 2010, 02:07 PM
Hi Greg,

I reviewed the code snippet, and it looks correct. If you are facing any issues, you can open a formal support ticket, and send us a small working project, demonstrating your setup, and showing the unwanted behavior. We will debug it locally, and get back to you with more information on the matter.

Additionally, you could review the help article below and see if it helps: (look at the bottom of the page)

All the best,
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Asked by
Top achievements
Rank 2
Answers by
Telerik team
Share this question