Telerik Forums
UI for WPF Forum
7 answers
138 views
I made a custom shape contains only RadDiagramContainerShape. It's a new control in my gallery.
I drag it from my toolbar and drop it to the diagram.
But when try to drop them inside it, it does not hosting any shape when!
What I have to do?

Thank you.
Peshito
Telerik team
 answered on 23 Feb 2015
1 answer
171 views
Hi, In attached file i had added image of scenario,
I wants to decrease height of Month View Item block.
Tries to set monthviewitem style but not able to set.
can any one drive/guide  me , how to achieve it ?
u can find image  in attachment.

Thanks & Regards.
Masha
Telerik team
 answered on 23 Feb 2015
3 answers
77 views
Hi,

actually, my MinorThickLength is set to 15 mins and depending on the size of my screen, sometime the MinorThickLength become none visible. I would like to know if there is something to control this behavior, I mean,  depending on the size of the control, the MinorThickLength value change to stay visible?!?

Thank's
Alain
Kalin
Telerik team
 answered on 23 Feb 2015
1 answer
172 views
Hello All,

         İn RadMap when ı click an object on HeatMap my map drawing ne lines . But ı couldnt set zoom and center for lines . How can ı do this?
Petar Mladenov
Telerik team
 answered on 23 Feb 2015
1 answer
146 views
Hi

I'm using RadRibbonView with Prism as a Region.

I have a home tab with navigation to the main start view of each module.

As I navigate in the module, I'm adding tabs as views to the RibbonView region, and removing them as I change modules.

However, when I navigate to a new view and add the new tab to the RibbonView, I can't work out how to make the RibbonView switch to the new tab, it remains on my Home tab.

Any ideas how to solve this.

Thanks

Nick
Kiril Vandov
Telerik team
 answered on 23 Feb 2015
2 answers
184 views
I have a RadGridView in a user control with a very sparse look in the Windows 8 theme, so I'm trying to eliminate all lines from the gridview. Using the Windows8 theme via the theme manager gets me most of the way there, and a few properties get me almost all the way there. However, I can't seem to find where the vertical lines at the beginning of each row are defined. Can anyone point me to the style component that's responsible for these and give me a hint as to how to get rid of them?

I've attached a single row example that shows the thin black line and thicker gray line I'm trying to get rid of.

Thanks,
Josh
Josh K
Top achievements
Rank 1
 answered on 23 Feb 2015
3 answers
119 views
Hello!

I am using SqlGeospatialDataReader as InformationLayer.Reader.     
                        
<telerik:SqlGeospatialDataReader Source="{Binding Grundstücke}"
                                 GeospatialPropertyName="WKTGeo"
                                 ToolTipFormat="{}ID: {ID} {Riede} Reihen: {Reihen}">
    <telerik:SqlGeospatialDataReader.PointTemplate>
        <DataTemplate>
            <Ellipse Width="8" Height="8" Fill="Black" Stroke="White" StrokeThickness="1" />
        </DataTemplate>
    </telerik:SqlGeospatialDataReader.PointTemplate>
</telerik:SqlGeospatialDataReader>

Is there something like a Selected Point template? To visually see, what point is selected. My WKT data is Multipoint. I also would like every multipoint from a WKT beeing selected, when one is clicked. Can this be done with SqlGeospatialDataReader?

And is it beeng synched with the selection of the underlaying QueryableEntityCollectionView thats the itemsource for the SqlGeospatialDataReader?

greetings
Alexander
Top achievements
Rank 1
 answered on 21 Feb 2015
2 answers
178 views
Using RadGridView, I'm attempting to programmatically select a row and bring it into view.  Code works, unless the row is within a collapsed group.  If the row is within a collapsed group, I get an Out Of Range Exception.

How can I identify and expand the containing groups or otherwise work around this problem?

Thank you!
Bob

Code follows:

foreach (DataRowView rowView in vm.ResultSet.DefaultView)
{
     if (rowView["UWI"].ToString().Trim() == uwi)
         {
             vm.SelectedRowView = rowView;
             WellsGridView.BringIndexIntoView(WellsGridView.Items.IndexOf(WellsGridView.SelectedItem));
             break;
         }
}

BobK
Top achievements
Rank 1
 answered on 20 Feb 2015
1 answer
127 views
Hello,

I'm using RichTextBox version 2013.1.220.40. Since our deployment package is too big, we're trying to use telerik dll's from common IIS place. In the clients configuration I've added
01.<runtime>
02.    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
03.<dependentAssembly>
04.        <assemblyIdentity name="Telerik.Windows.Documents.FormatProviders.Html" culture="neutral" publicKeyToken="5803cfa389c90ce7"/>
05.        <codeBase version="2013.1.220.40" href="http://1.1.1.1:20006/Telerik.Windows.Documents.FormatProviders.Html.dll"></codeBase>
06.      </dependentAssembly>
07.<dependentAssembly>
08.        <assemblyIdentity name="Telerik.Windows.Controls.RichTextBoxUI" culture="neutral" publicKeyToken="5803cfa389c90ce7"/>
09.        <codeBase version="2013.1.220.40" href=http://1.1.1.1:20006/Telerik.Windows.Controls.RichTextBoxUI.dll></codeBase>
10.      </dependentAssembly>
11.<dependentAssembly>
12.        <assemblyIdentity name="Telerik.Windows.Documents" culture="neutral" publicKeyToken="5803cfa389c90ce7"/>
13.        <codeBase version="2013.1.220.40" href="</codeBase">http://1.1.1.1:20006/Telerik.Windows.Documents.dll"></codeBase>
14.      </dependentAssembly>
15.
19.</assemblyBinding>
20.  </runtime>

Here our symptoms:
1. If we put Telerik.Windows.Documents.FormatProviders.Html in common place, binding is not working.
2. If we put Telerik.Windows.Controls.RichTextBoxUI in common place, context menu is not working
3. If we put Telerik.Windows.Documents in common place, copy/paste not working

Now I put all of those dlls in clickonce package (removed from common IIS folder). Now not copy/working sometimes. Gives the following exception:

System.InvalidOperationException: Sequence contains no
elements

   at
System.Linq.Enumerable.Last[TSource](IEnumerable`1 source)

   at
Telerik.Windows.Documents.DocumentPositionLocationHelper.GetNearestLeafBoxByPosition(PointF
position, LayoutBox root, LayoutBox& currentSolution)

   at
Telerik.Windows.Documents.DocumentPositionLocationHelper.GetNearestLeafBoxByPosition(PointF
position, LayoutBox root, LayoutBox& currentSolution)

   at Telerik.Windows.Documents.DocumentPositionLocationHelper.GetNearestLeafBoxByPosition(PointF
position, LayoutBox root, LayoutBox& currentSolution)

   at
Telerik.Windows.Documents.DocumentPositionLocationHelper.GetLayoutBoxByPosition(PointF
position, LayoutBox root)

   at
Telerik.Windows.Documents.DocumentPosition.SetPosition(PointF position, Boolean
moveToNextIfOutOfBox)

   at
Telerik.Windows.Documents.Selection.MouseSelectionHandler.SetDocumentPosition(DocumentPosition
documentPosition, Point position, Boolean moveToNextIfOutOfBox)

   at
Telerik.Windows.Documents.Selection.MouseSelectionHandler.RegisterDocumentMouseMove(Point
position, SourceType source)

   at
Telerik.Windows.Documents.UI.DocumentPresenterBase.HandleMouseMoveOnPosition(Point
position, SourceType source)

   at
Telerik.Windows.Documents.UI.DocumentPresenterBase.Owner_MouseMove(Object
sender, MouseEventArgs e)

   at
System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)

   at
System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs
args, Boolean reRaised)

   at
System.Windows.UIElement.RaiseEventImpl(DependencyObject sender,
RoutedEventArgs args)

   at
System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)

   at
System.Windows.Input.InputManager.ProcessStagingArea()

   at
System.Windows.Input.MouseDevice.Synchronize()

   at
System.Windows.Input.MouseDevice.PostProcessInput(Object sender,
ProcessInputEventArgs e)

   at
System.Windows.Input.InputManager.RaiseProcessInputEventHandlers(ProcessInputEventHandler
postProcessInput, ProcessInputEventArgs processInputEventArgs)

   at
System.Windows.Input.InputManager.ProcessStagingArea()

   at
System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)

   at
System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd,
InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y,
Int32 wheel)

   at
System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd,
WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)

   at
System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg,
IntPtr wParam, IntPtr lParam, Boolean& handled)

   at
MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr
lParam, Boolean& handled)

   at
MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)

   at
System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback,
Object args, Int32 numArgs)

   at
MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source,
Delegate method, Object args, Int32 numArgs, Delegate catchHandler)

What's the problem, I cannot identify the problem. Can you please help ?

Thank you,
dogu
Petya
Telerik team
 answered on 20 Feb 2015
4 answers
168 views
Hi,

Trying to follow the example in your documentation of connecting the carousel to a dataset 

this.MyCarousel.ItemsSource = dsCarousel(); //My named dataset


I've created a dataset object using the 'Data Sources' option in VS2012. When I set the itemsource to the dataset name it's telling me datasource is a type but being used as a variable, which I understand.


this.RadCarousel1.ItemsSource = GetDataTable();

radCarousel1.DataMember = "Orders";
radCarousel1.ItemsSource = dataSet;


//MY CODE EXAMPLE BELOW

namespace WPFTest
{
    /// <summary>
    /// Interaction logic for MainWindow.xaml
    /// </summary>
    public partial class MainWindow : Window
    {
        public MainWindow()
        {
            InitializeComponent();

            this.MyCarousel.ItemsSource = dsCarousel();

        }
    }
}


What I don't understand is how exactly am I to interpret the example of assigning the dataset per the documentation? I can test and see data fill the dataset object using TableAdapter Config Wizard so I know it's connecting. But do I have to create this dataset completely in code to use it or am I missing or not understanding something very obvious. I'm new to windows programming and especially using WPF controls so I'm just trying to find my way here. Let me know if I've made sense at all?

Thanks in advance.

Tony








Tony
Top achievements
Rank 1
 answered on 20 Feb 2015
Narrow your results
Selected tags
Tags
GridView
General Discussions
Chart
RichTextBox
Docking
ScheduleView
ChartView
TreeView
Diagram
Map
ComboBox
TreeListView
Window
RibbonView and RibbonWindow
PropertyGrid
DragAndDrop
TabControl
TileView
Carousel
DataForm
PDFViewer
MaskedInput (Numeric, DateTime, Text, Currency)
AutoCompleteBox
DatePicker
Buttons
ListBox
GanttView
PivotGrid
Spreadsheet
Gauges
NumericUpDown
PanelBar
DateTimePicker
DataFilter
Menu
ContextMenu
TimeLine
Calendar
Installer and Visual Studio Extensions
ImageEditor
BusyIndicator
Expander
Slider
TileList
DataPager
PersistenceFramework
Styling
TimeBar
OutlookBar
TransitionControl
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
WatermarkTextBox
DesktopAlert
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
LayoutControl
ProgressBar
Sparkline
TabbedWindow
ToolTip
CloudUpload
ColorEditor
TreeMap and PivotMap
EntityFrameworkCoreDataSource (.Net Core)
HeatMap
Chat (Conversational UI)
VirtualizingWrapPanel
Calculator
NotifyIcon
TaskBoard
TimeSpanPicker
BulletGraph
Licensing
WebCam
CardView
DataBar
FilePathPicker
PasswordBox
SplashScreen
Callout
Rating
Accessibility
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?