Telerik Forums
UI for WPF Forum
1 answer
208 views
We have approx 1000 rows in a RadGridView (version 2011.2.808.40) with grouping on one column resulting in 5 groups.

I have noticed that when scrolling down using the arrow key that when you scroll past a group header (GridViewGroupRow) the grid will auto scroll the group header to the top of the view port before continuing to scroll as normal. This produces a jump in the display, especially as the group header is initially out of sight (just beyond the bottom of the view port).

Is there any way to turn this behavior off, so that a group header scrolls into view and then up the page like any other row?

Thanks!
Vera
Telerik team
 answered on 03 Feb 2012
1 answer
118 views
I have saved files from a data base then used the paths to bind them to my images in my book. But now I need to release those images and rebind with different images. I am not able to delete out the image files that I created to display from the first book that was created. How do I clear the locks on the files so I can recreate them from other images in the database?

 

 

 

 

private void Process_Tiff(BookView wpfbook, string TempFile)
{
    RemoveOldFiles();
    //Sets each page to an image
    Image img = Image.FromFile(TempFile);
    int count = img.GetFrameCount(FrameDimension.Page);
    List<BookItem> MyBook = new List<BookItem>();
    for (int idx = 0; idx < count; idx++)
    {
        img.SelectActiveFrame(FrameDimension.Page, idx);
        int currentpage = idx + 1;
        string TempPageFile = DefaultPath + DocOcc.ToString() + currentpage.ToString() + ".TIFF";
        // and then create a new Image from it
        img.Save(TempPageFile);
        dFile df = new dFile();
        df.File_Path = TempPageFile;
        FileList.Add(df);
        MyBook.Add(new BookItem()
        {
            Title = TempPageFile
        });
    }
    img.Dispose();
    wpfbook.RadBook1.ItemsSource = MyBook;
}

This is the code where I create a file for each page of my Tiff file. Then I use this code to try and remove it. But I am not able to remove the file.

private void RemoveOldFiles()
{
    ((BookView)((ElementHost)panel1.Controls[0]).Child).RadBook1.ItemsSource = null;
    int count = 0;
    IList<dFile> holddf = new List<dFile>();
    foreach (dFile dfrow in FileList)
   {
       try
       {
           File.Delete(dfrow.File_Path);
           count++;
       }
       catch
       {
           dFile df = new dFile();
           df.File_Path = dfrow.File_Path;
           holddf.Add(df);
           count++;
       }
   }
    FileList = holddf;
}

The result is always faling in to the Catch and the error is always that the file is in use. Hopefully this helps someone help me.

Petar Mladenov
Telerik team
 answered on 03 Feb 2012
5 answers
227 views
I have a wpf window with a search button and some fields to enter the search criteria. Some of the search fields are RadDatePicker controls which are bound to a custom object. Wpf does not update the custom object with changes until the field loses focus. When the search button is clicked, my code checks if each field has the focus. If it does, it calls UpdateSource() on the BindingExpression to make sure the custom object has the current values.

This is not working with RadDatePicker. I call UpdateSource() and it does not update the value in my custom object. I am binding to the SelectedDate property. Everything works fine when I tab out of the RadDatePicker control before clicking the search button.

Is there a way tell RadDatePicker to update the source without moving the focus?

The IsFocused property on RadDatePicker never seems to be true so that might be a bug.

Konstantina
Telerik team
 answered on 03 Feb 2012
2 answers
113 views
I have a RadPropertyWindow where the selected item is determined by DataBinding:

        <telerik:RadPropertyGrid x:Name="_radPropertyGrid" Grid.Row="2" Item="{Binding SelectedElement}" />

When the SelectedElement is changed from NULL to an element, it works as expected.

Then, when this element changes again, an exception gets thrown.


System.ArgumentOutOfRangeException was unhandled
  Message=Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
  Source=mscorlib
  ParamName=index
  StackTrace:
       at System.ThrowHelper.ThrowArgumentOutOfRangeException()
       at System.Collections.Generic.List`1.get_Item(Int32 index)
       at System.Collections.ObjectModel.Collection`1.get_Item(Int32 index)
       at Telerik.Windows.Controls.Data.PropertyGrid.PropertyDefinitionCollection.RemoveItem(Int32 index) in c:\TB\117\WPF_Scrum\Release_WPF\Sources\Development\Controls\Data\PropertyGrid\PropertyDefinitionCollection.cs:line 55
       at System.Collections.ObjectModel.Collection`1.RemoveAt(Int32 index)
       at Telerik.Windows.Controls.RadPropertyGrid.ClearAutoGeneratedPropertyDefinitions() in c:\TB\117\WPF_Scrum\Release_WPF\Sources\Development\Controls\Data\PropertyGrid\RadPropertyGrid.cs:line 325
       at Telerik.Windows.Controls.RadPropertyGrid.GeneratePropertyDefinitions() in c:\TB\117\WPF_Scrum\Release_WPF\Sources\Development\Controls\Data\PropertyGrid\RadPropertyGrid.cs:line 291
       at Telerik.Windows.Controls.RadPropertyGrid.OnItemPropertyChanged(DependencyObject sender, DependencyPropertyChangedEventArgs args) in c:\TB\117\WPF_Scrum\Release_WPF\Sources\Development\Controls\Data\PropertyGrid\RadPropertyGrid.cs:line 251
       at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
       at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
       at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty dp)
       at System.Windows.Data.BindingExpressionBase.Invalidate(Boolean isASubPropertyChange)
       at System.Windows.Data.BindingExpression.TransferValue(Object newValue, Boolean isASubPropertyChange)
       at System.Windows.Data.BindingExpression.ScheduleTransfer(Boolean isASubPropertyChange)
       at MS.Internal.Data.ClrBindingWorker.NewValueAvailable(Boolean dependencySourcesChanged, Boolean initialValue, Boolean isASubPropertyChange)
       at MS.Internal.Data.PropertyPathWorker.UpdateSourceValueState(Int32 k, ICollectionView collectionView, Object newValue, Boolean isASubPropertyChange)
       at MS.Internal.Data.ClrBindingWorker.OnSourcePropertyChanged(Object o, String propName)
       at MS.Internal.Data.PropertyPathWorker.System.Windows.IWeakEventListener.ReceiveWeakEvent(Type managerType, Object sender, EventArgs e)
       at System.Windows.WeakEventManager.DeliverEventToList(Object sender, EventArgs args, ListenerList list)
       at System.ComponentModel.PropertyChangedEventManager.OnPropertyChanged(Object sender, PropertyChangedEventArgs args)
       at NavigationPathEditor.ThreadSafeNotifyPropertyChanged.<>c__DisplayClass3.<NotifyPropertyChanged>b__1() in C:\Development\PlayArea\NavigationPathEditor\NavigationPathEditor\ThreadSafeNotifyPropertyChanged.cs:line 39
       at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
       at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
       at System.Windows.Threading.DispatcherOperation.InvokeImpl()
       at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
       at System.Threading.ExecutionContext.runTryCode(Object userData)
       at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
       at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Windows.Threading.DispatcherOperation.Invoke()
       at System.Windows.Threading.Dispatcher.ProcessQueue()
       at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
       at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
       at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
       at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
       at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
       at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
       at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
       at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
       at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
       at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
       at System.Windows.Application.RunDispatcher(Object ignore)
       at System.Windows.Application.RunInternal(Window window)
       at System.Windows.Application.Run(Window window)
       at System.Windows.Application.Run()
       at NavigationPathEditor.App.Main() in C:\Development\PlayArea\NavigationPathEditor\NavigationPathEditor\obj\x86\Debug\App.g.cs:line 0
       at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
       at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
       at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
       at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart()
  InnerException: 

Andrew
Top achievements
Rank 1
Iron
Iron
 answered on 02 Feb 2012
1 answer
160 views

This works well for docked RadPanes:

RadPane realPane = null;
IEnumerable<RadPane> childPanes = MainDockingManager01.ChildrenOfType<RadPane>();
 
foreach (var r in childPanes)
    if ((r as RadPane).Title.Equals(theName))
    {
        realPane = r;
        break;
    }
return realPane;

However the enumeration does not contain the target RadPane when the
Pane has been un-docked and is floating.  As a matter of fact, if there is only
one RadPane present, the enumeration of MainDockingManager01.ChildrenOfType<RadPane>
returns an empty set.

How do I find a floating child?  Do I search something other than MainDockingManager01?

Thanks in advance!

Mike5
Top achievements
Rank 1
 answered on 02 Feb 2012
1 answer
57 views
hi guys,

I am having some mysterious problem.
on my radwindow I am using sime wpf textboxes and some other control and i am
settings these control's colors and styles in xaml but it does effect only in designer
at run time it does not effect.

what to do ?

reagrds,
Tauseef.
Vanya Pavlova
Telerik team
 answered on 02 Feb 2012
2 answers
232 views
Hi,

I'm using WPF controls 2011.3.1220.40, and using a MVVM pattern with a ViewModel that uses DynamicObject to expose Model properties to the View.

Displaying dynamic property data in the gridview works fine, grouping on one of the real ViewModel properties works fine.  But when the user tries to group by one of the dynamic property columns, a null reference exception is thrown (stack trace below).  After the user clicks the grouping icon, TryGetMember is never called.

I've created a small project to demonstrate the issue, but could not upload a zip file.  So below I've pasted a .xaml and it's codebehind.   To see the problem, try grouping on the "One" column (works), and the "Two" column (exception).

I'm really hoping Telerik folks can look into this issue asap.

Thanks

MainWindow.xaml:
<Window
        x:Class="TestingGridViewControl.MainWindow"
        DataContext='{Binding RelativeSource={RelativeSource Mode=Self}}'
        >
    <Grid>
        <telerik:RadGridView ItemsSource='{Binding Items}' AutoGenerateColumns='False'
            EnableColumnVirtualization='True' IsReadOnly='True' >
            <telerik:RadGridView.Columns>
                <telerik:GridViewDataColumn Header='One' DataMemberBinding='{Binding One}' />
                <telerik:GridViewDataColumn Header='Two' DataMemberBinding='{Binding Two}' />
                <telerik:GridViewDataColumn Header='Three' DataMemberBinding='{Binding Three}' />
            </telerik:RadGridView.Columns>
        </telerik:RadGridView>
 
    </Grid>
     
</Window>

MainWindow.xaml.cs:
using System.Collections.ObjectModel;
using System.Dynamic;
using System.Reflection;
using System.Windows;
 
namespace TestingGridViewControl
{
    /// <summary>
    /// Interaction logic for MainWindow.xaml
    /// </summary>
    public partial class MainWindow : Window
    {
        public MainWindow()
        {
            InitializeComponent();
            SetData();
        }
 
        private void SetData()
        {
            Items = new ObservableCollection<ViewModel>
                        {
                            new ViewModel(new Model { Two = "2",  Three = "3",  }) {One = "1"},
                            new ViewModel(new Model { Two = "22", Three = "33", }) {One = "11"},
                        };
        }
 
        public ObservableCollection<ViewModel> Items { get; set; }
    }
 
    public class ViewModel : DynamicObject
    {
        private Model _model;
 
        public ViewModel(Model model)
        {
            _model = model;
        }
 
        public string One { get; set; }
 
        public override bool TryGetMember(GetMemberBinder binder, out object result)
        {
            MethodInfo getMethod;
 
            // If VM has this property, VM takes precedence. 
            // Otherwise, check for property in the Model.
            var vmPropInfo = GetType().GetProperty(binder.Name);
            if (vmPropInfo != null && vmPropInfo.CanRead)
            {
                getMethod = vmPropInfo.GetGetMethod();
                result = getMethod.Invoke(this, null);
                return true;
            }
 
            var modelPropInfo = typeof(Model).GetProperty(binder.Name);
            if (modelPropInfo != null && modelPropInfo.CanRead)
            {
                getMethod = modelPropInfo.GetGetMethod();
 
                result = getMethod.Invoke(_model, null);
                return true;
            }
 
            result = null;
            return false;
 
        }
 
        public override bool TrySetMember(SetMemberBinder binder, object value)
        {
            MethodInfo setMethod;
 
            var vmPropInfo = GetType().GetProperty(binder.Name);
            if (vmPropInfo != null && vmPropInfo.CanWrite)
            {
                setMethod = vmPropInfo.GetSetMethod();
                setMethod.Invoke(this, new[] { value });
                return true;
            }
 
            var modelPropInfo = typeof(Model).GetProperty(binder.Name);
            if (modelPropInfo != null && modelPropInfo.CanRead)
            {
                setMethod = modelPropInfo.GetSetMethod();
                setMethod.Invoke(_model, new[] { value });
                return true;
            }
 
            return false;
        }
    }
 
    public class Model
    {
        public string Two { get; set; }
        public string Three { get; set; }
    }
}




----- Main Exception -----
Class: System.NullReferenceException
Message: Object reference not set to an instance of an object.
StackTrace:
   at Telerik.Windows.Controls.GridView.FilterEditorFactory.CreateEditor(Type type) in c:\TB\117\WPF_Scrum\Release_WPF\Sources\Development\Controls\GridView\GridView\GridView\Filtering\FilterEditorFactory.cs:line 55
   at Telerik.Windows.Controls.GridViewBoundColumnBase.CreateFieldFilterEditor() in c:\TB\117\WPF_Scrum\Release_WPF\Sources\Development\Controls\GridView\GridView\GridView\Columns\GridViewBoundColumnBase.Filtering.cs:line 106
   at Telerik.Windows.Controls.GridView.FilteringControl.CreateFieldFilterEditor(GridViewBoundColumnBase column) in c:\TB\117\WPF_Scrum\Release_WPF\Sources\Development\Controls\GridView\GridView\GridView\Filtering\FilteringControl.cs:line 268
   at Telerik.Windows.Controls.GridView.FilteringControl.PrepareFieldFilters(GridViewBoundColumnBase column) in c:\TB\117\WPF_Scrum\Release_WPF\Sources\Development\Controls\GridView\GridView\GridView\Filtering\FilteringControl.cs:line 256
   at Telerik.Windows.Controls.GridView.FilteringControl.Prepare(GridViewBoundColumnBase column) in c:\TB\117\WPF_Scrum\Release_WPF\Sources\Development\Controls\GridView\GridView\GridView\Filtering\FilteringControl.cs:line 247
   at Telerik.Windows.Controls.GridView.FilteringDropDown.PrepareFilteringControl() in c:\TB\117\WPF_Scrum\Release_WPF\Sources\Development\Controls\GridView\GridView\GridView\Filtering\FilteringDropDown.cs:line 266
   at Telerik.Windows.Controls.GridView.FilteringDropDown.OnDropDownPopupOpened(Object sender, EventArgs e) in c:\TB\117\WPF_Scrum\Release_WPF\Sources\Development\Controls\GridView\GridView\GridView\Filtering\FilteringDropDown.cs:line 365
   at System.Windows.FrameworkElement.RaiseClrEvent(EventPrivateKey key, EventArgs args)
   at System.Windows.Controls.Primitives.Popup.OnOpened(EventArgs e)
   at System.Windows.Controls.Primitives.Popup.CreateWindow(Boolean asyncCall)
   at System.Windows.Controls.Primitives.Popup.OnIsOpenChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
   at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
   at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
   at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
   at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)
   at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)
   at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
   at System.Windows.Controls.Primitives.Popup.set_IsOpen(Boolean value)
   at Telerik.Windows.Controls.GridView.FilteringDropDown.OnIsDropDownOpenChanged(Boolean oldValue, Boolean newValue) in c:\TB\117\WPF_Scrum\Release_WPF\Sources\Development\Controls\GridView\GridView\GridView\Filtering\FilteringDropDown.cs:line 129
   at Telerik.Windows.Controls.GridView.FilteringDropDown.OnIsDropDownOpenChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e) in c:\TB\117\WPF_Scrum\Release_WPF\Sources\Development\Controls\GridView\GridView\GridView\Filtering\FilteringDropDown.cs:line 75
   at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
   at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
   at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
   at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)
   at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)
   at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
   at Telerik.Windows.Controls.GridView.FilteringDropDown.set_IsDropDownOpen(Boolean value) in c:\TB\117\WPF_Scrum\Release_WPF\Sources\Development\Controls\GridView\GridView\GridView\Filtering\FilteringDropDown.cs:line 64
   at Telerik.Windows.Controls.GridView.FilteringDropDown.OnDropDownButtonClick(Object sender, RoutedEventArgs e) in c:\TB\117\WPF_Scrum\Release_WPF\Sources\Development\Controls\GridView\GridView\GridView\Filtering\FilteringDropDown.cs:line 378
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
   at System.Windows.Controls.Primitives.ButtonBase.OnClick()
   at System.Windows.Controls.Primitives.ToggleButton.OnClick()
   at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
   at System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e)
   at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
   at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
   at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
   at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
   at System.Windows.Input.InputManager.ProcessStagingArea()
   at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
   at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
   at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
   at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
Eric
Top achievements
Rank 1
 answered on 02 Feb 2012
2 answers
116 views
We have a Gridview used with column one as the checkbox for selection. ON mouse hover of the checkbox the theme color looks blue which is as desired. But when the checkbox is selected, it turns grey or it does not attain the theme feature. How do we make it theme specific color on selection?
Bhakti
Top achievements
Rank 1
 answered on 02 Feb 2012
1 answer
135 views
Will the upcomming release of chartview support exporting the chart to image lik the chart does? I´m considering switching to chartview because of performance issues with chart, but need to know whether export will be supported.

Tsvetie
Telerik team
 answered on 02 Feb 2012
3 answers
69 views
Hi, 

I use the AppointmentCalendarExporter behind a WCF service to produce an ICal stream. This is then imported as a subscription to Outlook. 

When an appointment has a recurrence pattern that is every 2 days (See the attached example). it produces the following output (just for that appointment)

BEGIN:VEVENT
DTSTART;TZID=E. Australia Standard Time:20111225T050000
DTEND;TZID=E. Australia Standard Time:20111225T120000
SUMMARY:Test recurrence
UID:a49ee7e8-7813-4348-b7d7-0fdba1934521
IMPORTANCE:None
RRULE:FREQ=DAILY;UNTIL=20120103T020000Z;INTERVAL=2;BYDAY=SU,MO,TU,WE,TH,FR,
 SA
END:VEVENT

However, this can't be imported into Outlook. There is a conflict in the recurrence rule, between FREQ and BYDAY. If I remove the BYDAY, then it gets imported ok.

I think this is a bug. 

Phil
Rosi
Telerik team
 answered on 02 Feb 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?