Telerik Forums
UI for WinForms Forum
4 answers
811 views

 Hi,

 I have a gridview that is bound to a SQL Server DB table.  Users of the gridview can perform inline editing and save their changes using a save button.  The issue I am having is when a user makes changes to a row or rows and then presses a cancel button.  How do I reset these rows back to their initial values when a cancel button is clicked.  Is their a way to refresh or rebind the gridview?

 

 Thanks,

Matthew

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 25 Nov 2015
3 answers
208 views

Hello

Is there a way to keep the vertical stacking order in TimeLineView  GroupedByResource Mode ?

 

I'm working on a planning for different machines and I'm using Hour/30 minutes/15 minutes timescale

I wanted to make WorkTimeException Rules but there's no such things in TimeLineView  so I decided to Create some gray Appointments to show when the machines are not supposed to run.

It's only informative, if the user wants to add or drag-and-drop an appointment that overlaps the grey appointment, he can.

 

The problem is that if the added/Dragged appointment's duration is longer than the gray one, it's stacked above the gray one and I'd like to avoid this.

The Grey appointment must always be on top of the stack (When Refreshing my RadScheduler i'm adding gray appointments first)

 

There's attached picture to illustrate my problem

 

Thanks a lot.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 25 Nov 2015
1 answer
216 views

Hi,

When we run our program with RadRibbonForm and RadRibbonBar, the minimize and maximize disappeared. If you put the mouse cursor over the place where the buttons should be you can click. No changes in form have been made, it came after an update of the Telerik.

The buttons are visible in design mode.

Minimize and maximizebutton is set to true.

What am I missing?

 


 
Dimitar
Telerik team
 answered on 25 Nov 2015
9 answers
257 views

Hello,

 since the second last update (2015-3-930 and including the latest update 2015-3-1104) the font in the excel export is huge (font size 400something). In "PivotExportToExcelML" there are some changes regarding font/font size (in "CreateStyleElement"). The code hasn't changed and is very simple:

PivotExportToExcelML excelExporter = new PivotExportToExcelML(rPVPanels);
excelExporter.ExportVisualSettings = true;
excelExporter.RunExport(TempFile);

(ExportVisualSetting true/false doesn't change anything)

 Can you confirm that and any plans on fixing this?

 

 

 

Tapakah
Top achievements
Rank 2
 answered on 25 Nov 2015
16 answers
283 views

using CellFormatting event.How can  i setup borders for cells .
            BorderStyles border = new BorderStyles();
            border.Color = Color.Black;
            border.Weight = 1;
            border.LineStyle = LineStyle.Continuous;
            border.PositionType = PositionType.Bottom;
How can i use this, cause somethng like that :
            e.CellStyleInfo.Borders = border;

doesn't work.

In exportML were e.ExcelStyleElement.Borders.Add function, cant find how this must work.

Stefan
Telerik team
 answered on 24 Nov 2015
1 answer
221 views

Hi,

I am new in here. I hope someone will help me.I'm writing this peace of code to check if the inputted text are correct and change the color my text if it is wrong

My error is on SelectionStart and SelectionColor

Please see below my code

Private Sub RadRichTextEditor1_TextChanged(sender As Object, e As EventArgs) Handles RadRichTextEditor1.TextChanged
       Dim ValuetoCheck= RadRichTextEditor2.Text
       Dim ArrayValue() As String = W.Split(" ")
         For Each searchword As String In ValuetoCheck
           Dim index As Integer = 0
           While index <> -1
               index = RadRichTextEditor1.Text.IndexOf(searchword, index)
               If index <> -1 Then
                   If index = RadRichTextEditor1.Text.Length - searchword.Length - 1 Then
                       RadRichTextEditor1.SelectionStart = index
                       RichTRadRichTextEditor1extBox1.SelectionLength = searchword.Length
                       RadRichTextEditor1.SelectionColor = Color.Black
                       RadRichTextEditor1.SelectionStart = RadRichTextEditor1.Text.Length
                       Exit Sub
                   Else
                       index += 1
                   End If
               Else
                   RadRichTextEditor1.SelectionStart = n
                   RadRichTextEditor1.SelectionColor = Color.Red
               End If
           End While
       Next ' added
   End Sub

Dimitar
Telerik team
 answered on 24 Nov 2015
2 answers
126 views

Hi There,

 

I am using expression to define some special function for the format.

I have 2 questions:

1) my function is like

Public Class CustomExpressionContext
    Inherits Telerik.Data.Expressions.ExpressionContext
    Public Function formatAddress(ClientName As String, rawAdd As String) As String
        rawAdd = rawAdd.Replace("{}", vbCrLf)
        rawAdd = rawAdd.Replace("{lf}", ClientName & vbCrLf)
        rawAdd = rawAdd.Replace(vbCrLf & vbCrLf, vbCrLf)
        Return rawAdd
    End Function
End Class

when I use ColumnRawAdd.expression = "formatAddress(AliasName, RawAddresses)"   where ColumnRawAdd is the column for "RawAddresses"

I got exception like "RawAddresses is not defined in the context"

if I use a new column, and set newcolumn.expression = "formatAddress(AliasName, RawAddresses)"  

then there is no problem. Is there something I need to set or check for ColumnRawAdd so I can use ColumnRawAdd for it?

 

2)newcolumn is working fine, but if I LoadLayout for alll the columns first, then define newcolumn.expression = "formatAddress(AliasName, RawAddresses)"  

then the newcolumn is empty, without any exception. What should I do here to have newcolumn have value?

 

Thanks.

 

Ada

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 24 Nov 2015
1 answer
246 views

I constructed a RadGridView and would like to use its content for my RadChartView to create a pie chart, but so far nothing shows up.

For RadGridView I would have five columns.

Name     Count     C     D     E

 Germany  20

France      50

I would only use the "Name" and Count" column to construct my pie chart but not "C", "D", and "E" columns, so it would be a percentage chart with Germany 20/70 and France 50/70. How do I use these two columns of the RadGridView for my RadChartView?

Dimitar
Telerik team
 answered on 23 Nov 2015
1 answer
330 views
I need something like BesFitColumns() for rows. I know that I can use AutoSizeRows, but it has problem with cells that have long multiline content. I attached screenshot. Please check it.
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 23 Nov 2015
2 answers
1.1K+ views

Dear Telerik,

 I'm currently using the version 2013.2.612.40. My requirement are to get the ListViewDataItem when the user right click. I'm using the DetailsView.

Basically the user right click in one item, the last get selected and later i can do some other processing.

Unfortunately i cannot get it done. I have seen the following post that does not work http://www.telerik.com/forums/select-an-item-in-listbox-control-on-mousedown-event

Any help please

 

Evald
Top achievements
Rank 1
 answered on 23 Nov 2015
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
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
RibbonForm
Styling
Barcode
PopupEditor
TaskBoard
NavigationView
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Overlay
Security
LocalizationProvider
Dictionary
SplashScreen
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
SpeechToTextButton
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?