Telerik Forums
UI for WinForms Forum
1 answer
308 views
Hi there,

First of all thanks for development such an amazing components. We'd like to implement week number selector based on date time picker. We are using Rad Controls 2010 for WinForms Q3.

I saw a couple of related articles, but none of them solved our goal. The purpose is - to select week number and save the week #, year to the database. Brief requirements are as such:

Pre-requisite: only one week can be selected at the time

1. When week # is selected, 5-working days must auto-selected (highlighted)
2. If single day is selected, its week and relative days must be auto-selected (highlighted)
3. When item 1 or 2 is accomplished, the format must be {week #, year}

Question: is there a chance to use custom Week Number Selector in RadGridView as cell editor?

Thanks in advance!

Ivan
Ivan Todorov
Telerik team
 answered on 02 May 2011
2 answers
298 views
In the drag and drop example (the standard telerik examples that is) for dropdown and list drag drop, you get visual feedback when moving the items from one list to the other.  I have found that it is quite easy to get a feedback item to stay drawn when the drop is not completed.  This is generally seen in the area between the lists.  I have attached a screenshot that clearly shows the issue.  Any hints on what needs to be changed to avoid this?
I have a real life example very close to the telerik example and can see the issue there as well.  If I can do it in testing you can be sure some user will...

On a similar note:  I can convert the example drag drop manager code to do multi-select drag and drop (the scenario is fairly simple, and many of the standard drag drop cases can be ignored).  Where does the text for the drag feedback form get drawn?  i.e. I can see the feeback form created, but it wasn't immediately clear where the text was being added.  I would like to change the size of the feedback form according to the number of items selected, and also draw the text of the additional items if it is not too hard.

Derek
Top achievements
Rank 1
 answered on 02 May 2011
1 answer
223 views
hi..
i have radpageviewpage with the close button element, i want when i close the last radpageviewpage, the form will close automatically too, how can i do it?
thanks for your help.
Emanuel Varga
Top achievements
Rank 1
 answered on 01 May 2011
2 answers
136 views
Hello
I use this code to fill datagrid , but rows was created without data! whats the problem?
Dim connString As String = "Provider=SQLOLEDB.1;Password=*******;Persist Security Info=True;User ID=sa;Initial Catalog=chek;Data Source=ahnd"
        Dim myConnection As OleDbConnection = New OleDbConnection
        '192.168.168.1
        'Data Source=ahnd;Initial Catalog=chek;Persist Security Info=True;User ID=sa
        myConnection.ConnectionString = connString
        Dim da As OleDbDataAdapter = New OleDbDataAdapter("select * from x" , myConnection)
        Dim ds As DataSet = New DataSet
        da.Fill(ds, "x")
        RadGridView1.DataSource = ds.Tables("x").DefaultView
Ali
Top achievements
Rank 1
 answered on 29 Apr 2011
3 answers
143 views
I would like to change the filter row cells background color. Please assist I can't seem to access via code or editor tools.

Thanks in advance.
Emanuel Varga
Top achievements
Rank 1
 answered on 29 Apr 2011
1 answer
112 views
Hi Telerik

I am trying to set the image Index for sub menu items in the items collection of a context menu item.

The ImageIndex property of the sub-menu items does not show the imagelist images associated with the context menu.

How can I get these images to appear on the sub menu items collection?

Regards
Ian Carson
Emanuel Varga
Top achievements
Rank 1
 answered on 29 Apr 2011
1 answer
123 views
today updateversion from 2011.1.11.315 to 2011.1.11.419
after update error in VS !

After this I can no longer edit RadControls in form, or select.
!!
Petar
Telerik team
 answered on 29 Apr 2011
2 answers
85 views
This code not working 
I need to change Description cell text on combo selection of GridViewComboBoxColumn 
"gvItems" is my grid

 public void GridInitialize()
        {
            try
            {
                Database.JangDataContext DC = new Database.JangDataContext();
                gvItems.AutoGenerateColumns = false;

                // Ini Col 1
                var itemColumn = new GridViewComboBoxColumn("Items");
                itemColumn.FieldName = "Item_ID";
                itemColumn.ValueMember = "Item_ID";
                itemColumn.DisplayMember = "Item_Name";
                itemColumn.DataSource = (from Itm in DC.Items where Itm.IsActive == true select Itm).ToList();
                gvItems.Columns.Add(itemColumn);
                gvItems.Columns[0].Width = 65;


                // Add Selected Text Event
                gvItems.SelectionChanged += new EventHandler(gvItems_SelectionChanged);                
                //  End Ini Col 1

                var itemDetailColumn = new GridViewTextBoxColumn("Description");
                itemDetailColumn.FieldName = "Item_Description";
                itemDetailColumn.HeaderText = "Description";
                gvItems.Columns.Add(itemDetailColumn);
                gvItems.Columns[1].Width = 165;


                // Ini Col 2
                // End Ini Col 2
            }
            catch (Exception Ex) { MessageBox.Show("Some error occer while initialization grid : Error Code = {0}", Ex.Source); }
        }
void gvItems_SelectionChanged(object sender, EventArgs e)
        {            
            gvItems.CurrentRow.Cells["Description"] = "Hello There ";
         }
Emanuel Varga
Top achievements
Rank 1
 answered on 29 Apr 2011
1 answer
146 views
In our application, we have code that needs to execute when the header cell is clicked but needs to be ignored when the column is being resized (by clicking and dragging on the line between header cells).

However, after resizing a column, when the mouse is released, a Click event is created and the code executes.

Is this the correct behavior or an issue?

If the user clicks inside and header cell and drags, no click event occurs when the mouse is released. I assume this is the correct behavior, so why should it happen when resizing columns?

If this is the correct behavior, what is the correct way to excecute code when the user clicks a header cell and not when resizing the column?

Thanks
Emanuel Varga
Top achievements
Rank 1
 answered on 29 Apr 2011
1 answer
158 views
I'm working on a multi-tab WinApp that will contain about 20 charts and 50 chart series of data that the user can select from. The data will be coming in via UDP at about a 16 Hertz data rate. I need some "best practices" type of advice for creating a smooth user experience using the Telerik RadChart. For instance, with this number of charts, how many data points per chart can I realistically display?

Thanks,
Tsvetie
Telerik team
 answered on 29 Apr 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
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
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?