-
- ScrollViewer with BitmapEffects
by Sam Andy
- 2 Replies
- Last post
by Sam Andy
- I have a user control which composit ScrollViewer and ImageElement. it work perfect untill I apply a BitmapEffect to the Image. after that the scrolling becomes too slow.
How can I solve this issue
Thanks,
-
- Satellite Assembly Deployment Problem?
by Venugopal
- 3 Replies
- Last post
by Matt Galbraith
- Hi All. I have one problem with WPF application deployment, I have designed one custom control which is having localization support. I have installed those dll's in assembly folder. For example. MyTest.dll and MyTest.resources.dll. installed in c:\windows\assembly and referenceassemblies folder too. Now i have created one application using my customcontrol(MyTest). Application is executting perfe
-
- Simulate aspx page in WCF?
by vtcoder
- 7 Replies
- Last post
by BenK
- I'm looking into the ability to have a WCF service behave just like an asp.net aspx page.
The situation I have is that some methods in our service will be consumed by 3rd parties that can only speak basic http request/response. No SOAP.
The specific method I'm looking at is used to serve a file. Currently they just fire an HTTP request to an aspx page and it returns the file.
-
- Forum for Petzold's Application = Code + Markup?
by Alcide
- 6 Replies
- Last post
by Alcide
- Hello All,
I sthere a forum for folks working through Charles Petzold's Application = Code + Markup. I have sworn to work through all 976 pages, but I could use some help on some of his code samples, like getting them to run.
Thanks in advance for the assistance.
Alcide
-
- Is Delay Loaded working?
by Miha Markic
- 2 Replies
- Last post
by Miha Markic
- Hi guys,
There is a Delay Loaded property in designer and properties with Delay Loaded = true are created as Link<> instances. However, it doesn't seem to affect the queries Am I correct If yes, I guess the implementation will follow..
-
- TabControl Anomaly
by Craigton
- 4 Replies
- Last post
by Craigton
- Hi,
I created a simple TabControl with 2 tabpages and, using the Collections mechanism, set the backcolor to Desktop; it seemed to work OK but when I went back to the IDE the colour had not been implemented. I can do a code behind and set each TabPage backcolor.
On a related point, when I do the code behind and set each TabPage backcolor I cannot see the Desktop colour in the availab
-
- ListView and ContextMenu
by Brad Leach
- 1 Replies
- Last post
by Yi-Lun Luo - MSFT
- Hi,
I have a ListView to which I would like to add a ContextMenu. There are three different scenarios which I would like to cater for. The first scenario is when the user right clicks in an empty area of the ListView - I want a specific set of menu items displayed. The second scenario is when the user right clicks on one single item in the ListView - I want to show a menu which has some opt
-
- MediaElement Control not playing video
by Dvlnblk
- 3 Replies
- Last post
by Dvlnblk
- Hey All, I have made a User Control for a media element...here is just a snippit of the code where I load the video:
namespace MilanVideoControl_0_0_1
{
public class REZN8_MilanVideoControl : MediaElement
{
private void beginVideo( Uri src)
{
MessageBox .Show( "this is " + this + " src is " +src);
this .Source = src;
this .Height
-
- WCF performance/Load/unit Testing
by singhhome
- 2 Replies
- Last post
by James.Zhang - MSFT
- Any pointers to articles on
#1. Doing Performance/Load testing for WCF service and how to identify bottle necks for WCF service hosted within IIS 6.0
#2. Doing Unit Testing for Service, which executes SQL SPs to perform operations. All the implementation for the service methods are provided by a helper library.
Regards,
-
- Accessing controls from another class
by hanuman523
- 5 Replies
- Last post
by Yi-Lun Luo - MSFT
- I'm new to WPF so I apologize if this is a stupid question! I am trying to enumerate the controls of a UserControl from a separate class. Basically, I have a User Control that is displayed in a window. I have a separate class that is instantiated that needs to access that User Control and examine each Control contained within. How would I do this
-
- Custom binding Problem
by Raguvind
- 2 Replies
- Last post
by Raguvind
- Hi
I am currently using the following custom binding settings. it uses server username and password to authenticate the client. Is it possible to plug in my own username password validator
< customBinding >
< binding name = " UserNameBinding " >
< security authenticationMode = " UserNameForCertificate " keyEntropyMode = " ServerEntropy " >
</ securit
-
- Frame Credentials
by Calinoiu Alexandru
- 2 Replies
- Last post
by Calinoiu Alexandru
- can you please give me a suggestion with this scenario.I have a user login screen, where the user types in a domain, username and pass.After that I am loading a frame to navigate to a site that requires authentication" mainFrame.Navigate(new Uri("http://thesite.com/bla/bla"); I will like the frame not to show the authentication box, just to use the credentials from the initial logi
-
- [Data Binding] XmlDataProvider doesn't recognize update
by IsisTheDamned
- 3 Replies
- Last post
by Sam Bent - MSFT
- I use an XmlDataProvider to display an xml file in a treeview. With HierarchicalDataTemplate this can be done with ease. Now I want to manipulate the xml file and this works as long as I just change Attributes of existing xml nodes. If I add a new node the treeview is not udpated. I tried to call refresh on the DataProvider but this collapses the treeview and simply reloads the file from the disk.
-
- Vertical toolbars (XAML bound)
by Fredrik Angrimer
- 3 Replies
- Last post
by Fredrik Angrimer
- I would like to arrange a couple of toolbars vertically. The set of toolbars might change in run-time, depending on the "mode" my app is in. I would prefer to use XAML bindings to acheive this run-time dynamic behaviour. That't the background... so, is it possible to arrange a ToolBar vertically without using ToolBarTray, or is it possible to populate a ToolBarTray with ToolBars using XA
-
- Anyway of debugging include search paths
by DRD32206
- 7 Replies
- Last post
by DRD
- I'm setting the include environment variable:
INCLUDE => c:\program files\microsoft visual studio 9.0\sdk\v2.0\include;c:\program files\microsoft visual studio 9.0\vc\platformsd k\include;c:\program files\microsoft visual studio 9.0\vc\include;c:\program files\microsoft visual studio 9.0\vc\atlmfc\include;
But the compiler isn;t finding headers in the platform sdk (adoid.h, icr
-
- Image to byte array
by OlegSav
- 3 Replies
- Last post
by Robert A. Wlodarczyk - MSFT
- Hi. I found many examples over internet but want to have more opinions on what would be the fastest and the best way to convert images to byte array and back. Some samples would be great! Thanks.
-
- How to test maxRetryCount in ReliableSession?
by Kitty Cute
- 8 Replies
- Last post
by Kitty Cute
- Hi All,
Does anyone know how to test/see maxRetryCount working in ReliableSession How to make request to the service fail on the first, second request.... until it reachs maxRetryCount (I want to see if I can get retries working)
I'm using single computer now, so service and client are on the same machine.
Thanks
-
- Deleting entries of a Many-Many table...
by topcat09
- 14 Replies
- Last post
by Patrick De Block
- I ve got a Content, Matter and ContentMatter table.
When I remove ContentMatter objects the first time around, things seem to work.
Then I'll reinsert from new data into the ContentMatter, and I delete these entries again,
and I'll get this error message...
'Publishing.BusinessLogic.Managers.Test.ContentManagerTest+TestContentManager.CanUpdateContentManager' failed: System.Inva
-
- Early constraint checking
by MagneX
- 5 Replies
- Last post
by Colin Meek
- I have an entity model (made by adding an ADO.NET Entity Data Model) which is loaded from SQL server. I change a property of one of the objects in the object graph and thereby breaks a constraint, in this case an Unique constraint. Exception is not thrown until ObjectContext.SaveChanges().
Is this the desired behaviour Shouldn't the model know about the constraint and generate code to check ri
-
- WCF + REST + JSON
by Nicolasbolbol
- 12 Replies
- Last post
by Eugene Osovetsky
- Hello, I'm interested in the support of POX and JSON messages with WCF in framework 3.5 but I have difficulties for finding documentation and tutorial about it. Is there a SDK or a website dedicated on this new part of WCF Thanks in advance.
-
- How to test maxRetryCount in ReliableSession?
by Kitty Cute
- 8 Replies
- Last post
by Kitty Cute
- Hi All,
Does anyone know how to test/see maxRetryCount working in ReliableSession How to make request to the service fail on the first, second request.... until it reachs maxRetryCount (I want to see if I can get retries working)
I'm using single computer now, so service and client are on the same machine.
Thanks
-
- Dragging elements from a TreeView
by lpx
- 1 Replies
- Last post
by Ben Carter - MSFT
- Hi, I have been reading about drag and droping in WPF. I have seen in Marcelo's blog how to do it on ListBox's and i understanded the process. Now i want to do the same from a TreeView. I would like to find the equivalent solution for the following method, in the context of a TreeView
Code Snippet
private string GetBoundItemFromPoint(ListBox box, Point point) { UIElemen
-
- Crash when creating a DocumentViewer
by Sam Jost
- 1 Replies
- Last post
by Sam Jost
- I got a crash when I try to use a DocumentViewer.
The steps to show this crash are easy (on my comp at least):
In VS create a new project: '.NET Framework 3.0' 'Windows Application (WPF)'.
In Window1.xaml just add a DocumentViewer to the grid. Now the xaml should look like this:
< Window x:Class = " CrashTest1.Window1 "
xmlns = " http://schemas
-
- linq on the EventLog?
by JonM
- 2 Replies
- Last post
by jwooley
- I'm using VS2008 beta2. I've been playing around with link but have not had much success querying the eventlog entries with it. It looks like I can query the eventlog objects but not the actual entries in the objects. Any ideas on this one The event logs are like (Application, Security, System). Each EventLog class holds a collection of Entries. Linq works great at the EventLog class but not on t
-
- LinQ and calling static member of my class
by Vitalyi
- 3 Replies
- Last post
by Joe Albahari
- Hello I am new in LINQ and have this small code
Code Block
NS.Intraweb.Data.dbIntranetDataContext db = new NS.Intraweb.Data.dbIntranetDataContext(); var users = from user in db.UsersInProjects where user.ProjectId == ProjectId select new {
UserName = UserManager.GetUser(user.UserId).Name
}; ddlExecutor.DataSource = users; ddlExecutor.DataBind();