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

Grid Does Not Show Up

2 Answers 23 Views
Grid
This is a migrated thread and some comments may be shown as answers.
DQ
Top achievements
Rank 1
DQ asked on 15 Aug 2012, 05:35 PM
Hi All,

I am new to Telerik - 1 day total experience.  I have a user control that contains only one control: RadGrid.
My control is in a form.  The form is in the main content of the site.master page.  

At design time, everything looks find.  At run time, the grid does not show up at all.  I tried everything, include setting the PageStyle.AlwaysVisible = true and setting the data source to empty object (.datasource = new object(){}).

What could be wrong?  

Thanks.

2 Answers, 1 is accepted

Sort by
0
DQ
Top achievements
Rank 1
answered on 15 Aug 2012, 10:47 PM
If I change the datasource to bind with a datatable, and then the grid shows up nicely.  But it does not if the datasource is set to bind with xml.  Probably I did not know how to bind the datasource with xml yet.

Thanks All.
0
Andrey
Telerik team
answered on 20 Aug 2012, 01:19 PM
Hello,

Thank you for contacting us.

Yes, most probably the behavior you are experiencing is caused by some wrong configuration of the databinding. Could you share the code you are using for binding RadGrid to XML?

You could check this online demo application for a sample code that uses XML for binding.

All the best,
Andrey
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Grid
Asked by
DQ
Top achievements
Rank 1
Answers by
DQ
Top achievements
Rank 1
Andrey
Telerik team
Share this question
or