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

About an incomplete XML databinding in Blend

3 Answers 52 Views
GridView
This is a migrated thread and some comments may be shown as answers.
bob
Top achievements
Rank 1
bob asked on 07 Sep 2010, 03:23 PM
Hi,

I'm binding a XML file to a GridView into Blend

When i drag and drop the XML data source (from the data panel) to the Gridview into the "Objects and timeline" panel, i get a windows where i choose "Itemssource", but only two of the many rows are binded to the grid..

What i'm doing wrong or what i have to do for having a complete databinding of the XML file ? Is it because of too many datas ?

Otherwise, i just saw the existence of a comptability between Excel and GridView, so can one just create a GridView with rows titles, and then past the data directly from Excel into the Grid once the program has been built ?
Could you provide me with an example of this ?

Or is the only solution to load the Excel file like it has been suggested before ?


Thanks again for the support and the informations
ab1

3 Answers, 1 is accepted

Sort by
0
bob
Top achievements
Rank 1
answered on 07 Sep 2010, 04:52 PM
I appreciate the solutions of Telerik Team but apparently, i can not make working them together, and this is what i need; and so they become unusable for the designer i am...

I mean: making to work the play sound behaviour solution with the loading of an Excel file into the GridView.

Or, making to work the play sound behaviour solution with a XML databinding (which doesn't work apparently... cf my first post in here)

So i'm stuck with all this, and the GridView appears to me to be full of obstacles whereas i expected it to be quite simple to use !
ab1
0
Accepted
Stefan Dobrev
Telerik team
answered on 10 Sep 2010, 12:51 PM
Hello bob,

In order to provide you with the best and correct solution we will need more information from your side. Can you share more details about your particular use case? What exactly you are trying to achieve? Do you want  to load an excel spreadsheet in RadGridView? What is the shape of this XML you are describing?

Sincerely yours,
Stefan Dobrev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
bob
Top achievements
Rank 1
answered on 10 Sep 2010, 06:30 PM
Thank you, but facing the encountered difficulties, i have decided to abandon this particular project using Blend and WPF. Working directly into Excel with some VBA macros is far more easy and efficient.

The XML was a standard XML file generated from an Excel spreadsheet.
Tags
GridView
Asked by
bob
Top achievements
Rank 1
Answers by
bob
Top achievements
Rank 1
Stefan Dobrev
Telerik team
Share this question
or