binding

jQuery Rebinding a hover event (helper).

When the page is done loading I call a function which puts the hover event on $('a.tooltip'). When I want to unbind this event I do the following: $('a.tooltip').unbind('mouseover mouseout'); That works! However when I want rebind the hover event and I call the function that was first loaded at document ready again, it doesn't ...

Flex - Binding ViewStack selectedChild Property Using a String Value

The attached code example (pseudo code) compiles, but throws this Run-Time Error: TypeError: Error #2007: Parameter child must be non-null. at flash.display::DisplayObjectContainer/getChildIndex() at mx.core::Container/getChildIndex()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\core\Container.as:2409] at mx.containers:...

C#: Binding a new SoapClient to a specific IP address before sending outgoing request

Hello everyone, Let's say a machine where the application sits on has SoapClient (to be specific, I'm using Microsoft.Web.Service3.Messaging.SoapClient). It communicates toward a remote location with no problem by sending outgoing requests and getting SoapEnvelope in return (well-established process). The above scenario is through the ...

ASP.NET 3.5 bind to xml string

With ASP.NET 3.5 I can easily bind to an xml file by using an XmlDataSource. How do I bind to an xml string instead of a file? ...

Flex binding and AS3

Hi, I have a degrafa surface into a canvas container. I want to link both width and height. When i use binding like it works as expected: // binding BindingUtils.bindProperty(rect,"height",this,"height"); BindingUtils.bindProperty(rect,"width",this,"width"); Now, someone told me that i should do it on validateSize() or updateDi...

Actionscript 3 Bind variables

I am trying to set one bindable variable to be bound to another. Essentially I want to create an alias. I would give up, but this seems like something that would be good to know. essentially, I want changes in model.configView to be reflected in view, so that things bound to view.... behave the same as things bound to model.configView...

Unit test WPF Bindings

I am trying to unit test my WPF databindings using the test suit provided by Microsoft Team System. I would like to be able to test the bindings without showing the window because most of my tests will be for user controls and not actually on a window. Is this possible or is there a better way to do it? The code below works if I show ...

WPF textblock binding with List<string>

does anyone know if there is a simple way to bind a textblock to a List. What I've done so far is create a listview and bind it to the List and then I have a template within the listview that uses a single textblock. what I'd really like to do is just bind the List to a textblock and have it display all the lines. In Winforms there was...

How to use full-page background image leaving space for binding?

Hi! In Latex how can you make the background image to occupy the whole sheet on every page except a certain stripe on the inner side of each page? I can't figure it out. I have a background image I'd like to be seen in whole on each page after printing/binding. Matyi ...

Silverlight - dynamic binding of a listbox.ItemTemplate

I have this: <ListBox x:Name="PART_lstAttributes" Grid.Row="1" Style="{StaticResource GlossyBlackListBox}"> <ListBox.ItemTemplate> <DataTemplate> <StackPanel> <TextBlock x:Name="txtAttributeName" Text="{Binding AttributeName}"></TextBlock> </StackPanel> </DataTemplate> ...

DetailsView and Parent-Child tables - inserting rows

When you have parent-child tables and you wish to use a DetailsView to edit the data how do you do it using a SqlDataSource? For example, if you have a Person and an Employee table (where an employee is the child table and the Person is parent table - an employee derives from a person). Person P_ID FirstName LastName DOB Employee E...

WPF Docking Manager with Databinding support

Hi, Does anyone know about a Docking Control like Visual Studio for WPF, where Databinding for the Panes is supported? I tried the DockManager from Infragistics and from Actipro, but they lack this support. For example, the Panes for the content need to be bound through Databinding, so removing the Entity on the other side of the bindin...

WPF DataTrigger where value is NOT null?

I know that I can make a setter that checks to see if a value is NULL and do something. Example: <TextBlock> <TextBlock.Style> <Style> <Style.Triggers> <DataTrigger Binding="{Binding SomeField}" Value="{x:Null}"> <Setter Property="TextBlock.Text" Value="It's NULL Baby!" /> </DataTrigger> </Sty...

WPF: Binding a listviewitem's background colour to a hex String property of an object

Hey. I have an object that has a string property called BackgroundColor. This string is the hexidecimal representation of a color. I cannot change this object. I'm binding a collection of these objects to a listView. What I would like to do is bind the background of the listview's row to the BackgroundColor property of the object that i...

How do you concatenate text when using Bind expression in asp.net

What is the syntax to concatenate text into a binding expression for an asp.net webpage (aspx). For example if I had a hyperlink that was being bound like this: <asp:HyperLink id="lnkID" NavigateUrl='<%# Bind("Link") %>' Target="_blank" Text="View" runat="server"/> How do you change, say, the Text to concaten...

EmacsW32: possible to use both "windows key" and "alt key" bindings together?

Problem: EmacsW32 is a version of Emacs that allows the user to make Emacs treat the "Windows" key as the "Meta" key (instead of treating the Alt key as the "Meta" key). Although this works as advertised, the question is what happens when you want to create an Emacs keybinding for the "Alt" key? Question: Is there a way in this case to ...

late static binding: which languages commonly used for web development support it?

Lately I've been seeing a lot of talk regarding PHP's lack of late static binding until 5.3. From what I've read proper implementations of stuff like ActiveRecord are not possible until the language has this feature. So, I'm curious about: Which languages do support it, specifically those commonly associated with web development suc...

Early binding vs. late binding: what are the comparative benefits and disadvantages?

When discussing the evolution of computer languages, Alan Kay says that the single most important attribute of his Smalltalk is late binding; it gives the language its malleability and extensibility, and allows inappropriate coupling to be refactored out over time. Do you agree? Are there compensating advantages for early binding that ex...

jdesktop beans binding question

If I bind three properties (A on B and A on C) in READWRITE mode, and if C is changed shouldn't B also be changed in chain? I have a situation in which A is changed but change wouldn't propagate to B ...

Is there a way to disable the MSFT IE XML Databinding feature via script?

Question: Is it possible to construct a web page that has a script to turn off XML data-binding in MSIE? The ideal approach would be to code an HTML page and instruct all people in the office to visit the page with a button that says "turn off data-binding". Rationale: The desktop sysadmin is not available at this time and the goal is t...