yasser777 / nettiers

Automatically exported from code.google.com/p/nettiers
0 stars 0 forks source link

WinForms Grid controls don't retain column properties from devtime to runtime #127

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Enable winforms creation, run nettiers project, compile code, etc.
2. Add one of the nettiers created grids to a form
3. Edit the grid properties
4. Expand the Columns collection in the .netTiers section
5. Change one or more columns to Visible=False
6. Run your app

What is the expected output? What do you see instead?
I expected the modifications I make to the columns collection to be
maintained at run time.  What I found is that even though I had set some
columns to not be visible they were set back to visible at runtime.  I was
able to change their visibility at runtime but I didn't expect to need to
do that.

What version of .netTiers and CodeSmith are you using?
CodeSmith 5.0.3, .netTiers 2.3.0.770

Please provide any additional information below.
I also checked Header Text, ReadOnly, and Frozen properties.  None of them
carry over from development time to run time.

Original issue reported on code.google.com by stevehiner@gmail.com on 18 Nov 2008 at 8:43

GoogleCodeExporter commented 9 years ago
It appears that the DataGridView property also doesn't persist it's properties 
to run
time.  In design time I set the DataGridView.RowHeaderVisible = False.  The row
headers disappeared in design time as expected but at run time the row headers 
were
back and I had to hide them again using code during run time.

I know the Winforms generation is not considered a finished product so forgive 
me if
I'm being nitpicky about something you know isn't complete.  I just want to 
make sure
I let you know in case you're looking for things to improve before the next 
release.
 I totally understand if you decide this is something you won't fix.

Original comment by stevehiner@gmail.com on 18 Nov 2008 at 9:07

GoogleCodeExporter commented 9 years ago
Hello,

Could you please submit a patch for this and I will commit it to core. 

Thanks
-Blake

Original comment by bniemyjski on 8 Dec 2008 at 6:35

GoogleCodeExporter commented 9 years ago

Original comment by bniemyjski on 25 May 2009 at 3:30

GoogleCodeExporter commented 9 years ago

Original comment by bniemyjski on 25 May 2009 at 4:18