Telerik Forums
UI for WinForms Forum
1 answer
236 views
Hi i am developing WPF application using MVVM and i am try to add image as a button (like windows 8 start page button) Is there a way to have a radButton only display as an image? I have an image that i would like to use as a button alone, but I can't seem to get the radButton borders to go away and the radButton background color to become transparent.  Help me
Martin Ivanov
Telerik team
 answered on 18 Sep 2014
1 answer
198 views
Hi,

i have a RadSplitContainer (Container1) with two SplitPanels Inside.

In the first SplitPanel i have another RadSplitContainer(Container2) with two SplitPanels,  the second one should show my information.
The first SplitPanel in Container2 has a RadTreeView inside for my menu.
The second SplitPanel in Container2 has a Button to Collapse the first SplitPanel in Container2

Now the behaviour is that, the first SplitPanel in Container2 is collapsed and the second SplitPanel in Container2 grows to the widht of the first SplitPanel in Container1.
What i want is, that the second SplitPanel in Container1 grows the width of the first SplitPanel in Container2.

Of Course if i press the button while the first SplitPanel in Container2 is collapsed, it should show the first SplitPanel in Container2 again and resize back.

I've added three pictures:
The Start.png is the application started
The Stop.png is the behaviour at the moment
The Wanted.png is the behaviour i want to have, if i press the button (Just moved the Slider by Hand)

Thx

P.S. If i use the Standard SplitContainer from WinForms i have a Property SplitterDistance, if i change this value i get the wanted behaviour, but changing to Standard WinForms Control is no option in my case





Dk
Top achievements
Rank 1
 answered on 17 Sep 2014
5 answers
186 views
Hi there,

Is it possible to have a user Interface like the attachment in Telerik?

Regards.
Dimitar
Telerik team
 answered on 17 Sep 2014
1 answer
172 views
Hi,

I am liking the Ribbon control at present.

However, I want it to behave and look exactly like the offerings in Word.

I have created 5 Ribbon Tabs in the Designer.  Each tab has been assigned to a Context tab.
So I have:
Project tab -> Project Context tab
Contract tab -> Contract Context tab
...and so on.

I can make the contexts appear when I want using:

​this.RibbonContextTabProject.Visibility = (entity is AttestedDev.Wms.EFDAL.Entity.Project) ? ElementVisibility.Visible : ElementVisibility.Hidden;

When the tabs are displayed they keep their positions in the Tab order.  See attached.

You can see in #1 the Project tab is displayed in its designed position.
You can see in #2 the Contract tab is displayed in its designed position - which is to the right of Project.
You can see in #3 the Drawing tab is displayed in its designed position - which is to the right of Contract.

What I want is the Context tabs to appear in the same position.  Like Word 2013 for example - which will append the Context Tabs at the end of the current tabs - see #4 and #5 in attached.

The other issue is that the context tabs are pretty narrow.  I would like to have some additional padding on this, but the Padding on the Context tab does not force the width of the tab to be wider.  It looks pretty thin.

Can you show me how I can get it to work like this?

Many thanks,

Andez
Dimitar
Telerik team
 answered on 17 Sep 2014
1 answer
150 views
Hi,

in one of my projects I use the code you described in your "Rad Property Grid Custom Item Elements" project here. This works fine as long as you do not have a scollbar in your property grid and move it. Attached you will find a fiew screen shots which show the problem: The button is moving from one property to another. During debugging I found out that the CreateItemElement event was only fired sometimes.

I am using UI for WinForms Q2 2014. Any help would be appreciated.

Thanks in advance,
Thilo
Dimitar
Telerik team
 answered on 17 Sep 2014
1 answer
729 views
I am trying to create a fixed 'character ' based ruler using the RichTextBox control.   The RTB control
will only contain one line of text that will not wrap, thus I am looking for a way to programmatically calculated the maximum number of visible characters in a RTB control based on the RTB width and the style (monospaced).

MSDN example:  http://msdn.microsoft.com/en-us/library/9bt8ty58(v=vs.110).aspx

Also is there a way to turn off the RTB scrollbars?

Thanks

erik

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 17 Sep 2014
1 answer
126 views
Hi,

I need to be able to work with Nullable Doubles for these types of editors.  I've migrated from Infragistics to Telerik.  Infragistics has a nice Spin Editor in their masked edit editor which I am missing here. 

However, I am having trouble with Bindings and using nulls.  In my scenario, I have added the masked edit and spinner to a form.I have created the following class to bind to:

class MyClass : INotifyPropertyChanged
{
 private double? _summit; public event PropertyChangedEventHandler PropertyChanged;
 public double? Summit
 {
  get { return _summit; }
  set { _summit = value; OnPropertyChanged("Summit"); }
 } private double? _spinMe;
 public double? SpinMe
 {
  get { return _spinMe; }
  set { _spinMe = value; OnPropertyChanged("SpinMe"); }
 }
 
 protected void OnPropertyChanged(string name)
 {
  if (PropertyChanged != null)
  {
   PropertyChanged(this, new PropertyChangedEventArgs(name));
  }
 }
}

I am declaring a form field as follows:
MyClass myclassinstance = new MyClass();

I am calling the following in form load:
myclassinstance.Summit = 123.987;
myclassinstance.SpinMe = 101.21;
this.radMaskedEditBox1.DataBindings.Add("Value", myclassinstance, "Summit", false, DataSourceUpdateMode.OnValidation);
this.radSpinEditor1.DataBindings.Add("Value", myclassinstance, "SpinMe", false, DataSourceUpdateMode.OnValidation);

I have a button that displays the values when clicked.When the form shows, the masked edit for summit shows 123.987.  The spin editor shows 0.00.
When I click the button, this shows the 2 values as initialized - 123.987 and 101.21.
If I blank the spin then it reverts to 0.00.  Clicking the button shows the value as 101.21.
If I blank the masked edit and click on the button the value is still 123.987.

If I type a value into the spin edit then I need to understand how I can use binding with these nullable doubles correctly.

I can't see any nice Telerik examples of these and thought the community may benefit and I need help ASAP - I thought without opening a support case.  Appologies if I have missed anything.

Thanks

Andez
Dimitar
Telerik team
 answered on 17 Sep 2014
1 answer
162 views
Hi,
I'm trying to handle this event, but I'm getting this error:
"'ContextMenuOpening' is not an event of 'Telerik.WinControls.UI.RadChartView'"
Note: I'm using RadControls for WinForms Q2 2012.



Dimitar
Telerik team
 answered on 17 Sep 2014
1 answer
496 views
Hi,

To all having a problem with a blank page when you try to load a document to PdfViewer.
After doing a little investigation it appears that the problem may be in the machine that scan documents.
In the company I have two identical machines LaserJet M5035 MFP where users can send a e-mail with scanned document in PDF format.
It turned out that only files sent from the machine with a new firmware 20140503 48.303.1 works.

You can download attached PNG files and rename extension do PDF to view these files.
In the attached file Compare.png you can see the difference when you select the file contents. Invalid file contains additional margin at the top and bottom.
So there is something wrong with the structure of the file created in an earlier version of firmware - 20130510 48.283.4.
I would like to mention that both files can be opened correctly in Adobe Reader.

After upgrading device firmware, machine started to create the correct files.
What is wrong with the file Old firmware.pdf that the Adobe Reader can open it, but Telerik PdfViewer not?


Dess | Tech Support Engineer, Principal
Telerik team
 answered on 17 Sep 2014
0 answers
112 views
No way to customize AllowEdit = False, in some columns?

When property AllowEdit = True, all columns can be edited. 
As I can choose the columns you wish to edit. 

Thank you
Cesar
Top achievements
Rank 1
 asked on 16 Sep 2014
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)
Form
Chart (obsolete as of Q1 2013)
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
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
CollapsiblePanel
LayoutControl
ShapedForm
SyntaxEditor
Wizard
TextBoxControl
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
WaitingBar
GroupBox
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
NavigationView
BindingNavigator
RibbonForm
Styling
Barcode
PopupEditor
TaskBoard
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Overlay
Security
LocalizationProvider
Dictionary
TreeMap
StepProgressBar
SplashScreen
Flyout
Separator
SparkLine
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
SpeechToTextButton
+? more
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?