Hi,
When I try to ajaxified some controls in my RadDock, I've an error (see screen in attached file). This error occurs after executing "RadButtonChangeUrl_Click".
Error : Microsoft JScript:Enable to get the "clvp" property value ; object null or undefined.
MasterPage :
Page.ascx :
Page ascx.cs :
Thanks .
When I try to ajaxified some controls in my RadDock, I've an error (see screen in attached file). This error occurs after executing "RadButtonChangeUrl_Click".
Error : Microsoft JScript:Enable to get the "clvp" property value ; object null or undefined.
MasterPage :
<
asp:ScriptManager
id
=
"ScriptManager"
runat
=
"server"
EnablePageMethods
=
"false"
EnablePartialRendering
=
"true"
EnableScriptGlobalization
=
"false"
EnableScriptLocalization
=
"true"
>
</
asp:ScriptManager
>
Page.ascx :
<
telerik:RadDockLayout
ID
=
"RadDockLayout1"
Visible
=
"false"
runat
=
"server"
>
<
telerik:RadDockZone
ID
=
"RadDockZone1"
runat
=
"server"
Width
=
"400px"
BackColor
=
"White"
BorderStyle
=
"None"
>
<
telerik:RadDock
ID
=
"RadDockGRIDisSCode"
Visible
=
"false"
runat
=
"server"
Width
=
"400px"
DefaultCommands
=
"ExpandCollapse"
>
<
ContentTemplate
>
<
telerik:RadAjaxPanel
ID
=
"RadAjaxLoadingPanel1"
runat
=
"server"
Width
=
"256px"
Height
=
"64px"
>
<
asp:HyperLink
ID
=
"LabelUrlReporting"
runat
=
"server"
Target
=
"_blank"
></
asp:HyperLink
>
<
telerik:RadButton
ID
=
"RadButtonChangeUrl"
runat
=
"server"
OnClick
=
"RadButtonChangeUrl_Click"
>
</
telerik:RadButton
>
<
telerik:RadTextBox
ID
=
"RadTextBoxNewUrl"
Visible
=
"false"
runat
=
"server"
TextMode
=
"SingleLine"
EmptyMessage
=
"-"
Width
=
"280px"
/>
<
telerik:RadButton
ID
=
"RadButtonNewUrl"
runat
=
"server"
Visible
=
"false"
OnClick
=
"RadButtonNewUrl_Click"
>
</
telerik:RadButton
>
<
telerik:RadButton
ID
=
"RadButtonCancelUrl"
runat
=
"server"
Visible
=
"false"
OnClick
=
"RadButtonCancelUrl_Click"
>
</
telerik:RadButton
>
</
telerik:RadAjaxPanel
>
</
ContentTemplate
>
</
telerik:RadDock
>
</
telerik:RadDockZone
>
</
telerik:RadDockLayout
>
Page ascx.cs :
public
void
CreateRadDockGRIDisSCode(GridDataItem _SelectedItem)
{
RadDockLayout1.Visible =
true
;
RadDockGRIDisSCode.Visible =
true
;
LabelUrlReporting.Text =
"MyUrl"
;
LabelUrlReporting.NavigateUrl =
"http://www.myurl.com"
;
}
public
void
RadButtonChangeUrl_Click(
object
sender, EventArgs e)
{
LabelUrlReporting.Visible =
false
;
RadButtonChangeUrl.Visible =
false
;
RadTextBoxNewUrl.Visible =
true
;
RadTextBoxNewUrl.Text = LabelUrlReporting.Text;
RadButtonCancelUrl.Text =
"Cancel"
;
RadButtonCancelUrl.Visible =
true
;
RadButtonNewUrl.Text =
"OK"
;
RadButtonNewUrl.Visible =
true
;
}
public
void
RadButtonCancelUrl_Click(
object
sender, EventArgs e)
{
LabelUrlReporting.Visible =
true
;
RadButtonChangeUrl.Visible =
true
;
RadTextBoxNewUrl.Visible =
false
;
RadButtonCancelUrl.Visible =
false
;
RadButtonNewUrl.Visible =
false
;
}
public
void
RadButtonNewUrl_Click(
object
sender, EventArgs e)
{
LabelUrlReporting.Visible =
true
;
RadButtonChangeUrl.Visible =
true
;
RadTextBoxNewUrl.Visible =
false
;
RadButtonCancelUrl.Visible =
false
;
RadButtonNewUrl.Visible =
false
;
LabelUrlReporting.NavigateUrl = RadTextBoxNewUrl.Text;
LabelUrlReporting.Text = RadTextBoxNewUrl.Text;
}
Thanks .