---
title: "Paging Event of GridView With Caching Object"  
description: "Paging Event of GridView With Caching Object"  
author: "Samuel Fernandes"  
published: 2014-08-25  
updated: 2014-08-25  
canonical: https://www.mindstick.com/forum/2133/paging-event-of-gridview-with-caching-object  
category: "asp.net"  
tags: ["asp.net"]  
reading_time: 1 minute  

---

# Paging Event of GridView With Caching Object

I displaying the [Gridview](https://www.mindstick.com/articles/873/update-delete-edit-gridview-in-asp-dot-net) data form [cache](https://www.mindstick.com/blog/222/clearing-cache-in-asp-dot-net) object.When i [click](https://www.mindstick.com/articles/12423/social-login-magento-2-one-click-to-register-social) on the pagenumber it [shows](https://yourviews.mindstick.com/view/81380/new-york-violent-shooting-shows-people-are-not-safe-in-night-life) blank webpage. how to [handle](https://www.mindstick.com/articles/311004/suede-skillet-handle-cover) the [paging](https://www.mindstick.com/articles/335974/retrieve-data-from-restful-api-and-add-paging-in-knockout-js) with [caching](https://www.mindstick.com/blog/43/caching-in-asp-dot-net) object .

Do i need to [check](https://yourviews.mindstick.com/story/2248/never-forget-to-check-these-specifications-before-buying-a-mobile-phone) the same [condition](https://www.mindstick.com/forum/12711/select-query-with-and-condition) in paging [event](https://www.mindstick.com/articles/167719/marquee-hire-benefits-of-event-lighting-hire-london)

```
 DataTable GetByCahe =(DataTable) Cache["DataStore"];            if (GetByCahe != null)            {                ManageRegGrid.DataSource = GetByCahe;                ManageRegGrid.DataBind();            }            else            load From the database
```

## Replies

### Reply by Sumit Kesarwani

Hi Samuel,

You do need same checking and rebinding if the cached data is not available.


---

Original Source: https://www.mindstick.com/forum/2133/paging-event-of-gridview-with-caching-object

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
