Telerik Forums
UI for WinForms Forum
3 answers
1.0K+ views

i have a radcombobox which i set items design time.when i want to select an item by value it does not work.

my code : 

cmbCallerType.SelectedValue = 1;

how can i select a combobox item by its value.please help.




 

Victor
Telerik team
 answered on 24 Mar 2010
1 answer
278 views
your controls support this functionality or do you have plans to add this functionality?

if yes, an example please


Thanks a lot
Boyko Markov
Telerik team
 answered on 24 Mar 2010
1 answer
83 views
Dear Sir,
                i am new to Schedule control, so please give a example of inserting , editing & deleting an appointment. And while the appointment time is come, that time a message box is to be display to alert the user,. Please send a sample file to me.,

Note :
I need to know to display a message when the appointment time is achieved.

By

S Suriya Narayanan
Dobry Zranchev
Telerik team
 answered on 24 Mar 2010
2 answers
122 views
Hi !

If I validate data at datatable level and I have errors set at the row level or at the column level how I can see them in radgridview?
With microsoft data grid they are automatically showed.

Regards,
Mihai

Mihai Velicu
Top achievements
Rank 1
 answered on 24 Mar 2010
1 answer
90 views
Hi
I have a situtation where i have to display 20 to 30 thousand of records in the grid.  I will be using filter, grouping features of grid.
Until those thousands of reocrds are retrived and binded with grid, there is quite a delay, which anoys the user.

Q1. Is there anything which will give continous feedback on no of records getting added to grid?

Q2. OR some kind of Async filling of Grid

Q3. OR For a moment i thought of paging but since i want to use filter, grouping features, I believe i will need all data in grid. unless there is a an alternative out-of-box way of doing it.

Regards
lee

Jack
Telerik team
 answered on 24 Mar 2010
1 answer
28 views
Hi

We have a column SexCode which can be 0 or 1 , female and male respectively.
I want Grid column to display Male if value = 1 and Female if value = 0.

I can do this with lookup column but then i will need a datasouce, which i want to avoid.
I can also do this in SQL Query itself, but then i don;t want to increase size of query output, when it can be done at client side.

Can this be done ?

Regards
Leee.

Svett
Telerik team
 answered on 24 Mar 2010
3 answers
91 views
I have a gridview with 2 command buttons when I click a button on a row it changes to orange.  When I click another button on a different row it changes to orange but the first row doesn't change colors it stays orange instead of going back to blue.

I have the same types of issues with listboxes and I'm guessing the mouseover event.  It will highlight with a lighter orange then the select orange but it looks like all the rows are highlighted.

This is a MAJOR issue to my application which is close to being released.  I never noticed it like this till recently.  Please tell me there is a way around this.


Thank You
Deyan
Telerik team
 answered on 24 Mar 2010
5 answers
213 views
Hi,

We are very interested in the functionality of the DocumentTabStrip but our users will have little use for and get confused with the concept of the docking assistant. We would like to implement our own behaviour for drag and drop and restrict the ability of the user to define the look of their workspace.

I've hunted through the help and forums but I can't find any way of disabling the docking assistant, is it possible to do this or should we look for other controls?

Is it possible to use a DocumentTabStrip without the outlying RadDock?
Georgi
Telerik team
 answered on 24 Mar 2010
18 answers
564 views
I have a grid in which the combobox column's value are dependant on another value in the row.

i.e.

Row 1 has value 1; combo should display a,b,c,d
Row 2 has value 2; combo should display e, f, g

I have the combo bound to a stored procedure with a parameter, but where can I specify the parameter to pass for the procedure.

I tried modifying the DataSource on CellBeginEdit, but for the rows not of the same type the combobox field goes blank as their value is no longer valid when the new dataset is put in place.  I tried changing the dataset back in the CellEndEdit, but that didn't seem to work.

Thanks,
Eric
Jack
Telerik team
 answered on 24 Mar 2010
3 answers
287 views
I have created a GridView to display a parent-child dataset. I have created and assigned all columns in code. This code works fine. I am able to add data and successfully update the database.

I need to capture changes to a GridViewComboBoxColumn. I want to detect when the ComboBox selection has changed and set date values for other fields in the row. I have included the event code below. It mostly works. The values come back to the grid in the correct place, but as soon as I click into another cell, the values disappear.

I have also tried a solution similar to the code below using rgv.CurrentRow.Cells["From"].Value instead of CellElement. The behaviour and results are similar but not quite successful. I have also tried enclosing the cell updates inside of rgv.GridElement.BeginUpdate() and rgv.GridElement.EndUpdate(); That didn't work either. .

This is a pretty typical thing to do in Microsoft .NET controls so I am a bit mystified as to why this appears to be so difficult with advanced controls. I am certain it is user error. but I just don't know where to look at this point. .I would appreciate it immensely if someone could point me in the right direction.

I am new to Telerik. I have figured out quite a bit in the last few days, but now I am under the gun to deliver.

Thanks in advance
John


private void rgv_ValueChanged(object sender, EventArgs e)
        {
            if (sender is RadComboBoxEditor)
            {
                RadComboBoxEditor editor = this.rgv.ActiveEditor as RadComboBoxEditor;
                if (editor != null)

                switch(editor.Value.ToString())
                {
                    case "Before" :
                        rgv.CurrentRow.Cells["From"].CellElement.Text = DateTime.MinValue.ToString();
                        rgv.CurrentRow.Cells["From"].CellElement.Enabled = false;
                        rgv.CurrentRow.Cells["To"].CellElement.Enabled = true;
                        break;
                    
                    case "After" :
                        rgv.CurrentRow.Cells["To"].CellElement.Text = DateTime.MaxValue.ToString();
                        rgv.CurrentRow.Cells["From"].CellElement.Enabled = true;
                        rgv.CurrentRow.Cells["To"].CellElement.Enabled = false;
                        break;
                    
                    case "Range" :
                        rgv.CurrentRow.Cells["From"].CellElement.Text = DateTime.Now.ToString();
                        rgv.CurrentRow.Cells["To"].CellElement.Text = DateTime.Now.ToString();
                        rgv.CurrentRow.Cells["From"].CellElement.Enabled = true;
                        rgv.CurrentRow.Cells["To"].CellElement.Enabled = true;
                        break;
                    
                    default :
                        break;

                }
            }


Jack
Telerik team
 answered on 24 Mar 2010
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?