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

GRID POPULATED EVENT of RADFILEEXPLORER Conflicting for Q3 2009 Release Version

1 Answer 50 Views
FileExplorer
This is a migrated thread and some comments may be shown as answers.
Sachin Agrawal
Top achievements
Rank 1
Sachin Agrawal asked on 11 Dec 2009, 11:15 AM
Hi Telerik Team !

I have been using RAD CONTROLS (Rad Controls for ASP.NET AJAX Q2 2009 35) for a quite some while in my project & using RADFILE EXPLORER as one of the major controls from my project standpoint. I have no/less issues with this untill I upgraded it to the new version.

I have updated all the previous RAD CONTROLS with the latest release version name RAD CONTROLS (Rad Controls for ASP.NET AJAX Q3 2009 35) . I have deleted all the REFERENCES of the previous controls & added all the new REFERENCES for the the newer version.
I compiled my whole project two-three times & found an ERROR.

Below is the ERROR :-

1. The type or namespace name 'RadFileExplorerGridEventArgs' could not be found (are you missing a using directive or an assembly reference ?)

2. Validation (Asp.Net): Attribute 'OnGridPopulated' is not a valid attribute of element 'RadFileExplorer'

Earlier(When I was using Q2 2009 version) there were no such issues that came up just like now. I was able to find the GRIDPOPULATED event for RadFileExplorer.

In fact I have added the code within my .CS file & it just works fine in case of Q2 2009 version.

Below is the code :--
 protected void DocumentsRadFileExplorer_GridPopulated(object sender, RadFileExplorerGridEventArgs e)  
    {  
        //implement sorting for the custom Date column  
        string CreatedDateColumn = e.SortColumnName;  
        string ModifiedDatesortingColumn = e.SortColumnName;  
        if (CreatedDateColumn == "CreatedDate")  
        {  
            e.List.Sort(DateComparerforCreatedDate);  
            if (e.SortDirection.IndexOf("DESC") != -1)  
            {  
                //reverse order  
                e.List.Reverse();  
            }  
        }  
        if (ModifiedDatesortingColumn == "ModifiedDate")  
        {  
            e.List.Sort(DateComparerforModifiedDate);  
            if (e.SortDirection.IndexOf("DESC") != -1)  
            {  
                //reverse order  
                e.List.Reverse();  
            }  
        }  
 
    } 
The above placed code was working fine for Q2 2009 version.

Since I have updated my controls with Q3 2009 version, Im not able to sort out where is the exact problem ?

Iam not able to get the valid 'RadFileExplorerGridEventArgs' eventArgs.

It would be great if you guys please look into this matter ASAP so that I may proceed with my project work.

Thanks & Regards,

TarikaDev

1 Answer, 1 is accepted

Sort by
0
Sachin Agrawal
Top achievements
Rank 1
answered on 14 Dec 2009, 11:09 AM
Thanks a lot for your response.

It solve my problem.

Thanks

Tarika Dev
Tags
FileExplorer
Asked by
Sachin Agrawal
Top achievements
Rank 1
Answers by
Sachin Agrawal
Top achievements
Rank 1
Share this question
or