Telerik Forums
UI for WinForms Forum
1 answer
129 views
Hello,

I have a rad panel bar which I want to display without the border. 

So I set the theme to ControlDefault,
open the theme builder from the smart tag,
select RadPanelBarElement from the control structure tree,
edit the Bordercolor, BorderColor2,BorderColor3,BorderColor4 to all be transparent,
preview it and it look exactly as I want it to be.
Then I save the Style sheet in theme file (tried save theme as ... as well)
Return to project,
add the theme to the project,
Go to my RadThemeManage and Load Theme from resources,
Select the theme in the control properties and save.

Now run the prject and, as well as the borders being missing, the panel bar group elements are not as high and have changed colour...

Any ideas?
Peter
Telerik team
 answered on 16 Jul 2008
1 answer
82 views
Hi,
I changed the value of GridFilterRowElement RightToLeft to true and i get this error

'Telerik.WinControls.UI.GridFilterRowElement' is not accessible in this context because it is 'Friend'. 

The Error row is:

CType(Me.RadGridView1.GetChildAt(0).GetChildAt(1).GetChildAt(1), Telerik.WinControls.UI.GridFilterRowElement).RightToLeft = True

 

Jack
Telerik team
 answered on 16 Jul 2008
1 answer
164 views
Hi,
Can you please tell me how (if its possible)
to show the grid custom filter form in RightToLeft

Thanks in advance.
Jack
Telerik team
 answered on 16 Jul 2008
2 answers
174 views
Alot of the text primitives have a shadow property but all that i can do is
select (none) from the drop down.

How can this be used ? Also will there be functionlity in the future to allow
for raised text also ? A minor thing I realise but all part of fine tuning the look
and feel.

Also is it possible to customise the colours on text shadow and or the
depth of the shadow ?
Kenneth Jackson
Top achievements
Rank 1
 answered on 16 Jul 2008
8 answers
201 views
Hi All;

When i click a filtering texbox of an imageColumn a have an exception. what am i supposed to do?

if you tell the way  to close "all filtering stuff" of image columns. It's o.k too.

Thanks You

the exception:
Value cannot be null.
Parameter name: key
at System.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument)
   at System.Collections.Generic.Dictionary`2.FindEntry(TKey key)
   at System.Collections.Generic.Dictionary`2.TryGetValue(TKey key, TValue& value)
   at Telerik.WinControls.UI.GridViewEditManager.GetDefaultEditor(IEditorProvider provider)
   at Telerik.WinControls.UI.BaseGridBehavior.InitializeEditor(GridViewColumn column)
   at Telerik.WinControls.UI.BaseGridBehavior.OnMouseDownLeft(MouseEventArgs e)
   at Telerik.WinControls.UI.BaseGridBehavior.OnMouseDown(MouseEventArgs e)
   at Telerik.WinControls.UI.RadGridView.OnMouseDown(MouseEventArgs e)
   at System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at Telerik.WinControls.RadControl.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
Bimar
Top achievements
Rank 1
 answered on 16 Jul 2008
2 answers
139 views
Hey Peoples
Is it possible to set a Image for a Chunk?
I want that it looks like that:
http://img258.imageshack.us/img258/2802/ribbonxl9.jpg

thanks
Einar
Top achievements
Rank 1
 answered on 16 Jul 2008
4 answers
246 views
How would I go about adding a select all checkboxes header element to a check box column?  I'd settle for a button at this point as well.

Thanks,
Colin
Nikolay
Telerik team
 answered on 15 Jul 2008
3 answers
355 views
I am manually building a radgridview with a childgridview with custom objects but I am not clear on how to retrieve the child rows value on press of a button.  I am adding a decimal column that I want to retrieve the user input.

Below is the code that populated the radgridview.

Thanks.



BindingList<LoadLine> loadLines = new BindingList<LoadLine>();
            BindingList<PartLocation> partLocations = new BindingList<PartLocation>();

GridViewTemplate locationsTemplate = new GridViewTemplate(this.radGridViewLoadDetailLoadLines);
                locationsTemplate.AutoGenerateColumns = false;

                #region Manually Add Columns for Child Table

                GridViewDataColumn columnPartId = new GridViewDataColumn();
                columnPartId.UniqueName = "PartId";
                columnPartId.FieldAlias = "PartId";
                columnPartId.FieldName = "PartId";
                locationsTemplate.Columns.Add(columnPartId);

                GridViewDataColumn columnLocationId = new GridViewDataColumn();
                columnLocationId.UniqueName = "LocationId";
                columnLocationId.FieldAlias = "LocationId";
                columnLocationId.FieldName = "LocationId";
                locationsTemplate.Columns.Add(columnLocationId);

                GridViewDataColumn columnAvailableQty = new GridViewDataColumn();
                columnAvailableQty.UniqueName = "AvailableQty";
                columnAvailableQty.FieldAlias = "AvailableQty";
                columnAvailableQty.FieldName = "AvailableQty";
                locationsTemplate.Columns.Add(columnAvailableQty);

                GridViewDecimalColumn columnQtyToAllocate = new GridViewDecimalColumn();
                columnQtyToAllocate.UniqueName = "QtyToAllocate";
                columnQtyToAllocate.HeaderText = "Qty To Load";
                locationsTemplate.Columns.Add(columnQtyToAllocate);

                #endregion

                locationsTemplate.DataSource = partLocations;
                locationsTemplate.AllowAddNewRow = false;
                locationsTemplate.AllowAutoSizeColumns = true;
                locationsTemplate.AutoSizeColumnsMode = GridViewAutoSizeColumnsMode.Fill;

                this.radGridViewLoadDetailLoadLines.MasterGridViewTemplate.ChildGridViewTemplates.Add(locationsTemplate);
                GridViewRelation relation = new GridViewRelation(this.radGridViewLoadDetailLoadLines.MasterGridViewTemplate);
                relation.RelationName = "Load Line Part Locations";
                relation.ParentColumnNames.Add("PartId");
                relation.ChildColumnNames.Add("PartId");
                relation.ChildTemplate = locationsTemplate;
                this.radGridViewLoadDetailLoadLines.Relations.Add(relation);

this.radGridViewLoadDetailLoadLines.DataSource = loadLines;
Michael
Top achievements
Rank 1
 answered on 15 Jul 2008
1 answer
259 views
Not sure if I'm doing this the wrong way, or if there is a bug in the control, but I can't seem to set the enabled or readonly property to disable text entry for a time.  Is there something I'm doing wrong or a workaround?

I tried
Element.Enabled = false;
Element.TextBoxItem.Enabled = false;
Element.TextBoxItem.ReadOnly = true;
Element.TextBoxItem.HostedControl.Enabled = false;

None seemed to work.
Nikolay
Telerik team
 answered on 15 Jul 2008
2 answers
130 views
Hello

I am trying to create a toolbar similar to the visual studio toolbox where everything will be in groups.

In visual studio when you right click to add a new group, once added the caption comes up as editable!

Is there a built in way of making the caption editable on the panel bars group element?

Or do you have any suggestions of the best way of going about it?

Thanks

Bex
Bexm
Top achievements
Rank 1
 answered on 15 Jul 2008
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
WaitingBar
GroupBox
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
NavigationView
BindingNavigator
RibbonForm
Styling
Barcode
PopupEditor
TaskBoard
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Overlay
Security
LocalizationProvider
Dictionary
TreeMap
StepProgressBar
SplashScreen
Flyout
Separator
SparkLine
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
SpeechToTextButton
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?