Telerik Forums
UI for WinForms Forum
1 answer
276 views

Hello guys,

I've just make a project and my main form is radform1. now I want to add another radform but I get This Error

 

An error occurred while running the wizard.

Error executing custom action Telerik.VSX.TextTemplating.Actions.UnfoldFilesAction: An exception was thrown while trying to compile the transformation code. The following Exception was thrown:
System.IO.FileNotFoundException: Could not find file 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\System.dll'.
File name: 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\System.dll'
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
   at System.IO.File.OpenRead(String path)
   at Roslyn.Utilities.FileUtilities.OpenFileStream(String path)
   at Microsoft.CodeAnalysis.MetadataReference.CreateFromFile(String path, MetadataReferenceProperties properties, DocumentationProvider documentation)
   at Microsoft.VisualStudio.TextTemplating.CompilerBridge.<>c.<.ctor>b__15_0(String x)
   at System.Linq.Enumerable.WhereSelectListIterator`2.MoveNext()
   at System.Linq.Enumerable.<UnionIterator>d__66`1.MoveNext()
   at System.Linq.Enumerable.<UnionIterator>d__66`1.MoveNext()
   at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
   at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
   at System.Collections.Immutable.ImmutableArray.CreateRange[T](IEnumerable`1 items)
   at Microsoft.CodeAnalysis.ImmutableArrayExtensions.AsImmutableOrEmpty[T](IEnumerable`1 items)
   at Microsoft.CodeAnalysis.Compilation.ValidateReferences[T](IEnumerable`1 references)
   at Microsoft.CodeAnalysis.CSharp.CSharpCompilation.WithReferences(IEnumerable`1 references)
   at Microsoft.CodeAnalysis.CSharp.CSharpCompilation.CommonWithReferences(IEnumerable`1 newReferences)
   at Microsoft.VisualStudio.TextTemplating.CompilerBridge.PrepareNewCompilation()
   at Microsoft.VisualStudio.TextTemplating.CompilerBridge.Compile()
   at Microsoft.VisualStudio.TextTemplating.TransformationRunner.Compile(String source, String inputFile, IEnumerable`1 references, Boolean debug, SupportedLanguage language, String compilerOptions)
----------------------------------------------------------------------------------------------------

Momchil
Telerik team
 answered on 26 Sep 2016
1 answer
312 views

Hi, 

I am using ConditionalFormattingObject to format cells like this:

 

var x = new ConditionalFormattingObject("column", ConditionTypes.NotEqual, "-1", "", false);
x.CellBackColor = Color.FromArgb(222, 253, 219);
x.CellForeColor = Color.Blue;
column.ConditionalFormattingObjectList.Add(x);

Everything is fine until a multi-cell selection.

It seems to me that ConditionalFormattingObject also overrides the background coloring for the selected cells, but it should not.

Please check the attachment, which shows what is now and what should be.

I do not want to use the ViewCellFormatting event becouse of performance reasons.

 

ConditionalFormattingObject x1 = new ConditionalFormattingObject(column.FieldName, ConditionTypes.NotEqual, "-1"""false);
x1.CellBackColor = Color.FromArgb(222, 253, 219);
x1.CellForeColor = Color.Blue;
column.ConditionalFormattingObjectList.Add(x1);
ConditionalFormattingObject x1 = new ConditionalFormattingObject(column.FieldName, ConditionTypes.NotEqual, "-1"""false);
x1.CellBackColor = Color.FromArgb(222, 253, 219);
x1.CellForeColor = Color.Blue;
column.ConditionalFormattingObjectList.Add(x1);
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 26 Sep 2016
3 answers
96 views
My application is ClickOnce on .net 3.5 . It uses Telerik Controls also. So far, application was working fine but since the client got new laptops - t560 lenovo, they are facing issue. They are not able to see any telerik controls on any forms. What can be the issue?
Hristo
Telerik team
 answered on 26 Sep 2016
2 answers
264 views

I have a control that is derived from RadLabel. Inside this control I would like to add a RadContext menu instead of the standard Windows Forms context menu. What's the proper way to do this inside my control? I don't want to rely on a ContextMenuManager on the parent form but instead encapsulate everything in my control.

Regards

Erwin

erwin
Top achievements
Rank 1
Veteran
Iron
 answered on 24 Sep 2016
6 answers
1.0K+ views
I have a Commandbar with a stripelement that is stretched horizontaly across my form. I would like to add a label and a button and have the label aligned to the left and the button aligned to the right side of the Command bar. How can I accomplish this?
Thanks.
Craig
Top achievements
Rank 2
 answered on 23 Sep 2016
3 answers
143 views

     I have a c# aplication where I have to build programaticly many RadImageButtonElements from scratch. When I move the mouse over the RadImageButtonElement the button doesn't highlight if I hover with the mouse over the button. When I add a new RadImageButtonElement from RadRibbonBar when I hover over with the mouse I see that the RadImageButtonElement will be highlighted. Can you please help me what to add to my my code so that my RadImageButtonElement can be highlighted as well. Thank you for your time and if it is not the correct forum please move this thread to the correct forum.

           At RadRibbonBar you can add an RadImageButtonElement through the Edit Items functionality. I have to create a new RadImageButtonElement programmability and cannot make the item highlighted when my mouse hovers over the RadImageButtonElement. When I add an RadImageButtonElement through Edit Items functionality then I can highlight the RadImageButtonElement when I hover with my mouse over the ribbonbar element.

I added the code:

  RadImageButtonElement oButton = new RadImageButtonElement();

  // add image to the button and other things

  oButton.Text = oOperation.ToString();

  oButton.DisplayStyle = DisplayStyle.ImageAndText;
oButton.TextImageRelation = TextImageRelation.ImageAboveText;
oButton.Image = oButton.ImageClicked = oButton.ImageHovered = GetButtonImage(oOperation, true);

  rrbgOptions.Items.Add(oButton);

rrbgOptions is the form RadRibbonBarGroup .  When I run my program inside the RadRibbonBarGroup the image buttons created with the RadImageButtonElement apears but when I move my mouse over the buttons they don't highlight. 

When I add the Image button on using the form RadRibbonBarGroup Edit Items controls to create the Image buttons the buttons will be highlighted when I move my mouse over them.

Can you  please help so that the Image Buttons created programaticly as shown as above can be highlighted when I move the mouse over them.

Thank you.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 23 Sep 2016
1 answer
104 views

Hello!!

How I can sort the series of chart? Check the attachments. For your help thanks.

Hristo
Telerik team
 answered on 22 Sep 2016
2 answers
121 views

Hi,

I am trying to snap the coloring of area series around to horizontal axis. The first pic (Area Coloring) illustrates what I've got, Area Color Goal what I'd like to see. I've already tried to split negative values from positives, like this http://www.telerik.com/forums/set-the-color-of-negative-value-on-areaseries, but the result is the same in winforms.

Please advise.

Best Regards.

Christian
Top achievements
Rank 1
 answered on 22 Sep 2016
1 answer
473 views

hi

i use rich text editor with ribbon ui and have several questions

1. i have a rich text editors with ribbon ui. how can customize the ribbon groups that show my desired element. for example i dont want bullets group.

2. in code block example in win forms rich text editor, the RadItem is create and added to home tab but there is no click event that show the code block is executed.

3. i have an executable file that i want execute in insert tab. how can i do that?

4.how can i subscribe a method to execute when user click symbol instead of default action.

thanks you

Hristo
Telerik team
 answered on 21 Sep 2016
1 answer
102 views

Hello Support,

  I am using Telerik for Winforms version 2015.2.728.40.  We are testing our application using Remote Desktop Services in Windows Server 2012.  We are experiencing an issue with all the drop downs in that the drop down window does not consistently show. Most times, the display window for the drop down lists are truncated, even though the items are still selectable.

I created a sample application with one form and one dropdownlist and was able to reproduce this behavior with Telerik version 2015.2.728.40.

I updated the sample to version 2016.2.608.40 and only saw the issue once.

I'm wondering if there is anything I can do to make the dropdownlist list show correctly with version 2015.2.728.40?

 

Thanks

Francisco

Hristo
Telerik team
 answered on 21 Sep 2016
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
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
Toolstrip (obsolete as of Q3 2010)
VirtualGrid
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
CheckedDropDownList
ProgressBar
TrackBar
MessageBox
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
Styling
Barcode
BindingNavigator
PopupEditor
RibbonForm
TaskBoard
Callout
ColorBox
PictureBox
FilterView
NavigationView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
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
AI Coding Assistant
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?