I'm struggling with trying to get to the SearchContext item for a radsearchbox via the client side. below I have what I'm trying to get to, but to no avail. If some guidance could be provided I would greatly appreciate it.
function
onCheckboxChanging(sender, args) {
var
chkbxlId = sender.get_id();
var
srchbxId = chkbxlId.replaceAll(
"radchkbox_Item"
,
"radsearch_Item"
);
var
objSearchBox = $find(srchbxId);
var
objSearchContext = objSearchBox.get_searchContext();
alert(
'SearchBox Context Item Value = '
+ objSearchContext.value);
}