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

GridView Not Loading in Word Addin TaskPane

5 Answers 125 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Anand
Top achievements
Rank 1
Anand asked on 08 Jun 2011, 10:33 AM
GridView Not Loading in Word Addin TaskPane

We try to load Gridview in WPF XAML design time,but it is not loading.IF we try to load at runtime  by using c# code it works and added in Task Pane.


May i know how to fix the issue.


Thanks,
Anand

5 Answers, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 08 Jun 2011, 03:29 PM
Hello Anand,

 Unfortunately from the information provided we were not able to find out what the possible reason for your problem would be.

May you please provide some additional information about:
1. How are you using the GridView in Word Addin TaskPane? What is your purpose?
2. How are you trying to load the GridView in design time?
3. How are you loading it at runtime?

If we could reproduce some similar behavior we would be of much more help to you. 

All the best,
Didie
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
Anand
Top achievements
Rank 1
answered on 09 Jun 2011, 05:39 AM
We are using for the purpose loading data.

 XAML code like below

<telerik:GridViewDataControl AutoGenerateColumns="False" CanUserResizeColumns="False"

 

SelectionMode="Single" SelectionUnit="FullRow" IsReadOnly="True" Margin="5,0,0,37" GridLinesVisibility="None" x:Name="GridView1" RowIndicatorVisibility="Collapsed"

 

 

ShowGroupPanel="False" ShowInsertRow="False" VerticalAlignment="Stretch" Width="Auto"

 

 

ShowColumnHeaders="False" Background="{x:Null}" BorderThickness="0" BorderBrush="{x:Null}" RowStyle="{StaticResource GridViewRowStyle1}" RowDetailsStyle="{StaticResource DetailsPresenterStyle1}"

  

 

>

Its not working.

 

 

Dynamic Code in c#

 GridView1 =  new RadGridView ()

 

  {

 AutoGenerateColumns = 

 

false  

 

 

HorizontalAlignment = System.Windows.

 

HorizontalAlignment.Stretch,

 

 

 CanUserResizeColumns = false ,

 

 SelectionMode = System.Windows.Controls.SelectionMode.Single,

 

 

SelectionUnit = Telerik.Windows.Controls.GridView.

 

GridViewSelectionUnit .FullRow,

 

 

 IsReadOnly = true,

 

 GridLinesVisibility = Telerik.Windows.Controls.GridView.

 

GridLinesVisibility.None,

 

 

 RowIndicatorVisibility = System.Windows.

 

Visibility.Collapsed,

 

 

 ShowGroupPanel = 

 

false ,

 

 

 

ShowInsertRow = 

 

false ,

 

 

 

 

RowDetailsVisibilityMode = Telerik.Windows.Controls.GridView.

 

 

GridViewRowDetailsVisibilityMode

.Visible,

 

 

 

IsFilteringAllowed = 

 

false ,

 

 

 

VerticalAlignment = System.Windows.

 

VerticalAlignment.Stretch,

 

 

 

 

ShowColumnHeaders = 

 

true ,

 

 

 

 

};

 


0
Milan
Telerik team
answered on 09 Jun 2011, 06:36 AM

Hi Anand,

Unfortunately this information does not help much. It is still unclear if you are getting design-time errors in Visual Studio or any other design environment. Are there any error messages that could help us gain mor e insight? 



Best wishes,
Milan
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
Anand
Top achievements
Rank 1
answered on 09 Jun 2011, 06:42 AM
you are getting design-time errors in Visual Studio or any other design environment. Are there any error messages that could help us gain mor e insight? 

No error in design time when loading in word addin  it word stopped working and word  closed
0
Anand
Top achievements
Rank 1
answered on 10 Jun 2011, 09:25 AM
In XAML i changed the GridViewDataControl to RADGridView it works

Thanks,
Anand
Tags
GridView
Asked by
Anand
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Anand
Top achievements
Rank 1
Milan
Telerik team
Share this question
or