Telerik Forums
UI for WPF Forum
1 answer
123 views
Hi

Can we use rad gauge in web-applications?
Giuseppe
Telerik team
 answered on 19 Jan 2009
1 answer
126 views
I'm using version 1.0.1.0 (Q2 2008 we believe) of the TreeView control. The hierarchy represented in the control is not bindable throughout, so we are forced to manually refresh it from time to time, and we also need to re-select the selected item after a refresh. The code is a bit complicated, but it seems to work well enough. It's called after PlansTreeView.Items.Refresh().

private void ReselectTreeViewSelection() 
    if (PlansTreeView.SelectedItem == null
        return
 
    var initialSelection = PlansTreeView.SelectedItem; 
 
    // find the master for the current selection 
    var selectedMaster = initialSelection as MasterRetailPlan; 
    if (selectedMaster == null
    { 
        var selectedTier = initialSelection as TierRetailPlan; 
        if (selectedTier != null
            selectedMaster = selectedTier.Master; 
        else 
        { 
            var selectedPub = (PublicationRetailPlan)initialSelection; 
            selectedMaster = selectedPub.Tier.Master; 
        } 
    } 
 
    // find the matching master whether placeholder or otherwise 
    var master = PlansTreeView.Items.Cast<MasterRetailPlan>().Single(x => x.ToString() == selectedMaster.Name || x.Name == selectedMaster.Name); 
    _masterContainer = PlansTreeView.ContainerFromItemRecursive(master); 
 
    // if the selected item was a master, then we're done 
    if (selectedMaster == initialSelection) 
        _masterContainer.IsSelected = true
 
    else 
        // we know we haven't found the selected item yet, so we expand the master 
        // and dig in to the tiers as soon as the ItemContainers for the tiers have been created 
        // we do this because the containers won't be created until needed, i.e. until the parent is expanded 
        _masterContainer.ItemContainerGenerator.StatusChanged += MasterContainerGenerator_StatusChanged; 
 
    _masterContainer.IsExpanded = true
 
void MasterContainerGenerator_StatusChanged(object sender, EventArgs e) 
    // don't do anything until the containers are generated 
    var generator = sender as ItemContainerGenerator; 
    if (generator.Status != GeneratorStatus.ContainersGenerated) 
        return
 
    // find the tier for the current selection 
    var initialSelection = PlansTreeView.SelectedItem; 
    var selectedTier = initialSelection as TierRetailPlan; 
    if (selectedTier == null
    { 
        var selectedPub = initialSelection as PublicationRetailPlan; 
        if (selectedPub != null
            selectedTier = selectedPub.Tier; 
    } 
 
    // find the matching tier 
    var tier = _masterContainer.Items.Cast<TierRetailPlan>().Single(x => x.Name == selectedTier.Name); 
    _tierContainer = PlansTreeView.ContainerFromItemRecursive(tier); 
 
    // if the selected item was the tier, then we're done 
    if (selectedTier == initialSelection) 
        _tierContainer.IsSelected = true
 
    else 
        // we know the tier wasn't the selected item, so it must be a pub 
        // we expand the tier and examine the pubs as soon as their ItemContainers have been created 
        _tierContainer.ItemContainerGenerator.StatusChanged += TierContainerGenerator_StatusChanged; 
 
    _tierContainer.IsExpanded = true
 
void TierContainerGenerator_StatusChanged(object sender, EventArgs e) 
    // don't do anything until Generated 
    var generator = sender as ItemContainerGenerator; 
    if (generator.Status != GeneratorStatus.ContainersGenerated) 
        return
 
    // we know if this fired, then the selected item was a pub 
    var selectedPub = (PublicationRetailPlan)PlansTreeView.SelectedItem; 
 
    var pub = _tierContainer.Items.Cast<PublicationRetailPlan>().Single(x => x.Name == selectedPub.Name); 
    var pubContainer = PlansTreeView.ContainerFromItemRecursive(pub); 
    pubContainer.IsSelected = true

We also need to have some of the nodes sorted, and that code works well and seems simple enough:

private void PlansTreeView_Expanded(object sender, RadRoutedEventArgs e) 
    var item = (RadTreeViewItem)e.OriginalSource; 
    var tier = (item.DataContext as TierRetailPlan); 
    if (tier == null
        return
 
    if (item.Items.SortDescriptions.Count == 0) 
        item.Items.SortDescriptions.Add(new SortDescription("Name", ListSortDirection.Ascending)); 

The trouble is that once a node is sorted, I can no longer refresh it (regardless of my Reselection - PlansTreeView.Items.Refresh() just does nothing). Is there something going on in the control that disables refreshing once I have it sorted? Or are there other approaches I should be taking towards refreshing the tree?







Tihomir Petkov
Telerik team
 answered on 16 Jan 2009
1 answer
132 views
Hello,
I need export radGrad to Excel file.

This is a code:

gv.ExportSettings.FileName = getFileName();
gv.ExportSettings.ExportOnlyData = true;
gv.ExportSettings.IgnorePaging = true;
gv.ExportSettings.OpenInNewWindow = true;
gv.MasterTableView.Style["text-align"] = "left";
gv.MasterTableView.ExportToExcel();

 

The problem: text-align of data in cells in excel file is different! One column aligned left, other - right. But in radGrid all aligned left.
I tried set style gv.MasterTableView.Style["text-align"] = "left"; but this doesn't solve my problem.
How can I set style for table cells???

P.S.
I found on the forum screenshot of excel table with a similar problem (last column aligned left and other right):
http://www.telerik.com/community/forums/aspnet-ajax/general-discussions/export-to-excel-number-problems.aspx

Thanks a lot.

Daniel
Telerik team
 answered on 16 Jan 2009
1 answer
49 views
Hi guys,

Great work on the TreeView. Would love for you to implement a CheckChildNodes proprty like the ASP.NET TreeView has.

Cheers

Justin Taylor
JTango
Top achievements
Rank 1
 answered on 14 Jan 2009
1 answer
72 views
Hi


Given that my dataContext is bound to a singluar object (Client, which is working fine) what is the binding syntaxt to bind the Client's Orders to the GridView

Thanks


P
Paul Gallen
Top achievements
Rank 1
 answered on 13 Jan 2009
5 answers
132 views
Hi

I'm using the GridView for WPF, with Visual C# Express.
And when I am adding a gridview to my page, I cannot see it in design mode, although it is working fine in run mode

The error message I got is

'Telerik.Windows.Controls.GridView;;;Component\Themes\GridView\Telerik/TableView.xaml' value cannot be assigned to property 'Source' of object 'System.Windows.ResourceDictionary'. Object reference not set to an instance of an object.  Error at object 'System.Windows.ResourceDictionary'.

The XAML I am using is as follows

<Grid Loaded="Grid_Loaded">
        <Grid.Resources>
            <Style TargetType="{x:Type telerik:GridViewCell}">
                <Setter Property="BorderThickness" Value="2" />
            </Style>
        </Grid.Resources>
        <telerik:RadGridView Name="radGridViewRedErrorBorder" ItemsSource="{Binding}" >
            <telerik:RadGridView.Resources>
            </telerik:RadGridView.Resources>
        </telerik:RadGridView>
    </Grid>
Paul Gallen
Top achievements
Rank 1
 answered on 12 Jan 2009
3 answers
269 views

I was attempting to run the demo WPF control’s (namely the gridview) and I’m getting the errors below the dashed line.

I have .Net 3.5 installed on my machine, IE 7.0, and I'm running Vista Enterprise on my machine. I'm guessing this is a Code Access Security problem with how our security policies are set, but I'm no CAS guru. I'm just looking for some insight/suggestions I can offer up to my desktop support team.

Any insight on how I can get these running?

  

Thanks,
Byron

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

 

 

Startup URI: http://demos.telerik.com/wpf/

Application Identity: http://demos.telerik.com/wpf/#Telerik.Windows.Examples.xbap, Version=2008.3.1217.35, Culture=neutral, PublicKeyToken=9b24c158fed08860, processorArchitecture=msil/Telerik.Windows.Examples.exe, Version=2008.3.1217.35, Culture=neutral, PublicKeyToken=9b24c158fed08860, processorArchitecture=msil, type=win32

 

System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.UIPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.

   at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet)

   at System.Security.CodeAccessPermission.Demand()

   at MS.Internal.PresentationFramework.SecurityHelper.DemandUIWindowPermission()

   at System.Windows.Application.Shutdown(Int32 exitCode)

   at Telerik.Windows.Examples.App.App_DispatcherUnhandledException(Object sender, DispatcherUnhandledExceptionEventArgs e)

   at System.Windows.Threading.Dispatcher.CatchException(Exception e)

   at System.Windows.Threading.Dispatcher.CatchExceptionStatic(Object source, Exception e)

   at System.Windows.Threading.ExceptionWrapper.CatchException(Object source, Exception e, Delegate catchHandler)

   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)

   at System.Windows.Threading.Dispatcher.WrappedInvoke(Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)

   at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Boolean isSingleParameter)

   at System.Windows.Threading.Dispatcher.Invoke(DispatcherPriority priority, Delegate method, Object arg)

   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)

 

The action that failed was:

Demand

The type of the first permission that failed was:

System.Security.Permissions.UIPermission

The first permission that failed was:

<IPermission class="System.Security.Permissions.UIPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"

version="1"

Window="AllWindows"/>

 

The demand was for:

<IPermission class="System.Security.Permissions.UIPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"

version="1"

Window="AllWindows"/>

 

The granted set of the failing assembly was:

<PermissionSet class="System.Security.PermissionSet"

version="1">

<IPermission class="System.Security.Permissions.FileDialogPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"

version="1"

Access="Open"/>

<IPermission class="System.Security.Permissions.IsolatedStorageFilePermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"

version="1"

Allowed="ApplicationIsolationByUser"

UserQuota="512000"/>

<IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"

version="1"

Flags="Execution"/>

<IPermission class="System.Security.Permissions.UIPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"

version="1"

Window="SafeTopLevelWindows"

Clipboard="OwnClipboard"/>

<IPermission class="System.Net.WebPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"

version="1">

<ConnectAccess>

<URI uri="(http|https)://demos\.telerik\.com/.*"/>

</ConnectAccess>

</IPermission>

<IPermission class="System.Security.Permissions.WebBrowserPermission, WindowsBase, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"

version="1"

Level="Safe"/>

<IPermission class="System.Drawing.Printing.PrintingPermission, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"

version="1"

Level="SafePrinting"/>

<IPermission class="System.Security.Permissions.MediaPermission, WindowsBase, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"

version="1"

Audio="SafeAudio"

Video="SafeVideo"

Image="SafeImage"/>

</PermissionSet>

 

The assembly or AppDomain that failed was:

Telerik.Windows.Examples, Version=2008.3.1217.35, Culture=neutral, PublicKeyToken=null

The method that caused the failure was:

Void App_DispatcherUnhandledException(System.Object, System.Windows.Threading.DispatcherUnhandledExceptionEventArgs)

The Zone of the assembly that failed was:

MyComputer

The Url of the assembly that failed was:

file:///C:/Users/t79211/AppData/Local/Apps/2.0/Y2BZA5DY.CA0/34PLVXQK.44X/tele..xbap_9b24c158fed08860_07d8.0003_470fad16b9c633a9/Telerik.Windows.Examples.EXE

 

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

 

PresentationHost.exe v3.0.6920.1453 built by: NetFX - C:\Windows\System32\PresentationHost.exe

ntdll.dll v6.0.6001.18000 (longhorn_rtm.080118-1840) - C:\Windows\system32\ntdll.dll

kernel32.dll v6.0.6001.18000 (longhorn_rtm.080118-1840) - C:\Windows\system32\kernel32.dll

ADVAPI32.dll v6.0.6001.18000 (longhorn_rtm.080118-1840) - C:\Windows\system32\ADVAPI32.dll

RPCRT4.dll v6.0.6001.18000 (longhorn_rtm.080118-1840) - C:\Windows\system32\RPCRT4.dll

MSVCR80.dll v8.00.50727.3053 - C:\Windows\WinSxS\x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.3053_none_d08d7bba442a9b36\MSVCR80.dll

msvcrt.dll v7.0.6001.18000 (longhorn_rtm.080118-1840) - C:\Windows\system32\msvcrt.dll

USER32.dll v6.0.6001.18000 (longhorn_rtm.080118-1840) - C:\Windows\system32\USER32.dll

GDI32.dll v6.0.6001.18023 (vistasp1_gdr.080221-1537) - C:\Windows\system32\GDI32.dll

ole32.dll v6.0.6000.16386 (vista_rtm.061101-2205) - C:\Windows\system32\ole32.dll

mscoree.dll v2.0.50727.3053 (netfxsp.050727-3000) - C:\Windows\System32\mscoree.dll

SHLWAPI.dll v6.0.6000.16386 (vista_rtm.061101-2205) - C:\Windows\system32\SHLWAPI.dll

urlmon.dll v7.00.6001.18000 (longhorn_rtm.080118-1840) - C:\Windows\system32\urlmon.dll

OLEAUT32.dll v6.0.6001.18000 - C:\Windows\system32\OLEAUT32.dll

iertutil.dll v7.00.6001.18157 (vistasp1_gdr.081015-1604) - C:\Windows\system32\iertutil.dll

SHELL32.dll v6.0.6001.18000 (longhorn_rtm.080118-1840) - C:\Windows\system32\SHELL32.dll

WININET.dll v7.00.6000.16386 (vista_rtm.061101-2205) - C:\Windows\system32\WININET.dll

Normaliz.dll v6.0.6000.16386 (vista_rtm.061101-2205) - C:\Windows\system32\Normaliz.dll

IMM32.DLL v6.0.6001.18000 (longhorn_rtm.080118-1840) - C:\Windows\system32\IMM32.DLL

MSCTF.dll v6.0.6000.16386 (vista_rtm.061101-2205) - C:\Windows\system32\MSCTF.dll

LPK.DLL v6.0.6001.18000 (longhorn_rtm.080118-1840) - C:\Windows\system32\LPK.DLL

USP10.dll v1.0626.6001.18000 (longhorn_rtm.080118-1840) - C:\Windows\system32\USP10.dll

comctl32.dll v6.10 (longhorn_rtm.080118-1840) - C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.6001.18000_none_5cdbaa5a083979cc\comctl32.dll

uxtheme.dll v6.0.6000.16386 (vista_rtm.061101-2205) - C:\Windows\System32\uxtheme.dll

CLBCatQ.DLL v2001.12.6931.18000 (longhorn_rtm.080118-1840) - C:\Windows\system32\CLBCatQ.DLL

rsaenh.dll v6.0.6001.18000 (longhorn_rtm.080118-1840) - C:\Windows\System32\rsaenh.dll

Secur32.dll v6.0.6001.18000 (longhorn_rtm.080118-1840) - C:\Windows\System32\Secur32.dll

ws2_32.dll v6.0.6000.16386 (vista_rtm.061101-2205) - C:\Windows\system32\ws2_32.dll

NSI.dll v6.0.6001.18000 (longhorn_rtm.080118-1840) - C:\Windows\system32\NSI.dll

mswsock.dll v6.0.6000.16386 (vista_rtm.061101-2205) - C:\Windows\system32\mswsock.dll

wshtcpip.dll v6.0.6000.16386 (vista_rtm.061101-2205) - C:\Windows\System32\wshtcpip.dll

dfshim.dll v2.0.50727.3053 (netfxsp.050727-3000) - C:\Windows\System32\dfshim.dll

mscorwks.dll v2.0.50727.3053 (netfxsp.050727-3000) - C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll

PresentationHostDLL.dll v3.0.6920.1453 built by: NetFX - C:\Windows\Microsoft.NET\Framework\v3.0\WPF\PresentationHostDLL.dll

VERSION.dll v6.0.6001.18000 (longhorn_rtm.080118-1840) - C:\Windows\System32\VERSION.dll

PSAPI.DLL v6.0.6000.16386 (vista_rtm.061101-2205) - C:\Windows\system32\PSAPI.DLL

actxprxy.dll v6.0.6001.18000 (longhorn_rtm.080118-1840) - C:\Windows\System32\actxprxy.dll

SXS.DLL v6.0.6000.16386 (vista_rtm.061101-2205) - C:\Windows\System32\SXS.DLL

PresentationHostProxy.dll v3.0.6920.1453 built by: NetFX - C:\Windows\System32\PresentationHostProxy.dll

mscorlib.ni.dll v2.0.50727.3053 (netfxsp.050727-3000) - C:\Windows\assembly\NativeImages_v2.0.50727_32\mscorlib\9adb89fa22fd5b4ce433b5aca7fb1b07\mscorlib.ni.dll

System.ni.dll v2.0.50727.3053 (netfxsp.050727-3000) - C:\Windows\assembly\NativeImages_v2.0.50727_32\System\aa7926460a336408c8041330ad90929d\System.ni.dll

WindowsBase.ni.dll v3.0.6920.1453 built by: NetFX - C:\Windows\assembly\NativeImages_v2.0.50727_32\WindowsBase\400510870f710fd409ee7fc71b4a69aa\WindowsBase.ni.dll

PresentationCore.ni.dll v3.0.6920.1453 built by: NetFX - C:\Windows\assembly\NativeImages_v2.0.50727_32\PresentationCore\9895974a8ff48335614f44603ff16a9d\PresentationCore.ni.dll

PresentationFramework.ni.dll v3.0.6920.1453 built by: NetFX - C:\Windows\assembly\NativeImages_v2.0.50727_32\PresentationFramewo#\2606f840d6783c9c2307965650735ada\PresentationFramework.ni.dll

wpfgfx_v0300.dll v3.0.6920.1453 built by: NetFX - C:\Windows\Microsoft.NET\Framework\v3.0\WPF\wpfgfx_v0300.dll

PresentationUI.ni.dll v3.0.6920.1453 built by: NetFX - C:\Windows\assembly\NativeImages_v2.0.50727_32\PresentationUI\4746ed9ba78a700176711accdea55be1\PresentationUI.ni.dll

System.Deployment.ni.dll v2.0.50727.3053 (netfxsp.050727-3000) - C:\Windows\assembly\NativeImages_v2.0.50727_32\System.Deployment\df1efcbac5973454c608890f72eb994d\System.Deployment.ni.dll

shfolder.dll v6.0.6000.16386 (vista_rtm.061101-2205) - C:\Windows\System32\shfolder.dll

mshtml.dll v7.00.6000.16386 (vista_rtm.061101-2205) - C:\Windows\system32\mshtml.dll

msls31.dll v3.10.349.0 - C:\Windows\system32\msls31.dll

MLANG.dll v6.0.6000.16386 (vista_rtm.061101-2205) - C:\Windows\System32\MLANG.dll

msimtf.dll v6.0.6000.16386 (vista_rtm.061101-2205) - C:\Windows\system32\msimtf.dll

System.Configuration.ni.dll v2.0.50727.3053 (netfxsp.050727-3000) - C:\Windows\assembly\NativeImages_v2.0.50727_32\System.Configuration\cb4cb21d14767292e079366a5d3d76cd\System.Configuration.ni.dll

System.Xml.ni.dll v2.0.50727.3053 (netfxsp.050727-3000) - C:\Windows\assembly\NativeImages_v2.0.50727_32\System.Xml\36f3953f24d4f0b767bf172331ad6f3e\System.Xml.ni.dll

rasapi32.dll v6.0.6000.16386 (vista_rtm.061101-2205) - C:\Windows\System32\rasapi32.dll

rasman.dll v6.0.6001.18000 (longhorn_rtm.080118-1840) - C:\Windows\System32\rasman.dll

NETAPI32.dll v6.0.6001.18157 (vistasp1_gdr.081015-1604) - C:\Windows\System32\NETAPI32.dll

TAPI32.dll v6.0.6000.16386 (vista_rtm.061101-2205) - C:\Windows\System32\TAPI32.dll

rtutils.dll v6.0.6000.16386 (vista_rtm.061101-2205) - C:\Windows\System32\rtutils.dll

WINMM.dll v6.0.6000.16386 (vista_rtm.061101-2205) - C:\Windows\System32\WINMM.dll

OLEACC.dll v4.2.5406.0 (longhorn_rtm.080118-1840) - C:\Windows\System32\OLEACC.dll

USERENV.dll v6.0.6000.16386 (vista_rtm.061101-2205) - C:\Windows\System32\USERENV.dll

IEFRAME.dll v7.00.6000.16386 (vista_rtm.061101-2205) - C:\Windows\System32\IEFRAME.dll

jscript.dll v5.7.0.6000 - C:\Windows\system32\jscript.dll

credssp.dll v6.0.6001.18000 (longhorn_rtm.080118-1840) - C:\Windows\System32\credssp.dll

CRYPT32.dll v6.0.6000.16386 (vista_rtm.061101-2205) - C:\Windows\System32\CRYPT32.dll

MSASN1.dll v6.0.6000.16386 (vista_rtm.061101-2205) - C:\Windows\System32\MSASN1.dll

schannel.dll v6.0.6001.18000 (longhorn_rtm.080118-1840) - C:\Windows\system32\schannel.dll

wship6.dll v6.0.6000.16386 (vista_rtm.061101-2205) - C:\Windows\System32\wship6.dll

ImgUtil.dll v7.00.6001.18000 (longhorn_rtm.080118-1840) - C:\Windows\System32\ImgUtil.dll

iphlpapi.dll v6.0.6000.16386 (vista_rtm.061101-2205) - C:\Windows\System32\iphlpapi.dll

dhcpcsvc.DLL v6.0.6000.16386 (vista_rtm.061101-2205) - C:\Windows\System32\dhcpcsvc.DLL

DNSAPI.dll v6.0.6000.16386 (vista_rtm.061101-2205) - C:\Windows\System32\DNSAPI.dll

WINNSI.DLL v6.0.6001.18000 (longhorn_rtm.080118-1840) - C:\Windows\System32\WINNSI.DLL

dhcpcsvc6.DLL v6.0.6000.16386 (vista_rtm.061101-2205) - C:\Windows\System32\dhcpcsvc6.DLL

pngfilt.dll v7.00.6001.18000 (longhorn_rtm.080118-1840) - C:\Windows\system32\pngfilt.dll

Microsoft.JScript.ni.dll v8.0.50727.3053 - C:\Windows\assembly\NativeImages_v2.0.50727_32\Microsoft.JScript\7d61e63dea85f4f77ea4c13df7651ec7\Microsoft.JScript.ni.dll

msimg32.dll v6.0.6000.16386 (vista_rtm.061101-2205) - C:\Windows\system32\msimg32.dll

Microsoft.Vsa.ni.dll v8.0.50727.3053 - C:\Windows\assembly\NativeImages_v2.0.50727_32\Microsoft.Vsa\28ea74096df47800fe2c78bb2b9a4f2a\Microsoft.Vsa.ni.dll

mscorjit.dll v2.0.50727.3053 (netfxsp.050727-3000) - C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorjit.dll

NLAapi.dll v6.0.6001.18000 (longhorn_rtm.080118-1840) - C:\Windows\system32\NLAapi.dll

napinsp.dll v6.0.6000.16386 (vista_rtm.061101-2205) - C:\Windows\system32\napinsp.dll

pnrpnsp.dll v6.0.6000.16386 (vista_rtm.061101-2205) - C:\Windows\system32\pnrpnsp.dll

winrnr.dll v6.0.6000.16386 (vista_rtm.061101-2205) - C:\Windows\System32\winrnr.dll

WLDAP32.dll v6.0.6000.16386 (vista_rtm.061101-2205) - C:\Windows\system32\WLDAP32.dll

rasadhlp.dll v6.0.6000.16386 (vista_rtm.061101-2205) - C:\Windows\System32\rasadhlp.dll

security.dll v6.0.6000.16386 (vista_rtm.061101-2205) - C:\Windows\System32\security.dll

msv1_0.dll v6.0.6000.16386 (vista_rtm.061101-2205) - C:\Windows\system32\msv1_0.dll

cryptdll.dll v6.0.6001.18000 (longhorn_rtm.080118-1840) - C:\Windows\System32\cryptdll.dll

System.Security.ni.dll v2.0.50727.3053 (netfxsp.050727-3000) - C:\Windows\assembly\NativeImages_v2.0.50727_32\System.Security\0418eb6dbffe9b46aa4c989153d6a3b5\System.Security.ni.dll

cryptnet.dll v6.0.6001.18000 (longhorn_rtm.080118-1840) - C:\Windows\System32\cryptnet.dll

SensApi.dll v6.0.6000.16386 (vista_rtm.061101-2205) - C:\Windows\System32\SensApi.dll

NTDSAPI.DLL v6.0.6001.18000 (longhorn_rtm.080118-1840) - C:\Windows\system32\NTDSAPI.DLL

kerberos.dll v6.0.6000.16386 (vista_rtm.061101-2205) - C:\Windows\system32\kerberos.dll

bcrypt.dll v6.0.6001.18000 (longhorn_rtm.080118-1840) - C:\Windows\System32\bcrypt.dll

mshtmled.dll v7.00.6000.16386 (vista_rtm.061101-2205) - C:\Windows\system32\mshtmled.dll

System.Drawing.ni.dll v2.0.50727.3053 (netfxsp.050727-3000) - C:\Windows\assembly\NativeImages_v2.0.50727_32\System.Drawing\6978f2e90f13bc720d57fa6895c911e2\System.Drawing.ni.dll

System.Core.ni.dll v3.5.30729.1 built by: SP - C:\Windows\assembly\NativeImages_v2.0.50727_32\System.Core\6c69930d05c557da70144bcc0add7065\System.Core.ni.dll

Telerik.Windows.QuickStart.dll v2008.3.1217.35 - C:\Users\t79211\AppData\Local\Apps\2.0\Y2BZA5DY.CA0\34PLVXQK.44X\tele..xbap_9b24c158fed08860_07d8.0003_470fad16b9c633a9\Telerik.Windows.QuickStart.dll

PresentationFramework.Aero.ni.dll v3.0.6920.1453 built by: NetFX - C:\Windows\assembly\NativeImages_v2.0.50727_32\PresentationFramewo#\9ad65537fa3d6b3c9c01a98586acfa28\PresentationFramework.Aero.ni.dll

WindowsCodecs.dll v6.0.6001.18000 (longhorn_rtm.080118-1840) - C:\Windows\System32\WindowsCodecs.dll

Telerik.Windows.Controls.Navigation.dll v2008.3.1217.35 - C:\Users\t79211\AppData\Local\Apps\2.0\Y2BZA5DY.CA0\34PLVXQK.44X\tele..xbap_9b24c158fed08860_07d8.0003_470fad16b9c633a9\Telerik.Windows.Controls.Navigation.dll

Telerik.Windows.Controls.dll v2008.3.1217.35 - C:\Users\t79211\AppData\Local\Apps\2.0\Y2BZA5DY.CA0\34PLVXQK.44X\tele..xbap_9b24c158fed08860_07d8.0003_470fad16b9c633a9\Telerik.Windows.Controls.dll

Telerik.Windows.Data.dll v2008.3.1217.35 - C:\Users\t79211\AppData\Local\Apps\2.0\Y2BZA5DY.CA0\34PLVXQK.44X\tele..xbap_9b24c158fed08860_07d8.0003_470fad16b9c633a9\Telerik.Windows.Data.dll

Telerik.Windows.Controls.Charting.dll v2008.3.1217.35 - C:\Users\t79211\AppData\Local\Apps\2.0\Y2BZA5DY.CA0\34PLVXQK.44X\tele..xbap_9b24c158fed08860_07d8.0003_470fad16b9c633a9\Telerik.Windows.Controls.Charting.dll

DWMAPI.dll v6.0.6001.18000 (longhorn_rtm.080118-1840) - C:\Windows\System32\DWMAPI.dll

d3d9.dll v6.0.6001.18000 (longhorn_rtm.080118-1840) - C:\Windows\System32\d3d9.dll

d3d8thk.dll v6.0.6000.16386 (vista_rtm.061101-2205) - C:\Windows\System32\d3d8thk.dll

nvd3dum.dll v7.15.11.6947 - C:\Windows\System32\nvd3dum.dll

System.ServiceModel.ni.dll v3.0.4506.2123 (NetFX.030618-0000) - C:\Windows\assembly\NativeImages_v2.0.50727_32\System.ServiceModel\8916ab751fafa7245dc9dfa6cfac3cfc\System.ServiceModel.ni.dll

UIAutomationTypes.ni.dll v3.0.6920.1453 built by: NetFX - C:\Windows\assembly\NativeImages_v2.0.50727_32\UIAutomationTypes\817d652893fb93c34428b1b4206a2803\UIAutomationTypes.ni.dll

System.Xml.Linq.ni.dll v3.5.30729.1 built by: SP - C:\Windows\assembly\NativeImages_v2.0.50727_32\System.Xml.Linq\8c0d96269480bdd3de8a825f0215308d\System.Xml.Linq.ni.dll

PresentationNative_v0300.dll v3.0.6920.1453 built by: NetFX - C:\Windows\System32\PresentationNative_v0300.dll

UIAutomationProvider.ni.dll v3.0.6920.1453 built by: NetFX - C:\Windows\assembly\NativeImages_v2.0.50727_32\UIAutomationProvider\b07a3428544255944bc199e4e3d2e6d3\UIAutomationProvider.ni.dll

msctfui.dll v6.0.6000.16386 (vista_rtm.061101-2205) - C:\Windows\system32\msctfui.dll

Telerik.Windows.Controls.GridView.dll v2008.3.1217.35 - C:\Users\t79211\AppData\Local\Apps\2.0\Y2BZA5DY.CA0\34PLVXQK.44X\tele..xbap_9b24c158fed08860_07d8.0003_470fad16b9c633a9\Telerik.Windows.Controls.GridView.dll

System.Data.ni.dll v2.0.50727.3053 (netfxsp.050727-3000) - C:\Windows\assembly\NativeImages_v2.0.50727_32\System.Data\0b40341027c01716cec1dd97592698e0\System.Data.ni.dll

System.Data.dll v2.0.50727.3053 (netfxsp.050727-3000) - C:\Windows\assembly\GAC_32\System.Data\2.0.0.0__b77a5c561934e089\System.Data.dll

System.Data.DataSetExtensions.ni.dll v3.5.30729.1 built by: SP - C:\Windows\assembly\NativeImages_v2.0.50727_32\System.Data.DataSet#\4f4ddae492a4a4ce4a2961f3d72d9399\System.Data.DataSetExtensions.ni.dll

wdmaud.drv v6.0.6000.16386 (vista_rtm.061101-2205) - C:\Windows\System32\wdmaud.drv

ksuser.dll v6.0.6000.16386 (vista_rtm.061101-2205) - C:\Windows\System32\ksuser.dll

MMDevAPI.DLL v6.0.6000.16386 (vista_rtm.061101-2205) - C:\Windows\System32\MMDevAPI.DLL

AVRT.dll v6.0.6001.18000 (longhorn_rtm.080118-1840) - C:\Windows\System32\AVRT.dll

SETUPAPI.dll v6.0.6001.18000 (longhorn_rtm.080118-1840) - C:\Windows\system32\SETUPAPI.dll

WINTRUST.dll v6.0.6001.18000 (longhorn_rtm.080118-1840) - C:\Windows\System32\WINTRUST.dll

imagehlp.dll v6.0.6001.18000 (longhorn_rtm.080118-1840) - C:\Windows\system32\imagehlp.dll

AUDIOSES.DLL v6.0.6001.18000 (longhorn_rtm.080118-1840) - C:\Windows\System32\AUDIOSES.DLL

audioeng.dll v6.0.6001.18000 (longhorn_rtm.080118-1840) - C:\Windows\System32\audioeng.dll

msacm32.drv v6.0.6000.16386 (vista_rtm.061101-2205) - C:\Windows\System32\msacm32.drv

MSACM32.dll v6.0.6000.16386 (vista_rtm.061101-2205) - C:\Windows\System32\MSACM32.dll

midimap.dll v6.0.6000.16386 (vista_rtm.061101-2205) - C:\Windows\System32\midimap.dll

diasymreader.dll v8.0.50727.3053 (netfxsp.050727-3000) - C:\Windows\Microsoft.NET\Framework\v2.0.50727\diasymreader.dll

 

       

Rosi
Telerik team
 answered on 10 Jan 2009
2 answers
229 views
Hello,

I am binding the the RadGridView to a collection of objects that do not implement INotifyPropertyChanged or INotifyCollectionChanged.  Specifically, I'm using the WorkItemCollection and WorkItem objects from Microsoft's Team Foundation Server object model.  The WorkItem object has an event that is raised whenever a field is modified, so I do have a way of knowing exactly when an object changes and which field has changed.  Given that, is there a way to manually update the grid without rebinding the entire grid?  Perhaps by just updating a single row or cell?

Thanks,

Joel


JP
Top achievements
Rank 1
 answered on 09 Jan 2009
1 answer
196 views
Hi,
I need to display date in GridViewDataColumn. When the year is less then 1980, I dont want to display anything. How this can be done?
Thanks
Pavel Pavlov
Telerik team
 answered on 09 Jan 2009
1 answer
208 views
Hello!
Let's say I have this class :

class Person
{
public Address address;
public DateTime age;

...
Ctor's and so on ...

}

class Address
{
string street;
int number;

...
}

And suppose that I have a datagrid, inside a wpf grid where I set the datacontext to a list of Persons like this :

personGrid.datacontext = personDao.getAll() as List<Person>;

What I want to know is how i define what will appear in Address column. I know i can do this overriding the toString() method on Address class, but I want to do something like "DisplayMemberPath = "street" . Is that possible ?

Thanks,
Ivan Frias

Nedyalko Nikolov
Telerik team
 answered on 09 Jan 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?