Telerik Forums
UI for WPF Forum
1 answer
60 views
Hi

i've tried to add RADGridView control to the window of wpf project.but its giving error like

Object reference not set to an instance of an object.
   at Telerik.Windows.Controls.GridView.GridViewVirtualizingPanel.get_HeightsCache() in c:\Builds\WPF_Scrum\GridView_WPF_2009_Q1_SP2\Sources\Development\Controls\GridView\GridView\GridView\Virtualization\GridViewVirtualizingPanel.cs:line 73
   at Telerik.Windows.Controls.GridView.GridViewVirtualizingPanel.get_ExtentHeight() in c:\Builds\WPF_Scrum\GridView_WPF_2009_Q1_SP2\Sources\Development\Controls\GridView\GridView\GridView\Virtualization\GridViewVirtualizingPanel.cs:line 505
   at Telerik.Windows.Controls.GridView.GridViewScrollViewer.UpdateScrollBars() in c:\Builds\WPF_Scrum\GridView_WPF_2009_Q1_SP2\Sources\Development\Controls\GridView\GridView\GridView\Virtualization\GridViewScrollViewer.cs:line 493
   at Telerik.Windows.Controls.GridView.GridViewScrollViewer.GridViewScrollViewer_LayoutUpdated(Object sender, EventArgs e) in c:\Builds\WPF_Scrum\GridView_WPF_2009_Q1_SP2\Sources\Development\Controls\GridView\GridView\GridView\Virtualization\GridViewScrollViewer.cs:line 513
   at System.Windows.ContextLayoutManager.fireLayoutUpdateEvent()
   at System.Windows.ContextLayoutManager.UpdateLayout()
   at System.Windows.ContextLayoutManager.UpdateLayoutCallback(Object arg)
   at System.Windows.Media.MediaContext.InvokeOnRenderCallback.DoWork()
   at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
   at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
   at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)

Hav i missed any dll's while installing RAD controls ?
I've installed trail version of RAD controls.

With Regards,
Madhu k







Vlad
Telerik team
 answered on 09 Jun 2009
1 answer
166 views
Hi,

I currently have 2 issues on the width of a column.

1) if you change the size of the 1st column by dragging the separator and 'hide' the column, you can't get it back. All the other columns can be restored, but the 1st isn't restorable. This only happens when the user can't freeze columns.


2) It seems like the auto-size functionality of the columns only works 1 time. Normally if you resize a column and double-click on the separator, the column will auto-size to the right size. Currently, this doesn't appear to work, with any of the ColumnsWidthMode values.
Kalin Milanov
Telerik team
 answered on 09 Jun 2009
5 answers
140 views
Hi ,

Few minutes back i've installed RAD controls for WPF.When i tried to acces the quick starts i'm getting error.
Even i couldnt able to access the online version of Quick starts ...its showing error message in browser which something goes like this.

Startup URI: http://demos.telerik.com/wpf/
Application Identity: http://demos.telerik.com/wpf/#Telerik.Windows.Examples.xbap, Version=2009.1.527.35, Culture=neutral, PublicKeyToken=06e954e71cc7b2f5, processorArchitecture=msil/Telerik.Windows.Examples.exe, Version=2009.1.527.35, Culture=neutral, PublicKeyToken=06e954e71cc7b2f5, processorArchitecture=msil, type=win32

This application type has been disabled.

-----------------------

PresentationHost.exe v3.0.6920.1109 (lh_tools_devdiv_wpf.071009-1109) - C:\WINDOWS\system32\PresentationHost.exe
ntdll.dll v5.1.2600.5755 (xpsp_sp3_gdr.090206-1234) - C:\WINDOWS\system32\ntdll.dll
kernel32.dll v5.1.2600.5781 (xpsp_sp3_gdr.090321-1317) - C:\WINDOWS\system32\kernel32.dll
ADVAPI32.dll v5.1.2600.5755 (xpsp_sp3_gdr.090206-1234) - C:\WINDOWS\system32\ADVAPI32.dll
RPCRT4.dll v5.1.2600.5512 (xpsp.080413-2108) - C:\WINDOWS\system32\RPCRT4.dll
Secur32.dll v5.1.2600.5753 (xpsp_sp3_gdr.090203-1302) - C:\WINDOWS\system32\Secur32.dll
USER32.dll v5.1.2600.5512 (xpsp.080413-2105) - C:\WINDOWS\system32\USER32.dll
GDI32.dll v5.1.2600.5698 (xpsp_sp3_gdr.081022-1932) - C:\WINDOWS\system32\GDI32.dll
msvcrt.dll v7.0.2600.5512 (xpsp.080413-2111) - C:\WINDOWS\system32\msvcrt.dll
ole32.dll v5.1.2600.5512 (xpsp.080413-2108) - C:\WINDOWS\system32\ole32.dll
SHELL32.dll v6.00.2900.5622 (xpsp_sp3_gdr.080617-1319) - C:\WINDOWS\system32\SHELL32.dll
SHLWAPI.dll v6.00.2900.5512 (xpsp.080413-2105) - C:\WINDOWS\system32\SHLWAPI.dll
urlmon.dll v7.00.6000.16825 (vista_gdr.090218-1505) - C:\WINDOWS\system32\urlmon.dll
OLEAUT32.dll v5.1.2600.5512 - C:\WINDOWS\system32\OLEAUT32.dll
iertutil.dll v7.00.6000.16825 (vista_gdr.090218-1505) - C:\WINDOWS\system32\iertutil.dll
mscoree.dll v2.0.50727.1433 (REDBITS.050727-1400) - C:\WINDOWS\system32\mscoree.dll
WININET.dll v7.00.6000.16827 (vista_gdr.090226-1506) - C:\WINDOWS\system32\WININET.dll
Normaliz.dll v6.0.5441.0 (winmain(wmbla).060628-1735) - C:\WINDOWS\system32\Normaliz.dll
IMM32.DLL v5.1.2600.5512 (xpsp.080413-2105) - C:\WINDOWS\system32\IMM32.DLL
comctl32.dll v6.0 (xpsp.080413-2105) - C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.5512_x-ww_35d4ce83\comctl32.dll
uxtheme.dll v6.00.2900.5512 (xpsp.080413-2105) - C:\WINDOWS\system32\uxtheme.dll
MSCTF.dll v5.1.2600.5512 (xpsp.080413-2105) - C:\WINDOWS\system32\MSCTF.dll
CLBCATQ.DLL v2001.12.4414.700 - C:\WINDOWS\system32\CLBCATQ.DLL
COMRes.dll v2001.12.4414.700 - C:\WINDOWS\system32\COMRes.dll
VERSION.dll v5.1.2600.5512 (xpsp.080413-2105) - C:\WINDOWS\system32\VERSION.dll
xpsp2res.dll v5.1.2600.5512 (xpsp.080413-2113) - C:\WINDOWS\system32\xpsp2res.dll
ws2_32.dll v5.1.2600.5512 (xpsp.080413-0852) - C:\WINDOWS\system32\ws2_32.dll
WS2HELP.dll v5.1.2600.5512 (xpsp.080413-0852) - C:\WINDOWS\system32\WS2HELP.dll
nvLsp.dll v2, 2, 0, 6793 - C:\WINDOWS\system32\nvLsp.dll
PSAPI.DLL v5.1.2600.5512 (xpsp.080413-2105) - C:\WINDOWS\system32\PSAPI.DLL
mswsock.dll v5.1.2600.5625 (xpsp_sp3_gdr.080620-1249) - C:\WINDOWS\system32\mswsock.dll
hnetcfg.dll v5.1.2600.5512 (xpsp.080413-0852) - C:\WINDOWS\system32\hnetcfg.dll
wshtcpip.dll v5.1.2600.5512 (xpsp.080413-0852) - C:\WINDOWS\System32\wshtcpip.dll
dfshim.dll v2.0.50727.1433 (REDBITS.050727-1400) - C:\WINDOWS\system32\dfshim.dll
MSVCR80.dll v8.00.50727.1433 - C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.1433_x-ww_5cf844d2\MSVCR80.dll
mscorwks.dll v2.0.50727.1433 (REDBITS.050727-1400) - C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll
PresentationHostDLL.dll v3.0.6920.1109 (lh_tools_devdiv_wpf.071009-1109) - C:\WINDOWS\Microsoft.Net\Framework\v3.0\WPF\PresentationHostDLL.dll
mscorlib.ni.dll v2.0.50727.1433 (REDBITS.050727-1400) - C:\WINDOWS\assembly\NativeImages_v2.0.50727_32\mscorlib\32e6f703c114f3a971cbe706586e3655\mscorlib.ni.dll
System.ni.dll v2.0.50727.1433 (REDBITS.050727-1400) - C:\WINDOWS\assembly\NativeImages_v2.0.50727_32\System\ba0e3a22211ba7343e0116b051f2965a\System.ni.dll
WindowsBase.ni.dll v3.0.6920.1109 (lh_tools_devdiv_wpf.071009-1109) - C:\WINDOWS\assembly\NativeImages_v2.0.50727_32\WindowsBase\0703021437c2ec71213a6b701771be86\WindowsBase.ni.dll
PresentationCore.ni.dll v3.0.6920.1109 (lh_tools_devdiv_wpf.071009-1109) - C:\WINDOWS\assembly\NativeImages_v2.0.50727_32\PresentationCore\011f8e31d197b4ccb6a61c2267a38e5c\PresentationCore.ni.dll
PresentationFramework.ni.dll v3.0.6920.1109 (lh_tools_devdiv_wpf.071009-1109) - C:\WINDOWS\assembly\NativeImages_v2.0.50727_32\PresentationFramewo#\60421dda88800b14dc101ed9dca422fe\PresentationFramework.ni.dll
msctfime.ime v5.1.2600.5512 (xpsp.080413-2105) - C:\WINDOWS\system32\msctfime.ime
actxprxy.dll v6.00.2900.5512 (xpsp.080413-2113) - C:\WINDOWS\system32\actxprxy.dll
PresentationHostProxy.dll v3.0.6920.1109 (lh_tools_devdiv_wpf.071009-1109) - C:\WINDOWS\system32\PresentationHostProxy.dll


Whats the reason for this ..how can i access the quick starts ?

With Regards,
Madhu k

Vlad
Telerik team
 answered on 09 Jun 2009
1 answer
90 views
iam trying wpf dragdrop treeview but in that items are dragging but not droping where we took the position........ if any on know's please tell me the code...........
prem



thank you
Valentin.Stoychev
Telerik team
 answered on 08 Jun 2009
15 answers
249 views
Hello!
Could you tell, how i can programmatically  create filter by two (for example) columns? Is it possible?

Thx
Orit
Top achievements
Rank 1
 answered on 08 Jun 2009
2 answers
102 views

Posted 23 hours ago (permalink)

Hi,
I need to rotate label in code
we using code behind (example in forum) to create a chart. how can i get following done in code behind not sure how  to get to this properties from code:

following works in xamel but need to do from code

<Style TargetType="telerik:AxisXLabel2D"
            <Setter Property="LayoutTransform"
                <Setter.Value> 
                    <RotateTransform Angle="-90"/> 
                </Setter.Value> 
            </Setter> 
        </Style> 

or

 

 

<telerik:LabelFormatConverter

 x:Key="labelFormatConverter" />

 <Style

      targetType="telerik:AxisXLabel2D">

     <Setter

         Property="LayoutTransform">

     <Setter.Value>

        <RotateTransform

             Angle="-90" />

     </Setter.Value>

  </Setter>

 

 


thx
Ves
Telerik team
 answered on 08 Jun 2009
2 answers
112 views
I download a project from this forum
it was ok
but when I copy the code to my project it fail

this is the code 

var

 

masterFilter = (CompositeFilterDescription)(this.RadGridView1.FilterDescription);

 

 

var subjectFilter = (FieldFilterDescription)masterFilter.FilterDescriptions[0];

 

 

subjectFilter.Values.Add(

"Cats");

this is the error
Error 1 'Telerik.Windows.Data.FieldFilterDescription' does not contain a definition for 'Values' and no extension method 'Values' accepting a first argument of type 'Telerik.Windows.Data.FieldFilterDescription' could be found (are you missing a using directive or an assembly reference?)

 

Orit
Top achievements
Rank 1
 answered on 08 Jun 2009
10 answers
266 views
Hi,
I have create a RadChart based on a datatable that has 2 columns "XValue" and "YValue".

Dim

 

seriesMapping2 As New SeriesMapping

 

seriesMapping2.SeriesDefinition =

New BarSeriesDefinition

 

 

Dim itemMapping2 As New ItemMapping

 

itemMapping2.DataPointMember = DataPointMember.YValue

itemMapping2.FieldName =

"YValue"

 

seriesMapping2.ItemMappings.Add(itemMapping2)

RadChart1.SeriesMappings.Add(seriesMapping2)

 

When i execute the chart, the X axis labels values are 1,2,3, .... and i would like to put here the values of "XValue" column on my datatable. How can i do it?


Also, If I try to put string values to "YValue" column in mi datatable, the chart fails, that is, only numeric values can be put as source of a serie?.

Thanks a lot.

Giuseppe
Telerik team
 answered on 05 Jun 2009
8 answers
317 views
Hi

I am trying to do a simple bar chart showing the following data;

Group               Value

Group 1 140.30
Group 2   5.00
Group 3          81.70

I wish to have the above groups as labels in the x-asis, but the barchart always shows 1,2,3

Can you please give me a simple example on how to achieve the above.

Regards
Velin
Telerik team
 answered on 05 Jun 2009
3 answers
119 views
I would like to style and edit the control template of the RadDatePicker inside Expression Blend.
When I add a copy of either the control template or the style of it, i get the following exception (german error message):

"
An Exception was thrown.
StackTrace: Empty

Inner Exception: Der öffentliche Typ mit dem Namen "RadDatePicker" kann von dem Typverweis nicht gefunden werden
XamlParseException: Der öffentliche Typ mit dem Namen "RadDatePicker kann von dem Typverweis nicht gefunden werden
StackTrace
bei System.Windows.Markup.XamlReaderHelper.Read(XamlNode& xamlNode)
...
InnerException:None
"

Translation of the message: "The public type with the name "RadDatePicker" can't be found by the reference type"
When I open the project with Visual studio, the exception does not occur.

Thanks in advance for helping.
Boyan
Telerik team
 answered on 05 Jun 2009
Narrow your results
Selected tags
Tags
+? 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?