-
- INotifyPropertyChanged - Binding Textbox
by ManjuVijay
- 6 Replies
- Last post
by Rob Relyea
- Hi,
I want to know the purpose of INotifyPropertyChanged in WPF. I created a class as following
namespace Test{ class TestProp : INotifyPropertyChanged{ string _mycolor; public string MyColor{ get{return _mycolor;} set{ _mycolor = value; OnNotifyPropertyChanged("MyColor");} }
private void OnNotifyPropertyChanged(string p) { if (PropertyChanged != null) { PropertyChanged(this, new Pr
-
- Can LINQ be used against an Access .mdb or .accdb database?
by J_Steele
- 7 Replies
- Last post
by Mark Davies
- Linq newbie here. After searching through the forums here I'm still not quite clear on this. Do I need to convert Access databases into SQL Server databases or can I program against them in Orcas Beta 2 using Linq somehow If so, how does one go about using Linq against an Access .mdb or .accdb database Much thanks.
-
- TextBlock is not updated when SelectedItem in ListView is changed
by John Fredman_
- 4 Replies
- Last post
by Josh Smith
- Hi,
I have a TextBlock which is bound using DataBinding to the same object that is selected in a ListView. The XAML for the TextBlock looks as follows:
Code Snippet <TextBlock Grid.Column="1" Grid.ColumnSpan="2" Grid.Row="1" TextWrapping="Wrap"> <TextBlock.Text> <MultiBinding Converter="{StaticResource MaxUseConvert
-
- Any Sugestions to Custom SomeBrush From Class Brush in WPF?
by Sean Yao
- 1 Replies
- Last post
by Drew Marsh
- Hi, everyone. Recently, I just encounter some problem, I need a new brush different with Solid Brush, so I must create a new one from Shape, but how to do that Is there any method I should follow to override, or something else realted Thank you.
-
- Oracle with DLinq or EF?
by Andr&#38;&#35;
- 4 Replies
- Last post
by Michael Pizzo - MSFT
- Hi All,
I have read some posts talking about the provider model that will enable ISVs and the Community develop specific providers for databases non Sql Server to work with DLinq. Cool !!! I agree that MS isn't responsible for developing others providers and I believe that Oracle and others players will develop its providers and ship with Orcas final release. (I hope so)
But I read a
-
- duplicate parameter error
by Daniel E R
- 6 Replies
- Last post
by Daniel E R
- I am receiving the following error when trying to sync...
System.Data.SqlServerCe.SqlCeException was unhandled HResult=-2147217900 Message="Duplicated parameter names are not allowed. [ Parameter name = @P_4400550041004C0049004E0044004500580046004C004F0041005400450052005F0049004E00540045005200450053005400520041005400450049004E004 ]" NativeError=25574 Source="SQL Server Co
-
- WCF service dont impersonate domain user (IIS as host)
by ChristerP
- 10 Replies
- Last post
by shanmugal
- Hi,
I need some assistance with hosting WCF service in IIS and impersonation/delegation of a domainuser when quering a SQL Server database.
My enviroment :
WinXP SP2, Visual Studio 2005, SQL Server2005, IIS 5.1. Evertything runs on the same computer.
Scenario :
I have a web client (ASP.NET Developer Server) and a wCF service hosted in my local IIS and a local SQL Ser
-
- ComboBox binding in ListView
by Sundaraguru
- 1 Replies
- Last post
by Shaun Wilde
- I Want to place two combo boxes in Listview. When selecting the first combo box value I need to change the second combo box list items in a particular row.
If it is possible pls give me your valuables idea.
Thanking You
Regards,
Sundaraguru
-
- Getting Started
by Chris Coddington
- 4 Replies
- Last post
by ben2004uk
- Is LINQ still in beta Why is there not a download link on the project page Is this CTP the latest and greatest http://www.microsoft.com/downloads/details.aspx familyid=1e902c21-340c-4d13-9f04-70eb5e3dceea&displaylang=en
-
- VS2008 Design Time Control Rendering Issue
by automaton123
- 2 Replies
- Last post
by automaton123
- Hello, I have a WebControl which works perfectly in VS2005 (both design and run-time), but which the design-time has a weird issue in VS2008 (works perfectly in run-time). It is a .NET 2.0 control which produces an <img> as its output. The following is a link to an image which shows this issue: http://www.dashboardinsight.com/temp/vs2008problem.png As you can see, there is weird squares li
-
- How to draw an ellipse inside a canvas at specific coordinates?
by moondaddy
- 3 Replies
- Last post
by moondaddy
- I have a custom class that inherits from Canvas and I create instances of this as rectangles inside a xaml window. When the user clicks on one of these shapes (canvases), I want to draw a small ellipse at that point. I have successfully drawn an ellipse inside the canvas and its default location is top/left. How do I position it exactly where the mouse clicked in the canvas
Note: бо my
-
- Clipboard.SetImage and larger images
by Martin2233
- 4 Replies
- Last post
by PiGuy
- Hi,
According to experiments on my system, Clipboard.SetImage seems to work correctly only with images smaller than something like 1300x1000 pixels (estimation). Bigger images are put into clipboard but some other applications are not able to retrieve them (I've been testing it with Adobe Photoshop). Is this a known bug Is there any workaround other than using System.Windows.Forms.Clipboard
-
- How to call webservice from XBAP applicaion?!
by Adel Shaban
- 5 Replies
- Last post
by TorLanglo
- hi all;
in fact I face a problem in calling a webservice from my XBAP application .......
The strange in my problem that no exception thrown no thing ..... just some thing like "page not found" .
plz HELP me ASAP
thnx for all
bye
-
- 3D carousel style guide lines ???
by Serge Calderara
- 1 Replies
- Last post
by Zhou Yong
- Dear all,
I have seen really nice beaviour on demo application doing so called 3D carousell demo...I like this behaviour and would like to know how they made such thing.
This carousel stuff is like you have for instance a set of card bitmap which navigate on an eliptical path. When cards came in front, they are zoomed in, as long as they slightly move backwards they zomout, still by foll
-
- Canvas.SetLeft not setting the value
by stepi
- 3 Replies
- Last post
by stepi
- I have a user control with a canvas as a container for childs elements.The problem that i am facing is once i apply a storyboard to the child elements whenever the control is resized and i need to reposition the child controls... Canvas.SetLeft(child, VALUE) or child.SetValue(Canvas.LeftProperty, VALUE) is not saving.Any idea why Any help would be much appreciated. Thanks
-
- XAML as content.
by billyzelsnack
- 3 Replies
- Last post
by Drew Marsh
- I have a listbox I am using for a simple file picker. Each item can have one of 3 images (folder, file, back button). Currently I am using png's for these images, but I would like to use actual XAML files exported from Design for these instead. What's the best way to go about doing this
-
- Registering Visual Studios 2008 Express Edition
by Dhruva Sagar
- 4 Replies
- Last post
by Angela Fraser
- Hi, I am using Windows Vista. I have tried, used and registered Visual Studios 2005 Express Edition without any problems earlier. I wanted to try out the new 2008 version that came out recently and I followed the same steps as usual. What I get from the registration site for my registration is :
Unknown Error
-
- ScaleEffect inside StoryBoard problem
by Willie007
- 2 Replies
- Last post
by Willie007
- What i want is to create a scaleeffect that will resize the canvas from 0 to 100%
But I get confused how to get this into a storyboard so i can also pause/continue etc.. the effect.
Without storyboard its simple...
Code Block
Dim Page as new Canvas
Dim Anim as Animation.DoubleAnimation
Dim MatrixS As New ScaleTransform(0, 0)
Page.RenderTransform = MatrixS
-
- RichTextBox performance issues
by George S2
- 9 Replies
- Last post
by GS2
- Has anyone else experienced performance problems with the RichTextBox control I am loading a moderate amount (~500kb) of text into one with the following code:
Code Snippet
_richTextBox.Document.Blocks.Clear();
using ( StreamReader streamReader = File .OpenText( "C:\\500k.txt" ))
{
Paragraph paragraph = new Paragraph ( new Run (streamReader.ReadTo
-
- Routed Events & ScrollViewer
by DmitryMS
- 3 Replies
- Last post
by DmitryMS
- Why ScrollViewer blocks routed events (MouseDown in particular)
A have the following hierarchy:
Grid A
-- ScrollViewer
----Grid B
When I click on Grid A, Grid B doesn't receive that event notification. Once I take off ScrollViewer in the middle, everything starts working...
Another strange for me thing is: if I put a Label on top of Grid A an click on it, rather than on Grid A, G
-
- Disappointed on WCF support in Ocras Beta 1
by pyeung
- 2 Replies
- Last post
by LorenzP
- Recently, I installed Ocras Beta 1. I found that WCF support in this version is worse than VS2005's Ocras tool.
I upgrade some of WCF samples to Ocras. Very disappointedly, the "Add Service Reference" function totally disappears from IDE.
I try to code everything from scratch in Ocras. When I start up WCF Host Project in order that I can add "Service Reference" to
-
- iterating throught the results of an query (Linq to Sql)
by Aristo
- 8 Replies
- Last post
by jwooley
- Hello Guys ,
First of all I have to say that I am so impressed by LINQ :-) It is great to see so powerfull thing available to play with.
I was searching samples here and there and I couldn't find a solution for one problem so far.
Lets take an example:
var query = from c in Customers
select c;
Lets take, that as a result I get bunch of records from databas
-
- How to find currently registered class command bindings?
by jghowe
- 1 Replies
- Last post
by Drew Marsh
- Is there any way to determine the command bindings which have been registered using CommandManager.RegisterClassCommandBinding() I am subclassing the RichTextBox control and I'd like to know what commands it currently responds to in case I need to handle any of them differently. Aside from programmatically determining this, it seems there is a hole in the documentation concerning commands. I woul
-
- WPF or DotNetNuke
by rahulMCA
- 4 Replies
- Last post
by rahulMCA
- Hi,
We are about to start development on a new .NET web Application. I have been asked to compare with respect to feature set offering, development effeciency, maintainability of WCF against DotNetNuke. Please suggest.
Thanks & Regards,
Rahul
-
- Operation Time out while creating Proxy Class using SVCUTIL.EXE
by Manoj Manohar
- 14 Replies
- Last post
by Manoj Manohar
- hi
I am unable to create proxy class using SVCUTIL.EXE its giving the following error
C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\svcutil.exe /noLogo /s /ct:"System.ComponentModel.BindingList`1,System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /d:"C:\Documents and Settings\Manoj\Local Settings\Temp\bmceoibz.rtv" /config:&quo