Telerik Forums
UI for WinForms Forum
1 answer
95 views
Hi all,

I've just downloaded the latest release of RadControls for WinForms and the most basic of tiles are formatting incorrectly.  See the design-time view versus the runtime view.  It seems the tiles are always positioned an extra column from the left which is buggy.

What's wrong?
Ivan Todorov
Telerik team
 answered on 15 Oct 2012
3 answers
785 views
Hi,

I'm the same user from ticket
610565

.

I decided to use RadGridView instead of RadListView because it's performance is much better....
I use the grid with only one column - which includes simple text but also links, but without the HyperlinkColumn (I must have only one column so the control will look like a list of messages).

I also registered for the cellClick event:
private void radGridView1_CellClick(object sender, Telerik.WinControls.UI.GridViewCellEventArgs e)
    {
      GridViewCellInfo cell = (GridViewCellInfo)radGridView.Rows[e.RowIndex].Cells[e.ColumnIndex];
  
      if (cell.Tag != null)
      {
        Process.Start(cell.Tag.ToString());
      }
    }

The question is how can I start the link open process ONLY when the user click on the TEXT, and not anywhere in the specific cell.

Thanks,
Hila.
Ivan Todorov
Telerik team
 answered on 15 Oct 2012
7 answers
512 views

Hello,

I have a gridview bound to an entity framework collection. To update to database I refresh my collection followed by gridview.Refresh. This works as expected when I change fields of existing entities. 

However, when I add a new entity into the collection, the gridview does not reflect the insertion unless I set its DataSource to null and back to my collection. How can I force a rebind without completely resetting the gridview state like that?

Thanks.

Svett
Telerik team
 answered on 15 Oct 2012
1 answer
86 views
Is there a way to not select a Tab in the PageView 

So that when the tab open for the first time no tab is selected?
Stefan
Telerik team
 answered on 15 Oct 2012
1 answer
241 views
Hi, i have 3 questions about the autohide tool windows.  

1 i have a tool window docked right.  the pin is on the right.  how can i put the pin on the left when open?
2 how can i stop the tool window from opening on mouse hover.  users only want it to open when clicked
3. how can i fill the available space.  it's stopping next to the end of the container and you can see what's under it.  i want it to slide all the way out to the edge of the control it's on.

see attachments that will make 1 and 3 clearer. 

Thanks!
Nikolay
Telerik team
 answered on 15 Oct 2012
1 answer
96 views
I have a scenario where when a user selects a row of a grid, I want to display a context menu giving them 2 options. Is there any way to do this?

Thanks a bunch

Helen
Helen
Top achievements
Rank 2
 answered on 12 Oct 2012
2 answers
459 views
Is there any way to use a radContextMenu with the WinForms NotifyIcon? I'd like to use the radMenus for my WinForms app, but I need the NotifyIcon functionality, and I can't see how to use rad Menus with it.

Thanks,

Helen
Helen
Top achievements
Rank 2
 answered on 12 Oct 2012
2 answers
172 views
Below is blocks of code I use to update a radprogressbar while exporting the data out of a radgridview to excel.  The issue I am having is I get the correct row counts and the progress updates fine if the list is filtered or unfiltered.  The issue I have is once you group the progress bar keeps resetting and starting over.  Any ideas how to get a consistant update to the progress bar with a grouped gridview.  (I appollogize if this is the wrong forum, but seems to me the issue is with getting the correct grouped row counts of the radgridview.

        private void exporter_ExcelCellFormatting(object sender, ExcelCellFormattingEventArgs e)
        {
            if (e.GridRowInfoType == typeof(GridViewDataRowInfo))
            {
                //update progress bar
                int position = (int)(100 * (double)e.GridRowIndex / (double)(GetVisibleRows(this.radGridView.ChildRows)));
                this.UpdateProgressBar(position);
                this.radProgressBar.IndicatorElement1.UpdateLayout();
            }
        }

        public long GetVisibleRows(GridViewChildRowCollection rows)
        {
            long i = 0;
            foreach (GridViewRowInfo row in rows)
            {
                if (row is GridViewGroupRowInfo)
                {
                    i += GetVisibleRows(row.ChildRows);
                    continue;
                }
                i += 1;
            }
            return i;
        }

        private void UpdateProgressBar(int value)
        {
            if (this.InvokeRequired)
            {
                this.Invoke(new EventHandler(delegate
                {
                    if (value < 100)
                    {
                        this.radProgressBar.Value1 = value;
                    }
                    else
                    {
                        this.radProgressBar.Value1 = 100;
                    }
                }));
            }
            else
            {
                if (value < 100)
                {
                    this.radProgressBar.Value1 = value;
                }
                else
                {
                    this.radProgressBar.Value1 = 100;
                }
            }
        }
Thanks

Scott
Top achievements
Rank 1
 answered on 12 Oct 2012
3 answers
327 views
I've dynamically added a RadSpinElement to my RadRibbonBar and I'd like to make it so that the MouseWheel scrolling does not affect the value in the textbox. I'd like the user to have to either hold down the up/down arrow or type in a value.

Is there an event or property I can use to achieve this?
Svett
Telerik team
 answered on 12 Oct 2012
3 answers
626 views
how can i avoid DateTimePicker crashing?
when I set DateTimePicker to minimum value of 01.01.0001 (ex. when you set it to Null value) and then open calendar (positioned at 01.01.0001) and move a month (or a year) earlier - application crashes.

when it's a simple DateTimePicker i can set a minimum value and a null value to secure the situation.
but when DateTimePicker is a part of RadGridView column type of DateTime, i have no ability of setting values of Minimum or Null for it. 

do you have any solutions for this situation?
Peter
Telerik team
 answered on 12 Oct 2012
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
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?