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

RadGrid Row stylesheet issue after Exporting

1 Answer 40 Views
Grid
This is a migrated thread and some comments may be shown as answers.
hiren
Top achievements
Rank 1
hiren asked on 06 Jan 2014, 10:19 AM

Hello,

 

- We have issue with Radgrid  export functionality.Please find attached code.Code contains RadAjaxPanel,RadGrid  and Blinking image as background of Rows of RadGrid.

- Export to excel is working fine.

- Issue is after clicking on any export button of grid, image stops to blink.

- After Export, if i refresh page manually, images will start to blink.

- if I placed blinking image outside of Panel, still image stop to blink.

- We need to solve issue for  IE8 and IE11 browser.

Here i have attached the source code. RadGridExport.zip


Please let me know your feedback ASAP.

Thanks,
Hiren


1 Answer, 1 is accepted

Sort by
0
Viktor Tachev
Telerik team
answered on 09 Jan 2014, 10:34 AM
Hi Hiren,

The issue you describe is related to IE browser behavior. It causes gif animation to stop working after an Ajax request. There is an article describing the issue here.

As a workaround you could try calling rebind() for the grid after an export button is clicked and then use OnGridCreated event to set the style using JavaScript.

Export button client-side Click event handler could be similar to this:

function clientClick() {
   setTimeout(function () {
       $find("<%= gridDemo.ClientID %>").get_masterTableView().rebind();
   }, 100);
}


Regards,
Viktor Tachev
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Tags
Grid
Asked by
hiren
Top achievements
Rank 1
Answers by
Viktor Tachev
Telerik team
Share this question
or