Back to earth: DBNull and ConetxtMenuStrip target TreeView node

by Taoffi Nassar 29. July 2011 06:21
  It is time now to set concepts aside for some more practical problems! Last days, through the work on two different projects, I encountered DBNull twice, and faced a funny problem about locating the target TreeNode of a contextual menu! Let us start by the first one: DBNull in Silverlight... [More]

Silverlight database to DataGrid, yet another approach- Part V

by Taoffi Nassar 26. February 2010 22:14
The data record (the ‘form’) As I mentioned in Part II, my proposed solution (aimed to transfer and communicate data between a Silverlight Client and the database server) is composed of the following schematic classes: Data level classes SilverDataTable Represents... [More]

Silverlight database to DataGrid, yet another approach- Part IV

by Taoffi Nassar 26. February 2010 20:26
Filtering database data As we have seen in Part III, the SQL Select statement is composed of the following parts: SELECT                 [field1], [field2],… [fieldn] FROM        &... [More]

Silverlight, Back to basics: the User Interface!

by Taoffi Nassar 25. February 2010 20:38
Intro… I wanted to post a new article in the series about Silverlight (client) and server’s databases. The subject of the article was ‘data forms in Silverlight’. But, because a ‘Data Form’ is the ultimate place where the user directly interacts with the data, a... [More]

Silverlight database to DataGrid, yet another approach- Part III

by Taoffi Nassar 9. February 2010 19:15
Sorting and filtering database records After having succeeded to display our server data into Silverlight DataGrid (see previous post), we will now continue the adventure to complete our solution with some useful and necessary features that Silverlight DataGrid originally proposes (for example, sor... [More]

Silverlight database to DataGrid, yet another approach- Part II

by Taoffi Nassar 5. February 2010 23:55
This is the second part on how to format/adapt data to be displayed in a Silverlight DataGrid in a way that allows the preservation of business logic.   Server side objects As we have seen, in part I, the server will prepare our data into the designed classes before transmitting it to the Si... [More]

Silverlight database to DataGrid, yet another approach- Part I

by Taoffi Nassar 4. February 2010 17:38
Introduction As I exposed in an earlier post, Database structure can be declined into the following hierarchy § A table § Containing rows § Containing data //(arranged into columns)   This schema cannot live without the following meta-data structure § Table definition... [More]

Html Content Viewer for Silverlight

by Taoffi Nassar 25. January 2010 04:57
In a previous post, I talked about a solution to manipulate (animate for example) the Silverlight control inside the hosting html page.   The reverse side of the problem (displaying html content inside a Silverlight control), is a requirement which comes out in the context of numerous web pro... [More]

Scrollable ComboBox

by Taoffi Nassar 19. January 2010 06:08
I am working on a new Silverlight user interface version of Simplesite.net and, as anyone can imagine, that involves a good dive into Silverlight as a ‘Line Of Business’ application technology. One of the problems I encountered was to make the Combo box control able to respond to Mouse ... [More]

Animating Silverlight control inside the HTML Page

by Taoffi Nassar 23. December 2009 03:27
Live demo .     A Silverlight control can communicate and interact with other HTML elements of the page on which it is placed. This is done by using the HtmlPage object (namespace System.Windows.Browser)   By using HtmlPage, you can have access to all HTML elements of the curre... [More]