RadGrid databinding question (+theme)

4 posts, 1 answers
  1. Serrin
    Serrin avatar
    286 posts
    Member since:
    Sep 2008

    Posted 19 Nov 2008 Link to this post

    Hello folks!

    As promised...  So Grid is now working and looks great, so my first two questions are:

    1) When will themes be supported?  Just a curiosity, as I have Caramel theme on everything in my current sample app and the Grid didn't pick up on it.  No rush, as it's in CTP, and while I am assuming that it will be available on or by Q1, I had to ask.

    2) Onto the main question...  I am loading the Grid with data from a WCF webservice, so there is a tiny delay between the loading and the response from the webservice.  So...  if I run the Grid being populated with the web service, I get a crash on VS.  Details are:

       function Sys$UI$Silverlight$Control$_pluginError(slSender, e) {  
                    if (!this.get_element()) return;  
            var args = new Sys.UI.Silverlight.ErrorEventArgs(e);  
            this._doCheck = null;  
            if (!args.get_cancel()) {  
                                                    if (!this._raiseEvent("pluginError", args)) {  
                    var eerrorType = e.errorType,  
                        eerrorCode = e.errorCode,  
                        eerrorMessage = e.errorMessage,  
                        id = this.get_id(),  
                        lineNumber = ""charPosition = ""source = ""methodName = "",  
                        errorFormat = Sys.UI.Silverlight.ControlRes.otherError;  
                                    if (errorType === "ParserError") {  
                        errorFormat = Sys.UI.Silverlight.ControlRes.parserError;  
                        lineNumber = e.lineNumber;  
                        charPosition = e.charPosition;  
                        source = e.xamlFile;  
                    else if (((errorType === "ImageError") || (errorType === "MediaError")) &&  
                            (errorMessage === "AG_E_NOT_FOUND")) {  
                            errorFormat = Sys.UI.Silverlight.ControlRes.mediaError_NotFound;  
                            errorMessage = slSender.Source;  
                    else if (errorType === "RuntimeError") {  
                        if (e.lineNumber) {  
                            errorFormat = Sys.UI.Silverlight.ControlRes.runtimeErrorWithPosition;  
                            lineNumber = e.lineNumber;  
                            charPosition = e.charPosition;  
                            methodName = e.methodName;  
                        else {  
                            errorFormat = Sys.UI.Silverlight.ControlRes.runtimeErrorWithoutPosition;  
                            methodName = e.methodName;  
                    throw Error.invalidOperation(String.format(errorFormat,  

    With the pointer at the "throw Error.invalidOperation" line at the bottom.

    But if I run it with default data (a single Person from the sample Hristo posted in General) first as well as the web service, by the time everything displays the web service has returned data and the grid populates.  Any clue if there is a way to work around loading a dummy set, or is that something that we just have to work around for the time being?

    Thanks again, these Silverlight controls are working great so far!
  2. Answer
    Hristo Deshev
    Hristo Deshev avatar
    559 posts

    Posted 20 Nov 2008 Link to this post

    Hi Serrin,

    Straight to your questions:

    1) Themes are most likely to be supported for Q1 2009. There is a small chance that we publish another theme for our beta, for now tentatively targeted at mid-December, but I would not count on that.

    2) This is a known bug. You can work around it by binding the grid to an empty collection before displaying it, and then rebinding to your actual data source.

    Kind regards,
    Hristo Deshev
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. Hannes
    Hannes avatar
    8 posts
    Member since:
    Jan 2009

    Posted 07 Jan 2009 Link to this post

    On question 1:

    When is the Q1 release planned? I'm still desparately looking for the famous 'mid-december' release, but to no avail...
    I'm looking for both 'theming' and a reliable SL grid component for an upcoming project.
  4. Serrin
    Serrin avatar
    286 posts
    Member since:
    Sep 2008

    Posted 07 Jan 2009 Link to this post

    Hey Hannes,

    I know I saw somewhere that the Q1 2009 release is planned for February, as for specifics that is all I can recall seeing on the forums here. :)

    As far as the mid-december release, there was a SP release on 12/18 that included a much more solid RadGrid for Silverlight which I'm now using and that has addressed many of the problems the previous beta had.  You can see some of the info on the SP release page.  And in looking for that I found (here) that it does say February for Q1 2009. :)
Back to Top