HI guys
I have a website with two types of master page, but both containing the same panelBar menu.
For maintainability, I want to have only a single place to update the menu so I thought I should
put it into ascx UserControl, and followed MS guidelines for the embedding
It actually works fine if I turn off debug in Internet Explorer (I am using Visual Studio 2010 btw), but when debug is on I get this error
The ascx file is like this:
I would like to avoid the error in case it causes problems to visitors. Can you shed any light on this?
The error is within the telerik dll it seems.
Thanks for any help!
Clive
I have a website with two types of master page, but both containing the same panelBar menu.
For maintainability, I want to have only a single place to update the menu so I thought I should
put it into ascx UserControl, and followed MS guidelines for the embedding
It actually works fine if I turn off debug in Internet Explorer (I am using Visual Studio 2010 btw), but when debug is on I get this error
SCRIPT5007: Unable to set value of the property 'control': object is null or undefined
Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl03_TSM&compress=1&_TSM_CombinedScripts_
=%3b%3bSystem.Web.Extensions%2c+Version%3d4.0.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%
3d31bf3856ad364e35%3aen-US%3a1f68db6e-ab92-4c56-8744-13e09bf43565%3aea597d4b%3ab25378d2%
3bTelerik.Web.UI%2c+Version%3d2010.3.1109.20%2c+Culture%3dneutral%2c+PublicKeyToken%
3d121fae78165ba3d4%3aen-US%3a0b207b76-976c-4925-ba92-57c3001b0b77%3a16e4e7cd%3af7645509%
3a24ee1bba%3a1e771326%3a4cacbc31, line 6 character 74101
The ascx file is like this:
<%@ Control Language="VB" AutoEventWireup="false" CodeFile="menuBar.ascx.vb" Inherits="UserControls_menuBar" %>
<%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %>
<
telerik:RadPanelBar
ID
=
"RadPanelBar1"
Runat
=
"server"
Skin
=
"myBlack"
Width
=
"175px"
EnableEmbeddedSkins
=
"False"
PersistStateInCookie
=
"True"
>
etc etc
</
telerik:RadPanelBar
>
I would like to avoid the error in case it causes problems to visitors. Can you shed any light on this?
The error is within the telerik dll it seems.
Thanks for any help!
Clive