These two events do not appear in the VS Events Property Grid
TaskCardSelecting
TaskCardSelected
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;
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?
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
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
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
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?
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
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.
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?