Forum  Core :: SDK (Vi...  Developing the ...  Design issue with VWG form
Previous Previous
 
Next Next
New Post 5/29/2009 8:54 AM
  samarendraswain
3 posts
No Ranking


Design issue with VWG form 

For last 2-3 days days we are facing a design problem in the VWG form.Actually we are using around 20-30 controls in a form and continuing development ,At some point of time after working for couple of hours on that form , we see that the controls are distorted in the form and after checking we find that the location(X,Y) property of some of the controls become -ve ,i.e those controls are not visible in the form.

The development is on XP box with 1 GB RAM and having Visual Studio 2008 with Visual WebGUI 6.3 version.

Can someone help ?

Thanks in advance.

 

Samarendra Swain

 

 

 

 
New Post 6/3/2009 9:49 AM
  ori.cohen
4383 posts
1st Level Poster




Re: Design issue with VWG form 

Hello Samarendra,

This actually sounds like an MS Visual Studio bug.
When this happens, I guess that closing Visual Studio and reopening it will fix things for you.

Make sure you constantly have your changes saved, so if this happens you would not loose too much by closing MS Visual Studio without saving.

If this really bothers you, you can run a repair installation for your MS Visual Studio and then reinstall service pack 1 for it.

Regards,

Ori Cohen
Support Manager, the Visual WebGui team

 
New Post 6/3/2009 10:49 AM
  rdhatch
635 posts
1st Level Poster




Re: Design issue with VWG form 

This happens to me too in VS 2008.  I've lost many controls because of this issue.

Many times, I haven't realized it moved the Location of my controls until its too late - and I've already saved.  I believe this can also happen when I'm in code-view, while the designer is open.  So I can constantly be saving my code, but it will also be saving the Design, and I can't see if its screwed up or not.

Very frustrating.  Here's the workaround I've used so far:  never add controls directly to the Form/UserControl.  Put everything inside a Panel-type container, and it will only move that one Panel.  So you can simply readjust the Panel Location, and all your controls will be back.

Does anyone have a real fix for this issue?

Ryan


Ryan D. Hatch, VWG MVP
GeniusCode.net | VWG Community Frameworks | VWG Wiki
 
New Post 6/5/2009 7:34 PM
  palli
11189 posts
1st Level Poster




Re: Design issue with VWG form 

Hi guys,

That's a nice tip Ryan, thanks!

Would also be nice to hear of this is happening for someone in the WinForms designer too ?

Anyway, I am placing my bets on that this will be "automatically" fixed at the same time the issue with the missing property sheet will be fixed.

Palli

 

 


Páll Björnsson - Visual WebGui support team - Email: support@visualwebgui.com
 
New Post 6/7/2009 12:12 AM
  jayhobbs
1644 posts
1st Level Poster




Re: Design issue with VWG form 

Hi

It's not just controls also the form positions get screwed up.

The form opens and half of it is off the screen.

Now I always define the form position and open  at the same place

m_Form.Left = Form_Left
m_Form.Top = Form_Top
m_Form.Show()

Left is easy to find by getting the width of controls

Top is a guesstimate using Form.Top (from Mainform) and adding a number like 140

I have both controls and forms screwed up using VWG but never in Winforms

Jay

 

 
Previous Previous
 
Next Next
  Forum  Core :: SDK (Vi...  Developing the ...  Design issue with VWG form
Azure banner
.NET Web, Cloud and Mobile application delivery platform | Sitemap | Terms of Use | Privacy Statement | Copyright © 2005-2011 Visual WebGui®       Visual WebGui weblog on ASP.NET Visual WebGui Group on LinkedIn Visual WebGui updates on Twitter Visual WebGui Page on Facebook Visual WebGui YouTube Channel Visual WebGui Platform News RSS