Telerik Forums
UI for WPF Forum
1 answer
313 views
Hi. 

<telerik:GridViewDataColumn DataMemberBinding="{Binding ActVoltage,TargetNullValue=NA}" DataFormatString="0.###" Header="Actual Voltage"/>

Normal output is that I want this column to only show three decimals. However, when the underlying value is null, I want it to show the text "NA". 
It seems that I can't have both. When I included the formatstring, "NA" stopped showing up. I understand why, but not how to solve it.

The underlying type is nullable double.
Dimitrina
Telerik team
 answered on 16 Oct 2012
3 answers
101 views
Hi,

I'm using VS2005 / .Net 3.5 and Telerik V2012.1.0326.35 and sometime, when I clicked on the filter dialog icon in the column header of my radgridview, the filter dialog appear not completly.

Picture enclose...
Thank's
Dimitrina
Telerik team
 answered on 16 Oct 2012
2 answers
144 views
Hi,

My document contains a lot of custom annotations, where each annotation has self generated unique ID.
Is it possible to bring a defined annotation into view based on its ID value?

i.e. If the annotation in question is at the top of the first page, but currently I have the last document page in view, can I make radrichtextbox auto scroll to the annotation when required?

Is it just the case of enumerating through the document searching for the specific annotation ID then setting the caret position to the position of the found annotation field?

foreach (AnnotationRangeMarkerBase annotationMarker in paragraph.EnumerateChildrenOfType<AnnotationRangeMarkerBase>().ToList<AnnotationRangeMarkerBase>())
{
     //....
     //Move caret to annotation if ID field is a match
     //....
}


Thank you for your time,

Rob
Robert
Top achievements
Rank 1
 answered on 16 Oct 2012
1 answer
125 views
Dear Telerik Team,

we use the ScheduleView and have found a little problem.

When you open the calender, and look at the week numbers you will recognize that
the week numbers are always 1 Week higher than in reality.

That's why, because the calender starts in January with Week Number 2 (see attached Screenshot)

I found a post in you forum, that this ahppens because of the ISO Standard of the Culture Info

http://www.telerik.com/community/forums/aspnet-ajax/calendar/week-numbers-is-wrong.aspx


Is there any way to tell the WPF control also to use the right ISO Standard ?

best regards
Rudi
Vladi
Telerik team
 answered on 16 Oct 2012
1 answer
184 views
Dear staff, 
  A control button RadRichTextBoxRibbonUI was created to display or hide the comments.
  In the codebehind is intercepted on the click event of the button and the code is executed:

private void RadRibbonButton_Click(object sender, RoutedEventArgs e)
 {
     editor.ShowComments = !editor.ShowComments
     
 }

The code runs but the view does not update, or do not see the comments.
It 'Need to refresh particular?

Thank you!

A.
Alex
Telerik team
 answered on 16 Oct 2012
1 answer
89 views
hello,

i wanna use book control in my app, but i have a problem,

i want to add usercontrol to book control instead of image or other thing but

one page in book is small for my usercontrol,can i add my usercontrol in two page ?

Best Regards
Tina Stancheva
Telerik team
 answered on 16 Oct 2012
1 answer
112 views
In the scenario we are working with, we have a grid that displays some dynamic content, and then we have our 'help' using RadPane docked to the right.

I'm using RadDocking to host the RadSlitContainer which houses the RadPane (our help pane), but not able to get it adopt the styles I apply unless it is nested inside the DocumentHost element.

The issue is, My scroolviewer of dynamic content only seems to work with RadDocking if it is nested in the DocumentHost element, with the RadSplitContiner outside.  Reversing these produces ill results--no resizing when the dock is pinned, etc.

I've attached a screen grab of my heierachy...can someone point me in the right direction of how to properly set this up so that my dynamic content will dominate but then resize should the user pin the expanded dock on the right?

Is it normal behaviour for RadPanes to ignore assigned styles when outside of DocumentHost?

Vladi
Telerik team
 answered on 16 Oct 2012
2 answers
403 views
Hi,

I have a combobox (with checkboxes inside it) that is inside a RadToolbar. I have an issue where the combobox always closes when a checkbox is checked. I've noticed that when the combobox is not inside a Toolbar then it will stay open to allow me to select multiple checkboxes. I would like to have the CB inside the toolbar so I'm looking for a fix. Is this a bug? Is there a fix?

<telerik:RadToolBar>
    <telerik:RadComboBox Name="rcbProjectTypes"
        Width="120" Margin="3,1,0,1"
        ItemsSource="{Binding Path=RequestTypesSelection}"
        SelectionChanged="rcbShouldNotChange_SelectionChanged">
        <telerik:RadComboBox.ItemTemplate>
            <DataTemplate>
                <CheckBox Content="{Binding Path=Content}" Tag="{Binding Path=Id}"
                IsChecked="{Binding Path=IsChecked, Mode=TwoWay}"
                Checked="RequestTypesCheckBox_Checked" 
                Unchecked="RequestTypesCheckBox_Checked"/>
            </DataTemplate>
        </telerik:RadComboBox.ItemTemplate>
    </telerik:RadComboBox>
</telerik:RadToolBar>


Thanks

Peter
Top achievements
Rank 1
 answered on 15 Oct 2012
0 answers
177 views
Hello there,

I need to dynamically draw a RadDiagramShape nested in a RadDiagramShape. I need to allow user move the internal/inner RadDiagramShape (just like the outer/container RadDiagramShape can be moved within the RadDiagram). I created a custom WPF control and I set its ContentControl property as a Canvas. Then I'm adding all children to the canvas Children collection from code behind.
The problem is that the added RadDiagramShape controls can not be moved/manipulated within the nested Canvas.
How do I allow this nested RadDiagramShape to be moved?

Thanks,


javier
Top achievements
Rank 1
 asked on 15 Oct 2012
4 answers
176 views

Hi,

I'm using Telerik V2012.1.325.35 and I have a strange behaviour with my RadCarousel component.
 
In our application we have a RadGridView and beside de RadGridView we have a RadTabControl with 2 TabItems, in the first TabItem I have a RichTextBox and in the second RadTabItem I have a RadCarousel. When I click on one Item in my GridView, I load 2 images on disk, for both image, I create and object of type "InterDependencyImage" (definition at the end) and I added to my carousel using the following piece of code:

    var img = pPdf as InterDependencyImage;
    img.Image = new Image();
    img.Image.Source = img.Frame;    
    theCarousel.Items.Add(img);

When the loading images process ended, I click on my RadTabItem containing my RadCarousel and I can see my 2 images. The first one is perfectly visible but the 2nd one is blank!!! If I scroll the blank image outside the RadCarousel and I scroll it back into the view portion of the RadCarousel, I can see it perfectly now!!!

I'm I missing something???

Thank's

    public class InterDependencyImage
    {
        #region Contructors.
        public InterDependencyImage()
        {
            No = 1;
            TotalImages = 1;
            Notes = "";
            Type = "";
            PrimaryImageGUID = Guid.Empty;           
        }
        #endregion

        #region Public properties.
        public int No { get; set; }
        public int TotalImages { get; set; }
        public Image Image { get; set; }
        public BitmapFrame Frame { get; set; }
        public string Notes { get; set; }
        public string Type { get; set; }
        public Guid PrimaryImageGUID { get; set; }
        #endregion
    }

Oliver
Top achievements
Rank 1
 answered on 15 Oct 2012
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
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?