Telerik Forums
UI for WinForms Forum
20 answers
350 views
Hello,
   I have a small problem with the Q3 2010 Release of
Scheduler Navigator.

        How can I set the timezone to the timezone
 of the computer user's clock. (it looks really bad for
the user to have to set the time every time the app is
 loaded.)  I looked and looked and can't find it. Need
 help bad!   (VB.NET Visual Studio) 2008 / 2010
                                                   Thanks in advance!    
                                                                   Jeff Link 
 
Ivan Todorov
Telerik team
 answered on 16 Nov 2012
6 answers
581 views
Hi!

How can I change the hover color in GridView. I want change the hover color and selected color.

I have a code in  like this:

if(myCondition ==true)
 {
         e.RowElement.DrawFill = true;
         e.RowElement.GradientStyle = GradientStyles.Solid;
         e.RowElement.BackColor = System.Drawing.Color.LightSteelBlue;
         e.RowElement.ForeColor = System.Drawing.Color.Black;
}
else
{
          e.RowElement.ResetValue(LightVisualElement.BackColorProperty, ValueResetFlags.Local);
          e.RowElement.ResetValue(LightVisualElement.GradientStyleProperty, ValueResetFlags.Local);
          e.RowElement.ResetValue(LightVisualElement.DrawFillProperty, ValueResetFlags.Local);
          e.RowElement.ResetValue(LightVisualElement.ForeColorProperty, ValueResetFlags.Local);
}

thanks
Plamen
Telerik team
 answered on 16 Nov 2012
0 answers
99 views

hi em using telerik radschedular for my fyp i have faced serious problem during working and still i havent fixed it  plz help me  i get inherited edit appointment form of radschedular now i want whenever i click or make new on particular schedular it open that inherited form i used radschedular event handler     

private void radScheduler1_AppointmentEditDialogShowing(object sender, Telerik.WinControls.UI.AppointmentEditDialogShowingEventArgs e)
        {



           Form3 ob = new Form3();
           ob.Show();
        }

form 3 is editappointment form it gives me error when i doubleclick or make schedule on schedular error is "child is not child control of their parent" em beginer on c# plz help me thanks in advance

Shah
Top achievements
Rank 1
 asked on 15 Nov 2012
7 answers
301 views
Hi,

I think I saw a line somewhere which said that one could download the source code of the Demo Hub application that is packed into the Winforms download. However, I have not been able to locate this anywhere. Can anyone help me with this?
Stefan
Telerik team
 answered on 15 Nov 2012
28 answers
2.1K+ views
Hi,
I am using Telerik.WinControls.UI,RadDropdownList in winform.I have to display user list into dropdown.but prior to that i want to add "select user" as default item in dropdown list.
When I tried it using following code,it gave me following error.
Display:
I have datasource that contains John,Andy and Ren as users.While displaying it on winform,I want to display "--select user--" as first item in it. like below;
I want following type of dropnlist
--select user--
John
Andy
Ren


Code
is given below:

   Dim uBl As New UserBusinessLogic()

        Dim _user As IQueryable(Of User) = uBl.GetAllUsersByCompany(_project.Company.CompanyID)

 

        Dim RadListDataItem1 As RadListDataItem = New RadListDataItem()

        RadListDataItem1.Selected = True

        RadListDataItem1.Text = "Select User"

        RadListDataItem1.Value = "0"

 

        Me.ddlUsers.DataSource = Nothing

        ddlUsers.Items.Clear()

 

        Me.ddlUsers.DataSource = _user

        Me.ddlUsers.DisplayMember = "UserName"

        Me.ddlUsers.ValueMember = "UserID"

        Me.ddlUsers.Items.Add(RadListDataItem1)


Error:

RadListControl can not transition directly from bound to unbound mode. The data source must be removed first.


please give me solution ASAP.
Thanks in advance.

Vaibhav
Nikolay
Telerik team
 answered on 15 Nov 2012
1 answer
139 views
Hi Guys
I'd like to be able to set the color for the "TriState - Indeterminate" state of the checkbox on a treeview. I have the checkmarks set during NodeFormatting as follows but what element do I need to call to set the color of the black square that appears when the state is indeterminate?

Thanks & Regards
Ian Carson

((TreeNodeCheckBoxElement)e.NodeElement.Children[2]).CheckMarkPrimitive.CheckElement.ForeColor = Color.DarkGreen;
Boryana
Telerik team
 answered on 15 Nov 2012
3 answers
297 views
Hi Telerik,

I have a listview with a view type of detailsview which is data bound within the code and displays 4 columns (auto generated).

In the attached image is there a way to set columns 2,3 & 4 width to the longest field value and first column to a max of the remaining listview width thus removing the white space to the right?

Many thanks.

Steve.

Ivan Todorov
Telerik team
 answered on 15 Nov 2012
3 answers
216 views
How to Focus/Select Group header like focus/select rows
I used like these

GridViewGroupRowInfo groupHeader = (GridViewGroupRowInfo)_MyGrid.CurrentRow;
....
....
_MyGrid.Groups[groupHeader.Index].GroupRow.IsCurrent  = true;
_MyGrid.Groups[groupHeader.Index].GroupRow.IsSelected = true;


But it's does not work.
How do I do?
Thank you.
Emanuel Varga
Top achievements
Rank 1
 answered on 15 Nov 2012
3 answers
206 views
Hi guys
I used a radgridview autogenarated through binding in a dataset
I have a column "Gender" that displays boolean values 1 and 0
Instead of displaying 1 and 0, I want to display a "male" or "female" values
Is there any way without changing the datatypes in the database?
Im using vb.net language 
Thanks :)

Emanuel Varga
Top achievements
Rank 1
 answered on 15 Nov 2012
5 answers
222 views
Hi supporters,


I have issue as followings:

I use RadGridView hierarchy first look.
Parent template has columns: A1, A2, A3, A4, A5
And child template has columns: B1, B2, B3, B4, B5, B6, B7

So i want that when i expanse a parent row then some columns in child template be visible and some columns be hide with different parent row.
Example:
- When i expanse Parent row 1, if child rows has columns B5 and B6 is null or zero value then hide B5, B6
- When i expanse Parent row 2, if child rows has columns B7 is null or zero value then hide B7 (B1, B2, B3, B4, B5, B6 are visible)

Could you please help me!

Thanks,

Manh



Emanuel Varga
Top achievements
Rank 1
 answered on 15 Nov 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?