Telerik Forums
UI for WinForms Forum
2 answers
129 views
Hi, Telerik team .
I using Telerik control winform Q1 2012
I set my RadMultiColumnComboBox with AutoFilter property is True.
And i set TabIndex of them as my picture in Attach file.
Then i select one value of RMCCombobox 1. Next i focus in RMCCombobox 2 .The next step i Press Shift + Tab to focus in RMCCombobox 1. Now, RMCCombobox 1 auto open popup and filter with value is current text of it. it wrongs,Behavior must be just focus in RMCCombobox 1.
Are you have any idea for my problem?
Thanks for reading.
Exclamation
Top achievements
Rank 1
 answered on 30 Jun 2012
6 answers
196 views
Hello,

Thanks for all the answers to my questions thus far!

This time I'm having trouble setting the alternativerowcolor of a gridview programmatically after setting the datasource. Essentially something like this would be ideal:

radGridView1.TableElement.AlternatingRowColor = Color.Blue;

However, I can see no way of getting to the table element from the gridview, even through the rootelement, mastergridviewtemplate and gridelement properties...

Thanks for the help!
Jeremy
Edgar
Top achievements
Rank 1
 answered on 29 Jun 2012
17 answers
968 views
We want to show the close button on some tabs in the PageView, but not all. Can the closebutton visibility be specified pr tab, instead of as a property on the parent PageView?
Dan
Top achievements
Rank 1
 answered on 29 Jun 2012
1 answer
199 views
I'm having problems using themes with Winfoms 2012 Q2, there're not working.
They don't appear in the combobox for the controls and if I manually change them programaticly.. they don't show up during running time.
What am I doing wrong? Is it some kind of bug of Q2, when will it be corrected.

Thank you in advance
Jack
Telerik team
 answered on 29 Jun 2012
3 answers
206 views

Hi

I have a radgridview bounded to a list (i'm using entity framework for my db backend). i have some number and string fields and a list<string> field in my data list.

Now i want to convert that list<string> into comma separated string and then show it in it's grid column.

I know how to convert list into string(via string.join), but i don't know how could i tell to radgrid to show joint string.

So, which event of radgrid is a good place to change column or row data to display?

I mean an event that fires when radgrid is populating columns or rows data(with access to original bounded data).

Please help me.

Ivan Petrov
Telerik team
 answered on 29 Jun 2012
1 answer
229 views
I have the following forms
1- A MDI Child form which has a ribbon bar
2- A MDI Parent Form which also has a ribbon bar

Is it possible when opening the MDI Child form to have it's ribbon items be merged to the parent form ribbon (first tab)?,
the mdi child will have only one ribbon tab. 
Peter
Telerik team
 answered on 29 Jun 2012
1 answer
142 views
Hi,
i have a custom appointment class. I define mapping and bind to scheduler. All works but i need to change my custom appointment outside sheduler and  see the change in the scheduler for example outside change "start date" or "backgroundid".
How to get it.

Thank you
Ivan Todorov
Telerik team
 answered on 29 Jun 2012
7 answers
1.3K+ views
I have recently downloaded the the trial version of the Telerik .Net controls (2012 Q1).  I loved the demos but the Telerik controls are corrupting my Visual Studio installations so I can't properly evaluate the product.  In both Visual Studio 2008 and 2010 my toolbox takes on the order of 5-10 minutes to load.  The message I get is "Initializing Toolbox".  I ran devenv /log <filename> and isolated the issues to the Telerik tools.  This is an example of one of the log records.

  <entry>
    <record>462</record>
    <time>2012/05/11 06:53:08.562</time>
    <type>Information</type>
    <source>Microsoft.VisualStudio.IDE.ToolboxControlsInstaller.ToolboxInstallerPackage</source>
    <description>Attempting to add WPF Toolbox item Telerik.Windows.Controls.RadEntityFrameworkDataSource</description>
  </entry>
  <entry>
    <record>463</record>
    <time>2012/05/11 06:53:08.562</time>
    <type>Warning</type>
    <source>Microsoft.VisualStudio.IDE.ToolboxControlsInstaller.ToolboxInstallerPackage</source>
    <description>Could not retreive a localized version of Telerik Data 2012 Q1. Using non-localized category name to add to the toolbox.</description>
  </entry>

I also get multiple instances of the Telerik controls showing in my Toolbox.  I have tried uninstalling and re-installing the Telerik controls.  When they were uninstalled Visual Studio ran fine.  After installing them again I had the same issues.  I would really like to evaluate this product but have been wasting a lot of time just trying to get it installed properly.  Is there something I am missing?

TonyG
Top achievements
Rank 1
 answered on 28 Jun 2012
4 answers
147 views
Hi! Sometime last year I installed Telerik Winforms Controls, and all worked fine. But then came the updates, and since then it's total chaos. In the toolbox are controls missing, although they're checked in the chooser. Other controls appear 2, 3 or even 4 times in the toolbox. And what's worse; I'm getting error messages such as these all the time:
---------------------------
Microsoft Visual Studio
---------------------------
Cannot find type Telerik.WinControls.Themes.Design.RadThemeDesignerDataAttribute in module Telerik.WinControls.dll.
---------------------------
Can I uninstall the whole thing and is there a download that allows me to re-install everything INCLUDING all updates in one go?

Hoping for a solution, because I'm getting pretty desperate...
Martin
TonyG
Top achievements
Rank 1
 answered on 28 Jun 2012
2 answers
541 views
hello,
I am manually loading the GridView and in CurrentRowChanged event of the gridView i am trying to fill the set of textboxes and label control with data present in the selected row of the  GridView.
Here are the codes:
1. manually Loading GridView data in a method
 private void loadAllUsers()
        {
          
            var obj = _dataAccess.GetAllMembers();
            if (obj != null && obj.Count > 0)
            {
 
                gvListUsers.Visible = true;
 
                gvListUsers.Columns.Clear();
                gvListUsers.AutoGenerateColumns = false;
                gvListUsers.MultiSelect = false;
                gvListUsers.EnableGrouping = true;
                gvListUsers.EnableCustomGrouping = true;                
                gvListUsers.ShowGroupedColumns = true;
                
 
                gvListUsers.DataSource = obj;
 
                var textBoxColumn = new GridViewTextBoxColumn();
                textBoxColumn.Name = "TextBoxColumn";
                textBoxColumn.HeaderText = "ID";
                textBoxColumn.FieldName = "MembershipID";
                textBoxColumn.Width = 50;
                gvListUsers.MasterTemplate.Columns.Add(textBoxColumn);
 
 
                var txtColumnUsername = new GridViewTextBoxColumn();
                txtColumnUsername.Name = "txtBoxColumnUsername";
                txtColumnUsername.HeaderText = "UserName";
                txtColumnUsername.FieldName = "Username";
                txtColumnUsername.Width = 120;
                gvListUsers.MasterTemplate.Columns.Add(txtColumnUsername);
                             
                var textBoxColumnFirstname = new GridViewTextBoxColumn();
                textBoxColumnFirstname.Name = "TextBoxColumnFirstname";
                textBoxColumnFirstname.HeaderText = "Firstname";
                textBoxColumnFirstname.FieldName = "FirstName";
                textBoxColumnFirstname.Width = 120;
                gvListUsers.MasterTemplate.Columns.Add(textBoxColumnFirstname);
 
                var textBoxColumnMiddlename = new GridViewTextBoxColumn();
                textBoxColumnMiddlename.Name = "TextBoxColumnMiddlename";
                textBoxColumnMiddlename.HeaderText = "Middlename";
                textBoxColumnMiddlename.FieldName = "MiddleName";
                textBoxColumnMiddlename.Width = 120;
                gvListUsers.MasterTemplate.Columns.Add(textBoxColumnMiddlename);
 
                var textBoxColumnLastName = new GridViewTextBoxColumn();
                textBoxColumnLastName.Name = "TextBoxColumnLastName";
                textBoxColumnLastName.HeaderText = "Lastname";
                textBoxColumnLastName.FieldName = "LastName";
                textBoxColumnLastName.Width = 120;
                gvListUsers.MasterTemplate.Columns.Add(textBoxColumnLastName);
 
                var textBoxColumnIsActive = new GridViewTextBoxColumn();
                textBoxColumnIsActive.Name = "TextBoxColumnIsActive";
                textBoxColumnIsActive.HeaderText = "Active";
                textBoxColumnIsActive.FieldName = "IsActive";
                textBoxColumnIsActive.Width = 100;
                gvListUsers.MasterTemplate.Columns.Add(textBoxColumnIsActive);
                //column formating
 
               
            }
            else
            {
                gvListUsers.Visible = false;
            }
        }
2. CurrentRowChanged Event: using this event i am assigning the currentrow data of gridview to different textboxes and label control.
 private void gvListUsers_CurrentRowChanged(object sender, CurrentRowChangedEventArgs e)
        {
            UpdateInfo(this.gvListUsers.CurrentRow);
        }
 
        private void UpdateInfo(GridViewRowInfo currentRow)
        {
            if (currentRow != null && !(currentRow is GridViewNewRowInfo))
            {
		//gettting error "Object reference not set to an instance of an object."
                this.lblMembershipID.Text = this.GetSafeString(currentRow.Cells["MembershipID"].Value);
		this.txtUsername.Text = this.GetSafeString(currentRow.Cells["Username"].Value);
            }
        }
3.
	private string GetSafeString(object value)
        {
            if (value == null)
            {
                return string.Empty;
            }
            return value.ToString();
        }
4. i am getting "object reference not set to an instance of an object" error when am assigning currentrow data to the label control and for textbox too. I am unable to track it why i am getting this error. Kindly suggest me what can be done to resolve this issue. Thanks!!!!
Gopal
Top achievements
Rank 1
 answered on 28 Jun 2012
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
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
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?