Telerik Forums
UI for WinForms Forum
11 answers
198 views
is there a better event to use than AppointmentResized for resize appointment changes?  this even seems to fire every block the resize hits instead of once when the user finishes resizing the control.  I need to save off the new time for the appointment when they get done resizing.  saving it 5 times as they drag it bigger isn't good.

Thanks.
Stefan
Telerik team
 answered on 04 Nov 2014
1 answer
270 views
Hi,

I've looked at the previous answers on this one such as http://www.telerik.com/forums/open-a-windows-form-in-tabbed-document however this doesn't do the trick for me. The goal is to design controls for a new document window and load that with details when the user double clicks on a list item to edit and view it in detail. When I try adding it as such:

            detailsForm _detailsForm = new detailsForm(listitem);
            _detailsForm.Dock = DockStyle.Fill;
            _detailsForm.TopMost = false;
            _detailsForm.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
            _detailsForm.Show();
            this.documentWindow1.Controls.Add(_detailsForm);

I get the below exception:

System.ArgumentException was unhandled by user code
  HResult=-2147024809
  Message=Top-level control cannot be added to a control.
  Source=System.Windows.Forms
  StackTrace:
       at System.Windows.Forms.Control.ControlCollection.Add(Control value)
.....

Any ideas why?
 
Dimitar
Telerik team
 answered on 03 Nov 2014
4 answers
522 views
Hi,

I am having a problem with grouping feature, if a try to group by a column, the grid perform the grouping but it does not group rows with same colum value, so, it creates a gruping row for each row in the group with the same value in the grouping column.

Additionaly, no value of the grouping is shown in the grouping row, it shows "Column_name: " and nothing behing ":"

I have upload a picture where I am trying to group by "Product Version", but grid do not agrupate for example the values "31.3.0.1.b4" as same value, I have try with other columns and other values and I have always same result.

any help would be very appreciated.

Thanks
George
Telerik team
 answered on 03 Nov 2014
4 answers
234 views
Hi

anybody knows if the grid support to move rows natively with the mouse?

I need to click with the mouse on a groups of rows and move them to another position in the same grid (drag and drop)

Could anybody share an example?

Thanks a lot.

Francisco
FMorales
Top achievements
Rank 1
 answered on 03 Nov 2014
8 answers
202 views
Hello

I have installed telerik 2011 Q2 however when i try find my chart to drag onto my winform there is no RadChart to drag on.
Am I looking in the wrong place or what is going wrong.

Thanks
Stef
Telerik team
 answered on 03 Nov 2014
0 answers
65 views
I want to have a filter for radgridview like as we have for Datawindow platform
http://en.helpdoc-online.com/powerbuilder_9.0/source/pbugp187.htm
so It would be nice if i can have a dll or some solution for its implementation or some application which i can integrate to my solution.
Lokesh
Top achievements
Rank 1
 asked on 03 Nov 2014
2 answers
324 views
How do I get this controls row count?  I would have thought it would be something like ComboBox1.Rows.Count but alas that would be way too easy.  
SSirica
Top achievements
Rank 3
Iron
Iron
Iron
 answered on 31 Oct 2014
4 answers
189 views
I have a dropdownlist bound to a data source with 3 items, iid, cPolicyNo, GroupFundID
I need to reference both iid and groupfundid when the user selects an item.

The method I am trying to use is as below however I am getting an error:

    Error 1 Cannot convert type 'Telerik.WinControls.UI.RadListDataItem' to 'System.Data.DataRow' via a reference conversion, boxing conversion, unboxing conversion, wrapping conversion


Thanks for any help.




    private void Underwriting_Load(object sender, EventArgs e)
        {

            this.vPolicyNoForCBOTableAdapter.Fill(this.rG.vPolicyNoForCBO);

            // Load CBO Source
            this.cboPolicyNo.DataBindings.Clear();
            this.cboPolicyNo.DataSource = this.rG.vPolicyNoForCBO;
            this.cboPolicyNo.DisplayMember = "cPolicyNo";
            
            
        }

        private void cboPolicyNo_SelectedValueChanged(object sender, EventArgs e)
        {
            // TheSWShop 103014 Find Policy
            // Behavior - Allow the user to search for the Policy Number, cbo follows this behavior.
            //            In original system, once the first 3 letters are typed pull all of the related Policy Data.
            //            Get latest Year for Policy
            //            Get Group Fund

            DataRow cboPolicyRow = (this.cboPolicyNo.SelectedItem as DataRow);

            var groupfundid = cboPolicyRow["groupfundid"].ToString();

            this.groupFundID = Int32.Parse(groupfundid);

         }
Sam
Top achievements
Rank 1
 answered on 31 Oct 2014
3 answers
3.5K+ views
Hello everybody

I'm using Telerik RadGridView. I'm trying to change the color of one cell depending on the value of another cell. I'm trying to achieve this using this code:

if (e.Column.Name == "colDate" && !string.IsNullOrEmpty(e.CellElement.Value.ToString()))
{
    if (DateTime.Now > DateTime.Parse(e.CellElement.Value.ToString()))
    {
        e.Row.Cells["colColor"].Style.DrawFill = true;
        e.Row.Cells["colColor"].Style.BackColor = Color.Red;
        e.Row.Cells["colColor"].Style.NumberOfColors = 1;
    }
}

But for some reason it doesn't change the color. What I noticed is that when i replace

"e.Row.Cells["colColor"].Style"

with

"e.CellElement"

it changes the color. But I don't want to change the color of the current cell. I want it to change the color of another cell.

Any suggestions? :)
Stefan
Telerik team
 answered on 31 Oct 2014
3 answers
192 views
Dear ,I have your product installed and integrated into Visual Studio 2012 , I am working with UI for WinForms .The question is ;Using the TreeView Visual Studio I was doing this:Dim ret as TreeNode () = Tree.Nodes.Find (node , True) now I want to do the same using the RadTreeView . Can you help me please with this issue , I have several days trying to do this .
Stefan
Telerik team
 answered on 31 Oct 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?