Telerik Forums
UI for WinForms Forum
1 answer
107 views
Greetings, i've a RadDataEntry, everything works well now...but it seems there's a problem. I've an image in byte[], and i need to display it properly, as image. And after all it still MUST be correctly binded to the base entity, where this field is byte[] and not an image, in case if i'll change image to another one.
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 22 Aug 2014
3 answers
82 views
When using Ctrl+Left to navigate the rich text, when the cursor is at the end of a word, or inside a word, Ctrl+Left goes to the start of the previous word.  It should go to the start of the current word.

Is there a work-around for this?  Can it be fixed?
Dimitar
Telerik team
 answered on 22 Aug 2014
3 answers
459 views
I have a grid that shows sports statistics for each player for each game. Using basketball as an example, column 1 will have the players names and after that will come FGA (field goal attempts), FG (number of field goals made), FTA (free throw attempts), FT (number of free throws made), TP (total points), etc. There might be as many as 20 columns and the column names change based on the sport and position. At the bottom of the grid in column 1 is "Game Totals". The other columns have a sum or an average of all the players in the game. We get the list of columns using a query into a datatable. How do I get this variable list of columns into the summary row?
Thank you,
Mick Mathews
Dimitar
Telerik team
 answered on 22 Aug 2014
2 answers
266 views
Column header text and filter button is overlapped if column text is right alignment.

how to avoid it?
Stefan
Telerik team
 answered on 22 Aug 2014
1 answer
72 views
In reviewing the Gridview "First Look" demo for Winforms demo, I saw a feature that I'm looking to implement. The demo does not have a code sample so I'm looking for some assistant on how to do this. Basically, I have a Hierarchy gridview bind to a SQL datasource (I did all this using the property builder).

When I click on the [+] of the parent gridview, it populate the child template gridview. Now, if I click on the row in the child gridview, I want the detail view on my right panel so that I can update/edit the data back to the datasource. Can someone provide some guidance or show me how this can be done?

See attached screen shot of the demo.
Dimitar
Telerik team
 answered on 22 Aug 2014
3 answers
148 views
I'm using the RadRichTextBox to replace the C# default rich text box.  My hope was to be able to enable spell checking so that users would see the red wavy lines under misspelled words.  However, when I set IsSpellCheckingEnabled to true, performance is unacceptable.  With only a few pages of text, even scrolling the control is slow and jerky.  Disabling spell check allows smooth scrolling, but defeats the purpose.

Is there anything I can do to fix this?  Will performance be addressed in a later release?
Dimitar
Telerik team
 answered on 22 Aug 2014
2 answers
497 views
Hi @all, as mentioned above i am searching for solution to display hot tracking in both ... rows and colums. Is that possible ?

Thanks alot

Greetings
Tobias
Top achievements
Rank 1
 answered on 22 Aug 2014
0 answers
179 views
When I stop to select the node, is shaded. 

This time, I do the dragdrop from the ListView to Treeview. 

In return the default backcolor of treeview node.





RadTreeNode _previousNode = null;

    private void tvwExplorer_DragOver(object sender, DragEventArgs e)
    {
      if (this._previousNode != null)
      {
        this._previousNode.BackColor = SystemColors.HighlightText;
        this._previousNode.ForeColor = SystemColors.ControlText;
      }

      Point pt = ((RadTreeView)sender).PointToClient(new Point(e.X, e.Y));      
      RadTreeNode tn = this.tvwExplorer.GetNodeAt(pt);
      if (tn != null)
      {
        tn.BackColor = SystemColors.Highlight;
        tn.ForeColor = SystemColors.HighlightText;
      }
      this._previousNode = tn;
    }




Cesar
Top achievements
Rank 1
 asked on 21 Aug 2014
1 answer
217 views
I'm trying to make a gridview object dynamic so I don't have to update and distribute a binary every time I want to change the grid construction.

Background:
1) database table with information about reports called GeotechReports
2) database table with information about each field in GeotechReports called GeotechSetup
3) gridview object called GeotechGrid that has AutoGenerateColumns="True"
4) listbox object called GeotechHideColListbox that is bound to GeotechGrid to set the content and state of each listbox member

Information I need from a table, but can't seem to get into the grid or listbox:
1) The GeotechSetup table has two fields of interest: header and visibility. I want to somehow grab the header from this table for the grid to use so the database field name isn't the column header. Since the data is in GeotechReports and the header name is in GeotechSetup (different tables), I don't know how to make the grid understand to look at another datacontext/database table.
2) I want to change the listbox state in the same manner as above. By that I mean I want to set the state based on the visibility field in GeotechSetup.

Here's the relevant xaml:

<telerik:RadGridView Grid.Row="1" Grid.Column="0"
            HorizontalAlignment="Stretch" Margin="0,0,0,0"
            CanUserDeleteRows="False"     CanUserInsertRows="False"
            IsReadOnly="True"             IsFilteringAllowed="True"
            ColumnWidth="*"               SelectionMode="Multiple"
            SelectionUnit="FullRow"       AutoGenerateColumns="True"
            GroupRenderMode="Flat"        AutoExpandGroups="True"
            IsSynchronizedWithCurrentItem="True" x:Name="GeotechGrid"
            ItemsSource="{Binding Path=ReportsToDisplay, Mode=OneWay}"
            SelectedItem="{Binding Path=SelectedReport, Mode=TwoWay}">
 
    <telerik:RadGridView.Columns/>
</telerik:RadGridView>


<ListBox ItemsSource="{Binding Columns, ElementName=GeotechGrid}"
      x:Name="GeotechHideColListbox">
    <ListBox.ItemTemplate>
        <DataTemplate>
            <CheckBox Content="{Binding Header}"
                  IsChecked="{Binding IsVisible, Mode=TwoWay}" />
        </DataTemplate>
    </ListBox.ItemTemplate>
</ListBox>

Essentially what I'm asking is how do I programmatically get access to GeotechGrid and then update each column with the header information stored in GeotechSetup? Here's what I've got so far. I know it accesses the GeotechSetups context as expected from the rlinq object because I displayed x.Fieldname and x.Fieldheader to a message box.

private void RetrieveSetupParameters()
{
  foreach(GeotechSetup x in this.context.GeotechSetups.ToList())
  {
    // 1) x.Fieldname is the name of the field in the GeotechReport table
    // 2) x.FieldHeader is what I want to be the column header text
    // 3) x.FieldVisibility is what I want to use to set the listbox items
    //    and hide the columns I specify in the database
  }
}

I don't need the communication to be in twoway mode. I'm only interested in doing this to set column default states on first load.
Dimitrina
Telerik team
 answered on 21 Aug 2014
1 answer
975 views
Hi,

I've added GridViewImageColumn and am displaying the image from local path using
Bitmap.FromFile(this.Value.ToString()); as was specified in one of your links.That is working fine.

The issue here is that the images can be of varying sizes, hence the row height is not uniform. We need to either generate thumbnails for these images and then display in the column,
Is there any way to specify the height and width for the Image so that it would resize accordingly without getting truncated.
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 21 Aug 2014
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
+? 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?