Καλώς ορίσατε στο dotNETZone.gr - Σύνδεση | Εγγραφή | Βοήθεια
σε

 

Αρχική σελίδα Ιστολόγια Συζητήσεις Εκθέσεις Φωτογραφιών Αρχειοθήκες

Παρουσίαση με Ετικέτες

Όλες οι Ετικέτε... » Posts » ClipFlair   (RSS)
Εμφάνιση σελίδας 2 από 4 (79 συνολικές δημοσιεύσεις)
  • HowTo: Drop files onto Silverlight controls

    I was recently adding drop-files support to ClipFlair Studio, so I had to do some research on the related API that is available to Silverlight apps. Silverlight supports a limited set of Drag-and-Drop interaction with the operating system (supposedly for security reasons, but most probably because of the classic cross-platform implementation ...
    Δημοσιεύτηκε στο George Birbilis' blog (Weblog) από το μέλος birbilis στις Μαρτίου 27, 2014
  • Gotcha: OnLostMouseCapture always called by CaptureMouse at WPF

    It seems that CaptureMouse is behaving differently in WPF and Silverlight, in that in the former one it immediately calls OnLostMouseCapture at a Visual, whereas in Silverlight it doesn’t get called if the element didn’t have the mouse capture already (btw, in Silverlight that method is at a UIElement – there is no Visual ...
    Δημοσιεύτηκε στο George Birbilis' blog (Weblog) από το μέλος birbilis στις Μαρτίου 14, 2014
  • Fix: XAML – The member Content is not recognized or is not accessible

    I was looking into some third-party code, upgrading it from Silverlight 4.x and was getting error ‘The member "Content" is not recognized or is not accessible’ at the following code part: Looking it up, found that you don’t need to bind the Content property of a ContentPresenter at all if you put it inside the […]
    Δημοσιεύτηκε στο George Birbilis' blog (Weblog) από το μέλος birbilis στις Φεβρουαρίου 9, 2014
  • Nice DeepZoom image samples via ClipFlair Studio’s Image component

    Here are some DeepZoom image samples to enjoy via ClipFlair‘s Image component, in our ClipFlair Studio app (Silverlight-based): http://studio.clipflair.net/?image=http://static.seadragon.com/content/misc/blue-marble.dzi http://studio.clipflair.net/?image=http://static.seadragon.com/content/misc/earths-city-lights.dzi ...
    Δημοσιεύτηκε στο George Birbilis' blog (Weblog) από το μέλος birbilis στις Φεβρουαρίου 4, 2014
  • HowTo: find max ZIndex from a collection of UIElements with LINQ

    My contribution to http://stackoverflow.com/questions/1101841/linq-how-to-perform-max-on-a-property-of-all-objects-in-a-collection-and-ret Based on  another answer there, here is what I’ve just added to my enhanced version of SilverFlow library’s FloatingWindowHost (copying from FloatingWindowHost.cs at ...
    Δημοσιεύτηκε στο George Birbilis' blog (Weblog) από το μέλος birbilis στις Δεκεμβρίου 6, 2013
  • Gotcha: .NET Point and PointConverter inconsistency in string format used

    I have submitted the following issue to Microsoft Connect (product feedback center): http://connect.microsoft.com/VisualStudio/feedback/details/809084/point-class-issue-with-two-way-databinding Point class issue with two-way databinding   In Silverlight, when using databinding code like the following: <StackPanel ...
    Δημοσιεύτηκε στο George Birbilis' blog (Weblog) από το μέλος birbilis στις Νοεμβρίου 22, 2013
  • HowTo: use a Timer component for delayed execution in WinForms

    This is my contribution to: http://stackoverflow.com/questions/303116/system-windows-threading-dispatcher-and-winforms Sometimes a Timer component is useful and easy to setup in WinForms, just set its interval and then enable it, then make sure the first thing you do in its Tick event handler is to disable itself. I think Timer runs the code in ...
    Δημοσιεύτηκε στο George Birbilis' blog (Weblog) από το μέλος birbilis στις Αυγούστου 25, 2013
  • HowTo: Display version information on WinForm title

    This is my contribution to http://stackoverflow.com/questions/7178725/version-number-in-winform-form-text I’m using the following at the WinForm of the WebCapture tool I’m making for ClipFlair: public MainForm() { InitializeComponent(); Version version = Assembly.GetExecutingAssembly().GetName().Version; Text = Text + " " + ...
    Δημοσιεύτηκε στο George Birbilis' blog (Weblog) από το μέλος birbilis στις Αυγούστου 20, 2013
  • HowTo: Save screenshot of a control hosted on a WinForm

    I’m trying to automate grabbing of activity screenshots from ClipFlair Activity Gallery, but most command-line screen capturing tools, like SiteShoter and IECapt fail to get an image from Silverlight content (they get just a background color). Some other opensource tool that I could tweek was ThumbPage, but  that didn’t support command-line ...
    Δημοσιεύτηκε στο George Birbilis' blog (Weblog) από το μέλος birbilis στις Αυγούστου 20, 2013
  • Gotcha: use server-side comment, not HTML comment in ASP.net

    I try to remember to use <%– and –%> instead of <!– and –> for comments in server-side web pages, to avoid having implementation details (for security reasons that is) in the output HTML and to keep the download size smaller / have the pages load faster. What came to me though the other day […]
    Δημοσιεύτηκε στο George Birbilis' blog (Weblog) από το μέλος birbilis στις Ιουλίου 29, 2013
  • HowTo: Bind ASP.net control to list of files or folders

    At from ClipFlair Gallery metadata input pages for Activities and Clips I had to bind an ASP.net control to a list of files and folders respectively and although I found a Folder Contents DataSource control, it didn’t cover my needs (like filtering of a folder contents). I just contributed my solution using .NET Anonymous Types and […]
    Δημοσιεύτηκε στο George Birbilis' blog (Weblog) από το μέλος birbilis στις Ιουλίου 15, 2013
  • HowTo: Remove invalid filename characters in .NET

    In ClipFlair Studio I use DotNetZip (Ionic.Zip) library for storing components (like the activity and its nested child components) to ZIP archives (.clipflair or .clipflair.zip files). Inside the ZIP archive its child components have their own .clipflair.zip file and so on (so that you could even nest activities at any depth) which construct their ...
    Δημοσιεύτηκε στο George Birbilis' blog (Weblog) από το μέλος birbilis στις Ιουλίου 12, 2013
  • HowTo: Perform ASP.net action after page child controls are databound

    While creating metadata entry/update pages for ClipFlair’s Activity and Clip Galleries I had the problem of figuring out how to do some initialization (from XML data, loaded from a filename based on the 1st item of a DataBound control), after all child controls of the ASP.net Page have been databound (from XmlDataSource). Seems others have ...
    Δημοσιεύτηκε στο George Birbilis' blog (Weblog) από το μέλος birbilis στις Ιουλίου 11, 2013
  • Gotcha: var x = x() in Javascript gives “Object Expected” error

    At ClipFlair Studio (a Silverlight app), I had some time ago implemented a confirmation warning upon user trying to close the webpage (when it was running inside the web browser), which then had stopped functioning. It seems at some refactoring I had added code like the following: var activityView = activityView(); and it was failing […]
    Δημοσιεύτηκε στο George Birbilis' blog (Weblog) από το μέλος birbilis στις Ιουνίου 14, 2013
  • Troubleshooting: Silverlight installation on MacOS-X

    One of our ClipFlair Studio users reported on having some issue trying to install Silverlight on MacOS-X, so I gathered some related info below:     First of all, at the Silverlight installation webpage, at the System Requirements tab, you can find the following requirements: Macintosh (Intel-based) Intel Core Duo 1.83-gigahertz (GHz) or ...
    Δημοσιεύτηκε στο George Birbilis' blog (Weblog) από το μέλος birbilis στις Μαΐου 23, 2013
  • .NET String extension methods to check for array of prefixes or suffixes

    Seems StartsWith and EndsWith methods of String class in .NET are missing a version that accepts multiple (as an array) prefixes or suffixes respectively when testing the string. To achieve this I just added the following extension methods to StringExtensions class (of Utils.Extensions namespace) under Utils.Silverlight project at the ClipFlair ...
    Δημοσιεύτηκε στο George Birbilis' blog (Weblog) από το μέλος birbilis στις Απριλίου 5, 2013
  • .NET String class extensions to replace prefix or suffix

    Just added the following extension methods to StringExtensions class (of Utils.Extensions namespace) under Utils.Silverlight project at the ClipFlair source code. public static string ReplacePrefix( this string s, string fromPrefix, string toPrefix, StringComparison comparisonType) { return (s.StartsWith(fromPrefix, comparisonType)) ? toPrefix + ...
    Δημοσιεύτηκε στο George Birbilis' blog (Weblog) από το μέλος birbilis στις Μαρτίου 26, 2013
  • IIS FTP login fails after Windows platform update for Server 2008 R2

    I had recently enabled FTP access to the ClipFlair Gallery to easy its maintenance during development and after the Windows Server 2008 R2 platform update last night (together with release for Internet Explorer 10), the FTP login stopped working. To fix it, from a command prompt with administrator rights (Start/Find, type Command and right ...
    Δημοσιεύτηκε στο George Birbilis' blog (Weblog) από το μέλος birbilis στις Φεβρουαρίου 27, 2013
  • HowTo: format XML output of DataContractSerializer

    based on the other samples posted at StackOverflow on how to format XML created by DataContractSerializer, that use XmlWriter, here’s a version (from ClipFlair source code) that works with streams (and Ionic.Zip library in specific). It also shows how the code is when you don’t apply formatting (using conditional compilation).  ...
    Δημοσιεύτηκε στο George Birbilis' blog (Weblog) από το μέλος birbilis στις Φεβρουαρίου 22, 2013
  • Fix: Silverlight Media Framework Player VolumeElement out of sync

    I was just adding a storable (persistent) Volume property to the MediaPlayerView class used at ClipFlair’s MediaPlayerWindow (connected to the underlying SMF player’s VolumeLevel property), when I realized that after reloading saved state, the SMF player’s Volume control would show a different value than the value set to it (which I could confirm ...
    Δημοσιεύτηκε στο George Birbilis' blog (Weblog) από το μέλος birbilis στις Φεβρουαρίου 11, 2013
  • Gotcha: Image component not loading remote URLs during debugging

    At ClipFlair’s Image component I use the following XAML to make it show an image from a URL that its ViewModel holds at a property named “Source”, of type Uri (URI = Uniform or Universal Resource Identifier in W3C parlance, something like a superset of the old classic URLs). <Image Name="imgContent"        ...
    Δημοσιεύτηκε στο George Birbilis' blog (Weblog) από το μέλος birbilis στις Δεκεμβρίου 18, 2012
  • Fix: Transform Manager ignoring media files added to watch folders

    I’ve been puzzled for some days now with the IIS Transform Manager installation we have at ClipFlair for automating the conversion of media files (for example using Microsoft Expression Encoder) into IIS Smooth Streams. The watch folder I’ve set up for this task was ignoring some of the media files I was dropping in for no [...]
    Δημοσιεύτηκε στο George Birbilis' blog (Weblog) από το μέλος birbilis στις Δεκεμβρίου 14, 2012
  • HowTo: Troubleshoot .MSI installations

    Copying from Microsoft Web Deploy readme: If you encounter any problems during installation, you can run appropriate command listed below for your version of Windows to create a log file that will contain information about the installation process: msiexec /L install.log /I <path_to_msi> You can analyze this log file after a failed ...
    Δημοσιεύτηκε στο George Birbilis' blog (Weblog) από το μέλος birbilis στις Δεκεμβρίου 9, 2012
  • Can’t step-through Silverlight file dialogs with Visual Studio debugger

    While stepping through “ShowDialog()” method of OpenFileDialog with Visual Studio 2010 debugger, at the Silverlight code pictured below (for loading a ClipFlair window’s stored options), I got a “Dialogs must be user-initiated” exception. Same behaviour will be shown with SaveFileDialog too, every time you try to step through the “ShowDialog()” ...
    Δημοσιεύτηκε στο George Birbilis' blog (Weblog) από το μέλος birbilis στις Δεκεμβρίου 2, 2012
  • PivotViewer for a rich search experience

    For ClipFlair, I’m looking into implementing advanced search using Silverlight PivotViewer   A really nice example of PivotViewer search is at: http://www.appletoncompassion.org/VirtualExhibitViewer This may take long time to load, since its loading 10000 children art DeepZoom image tiles You can use the mousewheel to zoom in there or the ...
    Δημοσιεύτηκε στο George Birbilis' blog (Weblog) από το μέλος birbilis στις Νοεμβρίου 28, 2012
< 1 2 3 4 >
Με χρήση του Community Server (Commercial Edition), από την Telligent Systems