Currently browsing

July 22, 2012

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 => …

Delete and Truncate

Delete and Truncate   There is a common question like what are the differences between Delete and Truncate statements of SQL server. Yes there are a lot of differences between them, but I have like to mention the most important differences between them in my short article. 1.    First we …

LabVIEW Arduino Android

LabVIEW, Arduino & Android During lunch today I picked up the words LabVIEW and Arduino. Now that got me interested (or excited, as they would say here) and it turned out that a technical session about hacking Arduino with LabVIEW would take place later in the afternoon. So I attended …

How to make a digital clock using C

How to make a digital clock using C The following code creates a digital clock using a 1 sec. delay. provides various functions to delay the time. Source Code: #include #include #include COORD coord = {0, 0}; void gotoxy (int x, int y) { coord.X = x; coord.Y = y; …