Click here to Skip to main content
Click here to Skip to main content
Articles » Web Development » ASP.NET » Data » Downloads
 
Add your own
alternative version

WPF Two-way Databinding in ASP.NET - Enabling MVVM

, 29 Jan 2011 CPOL
Bringing WPF like declarative data binding to ASP.NET Web Forms to enable declarative two-way data binding to any object whilst opening up MVVM UI development.
BindingFramework.zip
BindingFramework
ASPBinding
bin
Debug
ASPBinding.dll
Binding.dll
SDILReader.dll
Release
ControlWrappers
obj
Debug
Refactor
TempPE
Properties
Services
Barebones
Barebones.csproj.user
bin
ASPBinding.dll
Barebones.dll
Binding.dll
SDILReader.dll
obj
Debug
Refactor
TempPE
Properties
BinderTests
bin
Debug
ASPBinding.dll
BinderTests.dll
Binding.dll
Rhino.Mocks.dll
SDILReader.dll
Release
MockHelpers
MockingInterfaces
obj
Debug
Refactor
TempPE
Properties
Utils
Binding
bin
Debug
Binding.dll
Release
ControlWrappers
Helpers
Interfaces
obj
Debug
Refactor
TempPE
Properties
Services
BindingExamples
Advanced
App_Data
bin
ASPBinding.dll
Binding.dll
DomainModel.dll
SDILReader.dll
SimpleBinding.dll
BindingExamples.csproj.user
Converters
obj
Debug
Refactor
TempPE
Properties
Simple
BindingFramework.vsmdi
DomainModel
bin
Debug
Binding.dll
DomainModel.dll
Release
BusinessObjects
obj
Debug
Refactor
TempPE
Properties
ViewModels
FrameworkTests
bin
Debug
ASPBinding.dll
Binding.dll
FrameworkTests.dll
Rhino.Mocks.dll
SDILReader.dll
MockHelpers
MockingInterfaces
obj
Debug
TempPE
Properties
Utils
LocalTestRun.testrunconfig
SDILReader
bin
Debug
Release
SDILReader.dll
obj
Debug
Refactor
TempPE
Release
TempPE
Properties
SDILReader.csproj.user
TestResults
shiless_FANZ-FAL099329 2011-01-12 15_05_07
In
Out
shiless_FANZ-FAL099329 2011-01-12 15_05_07.trx
shiless_FANZ-FAL099329 2011-01-12 15_07_06
In
Out
shiless_FANZ-FAL099329 2011-01-12 15_07_06.trx
shiless_FANZ-FAL099329 2011-01-12 15_08_02
In
Out
shiless_FANZ-FAL099329 2011-01-12 15_08_02.trx
shiless_FANZ-FAL099329 2011-01-12 15_08_54
In
Out
shiless_FANZ-FAL099329 2011-01-12 15_08_54.trx
shiless_FANZ-FAL099329 2011-01-12 15_09_23
Out
ASPBinding.dll
Binding.dll
frameworktests.dll
Rhino.Mocks.dll
SDILReader.dll
shiless_FANZ-FAL099329 2011-01-12 15_09_23.trx
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using Binding.Interfaces;

namespace Binding
{
    public class DataBindingInstruction : IBindingInstruction
    {
        public string RawSection { get; set; }

        public string GetAssignedProperty()
        {
            string assignedProperty = string.Empty;
            if (!string.IsNullOrEmpty(RawSection))
            {
                assignedProperty = Regex.Match(RawSection, "[^_]*$").Value;

            }

            return assignedProperty;
        }

    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Sam Shiles
Software Developer
United Kingdom United Kingdom
No Biography provided

| Advertise | Privacy | Terms of Use | Mobile
Web03 | 2.8.141223.1 | Last Updated 30 Jan 2011
Article Copyright 2011 by Sam Shiles
Everything else Copyright © CodeProject, 1999-2014
Layout: fixed | fluid