Telerik Forums
UI for WinForms Forum
2 answers
152 views
When I set value using RadTrackBar.Value (using  either code or designer), visually it doesn't properly corresponds to what is has to.
 For example, Mininum = 20, Maximum = 200, Value = 100, but on the screen thumb is at the right end of control. Also, I think, that it is related - to set value higher than 100 - user has to move mouse out of control to the right side.
Controls version: 2013.3.1127.40

private void InitializeComponent()
{
  this.radTrackBar1 = new Telerik.WinControls.UI.RadTrackBar();
  ((System.ComponentModel.ISupportInitialize)(this.radTrackBar1)).BeginInit();
  this.SuspendLayout();
  //
  // radTrackBar1
  //
  this.radTrackBar1.Location = new System.Drawing.Point(13, 13);
  this.radTrackBar1.Maximum = 200F;
  this.radTrackBar1.Minimum = 20F;
  this.radTrackBar1.Name = "radTrackBar1";
  this.radTrackBar1.Size = new System.Drawing.Size(150, 17);
  this.radTrackBar1.TabIndex = 0;
  this.radTrackBar1.TickStyle = Telerik.WinControls.Enumerations.TickStyles.None;
  this.radTrackBar1.Value = 100F;
  //
  // Form1
  //
  this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
  this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
  this.ClientSize = new System.Drawing.Size(292, 273);
  this.Controls.Add(this.radTrackBar1);
  this.Name = "Form1";
  this.Text = "Form1";
  ((System.ComponentModel.ISupportInitialize)(this.radTrackBar1)).EndInit();
  this.ResumeLayout(false);
  this.PerformLayout();
 
}
Den
Top achievements
Rank 1
 answered on 13 Jan 2014
1 answer
107 views
I'm really totally new to telerik.
I'm trying to create a form that has a grid view at the top section and at bottem an area for view, add, edit.
Each row in the grid shows basic information of some medical assessemnt. Clicking the row wil show all the information in the bottom area.
I can then edit or delete this information.
Clicking "add" will clear all the fields in the bottom section for inserting a new value.

Can anyone give me pointers on how to best approach with gridview. Example code will be a big help
Dimitar
Telerik team
 answered on 13 Jan 2014
4 answers
616 views
I have been trying to install the latest version of Telerik controls on a clean development machine (not an upgrade, but fresh install).

The installer would always state that all was ok, but I was never able to get the Extensions or templates to install no matter how many uninstalls, reinstalls, and looking at others in the forum that have had similar issues.

I have followed the information from another forum (ASP.NET - as I have been having this issue with ALL of the telerik controls I downloaded as of 4/29/2011) that recommended I run the following method to log the issue:

msiexec /i [RadControlsInstallationMSIFileName].msi /limev InstallLog.txt

For the WinForms Controls - 2001.1.11.419 - I am getting the following error messages in the InstallLog.txt file:

MSI (c) (48:D8) [22:05:05:811]: Note: 1: 2205 2:  3: Error
MSI (c) (48:D8) [22:05:05:811]: Note: 1: 2228 2:  3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 2826
DEBUG: Error 2826:  Control TelerikVSExtensionsVS2005 on dialog VerifyReadyDlgTelerik extends beyond the boundaries of the dialog to the right by 6 pixels
The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2826. The arguments are: VerifyReadyDlgTelerik, TelerikVSExtensionsVS2005, to the right
MSI (c) (48:D8) [22:05:05:821]: Note: 1: 2205 2:  3: Error
MSI (c) (48:D8) [22:05:05:821]: Note: 1: 2228 2:  3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 2826
DEBUG: Error 2826:  Control TelerikVSExtensionsVS2008 on dialog VerifyReadyDlgTelerik extends beyond the boundaries of the dialog to the right by 6 pixels
The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2826. The arguments are: VerifyReadyDlgTelerik, TelerikVSExtensionsVS2008, to the right
MSI (c) (48:D8) [22:05:05:821]: Note: 1: 2205 2:  3: Error
MSI (c) (48:D8) [22:05:05:821]: Note: 1: 2228 2:  3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 2826
DEBUG: Error 2826:  Control TelerikVSExtensionsVS2010 on dialog VerifyReadyDlgTelerik extends beyond the boundaries of the dialog to the right by 6 pixels
The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2826. The arguments are: VerifyReadyDlgTelerik, TelerikVSExtensionsVS2010, to the right
MSI (c) (48:D8) [22:05:05:821]: Note: 1: 2205 2:  3: Error
MSI (c) (48:D8) [22:05:05:821]: Note: 1: 2228 2:  3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 2898
Info 2898.For Telerik_Font_Title textstyle, the system created a 'Arial' font, in 0 character set, of 15 pixels height.
MSI (c) (48:D8) [22:05:06:338]: Note: 1: 2727 2: 
MSI (c) (48:D8) [22:05:06:853]: Note: 1: 2727 2: 
MSI (c) (48:D8) [22:05:07:356]: Note: 1: 2727 2: 
MSI (c) (48:D8) [22:05:07:456]: Doing action: PromptVSCloseCA
MSI (c) (48:D8) [22:05:07:456]: Note: 1: 2205 2:  3: ActionText

So, if I'm reading this correctly, the VS Extensions are not installed due to an error in the MSI itself and not related to the new version of MSHelp or to UAC.  I have made bold the line I am referencing? 

I am installing on a clean install of MS Windows 7 x64 w/SP1, MS Office Pro 2010 and I have tried it with both Visual Studio 2010 Pro and Visual Studio 2010 Pro w/SP1 and get the same results.

While I can get the Extensions to install through Microsoft's Online Extension Gallery (VS -> Tools -> Extension Manager -> Online --> search for Telerik and install extensions), I have not seen this add any of the templates.  However, this does not appear to happen if I am running this as an upgrade? Or, maybe it is still failing, but the older templates are not updated (or there were no changes so nothing is needed to be updated).

Thanks for any assistance, and hope this can be resolved quickly.

Michael Smith
Robert
Top achievements
Rank 1
 answered on 10 Jan 2014
4 answers
188 views
sample link hosted on zippyshare

In this sample, when you launch it:
-you can check the listviewitem called 'toto' (this call the AddDockTab() method)
-you can uncheck the listviewitem called 'toto' (this call the DelDockTab() method) but nothing happens.

Any idea ?
Dimitar
Telerik team
 answered on 10 Jan 2014
3 answers
121 views
I have a treeview that is using the Office 2010 Black theme, and the expand icons in the treeview always display in a .NET form, but if the same control is opened in a VB6 form, the expand icons do not display. Everything else in the treeview seems to work fine. Have you seen this before?
George
Telerik team
 answered on 10 Jan 2014
3 answers
290 views
I need to detect when the user changes pages by clicking on a tab. If certain conditions are not met, then I want to programmatically cancel the change. I see two events that might allow me to do this.

PageIndexChanging provides a CurrentIndex, NewIndex and Cancel properties. This would seem to do what I want but it does not fire when a page tab is clicked with a mouse.

SelectedPageChanging event does fire when the user clicks on a page tab. However, it does not contain a CurrentIndex, NewIndex or Cancel property. It does not seem to meet my needs.

What event should I use to detect when a user changes page tabs with a mouse and gives me programmatic control over the change?

thanks,
pat
Stefan
Telerik team
 answered on 10 Jan 2014
4 answers
243 views
I have a grid with a role that formats the row in red if a specific decimalcolumn "Balance", calculated at grid initialization, contains a value that is less than 0. This rule is working fine.

private void radGridView1_Initialized(object sender, EventArgs e)
       {
          radGridView1.Columns["Balance"].Expression = "Paid-Due+Expenses";
       }

In particular situations I need to override the above rule manually and to do so I have added a checkboxcolumn bound to the db and I am trying to add a new conditional rule which make the row green if the checkbox is checked. Obviously the status change of the checkboxcolumn happens at runtime.
I have tried in several ways but I cannot get it functional.
How can I change the formatting of the row (to green) at runtime if the checkbox is checked?
George
Telerik team
 answered on 09 Jan 2014
1 answer
148 views
I'm sure I'm doing something wrong here, but I followed the documentation and it still doesn't seem to be working.  All I get is a blank item in my ListView.  Here's the code to recreate my issue.  The columns I've added to the control at design-time are named exactly what they indicate below.

private void LoadFiles(DirectoryInfo dir)
        {
            FileInfo[] files = dir.GetFiles();
 
            this.lvFiles.Items.Clear();
            this.lvFiles.Items.BeginUpdate();
 
            foreach (FileInfo file in files)
            {
                Telerik.WinControls.UI.ListViewDataItem listItem = new Telerik.WinControls.UI.ListViewDataItem();
                 
                this.lvFiles.Items.Add(listItem);
                 
                listItem["Name"] = file.Name;
                listItem["DateTime"] = file.LastWriteTime.ToString();
                listItem["Type"] = "file";
                listItem["Size"] = UtilLib.FileIO.ToByteString(file.Length);
                listItem["Uploaded By"] = "Wango";
                listItem.Tag = file;               
            }
            this.lvFiles.Items.EndUpdate();
        }
Dimitar
Telerik team
 answered on 09 Jan 2014
1 answer
78 views

I have a CommandBar that always displays tooltips when opened from a .NET form, but when the control containing the CommandBar is used in a VB6 form, the tooltips do not display. Have you seen this before?

George
Telerik team
 answered on 09 Jan 2014
2 answers
135 views
How I can change the current time color?
Yaman
Top achievements
Rank 1
 answered on 09 Jan 2014
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
Bronze
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
Bronze
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?