Telerik Forums
UI for WinForms Forum
10 answers
430 views

I have converted the vb code at the following post (oct 1)to c#, see attachment.

 http://stackoverflow.com/questions/32866795/formatted-text-inside-cell-on-datagridview

 

It renders a rich text into a winforms DataGridView cell.

Could someone please in converting it work with a Telerik WInform Gridview?

Dimitar
Telerik team
 answered on 08 Feb 2016
1 answer
51 views

I have a RadGridView with a filed called Start with  dynamically created buttons. When i click on it my code changed the text of the row that was clicked to Stop if it was Start Previously. MY issue is when i click another row the previously changed text is lost and the new row shows stop. I want to save the text of all the dynamically crated buttons when one is clicked.

 Dim StartStop As New GridViewCommandColumn()
        StartStop.Name = "StartStop"
        StartStop.HeaderText = "Start"
        StartStop.UseDefaultText = True
        StartStop.DefaultText = "Start"
        StartStop.Width = 40
        StartStop.MinWidth = 40
        RadGridView1.MasterTemplate.Columns.Add(StartStop)

         AddHandler RadGridView1.CommandCellClick, AddressOf radGridView1_CommandCellClick

  Sub radGridView1_CommandCellClick(ByVal sender As Object, ByVal e As EventArgs)
      Dim ID As String = TryCast(sender, GridCommandCellElement).RowIndex

      Dim StartStop As String = TryCast(sender, GridCommandCellElement).CommandButton.Text

If StartStop = "Start" Then

               TryCast(sender, GridCommandCellElement).CommandButton.Text = "Stop"

else

               TryCast(sender, GridCommandCellElement).CommandButton.Text = "Start"

end if

  End Sub

 

 

Dimitar
Telerik team
 answered on 08 Feb 2016
3 answers
108 views
When I change my form to arabic language and set the split container right to left property to true the control isn't affected the panels stays as they are.
Abed
Top achievements
Rank 1
 answered on 05 Feb 2016
4 answers
68 views
When the grid export to excel feature, the numeric values are being treated as a string format and thus sum can't be applied to cells. 
Dimitar
Telerik team
 answered on 05 Feb 2016
3 answers
92 views

Hello.  

My apologies if this has been answered elsewhere, but I was unable to find anything pertinent in my search. 

I'm in the process of evaluating UI for WinForms for use in an existing WinForms application, and have downloaded the demo. More specifically, I'm interested in the radRibbonBar control.  One of the first questions that has come up is whether or not it's possible to add a non-Telerik control to a ribbon bar group.  I've noticed that when I right-click on a group in order to add an item, I'm presented only with a list of rad controls, but seemingly there is no way to add other types of WinForms controls.   The issue is that our application utilizes a number of highly-customized controls that have been built off of the standard .NET base classes, a few of which would need to be included as part of the Ribbon Bar. 

 So, is the radRibbonBar control capable of hosting customized, non-Telerik controls?   If so, how?

Thanks.

 - Tom

Dimitar
Telerik team
 answered on 05 Feb 2016
4 answers
112 views

I have a grid that has columns such as Job number and Admin Name. 

 

I am grouping the rows by the Job Number. But I only want them to be grouped when there is more than one record. The user wants to see the +sign only when there is more than one admin per Job. is this possible? Can you help me find a solution for this?

 

Thank you. 

Frank
Top achievements
Rank 1
 answered on 04 Feb 2016
3 answers
227 views

I have RadGridView and in that I have GridViewComboBoxColumn column (name is Comment). End user must select from the value for that column from GridViewComboBoxColumn  list, or write the new value in that field. The problem is that when I write new value that isn't from list, after leaving that column new value not saved. Which option must i set in  GridViewComboBoxColumn or other place.

Thank you..

Dimitar
Telerik team
 answered on 04 Feb 2016
1 answer
148 views

Greetings!

 After upgrading to 2016 Q1, we've encountered a bug while appending text to radtextboxcontrol before setting anything to .Text property of it.

 For example:

 // Not working (exception is that 'startPosition' value cannot be null)

this.radTextBoxControl1.AppendText(String.Format("{0}", formattedString));

 

// Works

this.radTextBoxControl1.Text = " "; // maybe some initialisation goes here or smth...
this.radTextBoxControl1.AppendText(String.Format("{0}", formattedString));

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 04 Feb 2016
3 answers
245 views

Here's the situation,

I'm trying to focus an appointment in the scheduler control but it's not possible to cast an appointment object to a radelement which is the type asked for the method FocusedElement.
Here's the code:
              foreach (Appointment app in ModificationsScheduler.Appointments)
              {
                  cAppointment = (CustomAppointment)app;
                     if (containsString(cAppointment.Summary.ToString(), strIndex, StringComparison.Ordinal) == true)
                     {
                         this.ModificationsScheduler.FocusedElement = app;
                     }
                    
              }

Is there any way to do this?

Thanks,
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 03 Feb 2016
9 answers
543 views
Hi,
I have a RadScheduler that I've set up to drag and drop different tasks from a list box. Currently the task only fills one time slot (which is set at half-hour intervals) however I would like the user to be able to select a time period and drag the task to the selected area and have the "appointment" fill the entire selected area. 

I am having trouble retrieving the selected time period from the WinForms scheduler, is there a way to get the selected TimeSlot?

Thanks is advance,
Marcus
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 03 Feb 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?