Setting secure cookies in WPF WebBrowser control
I am using the WPF WebBrowser control and I need to set some cookies before I can navigate to the URL. Currently, I am doing this using PInvoke: [DllImport("wininet.dll", CharSet = CharSet.Auto,...
View Articlesave in different tables in the database based on the selection of a combobox
I have to create a generic viewmodel passing an entity with a one to many relationship. I'll explain: My WIndows:<Window x:Class="Invoice_Example_Brux.MainWindow"...
View Articlewpf mvvm save in different table based on choose combobox
hello to all, I could not find a suitable solution to my final goal. are in a scenery MVVM. I have a window (the one for inserting bills) in this window is a combobox where I can choose the types of...
View Articleregionmanager.requestnavigate not working
Hi,Using MVVM with Prism I have a little problem.Executing the LoadContentCommandExecute() form the view navigation works fine.Executing the LoadContentCommandExecute() as a reaction to a event the...
View ArticleHow to set size of border displayed during MouseOver and Selected event in...
I've created a horizontal ListBox by creating a WPF ListBox whose ItemsPanel is a StackPanel with a horizontal orientation. The ListBox is told to use for its ItemTempate a DataTempate that had been...
View ArticleGrid being the wrong size when being filled with DynamicResource
Im currently building an app, and I wanted it to be multilingual. As such I put all the strings in a StringResources.xaml file (for english texts) that contain entries such as the...
View ArticleWPF WebBrowser issue while rendering a Web Site
Hi,I created a application in WPF, in which used WebBrowser control to open web sites in application.somehow, webbrowser control is not rendering contents properly(for example, some images in a web...
View ArticleDispatcher error when moving from .net 4 to .net 4.5
I am new to posting forum questions so please bear with me. I have inherited a WPF application with a major issue. So below is the code and the error i am recieiving: public void Notify()...
View ArticlePrism MVVM Application - Radio Buttons Scope
I'm working on a WPF application using Prism - MVVM. One of my views is AddPerson, and there I have 3 radio buttons associated with the same group: Gender. When I click on the menu- Add Person, a view...
View ArticleHow to use third party controls in VS 2010 ?
Hi All, How to use Third party control use vs 2010 . third party control mins Like that TELERIK Controls (Button , listbox etc....) and how to modified this...
View ArticlePrinting and Data Visualization
Hey!I am trying to print a page from c# that contains some infographics and probably charts. As of now I create pages using FixedDocument and FixedPage, designating the coordinates of every single...
View ArticleWPF - selection changed on tabItem
Hi all, I cant find selectionChanged in tabItem .. what should I use? ... so If I click on tabItem header ... like in picture .. for eample .. the messageBox appearthanks
View ArticleWeired WPF Crash on Touchscreen Monitor
Hi AllI have a simple WPF application with Black background and a label that says Hello World.When I run this on a normal monitor it works fine. When I run this on a Touch screen monitor it works...
View ArticleWPF - Deploy UserControl with Design-Time Assembly
I hava a WPF User Control Library (for example: myControls.dll) and a relative Design-Time assembly (myControls.Design.dll). I want to relase these libraries for 3rd party developments. How can I...
View ArticleUse C# icon for WPF
How does one attach an existing icon, sample.ico, to WPF? I tried placing sample.ico into the same subdir as the .xlam files, then adding <Window Icon="sample.ico"> to MainWindow.xaml =>...
View Articlemove canvas with animation from left to right problem
Dim AnimationDefinitionLeft As New Animation.DoubleAnimation(-100, 100, New Duration(TimeSpan.FromMilliseconds(Duration)), Animation.FillBehavior.Stop) Dim ID3 As String = CreateNewID()...
View ArticleWPF DataGrid TemplateColumn does not go into edit mode when tabbed to first...
I am using a TemplateColumn with the .Net4.0 DataGrid. When I tab thru the other columns when in edit mode the cells go right into edit mode, but when I hit the cell with the TemplateColumn I have to...
View ArticleCalling all WPF users! May TechNet Gurus announced!
The results for May's TechNet Guru competition have been posted!http://blogs.technet.com/b/wikininjas/archive/2014/01/16/technet-guru-awards-december-2013.aspxCongratulations to all our new Gurus for...
View ArticlePopup for Listview
Goal: When you have the cursor in one of of the listview's row, a pop up, with text information, should display.If you select a new row in the listview a new text information should display.Problem:...
View ArticleCannot set Name attribute value 'Tab1' on element 'MyTabItem'. 'MyTabItem' is...
Hello,I'm using WPF RC1 and I'm trying to create a set of custom control with template to skin the appearance of the TabControl. When I'm trying to use those controls in my application, I'm getting the...
View Article