Currently browsing category

JavaScript

Telerik MVC Grid Refresh

If you need to refresh telerik MVC grid for example every seconds you have to use javascript function setInterval. Step 1: add “.ClientEvents(events => events.OnComplete(“OnComplete”))” to your grid definition @(Html.Telerik().Grid<CurrentJobs>() .Name(“Grid”) .DataKeys(keys => keys.Add(model => model.lRefNo)) .DataBinding(dataBinding => { dataBinding.Ajax().Select(“CustOnline”, “OnlineCustGrid”); }) .Columns(columns => { columns.Bound(model => model.lRefNo).Width(100).ReadOnly(); columns.Bound(model => …

JS/Xilos.A

JS/Xilos.A is a very interesting piece of code, which was published in the sixth issue of the infamous 29A magazine. It clearly is not a virus, but an example how to write a highly polymorphic routine in Javascript, which can be implemented in malicious codes. As the code is extremely …