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

Grid reload not working in IE

7 Answers 394 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Dusan
Top achievements
Rank 1
Dusan asked on 11 Dec 2011, 08:42 PM
Hello,

I have problem with grid reload data in IE. In Firefox grid is working OK.
When page is first time loaded grid is populated, but on F5 page reload is not working...
Also manual data source reload on Resync Button is not working in IE...

Any Help?

Best Regards

Code:
var model = new kendo.data.Model.define({
    id: "id"
});
 
var ds = new kendo.data.DataSource({
        transport: {
            read: {
                dataType: "json",
                url: "../lib/get_wifi_users.php"
            },
            schema: {
                model: model
            }
        },
        pageSize: 10
});
 
$("#grid").kendoGrid({
    dataSource: ds,
    sortable: true,
    selectable: "multi",
    pageable: true,
    columns: [
        {field: "user", title: "User", template:"<span class='user'>#= user #</span>" } ,
        {field: "wlanId", title: "Wlan ID"},
        {field: "userType", title: "User Type"} ,
        {field: "lifetime", title: "Lifetime"},
        {field: "startTime", title: "Start Time"} ,
        {field: "remainingTime", title: "Time Remaining"},
        {field: "description", title: "User Description"}
    ],
    height: 325
  });

   // Resync Button
    $("#reSync").button({
        icons: {
            primary: "ui-icon-arrowreturnthick-1-s"
        }
    }).click(function() {
            // Resync dataSource from WLC
            ds.read();
          
        });

7 Answers, 1 is accepted

Sort by
0
Dusan
Top achievements
Rank 1
answered on 11 Dec 2011, 09:41 PM
I think that is some cache related problem but i don't have solution yet....requests are made, but not contacting web server

image in attach...
0
Dusan
Top achievements
Rank 1
answered on 11 Dec 2011, 09:47 PM
Solved :)

"cache: false"

read: {
    dataType: "json",
    url: "../lib/get_wifi_users.php",
    cache: false
}
0
Abhishek
Top achievements
Rank 1
answered on 23 Aug 2012, 04:51 AM
Thanks Dusan,

Its worked for me :)
0
angella
Top achievements
Rank 1
answered on 05 Dec 2012, 11:31 AM
Hi Dusan,
I don't understand.
Where to put this code??
read: {
    dataType: "json",
    url: "../lib/get_wifi_users.php",
    cache: false
}

In addition, I used Kendo Grid in MVC.
0
Pritam
Top achievements
Rank 1
answered on 17 Jul 2014, 11:58 AM
Hello,
In kendo grid If we edit and click on save button, but
when we save changes that time there is problem in location.reload(); method.
Can you please suggest solution.
0
Alexander Valchev
Telerik team
answered on 22 Jul 2014, 07:31 AM
Hello Pritam,

Your scenario is a bit unclear. Could you please open a new forum thread/support ticket and provide the needed details in it (sample/code) so we can understand/reproduce the issue and assist you?
Thank you in advance for the understanding.

Regards,
Alexander Valchev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Harry
Top achievements
Rank 2
answered on 30 Oct 2015, 02:37 PM

Thank you so much Dusan.

 Works in IE now.

Tags
Grid
Asked by
Dusan
Top achievements
Rank 1
Answers by
Dusan
Top achievements
Rank 1
Abhishek
Top achievements
Rank 1
angella
Top achievements
Rank 1
Pritam
Top achievements
Rank 1
Alexander Valchev
Telerik team
Harry
Top achievements
Rank 2
Share this question
or