Hi,
Just want to put these issues up while using VWG. And what I did that seems to solve it.
Issue 1
After installation of the VWG with sources, in existing project, the designer is suddenly broken, all forms that was created in designer is having an error page instead. Error message: "Unable to cast xxx object to zzzz". Seems like random error. Some time I just get blank form but all controls are still there. And the application still works.
What seems to be the solution -
Follow the tutorial steps here. For existing project with older VWG version, make sure the current references in your project is refer to the Gizmox.WebGUI.Forms.References.
Note: Delete the existing references in your project's bin folder, then refer the Gizmox-references dll files. If you did not delete the existing reference file, VS 2008 seems to keep refering back to the current project bin folder even when I choose Gizmox-references dll file.
Issue 2
The property grid went blank at random. Once it went blank, if select the control using the property grid dropdownlist of control. it will cause VS to close. restart will fix it.
What I did to avoid restarting.
Simply Ctrl+S to save the file. Close it. Open another form in designer (not sure if the same form will do). Then, the property grid is filled up again. If it didn't, last option is to restart. Hope this might help cut down the restarting time until someone find out the main cause of this problem.
Issue 3
Sometime when I select an existing control on the form and deletes it using "Delete" key. The controls is actually left in the Form.designer.vb. Is this a known issue?
I have to go into the designer to actually clean out the deleted controls. It is not a major thing but kinda annoying to make sure it's deleted.
Anyway, hopefully this thread might help.
Cheers.