Click here to Skip to main content
14,937,959 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I am working on tablelayoutpanel ,and create rows and columns dynamically in m*n form But when i click on ok button it fluctuates.
To make the matrix is there any way to stop this fluctuation in tablelayoutpanel ?

Thanx.
Posted
Updated 19-Dec-10 22:51pm
v3
Comments
TweakBird 20-Dec-10 4:42am
   
Cross post. You got already 2 Answers.
johannesnestler 20-Dec-10 4:43am
   
Can you please provide more details:
* Show some code,
* tell us how many controls are there on the TableLayoutPanel
* what you do on Ok-Button Click? - show the handler!
* is it nested in other controls etc.
* What exactly do you mean by fluctuate?

I know about the bad Performance of TableLayoutPanel, so should you! Don't use it to excessive! But a quick test with 20x20 = (400 Buttons) showed no "fluctuation" on my system, so my guess is you have some bad code (refresh, painting etc.) in your Ok-Button Click handler...

1 solution

Try using AJAX in your project.
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900