or
Category |
Product |
Country |
Beverages |
Chai |
Germany |
Chang |
Usa |
|
Ipoh Coffee |
Uk |
|
Sea food |
Rogede sild |
Brazil |
Spegesild |
China |
|
Ikura |
Uk |
|
Konbu |
Germany |
_autoCompleteBox =
new
RadAutoCompleteBox();
_autoCompleteBox.ID = String.Format(
"Extra_RdtCmpltBx_{0}_{1}"
, Data.Name, ID);
_autoCompleteBox.Filter = RadAutoCompleteFilter.StartsWith;
_autoCompleteBox.DropDownPosition = RadAutoCompleteDropDownPosition.Automatic;
_autoCompleteBox.AllowCustomEntry =
true
;
_autoCompleteBox.InputType = RadAutoCompleteInputType.Text;
_autoCompleteBox.WebServiceSettings.Method =
"GetResults"
;
_autoCompleteBox.WebServiceSettings.Path =
"Popup_EditData.aspx"
;
function
setServiceDataInChart(sender, args)
{
//Get the returned data
var
newData = args.get_content();
//get a reference to the RadHtmlChart
var
chart = getChartReference();
//Set the new datasource to the RadHtmlChart
chart.set_dataSource(newData);
//Repaint the RadHtmlChart
chart.repaint();
//Avoid raising the OnClientResponseEnded client-side event
//avoid setting the received data as content for the RadXmlHttpPanel
args.set_cancel(
true
);
logEvent(
"<strong>Data from the WCF service:</strong>"
+ newData);
}
chart.set_dataSource(newData.d);