Telerik Forums
UI for WinForms Forum
1 answer
112 views

Hi Telerik Team

Im using Radscheduler (2012.1.321.40) in a customer project and need to render multiple appointments e.g. "unassigned Tasks" in the first Grouped Resource "Unassigned" which is kind of a virtual resource from where appointments can be assigned to real resources by drag+drop operation.  

Therefore I need to be able to set the height of the first grouped Resource "Unnassigned" (e.g height of 10 appointments) without the need to scroll cell content. The height of the other grouped resources (swimmlanes) should be settable also (min+max/auto where auto is current behaviour where available space is divided by number of grouped resources)

If total height of visible grouped resources exeeds the available space in Y-Axis, a scrollbar should allow for vertical scrolling.

What do other think about such a feature?

The only way to achive this behaviour at the moment would be adding a radSplitcontainer to the form, add add two radscheduler to it.
But then you need to sync viewsettings, visible scrollarea and need separate datasource which makes searching|filtering more complex...

Regards
Daniel K
 

Ivan Todorov
Telerik team
 answered on 31 May 2012
3 answers
110 views
Is there any possible way to remember the location of specific tool window to keep its location after closing and restarting the application.
I need to do this for specific tool window and not for other doc windows in the rad dock control since the other windows are created dynamically.

Ivan Todorov
Telerik team
 answered on 31 May 2012
3 answers
117 views

I've downloaded the most recent trial version of Winforms and I’m testing several new features including the enhanced drag and drop (specifically from Radgridview to another radgridview).  I've found several older unbound implementations on your website and I'm having troubles adapting them to using the most current version.  

Is there a SQL bound example of this feature that someone can point out (in VB please) that uses the most recent version (2012 Q1) that I can review and build from for testing?

Thank you.

   




   
Svett
Telerik team
 answered on 31 May 2012
1 answer
64 views
hi dears,
please help me , how can i handle right click on a RadButtonElement ?
Ivan Todorov
Telerik team
 answered on 31 May 2012
2 answers
205 views
How to click on group header bar to collapse expand?

Just to make more user friendly, let the user click on group header bar to collapse expand the list rather than click on the small button.

Is possible?
Please refer the picture from attachment.
Stanley
Top achievements
Rank 1
 answered on 31 May 2012
18 answers
475 views
void RadGridView_RowFormatting(object sender, RowFormattingEventArgs e)
        {
            object value = e.RowElement.RowInfo.Cells[1].Value;
 
            if (value != null)
            {
                if (e.RowElement.Tag == null)
                {
                    e.RowElement.DrawBorder = true;
                    e.RowElement.GradientStyle = GradientStyles.Solid;
                     
                    CustomAnimatedPropertySetting setting = new CustomAnimatedPropertySetting(e.RowElement);
 
                    setting.ApplyValue(e.RowElement);
 
                    e.RowElement.Tag = setting;
                }
            }
            else
            {
                CustomAnimatedPropertySetting setting = e.RowElement.Tag as CustomAnimatedPropertySetting;
 
                if (setting != null)
                {
                    e.RowElement.Tag = null;
 
                    setting.Stop();
 
                    e.RowElement.ResetValue(LightVisualElement.DrawBorderProperty, ValueResetFlags.Local);
                    e.RowElement.ResetValue(LightVisualElement.GradientStyleProperty, ValueResetFlags.Local);
                    e.RowElement.ResetValue(LightVisualElement.BorderColorProperty, ValueResetFlags.Animation | ValueResetFlags.Local);
                }
            }
 
        }
 
        public class CustomAnimatedPropertySetting : AnimatedPropertySetting
        {
            GridRowElement row;
             
            public CustomAnimatedPropertySetting(GridRowElement row)
                : base(
                        LightVisualElement.BorderColorProperty,
                        Color.Blue, // start value    
                        Color.White, // end value    
                        40, // number of animation frames    
                        10 // time in ms between 2 frames
                )
            {
                this.row = row;
                this.AnimationFinished += new AnimationFinishedEventHandler(CustomAnimatedPropertySetting_AnimationFinished);
                this.AnimatorStyle = AnimatorStyles.AnimateAlways;
                this.ApplyEasingType = RadEasingType.Linear;
                this.UnapplyEasingType = RadEasingType.Linear;
            }
 
             
            public void Stop()
            {
                GridRowElement o = this.row;
                this.row = null;
                this.Stop(o);
            }
 
            void CustomAnimatedPropertySetting_AnimationFinished(object sender, AnimationStatusEventArgs e)
            {
                if (row != null && row.Parent != null)
                {
                    this.ApplyValue(row);
                }
                else
                {
                    row = null;
                    this.AnimationFinished -= new AnimationFinishedEventHandler(CustomAnimatedPropertySetting_AnimationFinished);
                }
            }
 
        }

Hi Folks,


I would like to make the border become flashing... but it failed to do so....what's wrong with the code ?

Thanks!
Charles.

Nikolay
Telerik team
 answered on 30 May 2012
1 answer
282 views
hi, I have a radgridview
with columns defined like this
gridViewDateTimeColumn1.EditorType = Telerik.WinControls.UI.GridViewDateTimeEditorType.TimePicker;
gridViewDateTimeColumn1.EnableExpressionEditor = true;
gridViewDateTimeColumn1.FieldName = "Me_Dia1";
gridViewDateTimeColumn1.Format = System.Windows.Forms.DateTimePickerFormat.Time;
gridViewDateTimeColumn1.FormatString = "{0:t}";
gridViewDateTimeColumn1.HeaderText = "Me_Lun";
gridViewDateTimeColumn1.IsAutoGenerated = true;
gridViewDateTimeColumn1.Name = "Me_Dia1";
gridViewDateTimeColumn1.Width = 65;
but i the keyboard inputs dont work well, and in the field and popup window show "{0:}"
I need work only with time in this columns.
thanks,
Alfonso
Ivan Petrov
Telerik team
 answered on 30 May 2012
3 answers
345 views
As part of a startup wizard I am developing, one of the requirements is to be able to skip any stage of the wizard. 

I have tried adding a button in between the Next and Cancel buttons as described in another thread but it does not seem to be working in my case.

public TestForm()
        {
            InitializeComponent();
 
            // add a skip button
            WizardCommandAreaButtonElement skipButton = new WizardCommandAreaButtonElement
            {
                Text = "Skip",
                MinSize = new Size(radWizard1.NextButton.Size.Width, radWizard1.NextButton.Size.Height),
                Alignment = ContentAlignment.MiddleRight,
                Margin = new Padding(4, 0, 4, 0)
            };
 
            radWizard1.CommandArea.CommandElements.Add(skipButton);           
        }
Boryana
Telerik team
 answered on 30 May 2012
3 answers
195 views

Hi,

I am having an issue with the RadNumericTextBox. When I enter a decimal followed by a number using the numeric keyboard it swaps the value around. For example instead of being .5 it will be 5

 To emulate it what you need to do is

1. Copy the code below.

<telerik:RadNumericTextBox ID="ntxtMaxWorkHoursSitting" runat="server"
              Width="80px"
              CausesValidation="true"
              Type="Number" MinValue="0"
              MaxValue="24"
              ShowSpinButtons="true"
               IncrementSettings-Step="0.5">
                           <NumberFormat DecimalDigits="2" />
</telerik:RadNumericTextBox>

2. Run the website 
3. Enter some value into the RadNumericTextbox (e.g. 5) then click away and the value will turn into a decimal (e.g. 5.00)
4. Highlight the result (Just need to click back in there and it will highlight it for you)
5. Press the decimal key on the numeric keyboard (The decimal on the normal keyboard works fine) and then press 5

it should say .5 but instead it will change it to 5

Is there a fix to this or a way around this?

thanks in advance,

Karl
Vasil
Telerik team
 answered on 30 May 2012
2 answers
101 views
I'm still evaluating your GridView and got some issues with it.
See linked project Sample Project.

  1. When scrolling with the mousewheel, the first column has the wrong image (selected instead of unselected).
  2. How can I disable the "blue line" between the columns?
Froggie
Top achievements
Rank 1
 answered on 29 May 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)
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
ProgressBar
CheckedDropDownList
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
Accessibility
VirtualKeyboard
NavigationView
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
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?