Telerik Forums
UI for WinForms Forum
14 answers
170 views
Hi,

Any idea why my RadDateTimeEditor columns always defaults to 1 Jan 1753 on selection?

I've looked at the properties that RadDateTimeEditor expose but can find anything relevant.

Is there a why to default it to DateTime.Now maybe?

Thanks
Johan
Top achievements
Rank 1
 answered on 07 Feb 2011
1 answer
119 views
I am struggling with databinding the RadScheduler.
I have the tables created, the constraints/relationships set up just fine.
When I assign a resource to an existing appointment, the row is added to the AppointmentResource relationship table just fine into the database.

However, when I try to assign a resource to a new appointment, I get a constraint error.
When I remove the constraints, I see values like -4 in the AppointmentId column in the AppointmentResource table.
So, I'm assuming that, since the AppointmentId in the Appointment table is set to IDENTITY, the code that handles the relationships doesn't know the AppointmentId yet when creating the rows to add to the AppointmentResource table.
Is anyone aware of this, and do you have a workaround?  I'm thinking the only workaround is to bind to objects and do the database code myself..
Dobry Zranchev
Telerik team
 answered on 07 Feb 2011
3 answers
118 views
Hi all,
I have a docking manager in my project which all the tabs are populated and they can be closed whenever needed. My issue is that, the CURRENT TABS name should be bold and the names of the remaining tabs should not be so. I am using the dockingmanager_tabchanging to do this, but the problem is that i am not able to undo the changes to the style to the previous tab. So if I have 3 tabs open and I click on one tab, the font changes to bold, now when I click on the next tab the previous TAB'S bold style needs to go away. How can I do this? Can I get a count of the tabs in the docking manager and undo all the styles or something like that I could not do it. Any help would be greatly appreciated. 

Private Sub dockingManager_DockTabChanged(ByVal sender As Object, ByVal e AsTelerik.WinControls.Docking.DockTabChangedEventArgs) HandlesdockingManager.DockTabChanged

   In this event e.Tab.Text just gives the changed tab text.
   Is there any way we can change the text style of all the tabs that are open. Probably some where deep    down the object structure. Again any help would be great.   

    

 End If


Thanks
Ivan Petrov
Telerik team
 answered on 07 Feb 2011
5 answers
135 views
I have a very irritating problem with RadGridView. Look at the video: Filter box suddenly becomes Non-Editable by itself

I am using Q1 2008 SP1. The filter it seems has suddenly become non-editable, at least from the way the textbox vanishes, but if I press on any key like 'd' or 's' or 'q' then this same filter box will show up its filter textbox.

Anyone knows how to get rid of this 'weird' problem?

Thanks
Sunil
Hiram
Top achievements
Rank 1
 answered on 07 Feb 2011
17 answers
348 views
Hello, all

I have a RadForm with RadTreeView on it. When user change selected node on tree view I update form header (set node text into header). The header text is blinking when I do it.

Here is the code

private void radTreeView1_SelectedNodeChanged(object sender, RadTreeViewEventArgs e)
        {
            RadTreeNode node = this.radTreeView1.SelectedNode;

            if (node == null)
            {
                return;
            }

            Text = "Repository Explorer - " + node.Text;

            //Do something operations
            System.Threading.Thread.Sleep(1000);
        }

Can you help me?

Andrew Shyliuk
Stefan
Telerik team
 answered on 07 Feb 2011
1 answer
143 views
Hi,
I am implementing customized items in context menu where one of the menu items have sub items (children) elments but the problem is that when i take the mouse on sub items(childrens) the sub items still remain non-highlited.....and also the click event gets called on double click not on single click.

Also tell me Is there any possibility of implementing sub menu item like there is available in word (attached file).

I need examples in windows forms not on web.

Please help me how to highlight those items on "mouse over".

Stefan
Telerik team
 answered on 07 Feb 2011
1 answer
123 views
Hi,
I am implementing customized items in context menu where one of the menu items have sub items (children) elments but the problem is that when i take the mouse on sub items(childrens) the sub items still remain non-highlited.....and also the click event gets called on double click not on single click.

Also tell me Is there any possibility of implementing sub menu item like there is available in word (attached file).

I need examples in windows forms not on web.

Please help me how to highlight those items on "mouse over".

Dobry Zranchev
Telerik team
 answered on 07 Feb 2011
4 answers
137 views
Hi,

I am new to radControls so this will most likely be something simple.

I have a textbox which I would like to change the backcolour but when I change the backcolour in the properties, nothing changes.

What am I missing?

Thanks
Richard Slade
Top achievements
Rank 2
 answered on 07 Feb 2011
6 answers
159 views
Hi

I have a GridView with 3 column, Id, Name and Quantity
I have created a group using the Name column.
I have a GroupEvaluate that calculates the total quantity in a group and displays it on the group header.

My gridView is bound to a DataSource (AccountRowBindingSource) containing and Generic List of Linq2SQL objects (called RowsToAdd).
My first problem: When I add rows to my RowsToAdd the GroupSummaryEvaluate event is not fired so my group header is not recalculated.
However, If I expand the group, I can see all added rows.

To force the GroupEvaluate event to trigger I added a ResetBinding call, like this
AccountRowBindingSource.DataSource = RowsToAdd
AccountRowBindingSource.ResetBindings(False)

After the change, the GroupSummaryEvaluate event is fired and the correct summary is displayed in the header.
BUT..
Now Groups in the RadGrid randomly expands. I can see that its the ResetBindings that is making this happen.
So, Why is the groups expanding even though I have set the AutoExpandGroups = false?

Regards
Per



Julian Benkov
Telerik team
 answered on 07 Feb 2011
1 answer
143 views
I created a VB.NET 2010 Windows Form application project, added a Windows Form, then added a RadButton to the form.  I set the Theme Name to OfficeGlass through the Smart Tag.  In design view, the button is rounded with a dark blue gradient.  It looks fine in design view, but when I run my application, the button goes back to the default theme style (light blue).

Why is the button theme changing at run-time?

Thanks,
Chris
Nikolay
Telerik team
 answered on 07 Feb 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
Diagram, DiagramRibbonBar, DiagramToolBox
GanttView
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
StatusStrip
CheckedListBox
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
DataEntry
ScrollablePanel
ScrollBar
WaitingBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Barcode
Callout
ColorBox
PictureBox
FilterView
NavigationView
Accessibility
VirtualKeyboard
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
Licensing
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
+129 more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
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
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?