Telerik Forums
UI for WinForms Forum
1 answer
100 views
I have run into an interesting issue.

I have a datagrid that I have linked to an OrganizationName data source. Inside the OrganizationName object, we have setup a link to another object called OrgnanizationNameType.

On the datagrid, I want to have two columns. The first column is linked to the OrganizationName data source and the second column is linked to the OrganizationNameType data source.

When the datagrid loads, I need to to have the value of the OrganizationNameType to be linked to the value inside the OrganizationName object. I need this done in a drop down for easy editing.

Is this possible?
Jack
Telerik team
 answered on 04 Jun 2010
3 answers
124 views
Hi!

I've reinstalled my computer, and now my project won't build.
"The type or namespace name 'RadPopupForm' could not be found (are you missing a using directive or an assembly reference?)"  

I'm using VS 2005 and WinForms 2010.1.10.308_dev

If I comment out this section, everything else is ok. And it was ok before reinstalling windows7.

        private void radComboBoxAgreement_DropDownOpened(object sender, EventArgs e) 
        { 
            //getting the popup form which size should be set   
            RadPopupForm popup = (RadPopupForm)radComboBoxAgreement.Items[0].ElementTree.Control; 
 
            int desiredWidth = (int)radComboBoxAgreement.ComboBoxElement.ListBoxElement.Viewport.DesiredSize.Width; 
            RadScrollLayoutPanel scrollPanel = (RadScrollLayoutPanel)radComboBoxAgreement.ComboBoxElement.ListBoxElement.Children[2]; 
 
            if (desiredWidth > radComboBoxAgreement.Width) 
            { 
                if (scrollPanel.CanVerticalScroll) 
                { 
                    desiredWidth += radComboBoxAgreement.ComboBoxElement.ListBoxElement.ScrollThickness; 
                } 
 
                //adding border width (both left and right) of the inner listbox element.    
                desiredWidth += radComboBoxAgreement.ComboBoxElement.ListBoxElement.BorderThickness.Horizontal; 
 
                popup.Size = new Size(desiredWidth, popup.Height); 
            } 
        } 

Deyan
Telerik team
 answered on 04 Jun 2010
1 answer
78 views
I am using a custom theme built in VSB for an application. However, the RadListBox does not get any theming. The XML is present and the ThemeManager has it loaded. What is the deal with these controls?
Victor
Telerik team
 answered on 04 Jun 2010
1 answer
117 views

I write the program in VB.
I have a RadGrid with some GridViewMaskBoxColumns with Mask="n3" and MaskType=Numeric.
When i put negative values in that cell afer i finish the edit the minus symbol disappears.
How can i put negative values in those cells?
Alexander
Telerik team
 answered on 04 Jun 2010
1 answer
90 views
What is the best way to plot dates on a linear time-line? -e.g. Say I have 2 data points on Monday, none on Tues/Wed, and 3 on Thurs; I want the chart to group these in a way that's easy to see the dispersion of data over the week - now it just shows 5 evenly spaced points.
I could just add data; except my resolution is 1 second and the timescale could be months...
Dwight
Telerik team
 answered on 04 Jun 2010
1 answer
97 views

Hallo.

Please, could you give me an adwace how to use RadWaitingBarElement in RadGridView and run this element. I have try used it in cell_formating, but element do not run.

(it is trial Version: 2010.1 504 , C#, vs 2008 )

Thank you for advice or source code.

Tomas

void radGridView1_CellFormatting(object sender, CellFormattingEventArgs e)      
{      
if (e.CellElement.RowIndex < 0) return;      
if (((GridViewDataColumn)e.CellElement.ColumnInfo).FieldName == "test")      
{      
RadWaitingBarElement element = new RadWaitingBarElement();      
element.StretchHorizontally = true;      
element.StretchVertically = true;      
element.waitingTimer = this.timer1;//timer is running      
e.CellElement.Children.Add(element);      
}     
   
 

 

Nikolay
Telerik team
 answered on 04 Jun 2010
1 answer
268 views
I'm sure this must be simple, but I can't figure out how to do it.

When I resize a raddock with a toolwindow on the side, the toolwindow resizes proportionately along with the whole dock. I want to keep the toolwindow on the side the same size always, and allow the "slack" to be taken up by the other toolwindows.

I can't seem to find a MaximumSize property for the Toolwindow.

How do I do this?
Nikolay
Telerik team
 answered on 03 Jun 2010
2 answers
152 views

I am experiencing some issues with allowing the user to filter data in the grid. We are using Telerik.WinControls.GridView, v8.2.0.0. In the designer, i have the following code:

 

 

this.grdAuditDetails.MasterGridViewTemplate.Columns.Add(gridViewTextBoxColumn1);

 

 

this.grdAuditDetails.MasterGridViewTemplate.Columns.Add(gridViewTextBoxColumn2);

 

 

this.grdAuditDetails.MasterGridViewTemplate.Columns.Add(gridViewTextBoxColumn3);

 

 

this.grdAuditDetails.MasterGridViewTemplate.Columns.Add(gridViewTextBoxColumn4);

 

 

this.grdAuditDetails.MasterGridViewTemplate.Columns.Add(gridViewTextBoxColumn5);

 

 

this.grdAuditDetails.MasterGridViewTemplate.Columns.Add(gridViewTextBoxColumn6);

 

 

this.grdAuditDetails.MasterGridViewTemplate.Columns.Add(gridViewTextBoxColumn7);

 

 

this.grdAuditDetails.EnableFiltering = true;

 

 

this.grdAuditDetails.MasterGridViewTemplate.EnableFiltering = true;

 

 

this.grdAuditDetails.MasterGridViewTemplate.EnableGrouping = false;

 

 

this.grdAuditDetails.MultiSelect = false;

 

 

this.grdAuditDetails.Name = "grdAuditDetails";

 

 

this.grdAuditDetails.ReadOnly = true;

 

 

this.grdAuditDetails.RightToLeft = System.Windows.Forms.RightToLeft.No;

 

 

//

 

 

//

 

 

//

 

 

this.grdAuditDetails.RootElement.ForeColor = System.Drawing.SystemColors.GradientActiveCaption;

 

 

this.grdAuditDetails.ShowGroupPanel = false;

 

 

this.grdAuditDetails.Size = new System.Drawing.Size(791, 590);

 

 

this.grdAuditDetails.TabIndex = 94;

 

 

this.grdAuditDetails.TabStop = false;

 

 

this.grdAuditDetails.Text = "radGridViewPreview";

 

 

this.grdAuditDetails.ThemeName = "Breeze";

 

((Telerik.WinControls.UI.

GridTableElement)(this.grdAuditDetails.GetChildAt(0))).CellSpacing = -1;

 

((Telerik.WinControls.UI.

GridTableElement)(this.grdAuditDetails.GetChildAt(0))).TableHeaderHeight = 26;

 

((Telerik.WinControls.UI.

GridTableElement)(this.grdAuditDetails.GetChildAt(0))).BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(246)))));

 

((Telerik.WinControls.UI.

GridTableElement)(this.grdAuditDetails.GetChildAt(0))).Padding = new System.Windows.Forms.Padding(3);

 

 

On the form, i can see the filter icons for the fields, but when the user speicifies how they want to filter and add their criteria, nothing happens. Can anyone please help me out with this issue?

Thanks!

Craig

Craig
Top achievements
Rank 1
 answered on 03 Jun 2010
1 answer
84 views

Hi,

        How to do i customize the back color of a particular Date in Day View or Weekly View by code.

Regards

Nitin

Dobry Zranchev
Telerik team
 answered on 03 Jun 2010
3 answers
130 views
Hello,

i have created a radComboBox style but for some reason the ListBoxElement doesn't take the style although it appears in the Style Builder.

Thank you
Victor
Telerik team
 answered on 03 Jun 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
ProgressBar
CheckedDropDownList
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
Barcode
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Callout
ColorBox
PictureBox
FilterView
NavigationView
Accessibility
VirtualKeyboard
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Licensing
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
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?