Telerik Forums
UI for WinForms Forum
2 answers
427 views

I'm wanting to use the navigator on a stock page. We have something in the regions of 11000 stock items so I also need to offer a search function based on our part numbers. 

After the user has found the item they want I would like them to be able to navigate either side of that item using the navigator. 

I am using the Entity Framework and Linq to Entities. 

 I load data to the navigator with

1.var stock = (from s in context.Stocks
2.             select s).ToList();
3. 
4.            this.bindingSource1.DataSource = stock;
5.            this.bindingNavigator1.BindingSource = bindingSource1;

 

How can I find the position of my item and then set the binding navigator to that position?

Thanks, 
Victoria

Victoria
Top achievements
Rank 1
 answered on 22 Oct 2015
2 answers
127 views

I'm using C#
Telerik UI for Winforms Q3 2015
Using a RadForm.
I have a radgridview. 
I'm trying to get a Boolean Column to show as a Checkbox column.
            gridViewComboBoxColumn1.DataSource = this.propertiesBindingSource;
            gridViewComboBoxColumn1.DataType = typeof(bool);
            gridViewComboBoxColumn1.DisplayMember = "lease_up";
            gridViewComboBoxColumn1.EnableExpressionEditor = false;
            gridViewComboBoxColumn1.FieldName = "propertynumber";
            gridViewComboBoxColumn1.HeaderText = "column2";
            gridViewComboBoxColumn1.Name = "column2";
            gridViewComboBoxColumn1.ValueMember = "property_number";
This returns True or False as it should.

I want to use the DisplayMember Value for a CheckBox
            gridViewCheckBoxColumn2.EnableExpressionEditor = false;
            gridViewCheckBoxColumn2.Expression = "LeaseUp ";
            gridViewCheckBoxColumn2.FieldName = "LeaseUp2";
            gridViewCheckBoxColumn2.HeaderText = "Lease Up 2";
            gridViewCheckBoxColumn2.IsAutoGenerated = true;
            gridViewCheckBoxColumn2.MinWidth = 20;
            gridViewCheckBoxColumn2.Name = "LeaseUp2";
            gridViewCheckBoxColumn2.ReadOnly = true;
            gridViewCheckBoxColumn2.Width = 80;

To Make sure what value was being passed I added the TextBox Column Below for testing
            gridViewTextBoxColumn2.EnableExpressionEditor = false;
            gridViewTextBoxColumn2.Expression = "column2 ";
            gridViewTextBoxColumn2.HeaderText = "column1";
            gridViewTextBoxColumn2.Name = "column1";
            gridViewTextBoxColumn2.ReadOnly = true;
The Value returned by the Expression is the ValueMember (property_number)
and not the DisplayMember (lease_up)
What do I need to put in the Expression of either the TextboxColumn or
CheckBoxColumn to return gridViewComboBoxColumn1.DisplayMember (lease_up Boolean value)?
Any help will be greatly appreciated.
Thanks,

Tommy
Top achievements
Rank 1
 answered on 21 Oct 2015
3 answers
198 views

Hello,

 

is there any way to access a collection of the cells/rows that match the search criteria?

I'm trying to implement a combined search/filter - function -- using the SearchProgressChangedEvent to hide all rows that do not match the search criteria.

 

 

Kind regards,

Andreas

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 21 Oct 2015
1 answer
203 views

Thank you

first question

i don't want selected rectangle that i select item(using fullrowselect)

please see a picture

 

second question

i want that header isn't clicked

how can i do??  thanks!!

 

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 21 Oct 2015
1 answer
187 views
How can I completely remove the RadForm FormInnerBorder either through the Visual Style Builder or in my code which implements a RadForm?  I need visibility to go away along with all padding so that my inner control bounds can fill up to the outer border without the inner border still taking up about 3 pixels of space on the left, right, and bottom of the form.
Dimitar
Telerik team
 answered on 21 Oct 2015
1 answer
103 views

When trying to create a custom theme for a Panorama, I can import the xml into the theme manager, but it does not show up.  I've done this with other control (buttons for example) and it works.  I've found that some control require some "Base" controls to also be themed, but I haven't found any documentation as to a hierarchy of requirements for a control to work.

 Is there such a list, and if not, can someone at least tell me what control I need to theme in order to get a RadPanorama to accept my custom theme.  Mostly this is simply to get it to use my custom scrollbar (which *has* been themed).

 Thanks.

Dimitar
Telerik team
 answered on 21 Oct 2015
2 answers
131 views

I have a GridView with MultiSelect enabled. The standard behavior is when the user selects a row this changes the row's color and all selected rows maintain a diferent color. I want to mimic this behavior with a GridViewCheckBoxColumn.

 My GridView has a GridViewCheckBoxColumn and when it's checked, I want to change the row color. If it's unchecked, return it back to normal. Currently I'm using the ValueChanged event to capture the event of the checking and unchecking.

private void radGridViewProducts_ValueChanged(object sender, EventArgs e)
{
    if (this.radGridViewProducts.ActiveEditor is RadCheckBoxEditor)
    {
        this.radGridViewProducts.Rows[this.radGridViewProducts.CurrentCell.RowIndex].IsSelected = true;
    }
}

 The code above does not change the row color. How can I acheive this?

 

Thank you.
Dimitar
Telerik team
 answered on 21 Oct 2015
4 answers
655 views

Hi

 

I have been using a CheckedDropDownList in an application and I want to check some of the values in the dropdownlist before the users sees it. I have tried several things in order to get it work and so far nothing. It should b a simple thing i just don't know..

 

so far i have tried

 

 List<string> dbValues = _asset.MultiLocDrawingNum;

                    foreach (var v in dbValues)
                    {
                        var item = ddData.Items.FirstOrDefault(x => x.Text == v);

                        item.Selected = true;

                        ddData.Items.Add(item);

                        //ddData.SelectedItem = item;

                        //ddData.SelectedIndex = ddData.FindString(item.Text);
                    
                    
                    }

Ralitsa
Telerik team
 answered on 21 Oct 2015
1 answer
202 views
i developed  a new UI  application with Telerik radcontrol . My probelm is,  install  the application in another system it showing error   "unable to install or run the application . The Application requries that  assmebly QuickStart  Version 2011.3.11.1219 bi installed in the Global Assembly cache(GAC ) first.  please contact your System Administrator "
Hristo
Telerik team
 answered on 20 Oct 2015
6 answers
288 views
Hi,
I have a non-trial "RadControls for Winforms" installed in my computer working with Visual Studio 2010, and now I recently installed a new Visual Studio 2012. After the installation I couldnt find the Telerik's tab on VS2012 or the extensions for toolbox, can I configure it without re-installing the entire Telerik's packet? Thanks!
Dyanko
Telerik team
 answered on 19 Oct 2015
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
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
CollapsiblePanel
LayoutControl
ShapedForm
SyntaxEditor
Wizard
TextBoxControl
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
RibbonForm
Styling
Barcode
PopupEditor
TaskBoard
NavigationView
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Overlay
Security
LocalizationProvider
Dictionary
SplashScreen
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
SpeechToTextButton
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?