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

[Solved] Scrollbar and grid binding problem

1 Answer 118 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Niranjan
Top achievements
Rank 1
Niranjan asked on 03 Jun 2009, 01:00 PM
Hi,

I am facing a strange problem when a gridview have vartical scrollbar.

If grid can show 5 rows at a time and you have 10 records, then you can see the scrollbars in the GridView. Now you scroll the grid and select any row, greater than 5. Now click on button on your page. The button click event should contains code to provide null source to Grid. You will get an error, when you assign null ItemSource to grid. I can't understand why this is happening?

What I want to do is -
When I click on button, I want to have the selected item in the grid and after that I want to clear the grid data.

Can anyone suggest me, What's wrong I am doing??

Thanks in advance for your suggestion.

Regards,
Niranjan

1 Answer, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 04 Jun 2009, 06:23 AM
Hi Niranjan,

The problem is already fixed and the fix will be available in our latest internal build (tomorrow). I've attached small project with our latest binaries to demonstrate you this.

Best wishes,
Vlad
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
GridView
Asked by
Niranjan
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Share this question
or