Telerik Forums
UI for WinForms Forum
5 answers
359 views

Hi,

I am zooming to particular area of the ChartView. Depending on the zoom, some lines may not be visible in the current zoomed in portion of the chart. So, the legend is displaying items that are not currently visible in the chart. I need to display legend only for the lines that are visible in different zoom/pan settings. How to achieve this?

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 20 Oct 2017
2 answers
216 views

I have a databound list, in which my object contains the following properties

DOB
FirstName
LastName

 

When I bind my times to the list view, the columns come out as 

DOB       FirstName      LastName

 

Is there a way to programmatically order the columns?

FirstName     LastName    DOB

 

TIA

 

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 20 Oct 2017
1 answer
248 views

Is it possible to use data bindings in a list view that contains both groups & multiple column lists?

 

TIA

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 20 Oct 2017
1 answer
142 views

Hello,

I'm coming back with a new question :).

There is a way to minimize a radform just with the titlebar and keep the windows active ?

I found the TitleBar_Minimize event handler but I don't know which options use.

step1.png the windows is active

step2.png I click on the minimize button in title bar

step3.png I have my radform active and reducted (without resizebutton), I can click on the maximum button to show the radform content.

 

Best regards,

 

Hristo
Telerik team
 answered on 19 Oct 2017
3 answers
932 views

Could someone help with adding the following Unicode character to a tables textbox.  I have been asked to add the following service mark character (U+2120) which resolves to "SM" to the end of a string.  For some reason when I add this and try to save the report, I am getting the following error.  "Some unicode characters in this file could not be saved in the current codepage. Do you want to resave this file as unicode in order to maintain your data?"

 

I need to add a string to the table cell textbox as follows "Some test for textbox (â„ )"

 

Thanks

 

Dave.

 

Hristo
Telerik team
 answered on 19 Oct 2017
5 answers
734 views

I have a BindingList of a business object that I want to bind with a ListView (in detail mode).

I can change which properties get displayed (and there respective column headers) using the ColumnCreating event, but I cannot change the order of the columns.

As I understand, the binding process of ListView will use the properties in the order that they appear in code, this should have been fine, except that in case of object inheritance, the parent's class properties come after the child's class properties. In my case, I want base class properties to appear first and followed by child class properties.

Is there a way to change or affect the order that columns get created?

This would also allow me to save and recreate the order in which the columns appear, if, in future, I allow the user to reorder the columns of the ListView.

I know that I could use a DataTable to manipulate the columns beforehand, and use this as my binding source, but I would like to avoid this "conversion" between business object and DataTable.

Mark
Top achievements
Rank 2
Bronze
Bronze
Veteran
 answered on 18 Oct 2017
3 answers
128 views

Hello all,

I'm looking for an option that allow to get the date of the current week with an input by the start of the nameday.

example : 

we are the 16 oct

I write on the keyboard 'f'

I wish an autocompletion with 'friday 20 october'

this is possible ?

with Tuesday and Thursday 2 keypress are required.(tu or th)

Thanks.

Hristo
Telerik team
 answered on 18 Oct 2017
1 answer
202 views

Good day,

the viewer (2017 R3) crash if you try to copy the selected text.

1. select text in viewer

2. open the context menu 

3. click on 'Copy'

You have the exception:

System.NullReferenceException occurred
  HResult=0x80004003
  Message=Riferimento a un oggetto non impostato su un'istanza di oggetto.
  Source=Telerik.Windows.Documents.Fixed
  StackTrace:
   at Telerik.Windows.Documents.Fixed.FormatProviders.Old.Pdf.Utils.Helper.get_Dispatcher()
   at Telerik.Windows.Documents.Fixed.Selection.TextSelection.GetSelectedText(Object param)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart(Object obj)

Thank you.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 17 Oct 2017
2 answers
247 views

Hello,

I've added a custom shape with an image to the toolbox and can put them into the diagram. With this thread: http://www.telerik.com/forums/create-custom-items I could implement it.

Now I would like to open the settingspane, resize und rotate the shape, but it does not work... this is my code:

private void radDiagramToolbox1_VisualItemFormatting(object sender, ListViewVisualItemEventArgs e)
{
    DiagramListViewDataItem dataItem = e.VisualItem.Data as DiagramListViewDataItem;
    if (dataItem != null)
    {
        DiagramListViewVisualItem el = e.VisualItem as DiagramListViewVisualItem;
 
        if (dataItem.Key.Equals("MyShape"))
        {
            // on toolbox
            el.Image = new System.Drawing.Bitmap(@"blabla.png");
            el.ImageLayout = ImageLayout.Zoom;
            el.ShapeElement.Opacity = 0;
            el.Text = "";
            el.TextElement.Text = "";
 
            // on diagram
            el.ShapeElement.BackColor = System.Drawing.Color.Transparent;
            el.ShapeElement.Image = new System.Drawing.Bitmap(@"blabla.png");
            el.ShapeElement.ImageLayout = ImageLayout.Stretch;
            el.ShapeElement.Text = "";
            el.ShapeElement.Size = new Size(80, 80);
            el.ShapeElement.BorderThickness = new Padding(0);
        }
    }
}
private void DragDropService_PreviewDragDrop(object sender, RadDropEventArgs e)
{
    DiagramListViewVisualItem dragItem = e.DragInstance as DiagramListViewVisualItem;
    RadDiagramElement dropTarget = e.HitTarget as RadDiagramElement;
    if (dragItem != null && dropTarget != null && dragItem.Data.Key.Equals("MyShape"))
    {
        e.Handled = true;
        RadDiagramShape shape = dropTarget.Shapes.Last() as RadDiagramShape;
        shape.DiagramShapeElement.Shape = null;
        shape.BackColor = System.Drawing.Color.Transparent;
        shape.DiagramShapeElement.Image = dragItem.Image;
        shape.DiagramShapeElement.ImageLayout = dragItem.ImageLayout;
 
    };
}

 

Thank you!

Regards,

Larissa

 

Larissa
Top achievements
Rank 1
 answered on 17 Oct 2017
3 answers
239 views

Hi,

I have a grid view having search filter button on and need to filter the date column with a custom filter. When I click on the 'Custom' option, the Filter Dialog will get popped up and I can give my search values and click on 'OK', If user gives the date as '31/12/2017' then my application is crashing after it raises a validation error message. I don't know where to catch this exception and act upon. Please help me providing solution for at least one of the below things or any other better way to handle this.

1. Validate the date value as per the format expecting by the application before closing the Filter dialog box.

2. Catch the exception raised by the wrong format/OK button click

3. Restrict the user to not enter the values except in the specified format

 

Thanks in advance.

Chandra

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 16 Oct 2017
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
PdfViewer and PdfViewerNavigator
CommandBar
ListControl
Carousel
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
Label
AutoCompleteBox
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
Wizard
CollapsiblePanel
LayoutControl
ShapedForm
SyntaxEditor
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
SmartPasteButton
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?