This is a migrated thread and some comments may be shown as answers.

Updating TimeRulerLines Major Tick Line Programmatically

5 Answers 42 Views
GanttView
This is a migrated thread and some comments may be shown as answers.
Nathan
Top achievements
Rank 1
Nathan asked on 19 Jun 2014, 10:26 PM
Is there a way of doing this?  I have a requirement of allowing the user to increase/decrease the major tick lines (to achieve zooming in/out)

5 Answers, 1 is accepted

Sort by
0
Polya
Telerik team
answered on 20 Jun 2014, 11:21 AM
Hello Nathan,

Zooming in or out can be achieved by modifying the RadGanttView PixelLength at runtime.
We have an example in our WPF Demos showing how to do that - you can download the examples from this link, once they are installed go to the GanttView First Look demo. There we use a RadSlider to modify the RadGanttView PixelLength and achieve zooming in/out the TimeRuler Part.

I hope this will help.

Regards,
Polya
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
0
Nathan
Top achievements
Rank 1
answered on 21 Jun 2014, 12:12 AM
Is there an online version somewhere?  I am unable to install the demos from that link on my computer.  Specifically, it aborts after encountering an error install SQL Express 2008
0
Polya
Telerik team
answered on 23 Jun 2014, 08:22 AM
Hi Nathan,

We are not sure what could be the reason for the described issue and I would be grateful if you could share some information, so we can try and reproduce it: What is your Windows version, your SQL version, your .NET Framework version and what is the exact error message during the installation?
I suggest taking a look at the RadGanttView First Look demo for Silverlight. It is almost the same as the one for WPF and the zooming in/out is demonstrated using a RadSlider.

Regards,
Polya
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
0
Nathan
Top achievements
Rank 1
answered on 23 Jun 2014, 04:47 PM
I have Windows 8, .NET 2.0.50, 3.0, 3.5 installed.  I don't believe I have SQL installed.

The install log is below:

The following properties have been set:
Property: [AdminUser] = true {boolean}
Property: [InstallMode] = HomeSite {string}
Property: [ProcessorArchitecture] = AMD64 {string}
Property: [VersionNT] = 6.2.0 {version}
Running checks for package 'Windows Installer 3.1', phase BuildList
The following properties have been set for package 'Windows Installer 3.1':
Running checks for command 'WindowsInstaller3_1\WindowsInstaller-KB893803-v2-x86.exe'
Result of running operator 'VersionGreaterThanOrEqualTo' on property 'VersionMsi' and value '3.1': true
Result of checks for command 'WindowsInstaller3_1\WindowsInstaller-KB893803-v2-x86.exe' is 'Bypass'
'Windows Installer 3.1' RunCheck result: No Install Needed
Running checks for package 'Windows Installer 4.5', phase BuildList
Looking up path for special folder 'WindowsFolder'
Running check with folder 'C:\Windows\System32' and file 'msi.dll'
Attempting to find file 'C:\Windows\System32\msi.dll'
File version is '5.0.9200.16384'
Setting value '5.0.9200.16384 {version}' for property 'VersionMsiDll'
The following properties have been set for package 'Windows Installer 4.5':
Property: [VersionMsiDll] = 5.0.9200.16384 {version}
Running checks for command 'WindowsInstaller4_5\WindowsXP-KB942288-v3-x86.exe'
Result of running operator 'VersionGreaterThanOrEqualTo' on property 'VersionMsi' and value '4.5': true
Result of checks for command 'WindowsInstaller4_5\WindowsXP-KB942288-v3-x86.exe' is 'Bypass'
Running checks for command 'WindowsInstaller4_5\WindowsXP-KB958655-v2-x86-ENU.exe'
Result of running operator 'VersionGreaterThanOrEqualTo' on property 'VersionMsiDll' and value '4.5.6001.22299': true
Result of checks for command 'WindowsInstaller4_5\WindowsXP-KB958655-v2-x86-ENU.exe' is 'Bypass'
Running checks for command 'WindowsInstaller4_5\WindowsServer2003-KB942288-v4-x86.exe'
Result of running operator 'VersionGreaterThanOrEqualTo' on property 'VersionMsi' and value '4.5': true
Result of checks for command 'WindowsInstaller4_5\WindowsServer2003-KB942288-v4-x86.exe' is 'Bypass'
Running checks for command 'WindowsInstaller4_5\WindowsServer2003-KB958655-v2-x86-ENU.exe'
Result of running operator 'VersionGreaterThanOrEqualTo' on property 'VersionMsiDll' and value '4.5.6001.22299': true
Result of checks for command 'WindowsInstaller4_5\WindowsServer2003-KB958655-v2-x86-ENU.exe' is 'Bypass'
Running checks for command 'WindowsInstaller4_5\WindowsServer2003-KB942288-v4-x64.exe'
Result of running operator 'VersionGreaterThanOrEqualTo' on property 'VersionMsi' and value '4.5': true
Result of checks for command 'WindowsInstaller4_5\WindowsServer2003-KB942288-v4-x64.exe' is 'Bypass'
Running checks for command 'WindowsInstaller4_5\WindowsServer2003.WindowsXP-KB958655-v2-x64-ENU.exe'
Result of running operator 'VersionGreaterThanOrEqualTo' on property 'VersionMsiDll' and value '4.5.6001.22299': true
Result of checks for command 'WindowsInstaller4_5\WindowsServer2003.WindowsXP-KB958655-v2-x64-ENU.exe' is 'Bypass'
Running checks for command 'WindowsInstaller4_5\Windows6.0-KB958655-v2-x86.MSU'
Result of running operator 'VersionGreaterThanOrEqualTo' on property 'VersionMsiDll' and value '4.5.6001.22308': true
Result of checks for command 'WindowsInstaller4_5\Windows6.0-KB958655-v2-x86.MSU' is 'Bypass'
Running checks for command 'WindowsInstaller4_5\Windows6.0-KB958655-v2-x64.MSU'
Result of running operator 'VersionGreaterThanOrEqualTo' on property 'VersionMsiDll' and value '4.5.6001.22308': true
Result of checks for command 'WindowsInstaller4_5\Windows6.0-KB958655-v2-x64.MSU' is 'Bypass'
'Windows Installer 4.5' RunCheck result: No Install Needed
Running checks for package 'Microsoft .NET Framework 4 Client Profile (x86 and x64)', phase BuildList
Reading value 'Version' of registry key 'HKLM\Software\Microsoft\NET Framework Setup\NDP\v4\Client'
Read string value '4.5.50938'
Setting value '4.5.50938 {string}' for property 'DotNet40Client_TargetVersion'
The following properties have been set for package 'Microsoft .NET Framework 4 Client Profile (x86 and x64)':
Property: [DotNet40Client_TargetVersion] = 4.5.50938 {string}
Running checks for command 'DotNetFX40Client\dotNetFx40_Client_x86_x64.exe'
Result of running operator 'ValueEqualTo' on property 'InstallMode' and value 'HomeSite': true
Result of checks for command 'DotNetFX40Client\dotNetFx40_Client_x86_x64.exe' is 'Bypass'
Running checks for command 'DotNetFX40Client\dotNetFx40_Client_setup.exe'
Result of running operator 'ValueNotEqualTo' on property 'InstallMode' and value 'HomeSite': false
Result of running operator 'VersionGreaterThanOrEqualTo' on property 'DotNet40Client_TargetVersion' and value '4.0.30129': true
Result of checks for command 'DotNetFX40Client\dotNetFx40_Client_setup.exe' is 'Bypass'
'Microsoft .NET Framework 4 Client Profile (x86 and x64)' RunCheck result: No Install Needed
Running checks for package 'SQL Server 2008 Express', phase BuildList
Running external check with command 'C:\Users\t-nachow\AppData\Local\Temp\VSD360F.tmp\SqlExpress2008\SqlExpressChk.exe' and parameters '10.0.1600 1033'
Process exited with code 1
Setting value '1 {int}' for property 'SQLExpressChk'
The following properties have been set for package 'SQL Server 2008 Express':
Property: [SQLExpressChk] = 1 {int}
Running checks for command 'SqlExpress2008\SQLEXPR32_x86_ENU.EXE'
Result of running operator 'ValueNotExists' on property 'VersionNT': false
Result of running operator 'VersionLessThan' on property 'VersionNT' and value '5.1.2': false
Result of running operator 'VersionEqualTo' on property 'VersionNT' and value '5.2.0': false
Result of running operator 'VersionEqualTo' on property 'VersionNT' and value '5.2.1': false
Result of running operator 'ValueEqualTo' on property 'AdminUser' and value 'false': false
Result of running operator 'ValueEqualTo' on property 'SQLExpressChk' and value '-1': false
Result of running operator 'ValueEqualTo' on property 'SQLExpressChk' and value '-2': false
Result of running operator 'ValueEqualTo' on property 'SQLExpressChk' and value '-3': false
Result of running operator 'ValueEqualTo' on property 'SQLExpressChk' and value '-4': false
Result of running operator 'ValueLessThan' on property 'SQLExpressChk' and value '-4': false
Result of running operator 'ValueNotEqualTo' on property 'ProcessorArchitecture' and value 'Intel': true
Result of checks for command 'SqlExpress2008\SQLEXPR32_x86_ENU.EXE' is 'Bypass'
Running checks for command 'SqlExpress2008\SQLEXPR32_x86_ENU.EXE'
Result of running operator 'ValueNotEqualTo' on property 'ProcessorArchitecture' and value 'Intel': true
Result of checks for command 'SqlExpress2008\SQLEXPR32_x86_ENU.EXE' is 'Bypass'
Running checks for command 'SqlExpress2008\SQLEXPR_x64_ENU.EXE'
Result of running operator 'ValueNotEqualTo' on property 'ProcessorArchitecture' and value 'amd64': false
Result of running operator 'ValueNotEqualTo' on property 'SQLExpressChk' and value '1': false
Result of checks for command 'SqlExpress2008\SQLEXPR_x64_ENU.EXE' is 'Install'
Running checks for command 'SqlExpress2008\SQLEXPR_x64_ENU.EXE'
Result of running operator 'ValueNotEqualTo' on property 'ProcessorArchitecture' and value 'amd64': false
Result of running operator 'ValueNotEqualTo' on property 'SQLExpressChk' and value '2': true
Result of checks for command 'SqlExpress2008\SQLEXPR_x64_ENU.EXE' is 'Bypass'
'SQL Server 2008 Express' RunCheck result: Install Needed
EULA for components 'SQL Server 2008 Express' was accepted.
Copying files to temporary directory "C:\Users\t-nachow\AppData\Local\Temp\VSD360F.tmp\"
Downloading files to "C:\Users\t-nachow\AppData\Local\Temp\VSD360F.tmp\"
(6/20/2014 2:38:19 PM) Downloading 'SqlExpress2008\SQLEXPR_x64_ENU.EXE' from 'http://go.microsoft.com/fwlink/?LinkID=153229&clcid=0x409' to 'C:\Users\t-nachow\AppData\Local\Temp\VSD360F.tmp\'
Download completed at 6/20/2014 2:38:29 PM
Verifying file integrity of C:\Users\t-nachow\AppData\Local\Temp\VSD360F.tmp\SqlExpress2008\SQLEXPR_x64_ENU.EXE
WinVerifyTrust returned 0
File trusted
Running checks for package 'SQL Server 2008 Express', phase BeforePackage
Running external check with command 'C:\Users\t-nachow\AppData\Local\Temp\VSD360F.tmp\SqlExpress2008\SqlExpressChk.exe' and parameters '10.0.1600 1033'
Process exited with code 1
Setting value '1 {int}' for property 'SQLExpressChk'
The following properties have been set for package 'SQL Server 2008 Express':
Property: [SQLExpressChk] = 1 {int}
Running checks for command 'SqlExpress2008\SQLEXPR_x64_ENU.EXE'
Result of running operator 'ValueNotEqualTo' on property 'ProcessorArchitecture' and value 'amd64': false
Result of running operator 'ValueNotEqualTo' on property 'SQLExpressChk' and value '1': false
Result of checks for command 'SqlExpress2008\SQLEXPR_x64_ENU.EXE' is 'Install'
'SQL Server 2008 Express' RunCheck result: Install Needed
Verifying file integrity of C:\Users\t-nachow\AppData\Local\Temp\VSD360F.tmp\SqlExpress2008\SQLEXPR_x64_ENU.EXE
WinVerifyTrust returned 0
File trusted
Installing using command 'C:\Users\t-nachow\AppData\Local\Temp\VSD360F.tmp\SqlExpress2008\SQLEXPR_x64_ENU.EXE' and parameters '/q /hideconsole /action=Install /features=SQL /instancename=SQLEXPRESS /enableranu=1 /sqlsvcaccount="NT Authority\Network Service" /AddCurrentUserAsSqlAdmin /skiprules=RebootRequiredCheck'
Process exited with code -2068643839
Status of package 'SQL Server 2008 Express' after install is 'InstallFailed'
0
Polya
Telerik team
answered on 24 Jun 2014, 11:16 AM
Hello Nathan,

I suppose the error is caused by the lack of SQL Server on your machine. In order to install the WPF demos you need to have Microsoft .NET Framework 4 Client Profile (x86 and x64) and SQL Server 2008 Express.
Could you please give it a try and let me know whether this resolves the issue.

Regards,
Polya
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
Tags
GanttView
Asked by
Nathan
Top achievements
Rank 1
Answers by
Polya
Telerik team
Nathan
Top achievements
Rank 1
Share this question
or