I've purchased and implemented the 2010.Q3 controls. Everything seems to be working fine in my project except for one thing:
I've implemented a RadSlidingPane in this fashion in a User Control:
But when my code tries to load the user control, I get this error message:
Microsoft JScript runtime error: 'radSlidingPane_BeforeExpand' is undefined
I assure you that this Javascript function does exist! A further clue is that if I remove OnClientBeforeExpand="radSlidingPane_BeforeExpand" then I get an error informing me that 'radSlidingPane_Undocked' is undefined . It's as if these Javascript functions are somehow not yet loaded at the time they're needed.
What's even more frustrating is that all of this code used to work perfectly! But clearly I've changed something [somewhere] and only now am discovering that this bug has arisen.
I'm hoping that I've given you enough info to help me pinpoint what the issue is here. Any help you could provide would be much appreciated!
Sincerely,
Robert Werner
Vancouver, BC
I've implemented a RadSlidingPane in this fashion in a User Control:
<
asp:Panel
ID
=
"panelMain"
runat
=
"server"
style
=
"padding-top:10px"
><
br
> <
telerik:RadSplitter
ID
=
"radSplitter"
runat
=
"server"
LiveResize
=
"false"
Height
=
"449"
OnClientLoaded
=
"radSplitter_Load"
><
br
> <
telerik:RadPane
ID
=
"radPaneLeft"
runat
=
"server"
Scrolling
=
"None"
><
br
> <
telerik:RadSlidingZone
ID
=
"radSlidingZone"
runat
=
"server"
Width
=
"22"
Height
=
"0"
ClickToOpen
=
"true"
DockedPaneId
=
"radSlidingPane"
><
br
> <
telerik:RadSlidingPane
ID
=
"radSlidingPane"
runat
=
"server"
Width
=
"240"
BackColor
=
"#F0F8FF"
CssClass
=
"slidingPane"
TabView
=
"TextAndImage"
IconUrl
=
"~/Images/hierarchy.gif"
<br> DockOnOpen="true" OnClientBeforeExpand="radSlidingPane_BeforeExpand" OnClientUndocked="radSlidingPane_Undocked"><
br
> <
asp:Panel
ID
=
"panelTree"
runat
=
"server"
Width
=
"90%"
Height
=
"400px"
BorderColor
=
"DarkGray"
BorderStyle
=
"Groove"
BorderWidth
=
"1"
style
=
"margin-left:10px; margin-top:10px"
><
br
> <
asp:PlaceHolder
ID
=
"placeHolderHierarchy"
runat
=
"server"
/><
br
> </
asp:Panel
><
br
> </
telerik:RadSlidingPane
><
br
> </
telerik:RadSlidingZone
><
br
> </
telerik:RadPane
>
But when my code tries to load the user control, I get this error message:
Microsoft JScript runtime error: 'radSlidingPane_BeforeExpand' is undefined
I assure you that this Javascript function does exist! A further clue is that if I remove OnClientBeforeExpand="radSlidingPane_BeforeExpand" then I get an error informing me that 'radSlidingPane_Undocked' is undefined . It's as if these Javascript functions are somehow not yet loaded at the time they're needed.
What's even more frustrating is that all of this code used to work perfectly! But clearly I've changed something [somewhere] and only now am discovering that this bug has arisen.
I'm hoping that I've given you enough info to help me pinpoint what the issue is here. Any help you could provide would be much appreciated!
Sincerely,
Robert Werner
Vancouver, BC