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

[Solved] Data Binding to the Grid

3 Answers 112 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.
Parameswari
Top achievements
Rank 2
Parameswari asked on 23 Jul 2011, 02:36 PM
Hi,
1.We are binding the data to the grid from Database .When we click a button it takes time  to retrieve the data (say abt 5-6 seconds ).
Is there any option to minimize the time .
2.In other issue when we click the combobox it should retrieve data ,same time  problem occurs here.
We are using proxy for binding into the combo box.
3. third issue is our scrollbar in the grid . when we scroll it, it scrolls after scrolling is completed . It doesnt scroll along the mouse  action.

Thanks

3 Answers, 1 is accepted

Sort by
0
Maya
Telerik team
answered on 25 Jul 2011, 08:29 AM
Hi Parameswari,

Generally, if you bound a lot of data on a button click, the speed of loading it is not quite dependable on the RadGridView. May you share why do you need to do it on a button click ? How do you exactly load that data ? 
Do you have anything specific defined in the grid - any CellTemplate-s/CellEditTemplate-s ? Is the second issue you encountered also related to the speed of loading the data for the source of the GridViewComboBoxColumn ? 
On the other hand, I may recommend you to take a look at our online documentation considering different approaches for populating your grid with data.
 

Regards,
Maya
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

0
Parameswari
Top achievements
Rank 2
answered on 28 Jul 2011, 02:33 PM
Hi Maya,
Thanks for u Document that you have sent.
Answer for your query is : We bind  data in the grid using ItemSource.
We are not using any template .
For combobox we use SelectionChange event.
0
Maya
Telerik team
answered on 28 Jul 2011, 04:21 PM
Hello Parameswari,

Please be as much specific and detailed as possible. The more information I have, the easier will be for me to reproduce the behavior and provide an appropriate solution. What is the source of the grid - do you call any service, do you work with RadDomainDataSource ? How do you handle the SelectionChanged event of the RadComboBox ? Do you load the data for its ItemsSource here ? 
Generally, any relevant information would be helpful.
 

All the best,
Maya
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

Tags
GridView
Asked by
Parameswari
Top achievements
Rank 2
Answers by
Maya
Telerik team
Parameswari
Top achievements
Rank 2
Share this question
or