Posts by Ninita • 333 points
6 posts
-
4
votes1
answer315
viewsQ: Silverlight Lightswitch - [Noelements] Debug resource chains not available
I am responsible for supporting a web platform made in Silverlight, in which I am not allowed to change anything in its code. The customer has complained that sometimes there are some strange…
-
0
votes1
answer44
viewsA: Htmlagilitypack - Does not format correctly
Solved! I’ve found that you can tell HtmlNode.ElementsFlags which should be Closed and CanOverlap at the same time, in this way: if (!HtmlNode.ElementsFlags.ContainsKey("div"))…
-
0
votes1
answer44
viewsQ: Htmlagilitypack - Does not format correctly
In my webservice I need to always format the HTML I receive. To make sure it gets properly formatted I use the Htmlagilitypack. HTML I receive: <p> <div> <b>text:</b> <img…
-
9
votes1
answer5672
viewsQ: Left Join with lambda Groupjoin and with condition
How can I make one left join with some conditions using lambda LINQ expressions? In SQL Server have this query: select usr.Id, usr.FirstName, usr.LastName, ex.Id from User usr left join Exam ex on…
-
6
votes1
answer534
viewsA: Rotate an arrow on a canvas
Problem solved! After defining the translation point, the coordinates used to draw the arrow should be based on point 0 which actually becomes the translation point. // move the rotation point to…
-
8
votes1
answer534
viewsQ: Rotate an arrow on a canvas
I need to draw a flow dynamically based on a few user choices. In this flow I want to draw the chosen hypotheses (blue circles with numbers) and the direction between the choices (lines with…