|
I'll try that, and yes you are absolutely correct. I'm actually using an Actipro WPF Ribbon bar with buttons that select the functions.
|
|
|
|
|
I use ActiPro Ribbon too... haven't had any problems with it. They are probably the most feature complete ribbon out there IMHO and they are really quick on support.
|
|
|
|
|
Solved this, was the order in which I was collapsing and Viewing the grids that was blocking my mouse from selecting the textblocks.
|
|
|
|
|
Hi All,
As the title says really, when in PRISM are each of the modules in the module catalog registered with the container (in my case Castle). And can I override it?
Basically the problem I have is that when doing this for example:
this.ModuleCatalog.AddModule(AvailableApplicationModules.SampleModule);
At some point that module is then registered with the container. Now in castle atleast when doing this if no Name is specified (which it isn't) then the default AssemblyQualifiedName of the implementation is used. This includes the version number and is causing problems on the build server when it will always be dynamic. So my plan is the set the .Name property when the module is registered with the container so that I can retrieve the module by using:
this.windsorContainer.Resolve<object>(string Key)
But I can't find the part were the modules are registered with the container. I'm presuming that PRISM itself takes care of this so I guess I need to override something.
modified 5-Oct-11 4:31am.
|
|
|
|
|
Prism is open source. So you can probably look at the source code itself to get a better idea.
You can use the IModuleCatalog interface if you want to implement something on your own.
Too much of heaven can bring you underground
Heaven can always turn around
Too much of heaven, our life is all hell bound
Heaven, the kill that makes no sound
|
|
|
|
|
Hi,
I have the folling code! I wonder if anybody knows how to highlight the text of a .xps file in WPF?
Thank You
I have the following code! I wonder if anybody knows how to highlight the text of an xps file in wpf?
thanks
using System.Windows.Xps.Packaging;
private void Window_Loaded(object sender, RoutedEventArgs e)
{
var xpsDocument = new XpsDocument(@"\MyProject;component/Docs/Mydocument.xps", FileAccess.Read);
DocumentViewer.Document = xpsDocument.GetFixedDocumentSequence();
}
|
|
|
|
|
What text do you want to highlight? All of the text? A specific paragraph?
|
|
|
|
|
Hello,
Can anyone tell me how to access each row of datagrid without using datagrid_LoadingRow event?
Thanks..
|
|
|
|
|
What do you want to do with it? Normally, I create my data and store it in a collection which I assign to the ItemsSource through binding. If I need to manipulate the data, I work on the original data and not on the DataGrid .
|
|
|
|
|
Hi All,
I recently started working on a new project. One of my first tasks was to make the modules load dynamically. Basically the client would download the shell xap then when they required another module this modules xap file would be downloaded. Doing this doesn't force the user to download one massive xap file and therefore improve performance. I have this working without too much trouble however the problem I have is that once on the client I have no reference to the xap file that I have downloaded unless I hard code something. So at the moment I have solved this by creating an AvailableApplicationModule.shared.cs file which contains a list of all dynamic modules in the solution, then in the bootstrapper these are loaded into the module catalog. E.g.
public static ApplicationModuleInfo SampleModule
{
get
{
return new ApplicationModuleInfo
{
ModuleName = "SampleModule",
ModuleType = GetModuleTypeForModule("SampleModule", "SampleModuleModule"),
InitializationMode = InitializationMode.OnDemand,
Ref = "Example.UI.SampleModule.xap"
};
}
}
The GetModuleTypeForModule will return the Fully qualified name like:
Example.UI.SampleModule.SampleModuleModule, Example.UI.SampleModule, Version=1.1.0.0, Culture=neutral, PublicKeyToken=537c3450b3658434
Then in the client tier I can access the module catalog get the typename and then create an instance of this ModuleType which will then initialise itself. Unfortunatly by doing this I have to specify a build version.
Now this is fine on a local machine as I can just override the build targets to force the version to 1.1.0.0 however once I commit this to TFS the actual build number will be used. Since I have to construct this fully qualified name in code it'll break as instead of getting 1.1.0.0 it'll be something like 1.0.15.1345. Which it won't be able to find as I need to specify the version number in code.
I guess this is a common problem so I'm just looking for some adivce on how you guys handle this?
Not sure if this is relevant but I'm using PRISM and Castle as the container.
Thanks
Phil
|
|
|
|
|
Hello,
Im writing an application which will be a host for different plug in DLL's.
I think im want to use the MAF model.
My application will have some set of asynchronous events.
I want the different plug in DLL's will have the option to "sign" on some of thoose events(maybe none) and execute some calback function when the event fires.
So far i already know that the API's that the plug in will implement are defined in abstract class that derives from IContract.
But what is the way to define the events,events handlers and some costum variables that have to be serializable.
Thanks.
|
|
|
|
|
Rather than using MAF, you might want to take a look at using MEF. This is a much simpler beast to use altogether, and is really cool to develop against.
|
|
|
|
|
Hello,
Ok does MEF give me the options to do what i listed above?
|
|
|
|
|
|
Hi,
How to navigate between xaml page from aspx page.
eg:
I have two XAML page A.XAML and B.XAML. In the .web project, i have an ASPX page with two linkbutton, when i click the first linkbutton i need to open A.XAML, when click on second linkbutton i need to open B.XAML
Thankyou
YPKI
|
|
|
|
|
yesu prakash wrote: I have two XAML page A.XAML and B.XAML. In the .web project, i have an ASPX page with two linkbutton, when i click the first linkbutton i need to open A.XAML, when click on second linkbutton i need to open B.XAML
If you are using Silverlight, then you will need to load the xap file that is built using the two xamls.
Once the xap file is loaded, you can choose which xaml page to load in your web page (via Silverlight code).
Too much of heaven can bring you underground
Heaven can always turn around
Too much of heaven, our life is all hell bound
Heaven, the kill that makes no sound
|
|
|
|
|
Hello
Help me please
I want create game on windows phone game XNA
which about quiz
the fist screen I want tow option first for picture second for word
the player choose one quiz when the player choose picture will appear picture and the player name the picture on text box for example, if the picture about apple the player write apple if correct will give player 5 point if not will loose 5 point
I do not know how I can start
just show me how can I start
Please I need it
Help me T_T
Thank you
|
|
|
|
|
|
Thank you
I read the example but I cannot do my quiz
if you help me just how can I start
I thank you very much
please just show me
best regards
|
|
|
|
|
That article shows you how you can use XNA on a Windows 7 phone, if you don't understand it, then I'm sorry to say you have to forget about this and go back to basics.
No I can't just show you how to implement your requirements, if you don't want to do your own work then you're on the wrong site. There are plenty of sites out there where you can PAY developers to create your software.
I'm offering my help and advise on this site, because I like doing that, but that doesn't mean I'm gonna do charity work for people.
My number one dev tool? Google
|
|
|
|
|
Anyway Thank you for comment
|
|
|
|
|
Well done for this reply. That was a mature and considered response, and I'd like to welcome you to Code Project.
|
|
|
|
|
Hello,
I am searching for inspiration ...
I'm currently building an business application using Silverlight.
To be honest, this is my first "proper" UI project in a long time, and I have had to do a lot of technology catchup - EF, MVVM, Prism, MEF/Unity - the list is endless - and I just hope that I'm on the right track ...
Part of the requirment is to enable the administrator to add custom defined fields the core entities within the application. these fields will change between customers - so it needs to be data driven. For example, a particular customer may have a requirement for certain bespoke finanacial fields on a Order header.
these custom fields would then be rendered at runtime into the SL page - and support all of the usual validation rules.
The sort of functionality I'm looking for is similar to the custom lists you get in sharepoint. I had considered using (or integrating into) sharepoint - but then this give me an added dependency that I did not want.
I am capabable of developing this whole framework myself, but before I dive-in, I thought I would ask to wider community if anyone is aware of any similar framework that would offer all (or part) of the functionality that I'm looking for.
Regards,
Gary.
|
|
|
|
|
Have you considered looking into Visual Studio Lightswitch? It sounds like it could be exactly what you want. See here[^].
|
|
|
|
|
I am using VS2008 and Silverlight 3. In a data form, I want to put some validation (like name can't be blank, age can't be <= 0)against save button. Error message will be display in a validation summary and textbox will marked by red.
Please help me.
|
|
|
|