Telerik Forums
UI for WPF Forum
1 answer
121 views
I customized my WPF app's Windows8Touch theme with a compete palette of colors -- that is I set up the Windows8TouchPalette at startup before the main windows shows.  In my palette, the background is dark and the foreground is light. 

I've had it this way for years and it works quite well.  But the whenever I set the RadToolTipService.ToolTipContent property on  any control using just a string, I get a white background fpr tje text.  So I am forced to specifically create a full UI for it or use the ToolTipContentTemplate.   It looks like the default settings for that do not honor my colors

Is there some Telerik-specific control type that I can set a default style for that will fix this issue?  Kinda like how I can style `RadAlert` or `RadPrompt` for those dialogs?

(Note that I am using the binaries with XAML in them so I use the StyleManager to theme things, if that matters.  Where I feel the need I copy the Telerik styles out of your XAML files for my theme and customize them. )
Martin Ivanov
Telerik team
 answered on 29 Mar 2023
1 answer
133 views

Hi,

I need to export a chart to pdf without displaying it as part of a background task. Right now I'm having an issue where the chart appears blank when passed through the image saving process I've seen on your demo's. Looking at the code, it has all the values it needs it just isn't being built since it isn't displayed. Is there any way around this?

Thanks,

Frank

Martin Ivanov
Telerik team
 answered on 28 Mar 2023
1 answer
414 views

Hi,

I'm working with a GridView where some Editing cells are a lot wider than the Cell. The GridView resize correctly to fit the editing mode but doesn't resize correctly when edit is completed.

I tried to set the Column Width to Auto, in the GridView and individually in each column, but the calculation for optimal width seems to be chaotic and triggered but some other actions on the GridView.

Is there a way in code behind to iterate through each column and trigger a width calculation?

 

Thank you for your help

Vladimir Stoyanov
Telerik team
 answered on 28 Mar 2023
0 answers
128 views
Hello, I am using Radspreadsheet for WPF. I need once I import data, I attach checkbox at the last column in each row.
This is what I have done so far:

            
    int rowCount = importxls.ActiveWorksheet.UsedCellRange.RowCount;
                int lastcolumn = importxls.ActiveWorksheet.UsedCellRange.ColumnCount;

                MessageBoxResult result = MessageBox.Show(rowCount.ToString());

                // Create a new checkbox and set its properties
                CheckBox checkbox = new CheckBox();
                checkbox.IsChecked = true;
                checkbox.VerticalAlignment = VerticalAlignment.Center;
                checkbox.Margin = new Thickness(5, 0, 0, 0);

                DependencyProperty chkBox = DependencyProperty.Register(
                      "Select", typeof(bool), typeof(CheckBox),
                      new UIPropertyMetadata(checkbox.IsChecked));

                for (int rowIndex = 0; rowIndex < rowCount; rowIndex++)
                {
                    
                    // Add the checkbox to the current row
                    RowSelection rowSelection = importxls.ActiveWorksheet.Rows[rowIndex];
                    CellIndex cellIndex = new CellIndex(rowIndex, lastcolumn);
                    CellSelection cellSelection = rowSelection.Worksheet.Cells[cellIndex];

                    cellSelection.SetValue(DateTime.Now); //checkbox should be here

                }


Where am I supposed to modify?
Cheruiyot
Top achievements
Rank 1
 asked on 27 Mar 2023
1 answer
110 views

I just started to work with the ScheduleView, so maybe this is a newbie question.

I want to create an appointment after I have selected a timerange in the ScheduleView (on MouseUp). I need the corresponding resources to be set, but apart from that only start and end should be set on the new appointment.

Should I involve the DragDropManager or can it be solved with events on the ScheduleView only?

Best regard

Ola Nygren

Stenly
Telerik team
 answered on 24 Mar 2023
1 answer
131 views

Our QA Team identified a bug and we were able to replicated on Telerik Control Example Application. we have being trying to fixit but so far we have not found a solution to the problem.

Replication Steps(please see video and gif attached):

  1. Open a RadComboBox
    1. RadComboBox with many items (enough items to trigger the scrollbar or set a max width to trigger it)
    2. RadComboBox using Windows 11 Theme
  2. Place the mouse between two items
  3. Scroll without moving the mouse

Is there any way of fixing this from our end?

Kind regard

Julio

Stenly
Telerik team
 answered on 24 Mar 2023
1 answer
117 views

Hello,

 

We experienced very slow startup times for our WPF Telerik app recently (~50 seconds).

I have attached a project to replicate the problem. It only happens sometimes, but when it does, the simple demo app takes up to 30 seconds to boot up (not counting build time). This happens with and without the debugger.

In the screenshot "telerik_debug_logs.png", we can see that the app decides to load 30+ Telerik DLLs, almost none of which are necessary for this tiny app. Loading all these DLLs takes time, most notably the first one (Telerik.Window.Controls.dll) which seems to take 5.9 seconds on it's own.

Interestingly enough, when we comment out the drag drop animation storyboard, only 2 of Telerik DLLs are loaded. See screenshot "telerik_debug_logs_NO_ANIMATION.png".

 

Is this expected behavior ? Is there something I can to to mitigate the long startup times ?

 

Config:

  • .NET 7 (also tested in .NET 6)
  • Telerik UI for WPF (XAML) v2023.1.117
  • VS 2022 v17.5.2

 

 

Best regards,

Julien G

 

 

 

Vladimir Stoyanov
Telerik team
 answered on 23 Mar 2023
1 answer
106 views

Hey :) 

is it possible, to let a RadToolBarTray or RadToolBar automatically use a second row if there is not enough space?
I know I can manuelly set Bands but then it will be always 2 rows. Even if there would be enough space. 

Greetings

Benedikt

Stenly
Telerik team
 answered on 21 Mar 2023
1 answer
119 views

Hi,

Is it possible to export two radgridview in the same file excel on different worksheet?

Thank you

Luigi

Martin Ivanov
Telerik team
 answered on 20 Mar 2023
2 answers
109 views

[edit: I meant "Modal" Editor and not "Model" editor in the title but I can't update]

Hi,

 

as I know you can use a custom modal editor with an Editor attribute that is declared on a property. Is it possible to use a modal editor with a programmatic approach with PropertyDefinition? I have a dynamic class where I do not have the possibility to declare attributes on properties. On the PropertyDefinition class there is an EditorTemplate property. I managed to use this. But only "in cell" and not modal. Is that possible?

Best regards,

Oliver

OBollmann
Top achievements
Rank 2
Iron
 answered on 20 Mar 2023
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?