Telerik Forums
UI for WinForms Forum
4 answers
93 views
I have a Raddock that contains a toolwindow that's set to autohide and it's docked on the left. The tool window contains some RadMulticolumnComboBoxes. The window is real wide, but not very tall, kind of like a thin tool strip that slides out with some additional options for the user. The problem is when the window opens, and then you open one of the comboboxes, the bounds of the dropdown box extends past the bounds of the window. So when you select an item, it automatically auto-hides the window since you're clicking 'outside' of it. Is there any way to catch this before it happens and stop the window from auto-hiding (AutoHideWindowClosing?) I don't want the window to automatically hide upon selecting an item from the combobox. Any input is appreciated!

Thanks,
Jason
Jason
Top achievements
Rank 1
 answered on 18 Aug 2011
2 answers
63 views
Hi
again another problem with RTL
I`m trying 2011 q1
With AutoDetectMdiChildren = true  and DocumentInsertOrder = InFront of Dock, I want to add some forms to dock
everything is OK until I have few documents, but with adding more documents, instead of adding new document to left side of last doc, it will add to Right Side of the first doc added.

so how to fix that up?
thank u
nasser
Top achievements
Rank 1
 answered on 18 Aug 2011
2 answers
80 views
Hi again
Here is another issue with RTL
With a Dock and some forms that added as documents to that, in RTL it`s expected to see the right-top location of each forms in QuickNavigator, but instead it`s showing the lef-top location of each document in preview as snapshot.
I couldn`t find any property to set it to show custom region of a document.

what`s the solution
thanks
nasser
Top achievements
Rank 1
 answered on 18 Aug 2011
6 answers
123 views
Hi all,

I want to highlight row based on text entered in the textbox. Basically I load data from database and show it on the grid with self reference hierarchy relation. Initially grid is collapsed to first level (I have more than 5 sub levels). How do I do that?

Thanks
Nikolay
Telerik team
 answered on 18 Aug 2011
2 answers
341 views
I have been evaluating the Winforms SDK and I am stuck implementing  a grid with  a large changing dataset that I want to display in real-time. If I implement my own IBinding list and set it to the grid's data source is that advisable or should I use virtual mode. I don't know how to implement virtual mode in terms of database changes being realized by the grid (ie. add, delete, modify, insert records). I can't seem to find any information on this relating to notifying the grid that a row has been inserted, deleted etc. I also want the screen painting to be minimized and the currently selected row not to change while data is being updated (unless of course a delete cause the data view to scroll up)
Thanks

Julian Benkov
Telerik team
 answered on 18 Aug 2011
3 answers
174 views
Hi everyone

I am trying to get today with a simple method from datetimepicker. I am open to suggestions :) My current workaround is to add an event handler for double clicking the datetimepickers and setting their values to today inside the handler. But inorder to deploy this method i had to write a double click event handler to all the datetimepickers in the program. I saw in another datetimepicker control (from another component provider) a small today button located on the middle bottom of the drop down calendar which does the job of taking you quickly to today...

Any suggestions ....

Best regards

Okan Sokmen
Boryana
Telerik team
 answered on 18 Aug 2011
1 answer
430 views
I need to have a context menu on a gridview whereby the user can select multiple rows on the gridview and right-clicked on it then the user can change the Status of the row via the iCommand.

<telerik:RadGridView Name="rcGridView" Grid.Row="0" Margin="15" ItemsSource="{Binding Users, NotifyOnSourceUpdated=True,  
UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}" AutoGenerateColumns="False" ClipToBounds="False"  
SelectionMode="Extended" VerticalAlignment="Stretch"   telerik:StyleManager.Theme="Summer" RowHeight="20"  
RowIndicatorVisibility="Collapsed" CanUserInsertRows="False"  CanUserDeleteRows="False"  HorizontalAlignment="Left"  
FontSize="11"  ClipboardCopyMode="All" ClipboardPasteMode="AllSelectedCells,Default"  SelectionUnit="FullRow" CanUserFreezeColumns="False">     
  <telerik:RadContextMenu.ContextMenu>         
    <telerik:RadContextMenu>             
        <telerik:RadContextMenu.Items>                 
            <telerik:RadMenuItem Header="Approve" Command="{Binding UpdateSourceTrigger=Default, NotifyOnSourceUpdated=True,  
                    RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type telerik:RadContextMenu}},Path=DataContext.StatChgtoApproveCommand}"  
                    CommandParameter="{Binding ElementName=rcGridView, Path=SelectedItems}"  />                 
            <telerik:RadMenuItem Header="Hold" Command="{Binding UpdateSourceTrigger=Default, NotifyOnSourceUpdated=True,  
                    RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type telerik:RadContextMenu}},Path=DataContext.StatChgtoHoldCommand}"
                    CommandParameter="{Binding ElementName=rcGridView, Path=SelectedItems}"  />
            <telerik:RadMenuItem Header="Reject" Command="{Binding UpdateSourceTrigger=Default, NotifyOnSourceUpdated=True,  
                    RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type telerik:RadContextMenu}},Path=DataContext.StatChgtoRejectCommand}"
                    CommandParameter="{Binding ElementName=rcGridView, Path=SelectedItems}" />  
        </
telerik:RadContextMenu.Items>         
    </telerik:RadContextMenu>     
 </telerik:RadContextMenu.ContextMenu>     
 <telerik:RadGridView.Columns
    <telerik:GridViewDataColumn Header="ID" DataMemberBinding="{Binding ID}" />         
    <telerik:GridViewDataColumn Header="Name" DataMemberBinding="{Binding Name}" />
    <
telerik:GridViewDataColumn Header="Status" 
DataMemberBinding="{Binding Status}" />     
 </telerik:RadGridView.Columns>
</
telerik:RadGridView>

Unfortunately, when the user click on the item context menu the command will trigger an iCommand and CommanParameter is null. The CommandParameter should be the multiple selected rows on the gridview. Is there a way to make this work?
Vanya Pavlova
Telerik team
 answered on 18 Aug 2011
2 answers
119 views
Hi
we are using 2011 Q2 gridview for winforms. We need to know how can get typed text in a cell inside gridviewcomboboxcolumn. If I try to get text typed when cell value before is something the text i get is always previous text, and if we try to get text typed when dropdown value is nothing always get blank text not typed text.

Thanks in advance.
Jesus
jprian
Top achievements
Rank 1
 answered on 18 Aug 2011
2 answers
294 views
Hello!
I've followed ILMerge Telerik assemblies with the application executable.
Now i have merged application: MergedGeneratorXSD.exe.
When i'm trying to execute it - it cause's runtime error:

EventType: clr20r3  P1:MergedGeneratorXSD.exe P2: 1.0.0.0
P3: 4e495182 P4: mscorlib P5 2.0.0.0 P6 4889dc80 P7:f6
P8: 80 P9: systemtypeloadexception

Sorry for my bad English :)
Martin Vasilev
Telerik team
 answered on 17 Aug 2011
1 answer
122 views
(C#)
When using a GridViewComboBoxColumn is it possible to set the Tag attribute on the cell item who's value comes from the grid combo box.

So I can call:
gridView1.CurrentRow.Cells["ColumnName"].Tag

I understand this would probably have something to do with the GridViewComboBoxColumn DataSource and what it is passed.

For Example
I have two GridViewComboBoxColumns in my GridView, call them "suppliers" and "products".
These items get populated from a database where each has a GUID and a Name.
I would like the Name to show in the grid combobox item for each column and the GUID to be assigned to the grid combo box item tag (or some other place).
When the user changes the "supplier" in any row, I would like to fetch the list of products from the database by searching for the supplier GUID.
Currently it seems all I can get back is the string name. I can see the gridView1.CurrentRow.Cells["ColumnName"].Tag however it is null

Any help would be appreciated, and if you need more info or something to be clearer please ask.

Thanks In advance
Tom.
Stefan
Telerik team
 answered on 17 Aug 2011
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
Documentation
SplitContainer
Map
DesktopAlert
CheckedDropDownList
ProgressBar
TrackBar
MessageBox
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
CollapsiblePanel
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
Styling
Barcode
PopupEditor
RibbonForm
TaskBoard
Callout
NavigationView
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Security
LocalizationProvider
Dictionary
SplashScreen
Overlay
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?