Telerik Forums
UI for WinForms Forum
1 answer
68 views

Hello all 

How to make only 1 field that can be filtered like picture attached

 

Hengky
Top achievements
Rank 1
Veteran
 answered on 16 Dec 2015
3 answers
147 views

This was working before, but now when there are null values in a column we cannot use excel like filtering.  I don't think anything changed on our end.  When I click the filter icon in the column header I get this exception:

System.ArgumentNullException was unhandled
  HResult=-2147467261
  Message=Key cannot be null.
Parameter name: key
  ParamName=key
  Source=mscorlib
  StackTrace:
       at System.Collections.Hashtable.ContainsKey(Object key)
       at Telerik.WinControls.UI.RadListFilterDistinctValuesTable.ContainsFilterValue(Object value)
       at Telerik.WinControls.UI.FilterMenuTreeElement.Initialize()
       at Telerik.WinControls.UI.FilterMenuTreeItem.OnLoaded()
       at Telerik.WinControls.RadElement.OnLoad(Boolean recursive)
       at Telerik.WinControls.RadElement.OnLoad(Boolean recursive)
       at Telerik.WinControls.RadElement.OnLoad(Boolean recursive)
       at Telerik.WinControls.RadElement.OnLoad(Boolean recursive)
       at Telerik.WinControls.RadElement.OnLoad(Boolean recursive)
       at Telerik.WinControls.RadElement.OnLoad(Boolean recursive)
       at Telerik.WinControls.RadElement.OnLoad(Boolean recursive)
       at Telerik.WinControls.RadControl.OnLoad(Size desiredSize)
       at Telerik.WinControls.RadControl.LoadElementTree(Size desiredSize)
       at Telerik.WinControls.RadControl.OnCreateControl()
       at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
       at System.Windows.Forms.Control.CreateControl()
       at System.Windows.Forms.Control.WmShowWindow(Message& m)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
       at Telerik.WinControls.RadControl.WndProc(Message& m)
       at Telerik.WinControls.UI.RadPopupControlBase.WndProc(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

 

I tried to attached a sample app (in a zip file) which reproduces this problem for us with the latest released version of the grid, but you do not seem to allow zip files to be attached.

John
Top achievements
Rank 1
 answered on 15 Dec 2015
5 answers
289 views

Hi guys,

I have this case: I import a fUTF-8 without BOM file that contains translations of several languages.

My application import using T-SQL command INSERT BULK with DATAFILETYPE = 'widechar' (It needs to import Unicode format)

sql = $"BULK INSERT CaptionFlat FROM '{OpenFileDialog.FileName}' WITH (DATAFILETYPE ='widechar', FIELDTERMINATOR =':',ROWTERMINATOR = '\n')";

 

Afterthat It keeps several operation and INSERT into other table that have a nvarchar field that will contain translation.

This table it will shows by RadGridView with this code

conn = new SqlConnection(Settings.Default.RTK2ConnectionString);
 
sql = "SELECT CBase.[Key] [Key],\n" +
    "CBase.[Value] Base,\n" +
    $"ISNULL((SELECT [Value] FROM [Captions] WHERE [NAVKey] = CBase.[NAVKey] AND [LanguageID] = {LanguageToTranslateComboBox.SelectedValue}),'[Blank]') ToTranslate\n" +
    "FROM [Captions] CBase\n" +
    "WHERE CBase.[IsCaption] = 1\n" +
    $"AND CBase.LanguageID = {LanguageBaseComboBox.SelectedValue}";
 
cmd = new SqlCommand(sql, conn);
da = new SqlDataAdapter(cmd);
dtCaptions = new DataTable("Captions");
 
da.Fill(dtCaptions);
 
CaptionsRadGridView.DataSource = dtCaptions;
 
var obj = new ConditionalFormattingObject("BlankTranslation", ConditionTypes.Equal, "[Blank]", "", true);
obj.CellForeColor = Color.Black;
obj.RowBackColor = Color.LightCoral;
CaptionsRadGridView.Columns["ToTranslateColumn"].ConditionalFormattingObjectList.Add(obj);
 
CaptionsRadGridView.BestFitColumns(Telerik.WinControls.UI.BestFitColumnMode.DisplayedDataCells);
 
conn.Close();

 

I attach the effects, where the last column shows an error.

The label in language in original file is (for example DE language) "Rack-Jobben (nur für Italien)" but in RadGrid it shows "Rack-Jobben (nur f├╝r Italien)".

 

Can you help me to understand waher I wrong?

 

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 15 Dec 2015
3 answers
177 views

Hi,

I would like know if it's possible to disable the reposition's animation of all tiles after the DragDrop action?

Does it exist an event at the end of the DragDrop animation ? Because after the event DragDropService.Stopped I can see that my tiles are still animated.

 Thanks for your help.

Simon

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 15 Dec 2015
1 answer
630 views
Hi

I have a problem with changing form's Cursor, I have set a major cursor all over the form. It works fine every where.
But I have found some areas that cursor will change into windows default cursor.

- On SubMenus of Drop Down Objects
- On Start Menu of Rad Ribbon Bar

Where is the problem? 
Why does cursor change into windows default as long as I have set a major cursor for the whole form?

I have attached an image for more detailed information.
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 15 Dec 2015
0 answers
165 views

Hello All, 

First I hope all of u will understand what i mean, because my english is not good enough. 

 So I want to show only date (without time) to radgridview. How make this happen. And how to make header text is customize

 Here's the code 

    Sub Tampil()
        da = New OleDbDataAdapter("Select * from TrTimbang ORDER BY LastEdited", conn)
        ds = New DataSet
        ds.Clear()
        da.Fill(ds, "TrTimbang")
        GridList.DataSource = (ds.Tables("TrTimbang"))
        GridList.BestFitColumns()
    End Sub 

 Thanks before.

 

hengky 

 

Hengky
Top achievements
Rank 1
Veteran
 asked on 15 Dec 2015
3 answers
287 views

Hello!

I have some radgridview component on my application (WinForms). How get object RadGridView by sender in event CellDoubleClick? I can get GridDataCellElement using sender but i don't know what's next. Please help me. Thank's

Anton
Top achievements
Rank 1
 answered on 15 Dec 2015
1 answer
325 views

Hello.

short question. 

Is there a free (not time limited) development version of Telerik. Only for the development, not COMMERCIAL.

Thanks and regards --Peter


Mike
Telerik team
 answered on 15 Dec 2015
1 answer
203 views

Q3 2015

My radGridView direction is right-to-left. When I drag a column outside of grid bounds, then the grid is scrolled vice versa. How can I solve the problem?

Thank you.

Hristo
Telerik team
 answered on 14 Dec 2015
3 answers
184 views
I need to know how to use this control to show me the images that are inside a folder( in a directory), not something that is static
aand it is possible be automatically movement, where you dont need user interaction, can be possible to do this with this control?
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 14 Dec 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?