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?
Hi,
I was wondering if with the Bing Search feature in radmap is possible to get a Postal Code inputting an address (eg: City, Nation and street)...
Any idea?
Thank you
Adding a button collumn to the grid that passes the 10th collumn with this method the 11th overlaped the 10th a a 11th is created empty
Any ideias
GridViewCommandColumn commandColumnV5 = new GridViewCommandColumn();
commandColumnV3.Name = "CommandVer5";
commandColumnV3.UseDefaultText = true;
commandColumnV3.DefaultText = "Rejeita";
commandColumnV3.HeaderText = "Regeita";
commandColumnV3.Width = 20;
grdDocumentos.MasterTemplate.Columns.Add(commandColumnV5);
Hello,
I've started using the Telerik UI WinForms Map control, and have seen some samples using MapRectangle.
However, I can't find this class anywhere in the Telerik namespaces. All I can find is MapPolyline and MapPolygon.
My referenced assemblies are:
Telerik.WinControls.dll
Telerik.WinControls.RadMap.dll
Telerik.WinControls.UI.dll
Am I missing an assembly reference?
I appreciate any guidance you can provide.
I'm using RadGridView for WinForms. How do I get the DataRow object from the RowsChanged event below?
private void radGridView2_RowsChanged(object sender, GridViewCollectionChangedEventArgs e)
{
if (e.Action != NotifyCollectionChangedAction.Reset)
{
DataRow myRow = ????
}
}
Thanks!