Telerik Forums
UI for WPF Forum
1 answer
145 views
Hi,

I have encountered a strange behavior if i put AutocompleteBox inside a scrollviewer, 

when the dropdown is open and i perform a scroll on the parent scrollviewer, the dropdown is disconnected with the textbox, it seems that the dropdown doesnot scroll together with textbox. 

Please see the attached image
Yana
Telerik team
 answered on 07 Jan 2014
6 answers
386 views
I tried to bind ClearCommand with my own command, but the handling method never fires, instead it seems the original handler still fires and clears the input. Does binding works on ClearCommand?

Here is my view model code:
public DelegateCommand ClearCriteriaCommand { get; set; }

and setup:
ClearCriteriaCommand = new DelegateCommand(o => ClearCriteria());

here is the binding:
<RadMaskedTextInput Name="txtSearchField" Value="{Binding Path=SearchCriteria, Mode=TwoWay}" ClearCommand="{Binding Path=ClearCriteriaCommand}" AcceptsReturn="False" EmptyContent="Enter Search Term">
Petar Mladenov
Telerik team
 answered on 07 Jan 2014
1 answer
143 views
Hello,
create a new WPF application, add references to Telerik.Windows.Controls and Telerik.Windows.Themes.Office2013.

Then, replace App.xaml with:
<Application
  x:Class="WpfApplication1.App"
  StartupUri="MainWindow.xaml">
 
  <Application.Resources>
    <ResourceDictionary>
 
      <ResourceDictionary.MergedDictionaries>
        <ResourceDictionary Source="/Telerik.Windows.Themes.Office2013;component/Themes/System.Windows.xaml"/>
        <ResourceDictionary Source="/Telerik.Windows.Themes.Office2013;component/Themes/Telerik.Windows.Controls.xaml"/>
      </ResourceDictionary.MergedDictionaries>
 
    <Style x:Name="MyBorderStyle" TargetType="Border">
      <Setter Property="BorderBrush"     Value="Black" />
      <Setter Property="BorderThickness" Value="1" />
    </Style>
 
    </ResourceDictionary>
  </Application.Resources>
 
</Application>

Replace MainWindow.xaml with:
<Window
  x:Class="WpfApplication1.MainWindow"
  Title="MainWindow" Height="350" Width="525">
  <tk:RadListBox Margin="10">
    <tk:RadListBoxItem Content="One" />
    <tk:RadListBoxItem Content="Two" />
    <tk:RadListBoxItem Content="Three" />
  </tk:RadListBox>
</Window>

Run the application: the list box items have a black border around them, as defined in the border style. But that's wrong because this is not a default style, so it should not be applied in this case.

Patrick
Patrick
Top achievements
Rank 2
Iron
Iron
Iron
 answered on 07 Jan 2014
1 answer
85 views
Hi, I'm using the latest 2013.3 1204 version and I noticed that the call order of the RadPane events has been changed.
In the previous versions, I suppose that the ActivePaneChanged event was first fired and then the Activated event, but in the latest version this order was changed. Am I right? I want to know if this change will be consistent in the upcoming versions as this will cause a substantial change in my application. Thanks!
George
Telerik team
 answered on 07 Jan 2014
6 answers
547 views
Hi,

I'm using the lates version of Telerik and I would like to change the theme to Office2013 of my usercontrol in the constructor so how I can achieve this ?!?

Thank's
Alain
Christie Admin
Top achievements
Rank 1
 answered on 06 Jan 2014
1 answer
215 views
I have an application base on ArcGIS API. Now I want to use rad control, as you know ArcGIS MapPoint used geometry , but I see radmap used geography. How can I convert ArcGIS MapPoint to RadMap Location?

Thanks!
Tsvetie
Telerik team
 answered on 06 Jan 2014
8 answers
257 views
Hi,

i'm using radscheduleview and appointments with custom resources:

private IEnumerable<IResource> resourcesStatus;
 
this.resourcesStatus = new List<IResource>
{
      new Resource(Klassen.Language.GetTextbyCode("Erfasst"), "Status"),
      new Resource(Klassen.Language.GetTextbyCode("Aktiv"), "Status"),
      new Resource(Klassen.Language.GetTextbyCode("Fertig"), "Status"),
};
 
ResourceType resourceTypeStatus = new ResourceType("Status");
resourceTypeStatus.Resources.AddRange(this.resourcesStatus);
 
this.resourceTypes.Add(resourceTypeStatus);

How do i add a selection change event for the resource (If i change the resourceStatus in the AppointmentDialiog, i want to do something)?

Thanks a lot
Best Regards

Merry X-MAS
Yana
Telerik team
 answered on 06 Jan 2014
2 answers
244 views
Hello,

i have only one ToolBar in my View and some items in it. The task is to reorder the items with Drag&Drop function.
Unfortunately i can not found a attribute of RadToolBar to implement it. With telerik DragDropManager works the ToolBar-reorder neither.

Have i missed something or it is no easy to implement it?

Any help will be thankful.

Ivan
Ivan
Top achievements
Rank 1
 answered on 03 Jan 2014
1 answer
208 views

Hello,



We have Q3 2012. 



I'm trying to use a static property to specify the ResultFormatString for an AggregateFunction,

<telerik:GridViewDataColumn.AggregateFunctions>
        <telerikData:SumFunction ResultFormatString="{x:Static l:CustomFormat.CurrencyWithMinus}"/>
</telerik:GridViewDataColumn.AggregateFunctions>

But the property's value (e.g. $#,##0.00) is displayed as a literal in the gridview cell.

We can't use the string format "c" because we need negative values to be prefixed with "-"
rather than having parentheses around them. Can you please tell me if there's some way to make this work?

Thanks much!










E Pons
Top achievements
Rank 1
 answered on 03 Jan 2014
1 answer
126 views
For using Commands with DataForm, i need references of buttons which with a "PART_" prefix.
Find DataForm.FindName("PART_CommitButton")" returns null. Is there any way?
Zhang
Top achievements
Rank 1
 answered on 02 Jan 2014
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
NavigationView (Hamburger Menu)
Wizard
ExpressionEditor
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
Callout
PasswordBox
SplashScreen
Localization
Rating
Accessibility
CollectionNavigator
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
InlineAIAssistant
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?