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

[Solved] Vista skin for RadCombo throws exception

1 Answer 63 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Bryan Smouse
Top achievements
Rank 1
Bryan Smouse asked on 06 Apr 2009, 09:05 PM
Hello all,
I upgraded my RadControls for ASPNET AJAX to Q1 2009 (2009.1.402.35) today an I am getting the following exception:

System.Web.HttpException: This is an invalid webresource request. at System.Web.Handlers.AssemblyResourceLoader.System.Web.IHttpHandler.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

After digging into this, there seems to be a problem with using the VISTA skin with the combo box on a user control that is loaded onto the page.  I have tried all the other skins (Black, Default, Forest, Hay, etc) and the only skin that throws the exception is Vista. 

Here is the combobox definition:
     <telerik:RadComboBox ID="ddlSavedFilters" runat="server" Height="190px" Width="420px" MarkFirstMatch="true" Skin="Vista"
                                EnableLoadOnDemand="true" HighlightTemplatedItems="true" Enabled="False"
                                OnSelectedIndexChanged="ddlSavedFilters_SelectedIndexChanged"
                                AutoPostBack="True" AppendDataBoundItems="True">
                                <HeaderTemplate>
                                    <ul>
                                     <li class="col1">Filter Name</li>
                                     <li class="col2">Date Added</li>
                                     <li class="col3">Filter</li>
                                    </ul>
                                </HeaderTemplate>
                                <ItemTemplate>
                                    <ul>
                                     <li class="col1"><%# DataBinder.Eval(Container.DataItem, "DataViewFilterName")%></li>
                                     <li class="col2"><%# DataBinder.Eval(Container.DataItem, "DateAdded", "{0:MM/dd/yy}") %></li>
                                     <li class="col3"><%# DataBinder.Eval(Container.DataItem, "DataViewFilterDescription")%></li>
                                    </ul>
                                </ItemTemplate>
                            </telerik:RadComboBox>

For now, my workaround is to use the Office2007 skin, but I would really like to be able to use the Vista skin.

Thanks,
Bryan

1 Answer, 1 is accepted

Sort by
0
Accepted
Simon
Telerik team
answered on 10 Apr 2009, 01:06 PM
Hello Bryan Smouse,

Thank you for writing to us about the issue.

I tried creating a simple page with the RadComboBox definition you provided and run it normally, without the exception you have received at your side.

Perhaps there is something else in your project configuration that is causing the issue.

Could you send me a minimal version of your whole project where the exception is thrown? In this way, I will be able to investigate more thoroughly and hopefully will provide a solution or a workaround.

Greetings,
Simon
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
Tags
ComboBox
Asked by
Bryan Smouse
Top achievements
Rank 1
Answers by
Simon
Telerik team
Share this question
or