Telerik Forums
UI for WinForms Forum
1 answer
168 views

These two events do not appear in the VS Events Property Grid

TaskCardSelecting

TaskCardSelected

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 12 Oct 2021
1 answer
254 views

Hello,

I want to change the 'Dock Button' image in the floating window of RadDock. I tried setting it to the RadImageButtonElement.Image and also RadImageButtonElement.ImagePrimitive.Image. But still, it is not working. How do we change it ?

dockButton.AutoSize = false;
dockButton.Size = new Size(24, 14);
dockButton.DisplayStyle = DisplayStyle.Image;
dockButton.Image = Resources.Pin;               
dockButton.ButtonFillElement.BackColor = Color.Transparent;
dockButton.ImagePrimitive.AutoSize = false;
dockButton.ImagePrimitive.Size = new Size(14, 14);
dockButton.ImagePrimitive.Image = Resources.Pin;

Dimitar
Telerik team
 answered on 11 Oct 2021
1 answer
171 views

I don't see TaskBoard and RadFilterView in the toolbox even though it says it's in the latest release.

Is it only for .Net 5 and above - that doesn't seem to be mentioned in the documentation or release notes.

If it can be used in .NET 4.x - how can I manually add them to the toolbox?  What .dll to I use to add them?

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 11 Oct 2021
1 answer
248 views

Is there any way we can add a context menu to a card?

It would be nice to be able to be able to right-click on a card and have a context menu so that we can modify portions of the Card. 
E.g.,
Add/Remove User
Update Title
Update Sub Title
Add/Remove Tags

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 11 Oct 2021
1 answer
380 views

Hi,

Memory leakage issue found while disposing form that added in RadPageView Control.  But the memory not decresed even I disposed form and RadPageViewPage object. Please Help. I am attaching sample project and demo video with question.

Following are the code samples

Adding from to PageView

            frmSales frm = new frmSales();
            frm.Dock = DockStyle.Fill;
            frm.TopLevel = false;
            frm.TopMost = true;
            frm.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
            var page = new RadPageViewPage();
            page.Controls.Add(frm);
            radPageView1.Pages.Add(page);
            radPageView1.SelectedPage = page;
            frm.Show();

 

Removing Form from PageView

 RadPageViewPage page = radPageView1.Pages[radPageView1.Pages.Count - 1];
                    RadForm frm = (RadForm)page.Controls[0];
                    frmSales obj = (frmSales)frm;
                    radPageView1.Pages.Remove(page);
                    page.Dispose();
                    page = null;
                    obj.ClearMem2();
                    obj.Close();
                    obj.Dispose();
                    obj = null;
                    GC.Collect();
                    GC.WaitForPendingFinalizers();
                    GC.Collect();

Any help will be very appreciated. Thanks  in advance

Todor
Telerik team
 answered on 08 Oct 2021
1 answer
124 views

hi 

is there any way to display the parent titles page in a red bold style font and the subpage title in a regular black font programmatically in hierarchy navigation view mode

thanks in advanced

regards

Dimitar
Telerik team
 answered on 08 Oct 2021
1 answer
183 views

 

 

I am running Telerik Theme Viewer for WinForm where RadTreeView is not working correctly for Office2019Dark Theme (setup: "Telerik_UI_For_WinForms_2021_3_914_Trial.msi").

Is this a bug or something else?

 

 

 

Dimitar
Telerik team
 answered on 07 Oct 2021
1 answer
93 views

Hello.

I import a HTMLBody to a RadDocument. It's coming from Outlook.MailItem, so I also have attachments.

Dim provider As HtmlFormatProvider = New HtmlFormatProvider()
Dim doc = provider.Import(currentMail.HTMLBody)

The HTMLBody contains something like this:

<img src="cid:ii_kuchydn60" alt="logo.jpg" width="145" height="89">

So the displayed image element is just a rectangle with a red x.

Is there a way to also import an image / Outlook.Attachment to the document (other than saving the attachment and then modifying src property of img tag)?

Edit: based on Tanya's answer I was able to do this, it works but I'm not sure how safe it is:


 Private Sub LoadImageFromUrl(sender As Object, e As LoadImageEventArgs)

        Dim att = (From a As Attachment In currentAttachments Where a.FileName = e.ImageElement.Alt).FirstOrDefault

        If att IsNot Nothing Then
            Dim tempFile = IO.Path.GetTempPath + att.FileName
            att.SaveAsFile(tempFile)
            e.ImageElement.UriSource = New Uri(tempFile)
            e.Handled = True
        End If

    End Sub

Jure

Jure
Top achievements
Rank 2
Iron
Iron
Iron
 updated question on 06 Oct 2021
1 answer
136 views

For the application we want to customize the windows form title bar with showing product name, logo and license information and other details. As it is not possible with windows form title bar to do customization, we are using RadTitleBar on windows form. But if we used RadTitleBar and FormBorderStyle as Sizable, the application window is not showing in full screen and not able to resize the window. Sample application is attached. 

Please let us know solution using RadTitleBar and get the main application window show full screen, as well allow resize the window and in windows taskbar when mouse over on the application it has to show the title bar text also, like any other windows form application behaviour.

We are using Telerik 2019.2 winforms licensed version, any immediate help will be appreciated.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 05 Oct 2021
1 answer
131 views

Hi there,

Is it possible to display part of the world in a radMap by providing coordinates (X1, Y1) to (X2, Y2)  rather than showing the whole world  ?

 

example in the attached file. So the user should not be able to see more than the displayed area. User is able to zoom in but cannot zoom out to see more parts of the earth. Any suggestions?

 

Stoyan
Telerik team
 answered on 01 Oct 2021
Narrow your results
Selected tags
Tags
GridView
General Discussions
Scheduler and Reminder
Treeview
Dock
RibbonBar
Themes and Visual Style Builder
ChartView
Calendar, DateTimePicker, TimePicker and Clock
DropDownList
Buttons, RadioButton, CheckBox, etc
ListView
ComboBox and ListBox (obsolete as of Q2 2010)
Chart (obsolete as of Q1 2013)
Form
PageView
MultiColumn ComboBox
TextBox
RichTextEditor
PropertyGrid
Menu
RichTextBox (obsolete as of Q3 2014 SP1)
Panelbar (obsolete as of Q2 2010)
PivotGrid and PivotFieldList
Tabstrip (obsolete as of Q2 2010)
MaskedEditBox
CommandBar
PdfViewer and PdfViewerNavigator
ListControl
Carousel
Diagram, DiagramRibbonBar, DiagramToolBox
GanttView
Panorama
New Product Suggestions
Toolstrip (obsolete as of Q3 2010)
VirtualGrid
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
ProgressBar
CheckedDropDownList
TrackBar
MessageBox
Rotator
SpinEditor
StatusStrip
CheckedListBox
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
DataEntry
ScrollablePanel
ScrollBar
WaitingBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Barcode
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
NavigationView
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
Licensing
BarcodeView
BreadCrumb
Security
LocalizationProvider
Dictionary
Overlay
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
SplashScreen
ToolbarForm
NotifyIcon
DateOnlyPicker
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?