Thanks Nic and Tiago,
it´s logged as WJ-7535.
Best regards
Frank
Fixed in 1.2.45.0
You are right. You can’t make the column invisible no matter what. I also hide the ID column all the time.
Hi Nic,
Thanks. Two additional pointers:
The reason it’s done like this now, with the forced context, is to prevent confusion with calls without a context and calls with the context causing the call to fail silently when the context has not been restored, and the callback actions ensures that the thread context is cleaned up when exiting preventing any possible cross context issue (it’s why originally we had the using pattern).
Best,
Luca
Hi Tiago,
Yes it’s HttpForbiddenHandler, looks like it wasn’t updated. I can see the correct one in SVN but the wrong one in deployment. Will update, thanks.
/Luca
Switching to the new Application.Update pattern documented by Frank solved my problem.
I now call like this:
Application.Update(this, () => { if (Application.Browser.Features["notifications"] == true) { //Do something here }} Just thought I would share in case anyone else is stuck in the same way. HTH Nic
Update Classic-2 theme with active state
Hi Luca,
I understand now that it’s VS stuff. As long as Wisej works, users would be fine and I considered this thread as closed.
Thanks a lot.
Hi Cris,
We don’t do anything special with the templates. The installer simply copies the files in the standard template location, under the user folder. Everything else is VS.
There is a second way to install templates, not recommended by MS, which is to copy them to a similar template folder located in the VS installation path. The end result is the same without the security warning. The problem for the installer is to determine where VS is installed in case it’s not in the default location.
Same goes for the toolbox. Older versions of VS required a poorly documented macro to add the tools. Since VS2010 they added a toolbox installer that reads the files from the registry. Any installer simply adds registry entries and VS breaks the rest.
Trying to control VS with alternative installation systems creates more problems. So we are sticking to the plain vanilla approach.
VS can be a PITA, until you try to use Eclipse! 🙂
Best,
Luca
Hi Luca,
Thanks for your help and feel sorry for spoiling your weekend.
It worked but for curiosity sake, I restored my system backup, removed Wisej and deleted all traces of Wisej folder to have a clean start. I then reinstall Wisej and you are correct, that templates are installed in user’s document folder and nothing had changed in the installer. When I opened VS, and clicked on Wisej to create a new project, project templates are then automatically copied into AppData folder. Item templates are also copied to AppData folder when you click Add -> New Item.
Having said that, there are now two places in my machine where project templates and item templates are stored. The templates in AppData are the one being used everytime I create a project and add an item.
Just wondering now why I have two copies of the templates and I do not know if this is a VS or Wisej strategy.
Best.
We have just uploaded a new build (1.2.45) including the following list of changes/enhancements/fixes:
Breaking Changes
Application.Update(context, action = null) has been finalized requiring the context (not optional) and with an optional method. Any Wisej component can be used as the context, including the new Application.Current property.
To call a method in context and ensuring that the context is restored and cleared, use:
Application.Update(this, () => {
// Code or calls from this location will find the Application reference fully restored
// for the current thread.
});
Or simply use Application.Update(this) or Application.Update(app) where app can be a saved reference to Application.Current.
Enhancements
– General UI speed improvements.
– DGV editing state and icon added to all themes. (Please redownload theme files, too)
– DGV keyboard navigation and cell validation.
– Added <add name=”json” verb=”*” path=”*.json” type=”System.Web.HttpForbiddenHandler” /> to Web.config under <handlers> in all project templates to prevent IIS from service the json configuration files.
| Item | Type | Priority | Severity | Title | Resolution |
| WJ-7284 | Bug | Low | Trivial | Rows in a DataGridView that are added with AllowUserToAddRows miss the new row icon | Complete |
| WJ-7341 | Bug | Low | Trivial | DGV: Space does not work when editing a cell | Complete |
| WJ-7445 | Enhancement | Low | Trivial | Add the Tools property to DGV cells that use editors that support the Tools. | Complete |
| WJ-7521 | Regression | Low | Trivial | DGV Row Header doesn’t show the focused row indicator anymore. | Complete |
| WJ-7522 | Enhancement | Low | Trivial | Support BackgroundImage in DGV column headers and any DataGridViewCellStyle. | Complete |
| WJ-7523 | Bug | Low | Major | Entering edit mode in a new row in a DGV control always adds a new row when clicking outside of the cell without having typed anything. |
Complete |
Cris,
please use latest build (1.2.45) to verify fixes.
Best regards
Frank
Thank you!
The updated sample has been uploaded.
Best,
Luca
Hi Cris,
Looks like a VS template cache issue. The installer didn’t change the location, it’s always in the current user’s folder: C:\Users\<User Name>\Documents\Visual Studio 2015\Templates\ProjectTemplates. That’s the default installation location for templates.
Can you try
devenv /installvstemplates
It needs to run from the command prompt with the VS path as Administrator. VS 2015 is here:
C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE>
It should clear and reinstall the valid templates only.
Let me know.
/Luca
Thanks. Uploaded the update.
Update Classic-2 theme with active state
Thanks Luca.
Yep, the error is in the preview javascript file, not updated in time to use .id instead of .name for the tool items.
I have attached the ThemeBuilder exe with the correct preview scripts. It will be in the beta update this evening.
Wisej has taken control of your pc camera. 🙂
Wordpress and other CMS read the gravatar from gravatar.com, which in turn probably loads them from various providers. Your gravatar is the md5 hash of your email address:
http://2.gravatar.com/avatar/ef0ce49f10322041268292d4c74952ba”
https://en.gravatar.com/site/implement/hash/
If you set up a profile image in gmail it will be used by all sites reading gravatars.
I don’t know why I have my picture here. There is no registration at all. I use my Gmail address on all comments. I guess my pivture comes my Gmail account..
