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

error when downloading from Button in RadGrid

1 Answer 53 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Ky
Top achievements
Rank 1
Ky asked on 09 Jan 2012, 12:04 PM
Hi all,
I have a problem with RADGRID below:
in ASP.NET PAge my code here:

<telerik:GridTemplateColumn UniqueName="lblConsigneMission" HeaderText="[ConsigneMission]">
                        <ItemTemplate>
                            <asp:ImageButton runat="server" ID="iconConsigneMissionPict" AlternateText="iconConsigneMissionPict" CommandName="SaveAttachedFile" CausesValidation="false" />
                            <asp:ImageButton runat="server" ID="iconDocRondePict" AlternateText="iconDocRondePict" CommandName="SaveAttachedFile" CausesValidation="false" />
                        </ItemTemplate>
                        </telerik:GridTemplateColumn>                   
                    </Columns>
                </MasterTableView>
                <ClientSettings AllowDragToGroup="True">
                    <Selecting AllowRowSelect="True"></Selecting>
                    <Scrolling AllowScroll="True" UseStaticHeaders="True" ScrollHeight="275px"></Scrolling>
                    <ClientMessages DragToGroupOrReorder="Drag to group" />
                </ClientSettings>
            </telerik:RadGrid>


In Master Page I have done "disable" telerik Ajax of 2 controls: iconConsigneMissionPict and iconDocRondePict 
<script type="text/javascript">
            function mngRequestStarted(ajaxManager, eventArgs) {
                if (eventArgs.get_eventTarget().indexOf("iBtnJournalPageSaveAttachedFile") != -1                   
                    || eventArgs.get_eventTarget().indexOf("iconConsigneMissionPict") != -1
                    || eventArgs.get_eventTarget().indexOf("iconDocRondePict") != -1                                                             
                    )                                     
                    eventArgs.set_enableAjax(false);
                centerLoadingPanel();
            }               
        </script>

When we click on one of 2 these controls=> it doesn't run (no action)

Could you help me to find the solution for this problem
Thanks alot.
Ky NGUYEN


1 Answer, 1 is accepted

Sort by
0
Jayesh Goyani
Top achievements
Rank 2
answered on 09 Jan 2012, 12:11 PM
Hello ky,

Can you please provide detail of error ?

Thanks,
Jayesh Goyani
Tags
Grid
Asked by
Ky
Top achievements
Rank 1
Answers by
Jayesh Goyani
Top achievements
Rank 2
Share this question
or