Telerik Forums
UI for WPF Forum
29 answers
320 views
Hi, just wanted to know when your pivot table (like done in radarsoft for example) will be available ?

I want a pivot grid conected to an OLAP cube with SSAS.

It's just a shame that this component is not available yet :(

Do you know when it'll be available? 

Regards,
Rosen Vladimirov
Telerik team
 answered on 25 Jan 2013
0 answers
173 views
Hi,

I initialize dragging by following code:

DragDropManager.AddDragInitializeHandler(xToolBar1, OnDragInitialize);
DragDropManager.AddGiveFeedbackHandler(xToolBar1, OnGiveFeedback);

In GiveFeedbackHandler and DropHandler  Mouse.GetPosition(xToolbarTray) gives negative numbers, which is incorrect. Is this bug?
I attached sample project to demonstrate this behaviour: https://skydrive.live.com/redir?resid=51A46BBA4E9EF07E!1312&authkey=!ALflFx7eswlzjic


Basically, I need distinguish between dragging or dropping on/before/after element in drop target.

I'm using reorder behaviour very often and just inserting element after the element under mouse gives very negative user experience. I cannot move element on the first position this way.
Daniel
Top achievements
Rank 1
 asked on 25 Jan 2013
1 answer
297 views
I have an application where multiple RadGridViews are being used as well as a RadTreeView. I would like to override the ScrollBar style for all RadControls in the application so that it uses the default Windows ScrollBar style instead of the RadControls own "shiny" version as it creates an inconsistent UI when other normal WPF ScrollViewers are used in the application. Here's an example: http://i.imgur.com/EXCRbey.png (the top is the default Windows 8 ScrollBar, bottom is a RadGridView ScrollBar).

I've tried adding the following in the application's ResourceDictionary, but it didn't work:

    <Style TargetType="ScrollBar" BasedOn="{StaticResource {x:Type ScrollBar}}"/>
Dimo Mitev
Telerik team
 answered on 25 Jan 2013
1 answer
308 views
hi:
 I have a question when use GridViewDataColumn.BindingGroup,my core code as follow:

<telerik:GridViewDataColumn Header="Time" IsReadOnly="True" SortMemberPath="ScheduledProcedureStepStartDateTime">                        
                        <telerik:GridViewDataColumn.BindingGroup>
                            <MultiBinding Converter="{StaticResource timeRangeConverter}" ConverterParameter="HH:mm">
                                <Binding Path="StartDateTime"></Binding>
                                <Binding Path="EndDateTime"></Binding>
                            </MultiBinding>
                      </telerik:GridViewDataColumn.BindingGroup>
</telerik:GridViewDataColumn>

Please confirm syntax of binding is right?

When execute 
 public object Convert(object[] values, Type targetType, object parameter, System.Globalization.CultureInfo culture){} function,
I found values[0] and values[1] are DependencyProperty.UnsetValue. So can't convert successfully.

Please provide the right telerik demo. Tahnks.
Pavel Pavlov
Telerik team
 answered on 25 Jan 2013
1 answer
193 views
It seems that the CurrentCell and CurrentRow are not kept in sync.

I think this is similar to what's mentioned in this post:
http://www.telerik.com/community/forums/wpf/gridview/radgridview-observablecollection-and-currentitem.aspx

We fixed it with this code:
private void ContractProxyGridView_CurrentCellChanged(object sender, GridViewCurrentCellChangedEventArgs e)
        {
            if (e.NewCell == null || e.NewCell.ParentRow == null) return;
            e.NewCell.ParentRow.IsCurrent = true;
        }

Is there a reason for this behavior?

Thanks,
Alex
Dimitrina
Telerik team
 answered on 25 Jan 2013
1 answer
296 views
Hi

I have a question on using the CellEditTemplate which has a TextBox in RadGridView.

I have a RadGridView, one of its columns is created like this in cs file:

gvColumn = new GridViewDataColumn();
gvColumn.CellEditTemplate = (DataTemplate)grid.TryFindResource("TextBoxEditTemplate");
gvColumn.DataType = typeof(string);
gvColumn.DataMemberBinding = new Binding(...)

In xaml file I define the template like this:

<telerik:RadGridView.Resources>
                <DataTemplate x:Key="TextBoxEditTemplate">
                    <TextBox Text="{Binding RelativeSource={RelativeSource Self}, Path=DataMemberBinding.PropertyPath}"/>
                </DataTemplate>
...

but the 'Text' of this text box is not bound to content of the cell, they are sperated, when user tries to edit, the cell's content is not
in the TextBox, and vice versa.

Thanks.

Henry

Henry
Top achievements
Rank 1
 answered on 24 Jan 2013
2 answers
172 views
Hi,

Just trying to figure out if the RadRichTextBox has a shortcut key for assigning bullets? The standard Ctrl + Shift + L does not work.

Thanks
Anthony
Anthony
Top achievements
Rank 1
Iron
Veteran
 answered on 24 Jan 2013
4 answers
572 views
Hi guys,

I noticed that when using ExportFormat.ExcelML with columns containg tags, the generated file cannot be opened. I have a column which contains "<" and ">" and this basically breaks the format. I tried intercepting the value in the ElementExporting event but it doesn't look like it's helping me. A sample event log file froom Excel looks like this:

XML PARSE ERROR:  Missing end-tag
  Error occurs at or below this element stack:
    <ss:Workbook>
     <ss:Worksheet>
      <ss:Table>
       <ss:Row>
        <ss:Cell>
         <ss:Data>
          <ss:CompanyName>

The value for column CompanyName would be something like "<Acme Inc>"

How do I go about this? I
Nayaz
Top achievements
Rank 1
 answered on 24 Jan 2013
27 answers
1.0K+ views

I'm using the RegionAdapter from the following article.

http://blogs.telerik.com/blogs/posts/09-08-31/using_the_raddocking_control_with_prism.aspx

However, I'm using PRISM 4 + MVVM + MefBootstrapper.
Has anybody successfully used the RegionAdapter with MefBootstrapper?

I'm getting the following error message... 

this

 

 

.Container.Resolve

Error 1 'System.ComponentModel.Composition.Hosting.CompositionContainer' does not contain a definition for 'Resolve' and the best extension method overload 'Microsoft.Practices.Unity.UnityContainerExtensions.Resolve<T>(Microsoft.Practices.Unity.IUnityContainer, params Microsoft.Practices.Unity.ResolverOverride[])'

Thank you

protected override RegionAdapterMappings ConfigureRegionAdapterMappings()
{
    var mappings = base.ConfigureRegionAdapterMappings();
    mappings.RegisterMapping(typeof(RadPaneGroup), this.Container.Resolve<RadPaneGroupRegionAdapter>());
    return mappings;
}
George
Telerik team
 answered on 24 Jan 2013
3 answers
207 views
Hi , i am in the process of converting the Datagrid to Telerik RadGrid , i am having grouping in the RadGrid and i want to change its style 

could any one help me in converting the below piece of datagrid code to Telerik

name using as  xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"

<DataGrid.GroupStyle>
<GroupStyle>
<GroupStyle.ContainerStyle>

</GroupStyle.ContainerStyle>
</GroupStyle>
</DataGrid.GroupStyle>
Dimitrina
Telerik team
 answered on 24 Jan 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?