Forum  Commercial Foru...  Commercial Foru...  Resize event does not fire in UserControls VWG 6.4
Previous Previous
 
Next Next
New Post 12/10/2010 12:56 AM
  fsegovia
61 posts
www.presenceco.com
No Ranking


Resize event does not fire in UserControls VWG 6.4 

Hello again,

I have a probem with the Resize event in UserControls, because it's not been fired. It fires only when I manually refresh the page from the browser. That worked well in 6.3.15.

I'm using it to set the size of a panel that is contained by a UserControl. This is because the Dock=Fill, or Top, or Bottom doesnt work well with minimum and maximum sizes, so I'm doing programatically. Can you check out whats going on?

I sent to you a sample application.

Regards,

Scott 

PD. I posted another thread about this but for panels and was solved, this is for UserControls.

 
New Post 12/10/2010 11:32 AM
  palli
14324 posts
1st Level Poster




Re: Resize event does not fire in UserControls VWG 6.4 

Hi Scott,

Thanks for the sample. Please make sure you register to the Resize event of the UserControl in your application, as in the sample you emailed, there is no Resize event registered. Registering to UserControl1.Resize on your form, and the event fires as it should.

I'm therefore not able to reproduce this problem in 6.4.0 Release.

Palli

 


Páll Björnsson - Visual WebGui support team - Email: support@visualwebgui.com
 
New Post 12/16/2010 9:21 AM
  fsegovia
61 posts
www.presenceco.com
No Ranking


Re: Resize event does not fire in UserControls VWG 6.4 

Hi Palli,

Sorry to answer late. I created another sample application and sent to you. The problem is when a custom control that has a resize event inside is created at runtime. I think the resize event is been queued until another event fires.

It takes me a while to understand was going on.

Scott.

 
New Post 12/16/2010 2:18 PM
  palli
14324 posts
1st Level Poster




Re: Resize event does not fire in UserControls VWG 6.4 

Hi Scott,

Thanks for the sample application. With it I was able to track down the problem, which is not related to the UserControl. The Splitter is the culprit here. I added a new entry to our task tracker. Please view it here and follow up on our progress. Make sure you read the workaround suggestion, which should fix your problem in this application at least.

Palli

 


Páll Björnsson - Visual WebGui support team - Email: support@visualwebgui.com
 
New Post 12/20/2010 12:45 AM
  fsegovia
61 posts
www.presenceco.com
No Ranking


Re: Resize event does not fire in UserControls VWG 6.4 

Hi, the workaround works. I hope this bug will be solved soon.

Regards

Scott

 
Previous Previous
 
Next Next
  Forum  Commercial Foru...  Commercial Foru...  Resize event does not fire in UserControls VWG 6.4
.NET HTML5 Web, Cloud and Mobile application delivery | Sitemap | Terms of Use | Privacy Statement | Copyright © 2005-2012 Visual WebGui®       Visual WebGui weblog on ASP.NET Gizmox Blog Visual WebGui Group on LinkedIn Visual WebGui updates on Twitter Visual WebGui Page on Facebook Visual WebGui YouTube Channel Visual WebGui Platform News RSS