I just can't seem to get my PDF to load. I amcreating a RadFixedDocument.
If I export it to a file, and load it to the viewer, it works just fine:
using (var stream = File.OpenWrite(resultFile)) { PdfFormatProvider provider = new PdfFormatProvider(); provider.Export(pdf, stream); } pdfXactReport.LoadDocument(resultFile);
Seems like this should work, what am I missing??
using (var saveToMS = new MemoryStream()){ PdfFormatProvider provider = new PdfFormatProvider(); provider.Export(pdf, saveToMS); pdfXactReport.LoadDocument(saveToMS);}
Hello,
After having Designer issues (i hacked the designer) i removed my UserControl who was the problem; i created a new one wich is the exact (mostly) same UserControl. But when i want to create a new RadGridView i'm getting this error:
Unable to create component 'RadGridView'.
'System.Runtime.InteropServices.COMException (0x8004D45); A reference of 'Telerik.WinControls.GridView already existe in the project.
at VSLangProj.References.Add(String bstrPath)
at Microsoft.VisualStudio.Design.VSTypeResolutionService.PerformReferenceUpdate(List'1 newReferences)
at Microsoft.VisualStudio.Design.VSTypeResolutionService.SystemComponentModel.Design.ITypeResolutionService.ReferenceAssembly
I am using Visual Studio 2013. All my references are present. I tried to create a new Project Telerik ; i'm able to use a RadgridView in the new one.

Hi,
I found the was to left-align the name of the column using the following code :
private void radGrid_ColumnChooserItemElementCreating(object sender, ColumnChooserItemElementCreatingEventArgs e)
{
e.ItemElement.TextAlignment = ContentAlignment.MiddleLeft;
}
But I did found how to set the height of the elements in the list of columns (see screenshot attached).
Is there any way to do it ?
Thank you.
Hi. I am trying to remove rows and I get "formatException".
I've try to remove the rows like that:
grid.GridElement.BeginUpdate();
foreach (GridViewDataRowInfo row in grid.Rows)
{
if (row.Cells[1].Value.ToString() == "False")
{
grid.Rows.Remove(row);
}
}
grid.GridElement.EndUpdate();
AND like that:
grid.GridElement.BeginUpdate();
IEnumerable<GridViewDataRowInfo> uncheckedRows = grid.Rows.Where<GridViewDataRowInfo>(row => row.Cells[1].Value.ToString() == "False");
foreach (GridViewDataRowInfo uncheckedRow in uncheckedRows)
grid.Rows.Remove(uncheckedRow);
grid.GridElement.EndUpdate();
BOTH WAYS DON'T WORK...

Hi,
Any reason for the ListElement of RadDropDownList showing the ToolTip when we have the RadDropDownList.ShowItemToolTips = False?
Another thing how we can access to the RadDropDownList control from the ListElement control? Imagine we catch the MouseHover event from ListElement and want to access to the parent control (the RadDropDownList control)?
Thank You

Hello Telerik Team,
I'm using DateTimePicker as follow,
radDateTimePicker1.DateTimePickerElement.ShowTimePicker = true;radDateTimePicker1.Format = DateTimePickerFormat.Custom;radDateTimePicker1.DateTimePickerElement.CalendarSize = new Size(330, 250);radDateTimePicker1.ReadOnly = true;
Time value in EditBox cannot edit. ReadOnly property working ok.
But Time value can be changed from dropdown's picker.
How can I fix this issue.
I have skinned my Treeview such that it has flat white icons and white text on a blue background. I'd like them to invert colors for selection (blue on a white background).
Using Visual Style Builder, is it possible to get the icons to "invert" somehow when selected? Or what is the best way to achieve this?
If not, will I need to track selection myself and load "inverted" images at the appropriate time?
Thanks,
Dave

I might be a newbie to Telerik Winform controls.
I have a rad grid view displaying from a data source. for each row there are two buttons i.e approve and reject. I need to selectively approve or reject each row. On Click of a save button i have to save them back to database.
I have Boolean field in table to which value is based on approve or reject button. The default value is false. I want only to save the database rows that i have modified that too on save button click.Can I have any flag to selectively get only the rows modified at radgrid so that i can retrieve them and save them on save button click.
I worked on it did not work out, in My version because every save would save each and every rows if was modified on rad data grid or not.
I'd be thankful if someone helps me in this issue.
