I found this page: http://www.telerik.com/help/aspnet-ajax/filter-getting-familiar-with-client-side-api.html
I tried to replicate the sample regarding changeGroupOperator but it's not working. I see the 1st alert but never see the second alert. I had to use $get as $find kept returning null.
This is my scriptmanager:
Any ideas what's going wrong?
Thanks.
I tried to replicate the sample regarding changeGroupOperator but it's not working. I see the 1st alert but never see the second alert. I had to use $get as $find kept returning null.
<
telerik:RadCodeBlock
ID
=
"RadCodeBlock2"
runat
=
"server"
>
<
script
type
=
"text/javascript"
language
=
"javascript"
>
var tmp1 = $get("<%= rfPortfolios.ClientID %>");
alert(tmp1);
tmp1.changeGroupOperator("0", "Or");
alert('123');
</
script
>
</
telerik:RadCodeBlock
>
This is my scriptmanager:
<
telerik:RadScriptManager
ID
=
"RadScriptManager1"
runat
=
"server"
LoadScriptsBeforeUI
=
"false"
EnableScriptGlobalization
=
"true"
EnableScriptLocalization
=
"true"
EnablePartialRendering
=
"true"
EnablePageMethods
=
"true"
ScriptMode
=
"release"
>
<
Scripts
>
<
ajax:ScriptReference
Assembly
=
"Telerik.Web.UI"
Name
=
"Telerik.Web.UI.Common.Core.js"
>
</
ajax:ScriptReference
>
<
ajax:ScriptReference
Assembly
=
"Telerik.Web.UI"
Name
=
"Telerik.Web.UI.Common.jQuery.js"
>
</
ajax:ScriptReference
>
<
ajax:ScriptReference
Assembly
=
"Telerik.Web.UI"
Name
=
"Telerik.Web.UI.Common.jQueryInclude.js"
>
</
ajax:ScriptReference
>
</
Scripts
>
</
telerik:RadScriptManager
>
Any ideas what's going wrong?
Thanks.