Telerik Forums
UI for WPF Forum
8 answers
230 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
220 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
182 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
106 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
2 answers
223 views
Hi I have been browsing the forums for quite sometimes now.. I am trying to figure out how to attach RadDragAndDropManager.DropQuery
to my method under my view model. I am using Caliburn micro 

<telerik:RadTreeView Name="Nodes"
                     IsEditable="True"
                     IsLoadOnDemandEnabled="True"
                     ItemTemplate="{StaticResource ItemTemplate}"
                     ItemEditTemplate="{StaticResource EditTemplate}"
                     IsDragDropEnabled="True"
                     telerik:TreeViewSettings.DragDropExecutionMode="New"
 
                     telerik:RadDragAndDropManager.AllowDrop="True"
                     telerik:RadDragAndDropManager.AllowDrag="True" ...>
 
 
    <i:Interaction.Triggers>
        <commands:DragDropQueryRoutedEventTrigger EventName="DropQuery" EventOwnerType="{x:Type telerik:RadDragAndDropManager}">
            <micro:ActionMessage MethodName="OnDropQuery" >
                <micro:Parameter Value="$eventArgs" />
            </micro:ActionMessage>
        </commands:DragDropQueryRoutedEventTrigger>
    </i:Interaction.Triggers>
 
</telerik:RadTreeView>

my method is something like this:

public void OnDropQuery(DragDropQueryEventArgs args)
{
    ...
    ...
    args.Handled = true;
}

but method is not being called... any ideas?

Konrad
Top achievements
Rank 1
 answered on 02 Jan 2014
1 answer
163 views
We are using the telerik:StyleManager.Theme = "Windows8Touch" for TextBox.
The validation errors using IDataErrorInfo are being displayed as seen in the attached screenshot.
Is there a way to have the flyouts automatically align to the Left of the control, if there is no space on the right?
Vanya Pavlova
Telerik team
 answered on 01 Jan 2014
1 answer
217 views
Hi,

We  are using Telerik TreeView in which checkbox have been added. When we enter the space bar, check box is not checked.
But when we enter three times space bar then checkbox will be checked.
The same scenario, when we trying to simple WPF tree view control all working as well. But in Telerik Treeview we have noticed, while entering the space bar in first hit Index will be focused, in second hit focus will be lost and when we enter third time space, the checkbox will be checked.
NOTE: In our treeview control have not child items of their parents.
 I have tried lots but no effect....

Please help Is it either Telerik Treeview issue or we are missing something.
Tina Stancheva
Telerik team
 answered on 31 Dec 2013
3 answers
103 views
I use ObservableCollection<XElement> as ItemsSource. I found that the Group Panel does not accept selected column headers. Is there any possibilities that i can still use XElement as DataSource.
Dimitrina
Telerik team
 answered on 31 Dec 2013
1 answer
84 views
When I update Itemssource about 300ms to add one point to ScatterLine,but when add A few minutes,the view occurred some  block,
could you Have Solution?


Pavel R. Pavlov
Telerik team
 answered on 30 Dec 2013
1 answer
134 views

Hi ,
Am using a RadGridview control to populate my data and using the ElementExporting event to customize the data while exporting to Excel.

My customization need goes like, I want to add some metadata(some info the grid like report name, date generated, owner etc , at the top A1 cell ) to the grid data that is getting exporting . beneat that my actual grid data should be shown, and it should be sorted as my need.
I could able to append the metadata using the

grdRiskClarityReport.Export(stream,

new GridViewExportOptions()

{

Format=

ExportFormat.Html,

ShowColumnHeaders =

true,

ShowColumnFooters =

true,

ShowGroupFooters =

false,

});


and my event goes like this,

private void grdRiskClarityReport_ElementExported(object sender, GridViewElementExportedEventArgs e)

{

if (e.Element == ExportElement.HeaderCell && temp== 0)

{

// if (obj != null)

{

e.Writer.Write(

String.Format(@"<tr><td style=""background-color:#CCC;"" colspan=""{0}"">","dfdfd"));

e.Writer.Write(

String.Format(@"<b>Proposal Name:</b> {0} <br />", "dfdfd")); //need to input properdata

e.Writer.Write(

String.Format(@"<b>Proposal Status:</b> {0} <br />", "dfdfd"));

e.Writer.Write(

"</td></tr>");

temp = 1;

// using the restrict the metadata to the first cell

}

}

}



Could you please provide me a sample in wpf version that serves my need ?


Thanks in advance,
Srinivas J
Yoan
Telerik team
 answered on 30 Dec 2013
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
PersistenceFramework
DataPager
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
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?