SP2 Radgridview problem

6 posts, 1 answers
  1. boyhalong
    boyhalong avatar
    15 posts
    Member since:
    Sep 2007

    Posted 20 Jan 2010 Link to this post

    Hi telerik !
    i'm using radcontrols for silverlight sp2

    DomainDataSource.RejectChanges
    -> Object reference not set to instance of an object
    i see exception detail: exception throw by radgridview


    Thank you

  2. Nedyalko Nikolov
    Admin
    Nedyalko Nikolov avatar
    871 posts

    Posted 25 Jan 2010 Link to this post

    Hello The,

    I cannot simulate the reported exception. We've fixed another issue that can be related to your report, but I cannot commit that the fix will cover your case. Please try your scenario with latest internal build assemblies (2009.3.1322) and let me know if the problem persists.

    All the best,
    Nedyalko Nikolov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. DevCraft banner
  4. boyhalong
    boyhalong avatar
    15 posts
    Member since:
    Sep 2007

    Posted 25 Jan 2010 Link to this post

    Hi telerik !
    I have just test with telerik's internal build assemblies (2009.3.1322)
    but that problem still persists.
    I'm using WCF RIA Service.
    i'm using Extension method for DomainDataSource
        ''' <summary> 
        ''' Cancels the add or edit transaction.  
        ''' </summary> 
        ''' <param name="source">The <see cref="DomainDataSource"/> being extended.</param> 
        <System.Runtime.CompilerServices.Extension()> _  
        Public Sub CancelNewAndEdit(ByVal source As DomainDataSource)  
            Dim collection As IEditableCollectionView = (CType(source.DataView, IEditableCollectionView))  
            If collection.IsAddingNew Then  
                collection.CancelNew()  
            End If  
            If collection.IsEditingItem Then  
                collection.CancelEdit()  
            End If  
        End Sub 
    I called this method before DomainDataSource.RejectChanges to resolve "'RejectChanges' is not allowed during an AddNew or EditItem transaction." problem.
    i think this is reason for that problem persists.

    Thank you so muck.
  5. boyhalong
    boyhalong avatar
    15 posts
    Member since:
    Sep 2007

    Posted 28 Jan 2010 Link to this post

    Hi telerik !
    The same exception throwed when i'm using DomainDataSource.SortDescriptors.Clear() after using extension method to cancel new and edit on domaindatasource.

    I hope it's clear for you :)

    Thank !
  6. Answer
    Nedyalko Nikolov
    Admin
    Nedyalko Nikolov avatar
    871 posts

    Posted 29 Jan 2010 Link to this post

    Hello The,

    I've managed to reproduce the exception. Thank you for the detail information. The issue is already fixed and will be available with today's latest internal build. Please give it a try and let me know if problem persist.

    P.S. I've updated your Telerik points accordingly.

    Sincerely yours,
    Nedyalko Nikolov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  7. boyhalong
    boyhalong avatar
    15 posts
    Member since:
    Sep 2007

    Posted 31 Jan 2010 Link to this post

    Hi Telerik !

    problem has been resolved with lastest intenal build

    Thank you so much !



Back to Top
DevCraft banner