For LOB applications it is important that the users have their preferences saved (and later - loaded) once they have them set.
Telerik is now addressing this issue by unveiling awesome Persistance framework for the Silverlight Controls.
More information can in the
Telerik Presentation Framework blogpost by the Silverlight Division.
Ofcourse it was possible to achieve that before, but it tooks way more plumbing than now.
Currently the PersistenceManager class will take all the plumbing itself (probably you may need to implement another provider if you want to store the UI information in place other than the IsolatedStorage but still), letting you focus on the really important, application specific problems instead on plumbing...
It is really worthy to go with Telerik :).
All the stuff that bothers software developer in his everyday tasks.
Jun 28, 2011
Visual Studio AddIn - never put dots in a command.
I was following an article on how to create a command and add it to the Code Window context menu, it was going really well until some point.
I ran the code and Visual Studio was crying with E_INVALID_ARGS error on the
this._applicationObject.DTE.Commands.AddNamedCommand
This one is widelly used and pretty standard method so I thought the problem is somewhere in my code.
I realized that almost all the parameters I am passing to this method are pretty common as well so the problem must be at ....
Well, the command name I used was containing dots, that's why the error.
If you receive this message, please check the command name for dots (the second parameter you are passing to this method).
Since Visual Studio and other addin types seem to be working with very similar framework (the so called "extensibillity framework"), I suspect this rule is also applicable for other types of addins such as Outlook, Excel, Word, etc.
I ran the code and Visual Studio was crying with E_INVALID_ARGS error on the
this._applicationObject.DTE.Commands.AddNamedCommand
This one is widelly used and pretty standard method so I thought the problem is somewhere in my code.
I realized that almost all the parameters I am passing to this method are pretty common as well so the problem must be at ....
Well, the command name I used was containing dots, that's why the error.
If you receive this message, please check the command name for dots (the second parameter you are passing to this method).
Since Visual Studio and other addin types seem to be working with very similar framework (the so called "extensibillity framework"), I suspect this rule is also applicable for other types of addins such as Outlook, Excel, Word, etc.
Етикети:
C#,
COM,
Visual Studio,
Visual Studio Add-Ins
WebForm_InitCallback is not defined error (and some resolutions)
I was happilly working while all the sudden I started to get this message.
It took some googlin' in order to understand what is going on.
It was because my development server date was wrong (few months in the past).
Synchronizing it resolved the issue.
Also I read you may experience this problem in case you are changing the current thread culture.
Hope this helps ...
It took some googlin' in order to understand what is going on.
It was because my development server date was wrong (few months in the past).
Synchronizing it resolved the issue.
Also I read you may experience this problem in case you are changing the current thread culture.
Hope this helps ...
Subscribe to:
Posts (Atom)