HI,
Please help
Language: VB.Net
DB: MySql
Application type: Document Management
How to save the loaded pdf file into MySql table and retrieve the same in same PDF Viewer? I have successfully saved the image from a picture box to SQL server DB (field datatype: image). I am very new to MySQL. recommend the data type also.
Thank you very much
Arun

Hello!
Do you have an example of a edit control which has custom drop-down area (I need something like RadCalculatorDropDown but with my own content of drop-down area)?
Thank you!

It is VERY important to us that PDF documents print to scale.I have read through the posts here and am still having the problem.
I am printing to a printer that has 0.16 in margins all around. The page size is 8.5 x 11. The drawing border is 8 x 10.5 (which would allow margins up to 0.25")
There are 2 images attached. Each shows an architect scale against the print out. One for Adobe, one for RadPrintDocument.
The Adobe prints to scale (the 120" wall at 1/2" scale shows 10 (10 feet). The RadPrintDocument is short as it is automatically scaling the PDF file down.
Also attached is the PDF file I am using for this example. Correction: PDF not attached as not allowed to attach to forum posts.
How can I stop that scaling please and always print to 100% scale please?
The code we are using:
RadPdfViewer rViewer = new RadPdfViewer();
rViewer.DocumentLoaded += RViewer_DocumentLoaded;
rViewer.LoadDocument(@fileLocation + fileName);
rViewer.LoadElementTree();
Application.DoEvents();
private static void RViewer_DocumentLoaded(object sender, EventArgs e)
{
RadPrintDocument document = new RadPrintDocument();
document.Landscape = true;
document.DefaultPageSettings.PrinterSettings.Copies = 1;
document.DefaultPageSettings.Margins = new System.Drawing.Printing.Margins(0, 0, 0, 0);
document.AssociatedObject = (sender as RadPdfViewerElement);
document.Margins = new System.Drawing.Printing.Margins(0, 0, 0, 0);
document.DefaultPageSettings.Margins = new System.Drawing.Printing.Margins(0, 0, 0, 0);
document.OriginAtMargins = true;
document.HeaderHeight = 0;
document.FooterHeight = 0;
document.Print();
}
Thank you!!!

OS: Windows 7
Scale Settings: 135% (1.35 in DPI Scale)
Spotted problems:
1) radSplitContainer, collapsible - when collapse/restore first panel it restores 1.35 larger than it was.
2) CommandBarElement.SaveLayout/RestoreLayout - restores elements in a wrong position. Elements that aren't aligned with left or top border will be moved right and bottom correspondingly. I guess it saves position adjusted to DPI Scale, but restores as not adjusted
Both can be easily reproduced with QuickStart example (e.g. split container). Repeats on the current prod version and on the current xxx.308 beta.

Hello!
I have the following RadTreeView and I would like to know if it's possible to remove duplicate sub-nodes. Here is how my tree looks like.
[MAIN NODE 1] | (text = Main Node 1) | Name = Node1
[SubNode1]
[SubNode1]
[SubNode2]
[MAIN NODE 2] | (text = Main Node 2) | Name = Node2
[SubNode1]
[SubNode1]
[SubNode2]
How would I loop through all the main nodes and remove all the duplicate child nodes?
I created my main node dynamically through code and do not store their .Name property so I cannot just use RadTreeView.Nodes(MainNode)
Is there something like..
For Each MainNode In RadTreeView1.MainNodes
Loop through and delete child nodes if there is a duplicate
Please take a look at this example :
Change the appearance of the buttons in GridViewCommandColumn
I want to create buttons with `Delete` text of every buttons.
But when i create a CommandColumn in GridView text of every button is empty.
Where can we set Button's Text?
Thanks in advance

After binding the data, what do I do when I automatically empty the text in the raddropdownlist control as soon as I type the wrong option?
I used the following code to customize the raddropdownlist control, but it didn't work
Public Class clsHYCombo
Inherits Telerik.WinControls.UI.RadDropDownList
Public Property RestrictContentToListItems As Boolean = True
Protected Overrides Sub OnValidating(e As System.ComponentModel.CancelEventArgs)
If RestrictContentToListItems AndAlso Me.Items.Count > 0 Then
Dim index As Integer = Me.FindString(Me.Text)
If index > -1 Then
Me.SelectedIndex = index
Else
e.Cancel = True
Me.Text = ""
'Beep()
End If
End If
MyBase.OnValidating(e)
End Sub
'Protected Overrides Sub OnKeyPress(ByVal e As KeyPressEventArgs)
' MyBase.OnKeyPress(e)
' If RestrictContentToListItems AndAlso Me.Items.Count > 0 Then
' Dim index As Integer = Me.FindString(Me.Text)
' If index > -1 Then
' Me.SelectedIndex = index
' Else
' Me.Text = ""
' 'Beep()
' End If
' End If
'End Sub
'Protected Overrides Sub OnTextChanged(ByVal e As EventArgs)
' MyBase.OnTextChanged(e)
' If RestrictContentToListItems AndAlso Me.Items.Count > 0 Then
' Dim index As Integer = Me.FindString(Me.Text)
' If index > -1 Then
' Me.SelectedIndex = index
' Else
' Me.Text = ""
' 'Beep()
' End If
' End If
'End Sub
End Class
Hello everyone,
When I use the GridView control, if a column is decimal, it can only display two decimals, and the third one rounds; but this is not what I want, I want it to display
three or four decimals, and I don't know how to solve it.
Hello everyone,
When I use the RadMenu control Add New Item, after opening a Form1 through the menu item, the interface Form1 is displayed on the display every time
behind the main interface. This is not what I want; I want it to be displayed in front of the main interface.I hope everyone can help me, thank you.
we have the following property:
private Size _picSize = new Size(1272, 787);
public Size PicSize
{
get => _picSize;
set => value;
}
if in the radpropertygrid for this property to remove the height and semicolon, press <enter>, an error occurs:
System.ArgumentException: Не удается разобрать текст "1000". Ожидаемый формат текста: "Width,Height".
в System.Drawing.SizeConverter.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value)
в Telerik.WinControls.UI.PropertyGridItem.ConvertValue(Object value, Object& convertedValue)
в Telerik.WinControls.UI.PropertyGridItem.set_Value(Object value)
в Telerik.WinControls.UI.PropertyGridTableElement.EndEditCore(Boolean commitChanges)
в Telerik.WinControls.UI.PropertyGridTextBoxEditor.OnLostFocus()
