473,320 Members | 2,073 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Refresh Problem on Nested Container, with DockStyle.Fill or TableLayoutPanel...

I am developing an application, which uses .NET 2.0/WinForms and has a
designer for screen layout designing. User has an option to design the
layout of screen, and for that we developed our own controls based on
UserControl Class. After the designing the layout is saved as an XML,
and we have a Loader of XML that renders the layout afterwards.

When we load the controls and layout from xml, every thing works fine
except we are facing Refresh problems, especially if user control
contains TabControl (either Windows standard Tab or 3rd party
TabControl). In that case inner control do not refresh when we resize
the window.

My initial assumption was that it is due to the nesting of Panels, so
we re-write the layout and instead of using nested TableLayoutPanel, we
are managed to use only single one (by using Table ColSpan and RowSpan
property).

We heavily used DockStyle.Fill property in our controls, and another
strange issue, I observed is that refresh problem only occurs on the
controls where DockStyle.Fill property is set, any other control having
other DockStyle property seems to refresh fine.

Any thought about it,
We are testing our application on 64 bit windows.

Any help on this issue is highly appreciated.

Regards,
Khurram Shakir
Kh************@gmail.com

Jul 31 '06 #1
0 1930

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: CoolPint | last post by:
I read in books that nested class cannot access private members of nesting class and vice versa unless they are made friends. Somehow, my compiler is letting my nested class member functions access...
0
by: Ed Allan | last post by:
http://ejaconsulting.com/nestedrepeater/NestedRepeater.txt >-----Original Message----- >Doh! The HTML has all been rendered . . . > >Right click on this link and select 'Save target as ..' >to...
0
by: Cc | last post by:
I try to make like note pad when open a document, the document will show in a tab control (something in vs) the trick I do is - on window container(parent) I create a split container (one for...
2
by: Itar | last post by:
I'm having a problem when opening an MDI Child form. I'm declaring the child form then setting the dock property to fill so that it takes up the entire space of the MDI Parent window without being...
3
by: Sam | last post by:
Hi all, I have a splitter sitting between 2 panels (which I use for drawing) on my main form. The problem that I'm having is that when I resize my form, the panel(plnDwgContainer) that has the...
2
by: avanti | last post by:
Hi, I am trying to delete rows from a TableLayoutPanel at Runtime. I tried editing the RowStyles collection but doesn't do what I want it to. I have a table with 10 rows. I want to delete rows 2...
4
by: Russ Green | last post by:
I have a VB.NET app that uses lots of forms which I am loading into a panel cotrol using..... Me.pnlMain.Controls.Clear() frm.TopLevel = False frm.WindowState = FormWindowState.Maximized...
2
by: Me LK | last post by:
I have a set of drop downs nested in a datagrid. Each drop down is a size or color for an item. Each row of the grid has a button which leads to a cart. When a user selects something from the...
0
by: Franck | last post by:
I need a container that support opacity so i can by code, instantiate, dock.fill on a form and bring to front. I would in other word prevent people from cliking anything on the form and allow me to...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.