Hello Telerik
I seem to be having a problem with a ListView control after upgrading from 2010.1.309 to 2010.2.713. The following error occurs when attempting to load a page with a ListView on it:
Error Message:
Parser Error Message: Method 'get_ProductListViewControl' in type 'Overlord.Product.Views.Search' from assembly 'Product.Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation.
Other telerik controls like the RadMenu, RadGrids etc all seem to work fine. Just the ListView is not working properly.
I also have a support ticket open for a production problem we are having with our ListView causing a timeout when paging or sorting. We thought that upgrading to 2010.2.713 might solve the problem, but now we have two problems!
Any help would be greatly appreciated.
The HTML markup for the listview is below. Note that everything was working OK before the upgrade.
Stack Trace:
I seem to be having a problem with a ListView control after upgrading from 2010.1.309 to 2010.2.713. The following error occurs when attempting to load a page with a ListView on it:
Error Message:
Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.Parser Error Message: Method 'get_ProductListViewControl' in type 'Overlord.Product.Views.Search' from assembly 'Product.Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation.
Other telerik controls like the RadMenu, RadGrids etc all seem to work fine. Just the ListView is not working properly.
I also have a support ticket open for a production problem we are having with our ListView causing a timeout when paging or sorting. We thought that upgrading to 2010.2.713 might solve the problem, but now we have two problems!
Any help would be greatly appreciated.
The HTML markup for the listview is below. Note that everything was working OK before the upgrade.
<
telerik:RadListView
ID
=
"ProductListView"
runat
=
"server"
AllowPaging
=
"true"
DataSourceID
=
"ProductObjectDataSource"
Skin
=
"Sitefinity"
>
<
AlternatingItemTemplate
>
<
div
id
=
"prdcontainer"
>
<
div
id
=
"prdimg"
>
<
a
href='<%# Eval("CLICK2COMPARE_URL") %>' class="pdctimg">
<
telerik:RadBinaryImage
ID
=
"img"
runat
=
"server"
DataValue='<%# Bind("PDCT_IMG_BIN") %>'
Height="100px" Width="100px" ResizeMode="Fit" />
</
a
>
</
div
>
<
div
id
=
"prdinfo"
>
<
a
href='<%# Eval("CLICK2COMPARE_URL") %>' class="prdname">
<
asp:Label
ID
=
"name"
runat
=
"server"
CssClass
=
"prdname"
Text='<%# Bind("PDCT_NAME") %>'></
asp:Label
></
a
>
<
br
/>
<
asp:Label
ID
=
"prddesc"
runat
=
"server"
CssClass
=
"prddesc"
Text='<%# Bind("PDCT_DESC") %>'></
asp:Label
>
<
br
/>
<
asp:Label
ID
=
"prdmaxrank"
runat
=
"server"
CssClass
=
"prdmaxrank"
Text='<%# Bind("MAX_RANK") %>'></
asp:Label
>
<
br
/>
<
asp:Label
ID
=
"prdminprice"
runat
=
"server"
CssClass
=
"prdminprice"
Text='<%# Bind("MIN_PRICE") %>'></
asp:Label
>
</
div
>
<
div
id
=
"prdpricecontainer"
>
<
div
id
=
"prdprice"
>
<
asp:Label
ID
=
"prdprice"
runat
=
"server"
CssClass
=
"prdprice"
Text='<%# Bind("PRICE_RANGE") %>'></
asp:Label
>
</
div
>
<
div
id
=
"prdgo"
>
<
asp:Label
ID
=
"lblNumPdct"
runat
=
"server"
CssClass
=
"numpdct"
Text='<%# Bind("NUM_PDCT") %>'></
asp:Label
>
<
br
/>
<
asp:Label
ID
=
"lblNumStores"
runat
=
"server"
CssClass
=
"numstores"
Text='<%# Bind("NUM_STORES") %>'></
asp:Label
>
<
br
/>
<
asp:Button
ID
=
"btnGo"
runat
=
"server"
Text
=
"Compare Prices"
CommandName='<%# Bind("PDCT_ID") %>'
CommandArgument='<%# Bind("CLICK2COMPARE_URL") %>' OnCommand="ProductClick" CausesValidation="False" />
</
div
>
</
div
>
<
div
id
=
"prdoptions"
>
</
div
>
</
div
>
</
AlternatingItemTemplate
>
<
ItemTemplate
>
<
div
id
=
"prdcontainer"
>
<
div
id
=
"prdimg"
>
<
a
href='<%# Eval("CLICK2COMPARE_URL") %>' class="pdctimg">
<
telerik:RadBinaryImage
ID
=
"img"
runat
=
"server"
DataValue='<%# Bind("PDCT_IMG_BIN") %>'
Height="100px" Width="100px" ResizeMode="Fit" />
</
a
>
</
div
>
<
div
id
=
"prdinfo"
>
<
a
href='<%# Eval("CLICK2COMPARE_URL") %>' class="prdname">
<
asp:Label
ID
=
"name"
runat
=
"server"
CssClass
=
"prdname"
Text='<%# Bind("PDCT_NAME") %>'></
asp:Label
></
a
>
<
br
/>
<
asp:Label
ID
=
"prddesc"
runat
=
"server"
CssClass
=
"prddesc"
Text='<%# Bind("PDCT_DESC") %>'></
asp:Label
>
<
br
/>
<
asp:Label
ID
=
"prdmaxrank"
runat
=
"server"
CssClass
=
"prdmaxrank"
Text='<%# Bind("MAX_RANK") %>'></
asp:Label
>
<
br
/>
<
asp:Label
ID
=
"prdminprice"
runat
=
"server"
CssClass
=
"prdminprice"
Text='<%# Bind("MIN_PRICE") %>'></
asp:Label
>
</
div
>
<
div
id
=
"prdpricecontainer"
>
<
div
id
=
"prdprice"
>
<
asp:Label
ID
=
"prdprice"
runat
=
"server"
CssClass
=
"prdprice"
Text='<%# Bind("PRICE_RANGE") %>'></
asp:Label
>
</
div
>
<
div
id
=
"prdgo"
>
<
asp:Label
ID
=
"lblNumPdct"
runat
=
"server"
CssClass
=
"numpdct"
Text='<%# Bind("NUM_PDCT") %>'></
asp:Label
>
<
br
/>
<
asp:Label
ID
=
"lblNumStores"
runat
=
"server"
CssClass
=
"numstores"
Text='<%# Bind("NUM_STORES") %>'></
asp:Label
>
<
br
/>
<
asp:Button
ID
=
"btnGo"
runat
=
"server"
Text
=
"Compare Prices"
CommandName='<%# Bind("PDCT_ID") %>'
CommandArgument='<%# Bind("CLICK2COMPARE_URL") %>' OnCommand="ProductClick" CausesValidation="False" />
</
div
>
</
div
>
<
div
id
=
"prdoptions"
>
</
div
>
</
div
>
</
ItemTemplate
>
<
EmptyDataTemplate
>
<
div
class
=
"RadListView RadListView_Sitefinity"
>
<
div
class
=
"rlvEmpty"
>
Your search did not match any products.
<
br
/>
<
br
/>
Suggestions:
<
ul
>
<
li
>Make sure all words are spelled correctly.</
li
>
<
li
>Try different keywords.</
li
>
<
li
>Try more general keywords.</
li
>
</
ul
>
</
div
>
</
div
>
</
EmptyDataTemplate
>
<
LayoutTemplate
>
<
div
id
=
"productlistviewcontainer"
runat
=
"server"
class
=
"RadListView RadListView_Sitefinity"
>
<
ol
>
<
li
id
=
"itemPlaceholder"
runat
=
"server"
></
li
>
</
ol
>
<
telerik:RadDataPager
ID
=
"RadDataPager1"
runat
=
"server"
>
<
Fields
>
<
telerik:RadDataPagerButtonField
FieldType
=
"Numeric"
/>
</
Fields
>
</
telerik:RadDataPager
>
</
div
>
</
LayoutTemplate
>
</
telerik:RadListView
>
Stack Trace:
Event Type: Warning
Event Source: ASP.NET 2.0.50727.0
Event Category: Web Event
Event ID: 1310
Date: 13/08/2010
Time: 4:55:43 PM
User: N/A
Computer: MAGICMINDSTEST
Description:
Event code: 3006
Event message: A parser error has occurred.
Event time: 13/08/2010 4:55:43 PM
Event time (UTC): 13/08/2010 6:55:43 AM
Event ID: 4f20e6dc0d9d4e6988bed1fb68e38331
Event sequence: 53
Event occurrence: 2
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/1073077206/Root-5-129261559167671250
Trust level: Full
Application Virtual Path: /
Application Path: C:\Projects\Overlord\WebSites\Overlord\
Machine name: MAGICMINDSTEST
Process information:
Process ID: 9996
Process name: w3wp.exe
Account name: NT AUTHORITY\NETWORK SERVICE
Exception information:
Exception type: HttpParseException
Exception message: Method 'get_ProductListViewControl' in type 'Overlord.Product.Views.Search' from assembly 'Product.Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation.
Request information:
Request path: /Product/Search.aspx
User host address: 127.0.0.1
User:
Is authenticated: False
Authentication Type:
Thread account name: NT AUTHORITY\NETWORK SERVICE
Thread information:
Thread ID: 12
Thread account name: NT AUTHORITY\NETWORK SERVICE
Is impersonating: False
Stack trace: at System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding)
at System.Web.UI.TemplateParser.ParseReader(StreamReader reader, VirtualPath virtualPath)
at System.Web.UI.TemplateParser.ParseFile(String physicalPath, VirtualPath virtualPath)
at System.Web.UI.TemplateParser.ParseInternal()
at System.Web.UI.TemplateParser.Parse()
at System.Web.UI.TemplateParser.Parse(ICollection referencedAssemblies, VirtualPath virtualPath)
at System.Web.Compilation.BaseTemplateBuildProvider.get_CodeCompilerType()
at System.Web.Compilation.BuildProvider.GetCompilerTypeFromBuildProvider(BuildProvider buildProvider)
at System.Web.Compilation.BuildProvidersCompiler.ProcessBuildProviders()
at System.Web.Compilation.BuildProvidersCompiler.PerformBuild()
at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath)
at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)
at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)
at System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean noAssert)
at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp, Boolean noAssert)
at System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
at System.Web.UI.PageHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
at System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig)
at System.Web.HttpApplication.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Custom event details:
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.