|
hello , I am looking for WPF partner to join me to build very Cool Desktop App , I have some idea and i think this app should be very Successful ,
I have 4 software Contain all the WPF Controls We need ,
Telerik
Xceed
Infragistics
ComponentArt
all this software Full and with source ,
if you want join me please Contact me so that we can talk about my ideas and what kind of app i am talking about
avisynth1402@gmail.com
|
|
|
|
|
In switching to Silverlight 4 for my solution, I also upgraded to the April,2010 release of the toolkit and replaced the System.Windows.Controls.Toolkit.dll in my Debug folder. But I'm still getting two errors when I try to build the solution:
C:\My Source 2010\PHDWebsite\PHDWebsite\obj\Debug\MainPage.g.i.cs(62,42): error CS0234: The type or namespace name 'DockPanel' does not exist in the namespace 'System.Windows.Controls' (are you missing an assembly reference?)
I have this declaration in MainPage.xaml:
xmlns:controlsToolkit="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Toolkit"
The second is just a warning and is related:
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1360,9): warning MSB3245: Could not resolve this reference. Could not locate the assembly "System.Windows.Controls.Toolkit, Version=2.0.5.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.
I've checked the System.Windows.Controls.Toolkit.dll and it does contain DockPanel and so does the April toolkit documentation.
What do I have to do to resolve this issue that currently has me dead in the water?
|
|
|
|
|
Hi fjparisIII,
I will suggest you to remove the reference of the toolkit assembly from your project. Then add the reference again after saving the project file.
Build the solution and check if it solves your problem. Please update me what happened with that.
Don't forget to Click on [Vote] and [Good Answer] on the posts that helped you.
Regards - Kunal Chowdhury | Software Developer | Chennai | India | My Blog | My Tweets | Silverlight Tutorial
|
|
|
|
|
I just got through replying to myself saying I found the exact same solution you suggested! Sorry for not giving you credit but I think our posts crossed!
|
|
|
|
|
Hi fjparisIII,
It's good that your problem solved.
Don't forget to Click on [Vote] and [Good Answer] on the posts that helped you.
Regards - Kunal Chowdhury | Software Developer | Chennai | India | My Blog | My Tweets | Silverlight Tutorial
|
|
|
|
|
Mark your original message as solved then.
Edit your message, and at the end of the subject field, change "[modified]" to "[SOLVED]", and includ the solution at the end of your message, something like this:
SOLUTION -----------------<br />
<br />
I di this or that to solve the problem.
.45 ACP - because shooting twice is just silly ----- "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001
|
|
|
|
|
Well, over the last year I've got 50 other questions I marked SOLVED on a reply to the post that solved it. Do you want me to go back and change all those? How about if I just do what you're requesting from now on?
|
|
|
|
|
While waiting for a reply from somebody I continued to try to find the solution. The solution was that my project reference was still pointing to my 3.0 toolkit. Deleted it and added the reference to the 4.0 toolkit.
|
|
|
|
|
|
Unsure if anyone will be able to help me here. I have posted in the Syncfusion forums, but they take a while to respond, so I thought I would try my luck here and see if I can get some direction. I am using VS2010 WPF with .Net 4. I also have Syncfusion installed and using their ribbonbar. Now this is going to be an admin tool, where I will have multiple utilities within. I want to use a RibbonBar with a Docking manager below. Now what I am trying to do is have each RibbonTab in the RibbonBar have its own seperate Docking Manager. Then each of my friends will be able to work on their specific tab. Now I was able to write some C# code that captured the tab click event and handled the loading of the different objects into the various docking panes, but this doesn't happen at design time. I was wondering if there is any way I can get this to work at design time, perhaps by using XAML. If anyone has any info that may help I woul love to hear it. I am really new to WPF, so it has taken some getting used to, but I am enjoyin it and perhaps even a kick in the right direction would be helpful. Thanks!
Dan
|
|
|
|
|
this is my code..
public partial class App : Application
{
protected override void OnStartup(StartupEventArgs e)
{
base.OnStartup(e);
MainWindow window = new MainWindow();
var viewModel = new AllConversationsViewModel();
MainWindow.DataContext = viewModel;
window.Show();
}
I get 2 'MainWindow's appearing.
One with databindings one without.
Any suggestions as to how to rid myself of the extra, unwanted, window?
thanks.
|
|
|
|
|
Sounds to me like you have something set in the StartupUri in the App.xaml file.
|
|
|
|
|
GREAT!
thank you very much.
I hate these simple things. was looking for some complex answer..
anyway. it worked.
thanks.
|
|
|
|
|
What's in your App.xaml? Do you have a StartupUri declared there? If so, remove it.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
|
I opened up a reply to message then got distracted by a client phone call. By the time I posted my answer, Jammer had posted his, so it's good.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
Hello All,
I am very much new to .Net. I am trying to load a project, but it is showing up an error message, like
" The Project file 'D:\...\...\Silverlight\....Silverlight.csproj' can not be opened. The project type is not supported by this installation. "
Can anyone tell why I am getting this error.
I have installed Microsoft visual Studio 2008, Silverlight 3 Toolkit November 2009.
Thanks in Advance...
|
|
|
|
|
|
Thanks for the reply..
It worked..
|
|
|
|
|
I'm in a WPF app, and I want to add controls to a grid at runtime. I have:
private void LoadView(ViewModelBase View)
{
Type ViewType = View.GetType();
switch (ViewType.Name.ToLower())
{
case "groupviewmodel":
CurrentView = new GroupViewModel();
CurrentControl = new crlGroupView();
break;
case "ruleviewmodel":
CurrentView = new RuleViewModel();
CurrentControl = new crlRuleTree();
break;
}
CurrentControl.DataContext = CurrentView;
grdMain.Children.Add(CurrentControl);
Grid.SetRow(CurrentControl, 1);
Grid.SetColumn(CurrentControl, 0);
grdMain.Children.Add(CurrentControl);
}
The control does not appear. Anyone know what's wrong?
Everything makes sense in someone's mind
|
|
|
|
|
Hi,
don't know, if this one's still open, but if so, I can give you two hints:
1. your code isn't working. You can't add one control two times (results in an ArgumentException)
2. if you replace the beginning of your method (I mean everything until but not including "Grid.SetRow(...") with
Button CurrentControl = new Button();
CurrentControl.Content = "Hello World";
the Button shows up as expected and everything here is fine. The error your seeking seems to lurk in the code not provided.
Cheers
Jürgen
|
|
|
|
|
There are a lot of articles out there about MVVM, and most of them are so incredibly vague that they border on uselessness.
After several Silverlight projects, I realized that there is no MVVM on Silverlight!
Here's why:
There is no Model in a Silverlight app. The Model exists in the Service layer (i.e. your Asp.NET project that feeds or processes web service calls from your Silverlight app). There are no business objects (i.e. models) in a Silverlight app!
Really what you have in your Silverlight app, are DTOs (Domain Transfer Objects) which you receive from web service calls. Those are then mapped to ViewModels, and displayed by the View. In addition, you probably have service layer proxies, and perhaps mediator classes (i.e. Controllers) that wire up the ViewModels, Views, and Service layer proxies.
The pattern should be renamed DCVVM: DTO - Controller - View - ViewModel. Or rearrange the letters as you see fit
Just my little rant of the day...
modified 26-Apr-21 21:01pm.
|
|
|
|
|
aemami99 wrote: There is no Model in a Silverlight app. The Model exists in the Service layer (i.e. your Asp.NET project that feeds or processes web service calls from your Silverlight app). There are no business objects (i.e. models) in a Silverlight app!
True.
However, the model is from the UI perspective - tmrw, you could change your Asp.net with a WCF one and hopefully, the SL model will not change.
Just my two cents....
modified on Monday, May 10, 2010 10:47 PM
|
|
|
|
|
Hello,
I’m about to develop an application, I have almost everything sorted out but there is one thing I really can’t analyze and this is why I decided to ask it here, CodeProject is a huge source of knowledge (not always though :P), and I hope someone will enlighten me, so here it is.
I will simplify the problem since it would take a considerable time to explain it fully.
I need to display a surface (on the screen) where I will drag objects over it. Objects will be allowed on almost all of the surface and only some parts will block dragging. Since almost all of the surface is an ‘available zone’ I can’t imagine analyzing each pixel and see if I still can place my object there for each movement, that would be a performance killer (keep in mind that I will display approximately 100 objects or more, it could grow up to 500, I don’t think more than that). I will start from there, I don’t want to make early specifications so if anyone is interested in helping or just giving an opinion, I’d be glad. I will just say a couple things, I was planning to do this using Silverlight 4 and I saw a ‘Collision detection algorithm’ which may be useful.
Thanks.
|
|
|
|
|
Without knowing what the rest of your architecture is, I'd suggest that all you need do is position panels at the position that you want to disallow the drop and use those to determine the applicability of the operation.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|