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

Radgrid GridButtonColumn error when pagesize is changed

1 Answer 13 Views
Grid
This is a migrated thread and some comments may be shown as answers.
rei
Top achievements
Rank 1
rei asked on 13 Nov 2014, 05:40 AM
Hi ,

We recently installed Telerik Q3 2014 and found  a few problems with Radgrid - GridButtonColumn when page size is changed.   Our grid control used client-side binding . 

1.  When the page size is changed , if our GridButtonColumn has a custom image url and a pre-defined CommandName is used (ex. Edit or Delete), the other records show the default telerik image for Edit or Delete.    (i.e.  Records 1-10 would show our custom image , and records 11-20 would show default telerik image) 

2.  If we set ConfirmText property, no confirmation alert is shown when button is client .

Can you please help.


1 Answer, 1 is accepted

Sort by
0
Accepted
Pavlina
Telerik team
answered on 14 Nov 2014, 08:41 AM
Hello,

This happen because when client-side binding is used to populate RadGrid control only the first n cells in a column (where n is the PageSize, default is 10) are styled. In order to workaround this behavior you need to implement a client-side solution and style all rows on the page manually. In the following code library there are 3 approached presented in 3 separate pages:
http://www.telerik.com/support/code-library/styling-radgrid-with-client-side-binding

Give it a try and let me know if you need additional assistance.

Regards,
Pavlina
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Grid
Asked by
rei
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Share this question
or