or
{"bloomberg": [
{"id": "1", "account": "my institution bank", "ticker": "BOND_TO_EQY_TICKER"},
]
},
{
"intex": [
{"id": "1", "type": "RMBS", "category": "CashFlows"},
{"id": "2", "type": "ABS", "category": "CashFlows"} ]
}
initializecontrols = function (data) {
try
{
$("#tpgInput").kendoComboBox({
dataSource: {
data: data.bloomberg,
type: "json"
},
select: onComboBoxSelect,
dataTextField: "account",
dataValueField: "id",
placeholder: "Select Bloomberg Account ...",
// define custom template
template: '<
dl
>' +
'<
dd
><
strong
>Account Name:</
strong
> ${ data.account }</
dd
>' +
'<
dd
><
strong
>Ticker:</
strong
> ${data.ticker} ' +
'</
dl
>',
animation: {
open: {
effects: "fadeIn",
duration: 300
show: true
}
}
});
}
catch (err) {
alert(err.message);
}
When i step through the code I see the data. I'm hoping you can give me some insight into
what I might be doing wrong.
<div id="emailWindow" style="position:relative; padding: 5px;" >
<p>Please enter an email address, subject and a brief note to go along with the email.</p>
</div>
I can copy kendo.web.min.js v2012.2.831, refresh and it works. When I put kendo.web.min.js v2012.3.1114 back it stops. No error on the FireFox counsole. I can put breakpoints in and see that the open gets fired, but the screen does not change.
Thanks
Randy Miller
Html.Kendo().Grid<
KendoDemoMvc.Models.Issue
>()
.Name("Issues")
.DataSource(ds => ds.Ajax().ServerOperation(false)
.Read("Issues", "Home")
.PageSize(5)
.Aggregates(aggr =>
{
aggr.Add(o => o.Value).Count();
})
)
.Columns(col =>
{
col.Bound(x => x.Id);
col.Bound(x => x.Name);
col.Bound(x => x.Value)
.ClientGroupHeaderTemplate("(Total: #=count#)")
;
})
.Groupable()
.Selectable()
.Pageable()
.Render()
;
public ActionResult Issues([DataSourceRequest]DataSourceRequest request)
{
DataSourceResult result = GetIssues().ToDataSourceResult(request);
return Json(result);
}
function
showEdit (e) {
var
wnd = $(
"#userEdit-form"
);
initializeWindow(wnd,
"Benutzer editieren"
,
"600px"
);
wnd.data(
"kendoWindow"
).open();
}
<
li
>
<
label
for
=
"firstName"
><%=Labels.FirstName %>*</
label
>
<
input
type
=
"text"
class
=
"k-textbox"
id
=
"firstName"
name
=
"firstName"
value
=
""
required />
</
li
>