Infragistics WebDataMenu delayed resizing in Chrome
I encountered weird issue using Infragistics ASP.NET WebDataMenu control. If total width of top-level items was bigger than menu’s width and scrolling kicked in – Google Chrome browser produces...
View ArticleCompare 2 source files and add difference to 3rd
Sometimes when you patch or update your current version of software there is a need to apply the same changes to a previous version. Ordinary it’s a pain – you need to painstakingly determine which...
View ArticleInfragistics WebDataMenu: Manual postback from client-side Click event
There’s a a few possible scenarios when you need to manually to initiate server-side Click event of Infragistics WebDataMenu control. For example in client side click event you do some...
View ArticleAccess jQueryUI dialog buttons after dialog was created
If you’re using jQuery UI Dialog, you know sometimes there’s a need to access dialog’s button objects after the dialog has already been created. This can be easily done via...
View ArticleDeveloping first Pebble.js app
Pebble Smartwatch has offered SDK to develop watchfaces and watchapps in C language for a while now. But most recently they tried something different: Pebble.JS a project that lets you code for...
View ArticleAccess nested controls in ASP.NET Page PreInit event (when no Master Page is...
There’re situations when you need access ASP.NET web controls very early in page lifecycle, more specifically – in Page PreInit event – and you can, but only top-level controls. But what if you need to...
View ArticleWriteEndObject of JSON.NET ouptuts NULL literal
JSON.NET is a very popular framework to process JSON data in .NET. We recently upgraded from v4 to v6 and noticed strange thing it started to output null to JSON strings created by JsonTextWriter...
View ArticleASP.NET WebForms: Safe refresh after postback
It’s all too commons scenario in a Web Application, you initiate a postback by clicking a button (basically submitting a form), some action is performed, perhaps database is written to, all fine and...
View ArticlePebble: How to load random string from resource
There’s no doubt that Firefly is a greatest TV series in the history of all creation. That is why when I was learning resource handling in Pebble SDK I have decided to create a watchface that would...
View ArticlePebble: How to autoscroll large text
Last time i described how to load random string from resource. If you recall the code ended up with the line text_layer_set_text(s_textlayer_quote, (char *)quote); to display loaded text on the screen....
View ArticlePebble Time: Draw transparent text over color bitmap background
Pebble SDK has had a feature allowing to combine 2 images with transparency for a while via different composition modes. Unfortunately this doesn’t apply to texts, so, for example, if you need to...
View ArticleSolution: Live Writer Error “Invalid Response Document” while connecting to...
If you’re trying to connect to your WordPress blog from Windows Live Writer desktop client, you may get this dreaded error message: Invalid Server Response – The response to the blogger.getUsersBlogs...
View ArticleSliderLayer for Pebble
Pebble SDK provides very cool features for programming watchapps and watchfaces. And combining them can yield very useful results. For example “out of the box” Pebble doesn’t have a slider layer – a...
View ArticleInverterLayer (and other effects) for Pebble Time
InverterLayer is a pretty cool feature of Pebble smartwath SDK, its simple purpose to invert colors of everything it’s placed over (black becomes white and vice versa). Unfortunately it no longer...
View ArticleSimplify access to Framebuffer on Pebble Time
Pebble smartwatch SDK offers a very extensive graphics library. And if that is not enough – you can access graphics memory directly for pixel-precision manipulation. For example this code GBitmap *fb =...
View ArticleUniversal access to Pebble framebuffer on Basalt and Aplite via coordinates
In my previous post I described how you can access framebuffer of Pebble screen via familiar X,Y coordinates. To reiterate: you capture framebuffer as a bitmap, and access bitmap as 2-dimentional...
View ArticleCancel long running SQL Command in ASP.NET WebForm application
It’s an all too common scenario when your ASP.NET page takes too long to load and the culprit is slow, long running SQL query. It shouldn’t come to this, you should optimize your DB stuff to minimize...
View ArticleMask Effect for EffectLayer for Pebble
I’ve written before about EffectLayer library for Pebble smartwatch I’ve been working on. The idea is – user places the layer over screen and that layer applies an effect to screen content. I’ve...
View ArticlePushing pins to Pebble Time timeline from .NET code
Pebble Time timeline is a very cool user interface allowing you to see future and past events and act upon them right on your watch. Right out of the box Pebble Time supports calendar pins that shows...
View ArticleColorful watchfaces for Pebble Time
Pebble Time is latest and greatest smartwatch from Pebble corp. And one of the advantages it has over classic model is new epaper screen capable of supporting 64 colors. To test its capabilities I...
View Article