Telerik Forums
UI for WinForms Forum
3 answers
146 views
Hi Telerik,
First of all congratulations for developing such good components and providing such quick and detailed answers to their questions.
We have almost finalized our decision to purchase telerik WinForm. In order to finalized the things I need some answers, so that I could confidently represent the component to my clients.

My queries are as follows:
  1. Once if I purchase telerik license (lets say of Q2 SP1 of 2008) and found some functionality/feature missing after deployment (the software would be  used for about more then 300 machine simultaneously )and later telerik provide me that requirement . How would I upgrade the user system( What I mean is that would the dll replacement accomplish the task [I hope it would :) ] ).
  2. with reference to the previous point if I acquire the license of telerik Q2 SP1 2008 and Telerik upgade itself to Q3 2008 can I sent the new dll to end user machine and the replacement would work fine or not. I am specially asking that because to upgrade the trail version I manually have to uninstall and then install newer version of telerik.
  3. Going through telerik website, I read the enchantments telerik is planning for its Q3 2008 release and I am very very much interested  in Form template and Flicking  reduction features. In Forms I really really want the vista theme, I know its already available theme but right now we find is bit difficult ( We would prefer to avoid xml ), I personally wish that telerik provide "Aurora Theme" [without black title bar]. Regarding flicking that very major concern. Please do some enhancements regarding this. :( I have to use RadToolbar ,  Rad Treeview, RadPanels, Rad Buttons in same form so they may flicker a lot.
  4. Just for information, I want to ask.Do Telerik provide any Zipping / Unzipping component. because I need such component and I would prefer Telerik.
I wish good luck to telerik and its team.

Regards,
Haroon.
Nikolay
Telerik team
 answered on 16 Apr 2009
6 answers
336 views
Anyone have any good examples of successfully binding a LINQ result with a parent child relationship to a gridview?

Thanks, Donta
Donta Dalpoas
Top achievements
Rank 1
 answered on 16 Apr 2009
1 answer
144 views
Hi,
I have a CellFormatting event in which i add a button to each cell in a particular column. so, i use e.CellElement.Children.Add(buttonInstance) inside the CellFormatting event (code for CellFormatting is below). The button is either enabled or disbaled based on the value of the cell. 
        void radGViewByLocation_CellFomatting(object sender, CellFormattingEventArgs e)
        {
            if (e.CellElement.ColumnInfo is GridViewDataColumn && !(e.CellElement.RowElement is GridTableHeaderRowElement))
            {
                if (e.CellElement.Children.Count > 0)
                    return;

                GridViewDataColumn column = (GridViewDataColumn)e.CellElement.ColumnInfo;
                if (column.FieldName == _ActivityTypeColumnName)
                {
                    if (!(e.CellElement.RowInfo is GridViewDataRowInfo))
                        return;

                    GridViewDataRowInfo rowInfo = (GridViewDataRowInfo)e.CellElement.RowInfo;
                    if (rowInfo == null)
                        return;

                     // Since the collection object is held by the radGViewpeople, we just re-use it.
                    List<string> activityTypes = _collectionObj.ActivityTypeNames;
                    foreach (string activityTypeName in activityTypes)
                    {

                        try
                        {
                            if ((rowInfo.Cells.Count > 0) && (activityTypeName == rowInfo.Cells[4].Value.ToString()))
                            {
                                SubCollectionIdentfierClass subCollectionIdObject = new SubCollectionIdentfierClass();

                                // the people name appears in a different column depending on the user priviledge.
                                int index = 2;
                                subCollectionIdObject.location = radGViewByLocation.Rows[e.CellElement.RowIndex].Cells[index].Value.ToString();
                                subCollectionIdObject.people = radGViewByLocation.Rows[e.CellElement.RowIndex].Cells[index + 1].Value.ToString();
                                subCollectionIdObject.activityType = activityTypeName;
                                subCollectionIdObject.rowIndex = e.CellElement.RowIndex;

                                string buttonName = subCollectionIdObject.location + subCollectionIdObject.people + activityTypeName;

                                AIMButtonElement locationTypeElement = new AIMButtonElement();
                                locationTypeElement.Name = buttonName;
                                locationTypeElement.Tag = subCollectionIdObject;
                                locationTypeElement.Text = activityTypeName;
                                locationTypeElement.Image = _isCompleteItemImage;
                                locationTypeElement.TextAlignment = ContentAlignment.MiddleRight;
                                locationTypeElement.TextImageRelation = TextImageRelation.ImageBeforeText;

                                if (e.CellElement.Text == "false")
                                {
                                    locationTypeElement.Enabled = false;
                                }
                                e.CellElement.Children.Add(locationTypeElement);
                                this.ApplyThemeToElement(locationTypeElement, "ControlDefault");

                                locationTypeElement.MouseDown += new MouseEventHandler(element_MouseDown);
                                locationTypeElement.MouseUp += new MouseEventHandler(element_MouseUp);
                                locationTypeElement.Click += new EventHandler(locationTypeElement_Click);
                            }
                        }
                        catch (Exception ex)
                        {
                            Logger.WriteLine("ERROR", "ANY", "Exception : <" + ex.Message + ">.");
                        }
                    } // foreach 
                }
            }
        }
Previously, i was trying to set the value of another cell in the same row as the event with GridViewDataRowInfo.Cells[1].Value but it led to a stackoverflow situation. So, i moved this code to a DataBindingComplete event. But now, when i check the CellElement in this event, they are all null so the code in the DataBindingComplete event does not get to the second if statement. So, where are the buttons and how do i get a handle to them so i can do what i need to in the DataBindingComplete event. Please help...

        private void radGViewByLocation_DataBindingComplete(object sender, GridViewBindingCompleteEventArgs eventArgs)
        {
                for (int j = 0; j < radGViewByLocation.Rows.Count; j++)
                {
                    gvRow = radGViewByLocation.Rows[j];
                    if (gvRow.Cells[4].CellElement != null && gvRow.Cells[4].CellElement.Children != null)
                    {
                        if (gvRow.Cells[4].CellElement.Children.GetType() == typeof(AIMButtonElement))
                        {
                            AIMButtonElement theButton = (AIMButtonElement)gvRow.Cells[4].CellElement.Children[0];
                            SubCollectionIdentfierClass subCollectionIdObject = (SubCollectionIdentfierClass)theButton.Tag;
                            CollectionDataClass colDataObj = _collectionObj.GetCollectionDataBySubIdentifier(subCollectionIdObject);
                            if (colDataObj != null && colDataObj.IsCompleted)
                            {
                                theButton.DisplayStyle = DisplayStyle.ImageAndText;
                                // rowInfo.Cells[1].Value = true;
                                // radGViewByLocation.Rows[e.CellElement.RowIndex].Cells[1].Value = true;
                                gvRow.Cells[1].Value = true;
                            }
                            else
                            {
                                theButton.DisplayStyle = DisplayStyle.Text;
                                // rowInfo.Cells[1].Value = false;
                                // radGViewByLocation.Rows[e.CellElement.RowIndex].Cells[1].Value = false;
                                gvRow.Cells[1].Value = false;
                            }
                        }
                    }
                }
}
thank you,
Bahram

Nick
Telerik team
 answered on 15 Apr 2009
3 answers
97 views
Hi, I'm new to RadControls to WinForms and my question is probably very simple.
When I'm trying to add some item (using RadItem Collection Editor) to RadPanelBarGroupElement, after clicking on drop-down arrow on the Add button i see only four elements (RadToggleButtonElement, RadCheckboxElement, RadRadioButtonElement, RadLabelElement). In sample in documentation there is few elements more, particularly RadButtonElement.

Anybody knows, where is the problem?

Thanks in advance!
Deyan
Telerik team
 answered on 15 Apr 2009
3 answers
126 views
I try to enter a value in a GridViewDateTimeColumn manually but it is not possible to enter a single value when trying to type it in manually. No number-key seems to work.

Hitting the enter-key accepts the default value.
Hitting one of the arrow-keys moves to the next cell.

The only way i have found to enter a value manually is to use the mouse-wheel first. Then it is possible to enter a value by typing it in manually as it should be.

How can i enter a value by typing it in manually without using the mouse-wheel first ?

Greetings,

Ramius


Nick
Telerik team
 answered on 15 Apr 2009
4 answers
143 views
Does this control support incremental search?  I don't see a setting for it.

Thanks.

Ken
peter
Top achievements
Rank 1
 answered on 15 Apr 2009
1 answer
131 views
Hello
In my app, I add the DockPanels dinamically to the DockingManager...
How can I do to these panels have the same width?
I tried this:
dockingManager1.Controls[x].Width = (dockingManager1.Width / dockingManager1.Controls.Count);
Another question: how can I hide the tab simbol that existes at the bottom of the DockPanel?
For example: When I add the DockPanel, at its bottom, it seems like it's a tab. Can I hide this and only the window will appear?
Thanks
Julian Benkov
Telerik team
 answered on 15 Apr 2009
2 answers
126 views

Hi Telerik,

My client needs the ability to multi-select items on the radtreeview using the arrow keys and either ALT and/or CTRL.

How do I enable this functionality?

Do you have a sample project or a code snippet?

Many thanks,

~Mike

Mike
Top achievements
Rank 2
 answered on 14 Apr 2009
7 answers
230 views
Hi,

I am using RadPanelBar with RadButtonElement controls on it. I whould like to assign a context menu to every single RadButtonElement but I have some problems regarding this.

1. RadButtonElement dos not contain ContextMenu property, so I cannot assign the menu to it.

2. When I right click on RadButtonElement, it fires a click event, what I do not want. Is it possible to disable such a behavior?

TIA
Jaroslav
Deyan
Telerik team
 answered on 14 Apr 2009
3 answers
163 views
Hello!

I've just installed RadControls_WinForms_2009_1_311_dev width Visual Studio 2008 service pack 1. I had RadControls_for_ASP.NET_AJAX_2009_1_311_dev and haven't ever had installed any WinForms radcontrols. Also, there is installed Visual Studio 2005.

During installation of RadControls_WinForms_2009_1_311 I unchecked support for VS 2005 and left VS 2008 only. At the end of installation there was and error box reporting that ToolBox failed. After that, I didn't find RadControls in VS 2008's toolbox.

How could I add RadControls_WinForms into VS 2008 toolbox manually? The only installed third party controls are DevExpress for WinForms. Maybe, they are conflicting?

With best regards,
Alexey
Jordan
Telerik team
 answered on 14 Apr 2009
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?