Telerik Forums
UI for WinForms Forum
1 answer
127 views

Hello,

I have created a custom theme for an application and I would like to know how I can theme the ExplorerBar view mode.

While exporting the premade theme “ControlDefault” as example, I only find these files in my directory:

  • -        ControlDefault_RadPageView_Telerik_WinControls_RootRadElement.xml
  • -        ControlDefault_RadPageView_Telerik_WinControls_UI_RadPageViewOutlookElement.xml
  • -        ControlDefault_RadPageView_Telerik_WinControls_UI_RadPageViewStackElement.xml
  • -        ControlDefault_RadPageView_Telerik_WinControls_UI_RadPageViewStripElement.xml


I am trying to create by myself the missing one (“_RadPageViewExplorerBarElement.xml”), but I fails in this task.


Can you please provide me this xml as example?


I am currently working in version 2010_2_10_914 (Q2SP2).

Thank you.

Stefan
Telerik team
 answered on 12 Jan 2011
5 answers
314 views
Hi,
    I am using winform - gridview, 
    In this i used combobox column, i bounded  Itemname and Itemid  columns from the itemmaster table, Itemname as display member and Itemid as value member, i got Combobox with bounded the table values, but when i selected  the item name and swich to the next column it gets disapper. i need to retain the selected text in the combo text.
( Note: I am using empty Grid with no datasource, whenever I click the add new  button all the combo boxes will bound, when i  change the combo remaining columns gets the corrsponding values.)

Thanks & Regards,
S.Lalitha


Alexander
Telerik team
 answered on 12 Jan 2011
1 answer
107 views
Hi:

I found this code in your page for assign shortcuts on buttons and controls differents to radmenuitem:

Me.RadButton1.ButtonElement.Shortcuts.Add(New RadShortcut(Keys.Control, Keys.B))

The problem is when I write Me.RadButton1.ButtonElement. the word Shortcuts isn´t in the list. Also, appears the following error:

Shortcuts aren´t a member of Telerik.Wincontrols.UI.RadButtonElement

Thanks.
Nikolay
Telerik team
 answered on 12 Jan 2011
3 answers
212 views
I am using Dock and RibbonBar (Q2 2009 release) to design a UI. I have the Dock control set to AutoDetectMdiChildren, and can easily add forms as tabbed documents. What I would like to do is change the active RibbonTab based on the active child form in Dock so that the commands match the active document.

I thought this would be relatively easy to do, but I seem to be stuck.
I have implemented an event handler for the ActiveWindowChanged event of the Dock control. I can obviously gain access to the DockWindow via the DockWindowEventArgs parameter. What I haven't been able to do is determine the type of form that the DockWindow represents. Basically what I would like to be able to do is something like this:

if (DockWindow is SettingsForm) 
  // Change to appropriate RadRibbonTab 
else 
 // do something else 

It seems like there should be a way of doing something like this without having to iterate over the MdiChildren array and I would be at all surprised if I am looking at this the wrong way.
Nikolay
Telerik team
 answered on 12 Jan 2011
8 answers
190 views
I'm trying to inherit from a base form with a telerik grid. The grid's modifier is set to protected. On the inheriting form, the grid appears but completely disables as if it's modifier is Privet (it's not). Other controls (Microsoft + Telerik) are not showing this behaviour. They are working properly when their modifier is set to protected.

Kindly help me in this regard.
Richard Slade
Top achievements
Rank 2
 answered on 12 Jan 2011
14 answers
340 views

 

Hi There,

I have a project that I have currently started to rebuild with the latest version of the telerik controls that seems to behave differently than the initial project did with version 2009 Q2. Basically I have a grid that has 3 child tabs for each row using this example:

Main Grid

User Information
--HR Data  --Security Group Membership  --Users who report to this person


the problem is HR Data always has information in the sub tab, however Security and / or Users who report might not.

the problem that I am getting now is that in the previous version of the gird I would see the child row with the headers and no information below so for instance:

HR - DATA
Full Name        Phone                Home Address
first last          555-111-222        example lane

Security Group
GroupName     GroupOwner        GroupType

the problem is now if there is no data for Security group the tab is now displayed as such:

HR - DATA
Full Name        Phone                Home Address
first last          555-111-222        example lane

Security Group
Full Name        Phone                Home Address
first last          555-111-222        example lane


If there is no data in the child tab grid, can I hide that tab or is it possible to set where I still see the column headers without any data in the grid.

thanks!

Jonathan

Jack
Telerik team
 answered on 12 Jan 2011
9 answers
497 views
For some reason, I get a StackOverflow exception when the command bar is on my dialog and from the parent form I call

dlg.ShowDialog(this);

I've created a base dialog from which other's are derived.  All of them behave fine; however this one fails every single time .ShowDialog() is called.
Ivan Todorov
Telerik team
 answered on 12 Jan 2011
5 answers
244 views
Hello All,
I have a column in the grid view with Checkboxes. Now my requirement is that i need to make some of the check boxes visible or invisible while binding the RadGridView. I am not able to figure out a way of doing it. Any help would be greatly appreciated. 
 ''' <remarks></remarks>
    Private Sub RadGridViewBrokenRuleMessages_CellFormatting(ByVal sender As Object, ByVal e As Telerik.WinControls.UI.CellFormattingEventArgs) Handles RadGridViewBrokenRuleMessages.CellFormatting
        If e.CellElement.ColumnIndex = 2 Then
            If Me.RadGridViewBrokenRuleMessages.CurrentRow.Cells(0).Value.ToString().ToUpper(System.Globalization.CultureInfo.CurrentCulture) = "1" Then
                e.CellElement.ColumnInfo.ReadOnly = True
            Else
                e.CellElement.ColumnInfo.ReadOnly = False
            End If
        End If
    End Sub

Is it possible to do that in here. Also if you can tell me where to do that or some sample on where to do that would be very helpful.
Richard Slade
Top achievements
Rank 2
 answered on 11 Jan 2011
4 answers
96 views
I have two radgridviews in a user control. When a column in the first grid is clicked, it fires the SortChanging and SortChanged on the second grid. The second grid fires the correct correct event. Also, the first grid changes the sort direction arrow of the second grid. Does anyone know what's going on and how to I stop this behavior?
Olan
Top achievements
Rank 1
 answered on 11 Jan 2011
6 answers
627 views
How can I disable the default Context Menu for a RadTextBox?

I want to use my custom Context Menu, but it always shows the "copy, paste cute..." menu...

Richard Slade
Top achievements
Rank 2
 answered on 11 Jan 2011
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
CollapsiblePanel
Conversational UI, Chat
DateTimePicker
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
AI Coding Assistant
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?