Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
U

Unnikrishnan_S_N

@Unnikrishnan_S_N
About
Posts
9
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Entity Framework Problem
    U Unnikrishnan_S_N

    Hi Kevin, I think you have to associate by providing the foreign key in the relationship.

    Property(c => c.Company).IsRequired().WithMany()
    .HasForeignKey(u => u.CompanyId);

    C# help com question learning workspace

  • WPF Button Image Source
    U Unnikrishnan_S_N

    Hi Kevin, check in Trigger whether Button's IsMouseOver is true and set the property Content with the following values.

    <ControlTemplate.Triggers>
    <Trigger Property="Button.IsMouseOver" Value="True">
    <Setter TargetName="ButtonImage" Property="Content"/> <Setter.Value>
    <StackPanel>
    <Image>
    <Image.Source>
    <BitmapImage UriSource="{Binding RelativeSource={RelativeSource Self}, Path=MouseOverImageSource}" />
    </Image.Source>
    </Image>
    </StackPanel>
    <Setter.Value/>
    </Trigger>
    </ControlTemplate.Triggers>

    WPF csharp wpf help question

  • Best Way To Design This
    U Unnikrishnan_S_N

    I am not aware of Zune, however, I think you can use a Menu control and set its source to a collection ObservableCollection MenuItems. interface IMenuItem { string Caption; Visibility MenuVisibility; ICommand Command;} Bind the above properties in the MenuItem's ItemTemplate or HiearchicalTemplate. Apply DataTrigger on the MenuVisibility property to set visibility. Also you can customize the default menuitem's template style and modify the template as per your requirement. Please refer the below link which will give an idea on how to use the menu item template. http://msdn.microsoft.com/en-us/library/ms752296%28v=vs.85%29[^] http://msdn.microsoft.com/en-us/library/ms747082%28v=vs.85%29.aspx[^]

    WPF question wpf com graphics design

  • SpellChecker
    U Unnikrishnan_S_N

    Hi Murugavel, I think you should be using background thread to do spell checks to overcome UI unresponsiveness. Execute your spellcheck call this.NHunspellTextBoxExtender1.SetSpellCheckEnabled(this.TextEditor, false); in a different thread. http://msdn.microsoft.com/en-us/library/cc221403%28v=vs.95%29.aspx[^]

    C# csharp sales performance help question

  • Required field Validation in WPF
    U Unnikrishnan_S_N

    Hi SelvaKathir, I assume you have implemented the following things for triggering the Error. 1. Viewmodel implements IDataErrorInfo interface. 2. Set ValidationAttribute on each property which has to be validated or Use SelfValidation attribute on the class and override DoValidate. 3. Controls in Xaml are using bindings and ValidatesOnDataErrors=true,NotifyOnValidationError=true 4. Use a textblock to display the error by binding the error content of the target field. "

    WPF wpf csharp help asp-net wcf

  • how to create graph in wpf
    U Unnikrishnan_S_N

    Hi Santy, WPFToolKit provides charting control which is pretty simple to implement. Check the following article in codeproject WPF Toolkit Charting Controls[WPF Toolkit Charting Controls ]

    WPF csharp wpf data-structures tutorial

  • WPF Button Image Source
    U Unnikrishnan_S_N

    Hi Kevin, Just updating the source won't work. You have to update the Button Content. for ex: <BitmapImage UriSource="{Binding RelativeSource={RelativeSource Self}, Path=MouseOverImageSource}" />

    <ControlTemplate.Triggers>
    <Trigger Property="Button.IsMouseOver" Value="True">
    <Setter TargetName="ButtonImage" Property="Content"/> <Setter.Value>
    <StackPanel>
    <BitmapImage UriSource="{Binding RelativeSource={RelativeSource Self}, Path=MouseOverImageSource}" />

    <Setter.Value/>
    </Trigger>
    </ControlTemplate.Triggers>

    I think this should work..

    WPF csharp wpf help question

  • Can I create games for windows 8 with C# and xaml?
    U Unnikrishnan_S_N

    Hi Wasim, Try using XNA framework for game development. Heres a nice game development tutorial using XNA framework goto: http://create.msdn.com/en-US/education/tutorial/2dgame/getting_started[^]

    Visual Studio 2015 & .NET 4.6 csharp wpf game-dev question

  • Not able to Access dll File
    U Unnikrishnan_S_N

    hi, I've a problem in my soap based application. There are some dll files which were downloaded and added in my dll list. Now the problem is there's an error popping out which is related to the security. i even gave FullTrust to the downloaded dll files and still the problem persists.Since the dll file is not accessed theres a problem in database connectivity.The Connection status is alwalys closed and im not able to Open it. The Full Trust for the files were given using .Net Configuration 1.1 and even caspol was used. if anyone has got the solution then do send me the reply. Exception Occurred: Additional information: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.TypeInitializationException: The type initializer for "Microsoft.Practices.EnterpriseLibrary.Data.Instrumentation.DataConnectionFailedEvent" threw an exception. ---> System.Security.SecurityException: Requested registry access is not allowed. at Microsoft.Win32.RegistryKey.OpenSubKey(String name, Boolean writable) at System.Diagnostics.EventLog.CreateEventSource(String source, String logName, String machineName, Boolean useMutex) at System.Diagnostics.EventLog.CreateEventSource(String source, String logName, String machineName) at Microsoft.Practices.EnterpriseLibrary.Common.Instrumentation.PerformanceCounterInstances.ReportCounterFailure(String message) at Microsoft.Practices.EnterpriseLibrary.Common.Instrumentation.PerformanceCounterInstances..ctor(String categoryName, String counterName, Boolean createNewInstance) at Microsoft.Practices.EnterpriseLibrary.Common.Instrumentation.InstrumentedEvent.AddPerformanceCounter(String category, String[] counterNames, Boolean createNewInstance) at Microsoft.Practices.EnterpriseLibrary.Common.Instrumentation.InstrumentedEvent.Initialize(String counterCategory, String[] counterNames, Boolean createNewInstance, String eventLogSource, EventLogIdentifier[] eventIds) at Microsoft.Practices.EnterpriseLibrary.Common.Instrumentation.InstrumentedEvent..ctor(String counterCategory, String[] counterNames, Boolean createNewInstance, String eventLogSource, EventLogIdentifier[] eventIds) at Microsoft.Practices.EnterpriseLibrary.Data.Instrumentation.DataServiceEvent..ctor(String[] counterNames, EventLogIdentifier[] eventLogIds) at Microsoft.Practices.EnterpriseLibrary.Data.Instrumentation.DataConnectionFailedEvent..ctor(String[] counterNames, EventLogIdentifier[] eventLogIDs) at Microsoft.Practices.EnterpriseLibrary.

    C# help csharp database wcf sysadmin
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups