Forum  General Visual ...  Visual WebGui v...  Databinding, DateTimepicker has always ShowCheckbox on
Previous Previous
 
Next Next
New Post 6/18/2009 3:46 PM
Resolved
  janebertjensen
4 posts
No Ranking


Databinding, DateTimepicker has always ShowCheckbox on 

I downloaded the latest 6.4 Preview pack and has several problems/Issues. All these used to work in the previous version.

(In the Version of the DLL, it says 3.0.5701.0.)

1)

DateTimePicker has now alwayes the ShowCheckBox as true, even when I in the designer set this to False. After a compile, save and run, they are back to true and they are also displaed on the form with the box on. I have fixed it with on the load of the form, setting the ShowCheckBox = False)

2)

Click on a button, draws a dotted line around the control, which is bigger than the button itself. Looks strange

3)

I have a grid, I set up databinding (datagridView1.DataSource = bindingSource1) that works. then when the user chooses a row, a modal box is shown with some more data. that works also fine. (The background is now darked out), but when I close the modal form. I then refreshes the grid and in that sub, I get an exception on the

DGPC.DataSource = bindingSource1

Nullreferenceexception was unhandled by user code. use the new keywrd to create an instance of an object

and both the DGPC and the BindingsSource1 exists and has values.

it comes when I return from the modal form. Seems like it has losts some memory and previous values.

 

I really hope that you can help me out. I can live with the 2 first issues, but the 3rd one, has destroyed the application and I will have to go back to the previous version.

Kind regards

Jan Ebert JENSEN

 

 

 

 
New Post 6/18/2009 3:47 PM
  janebertjensen
4 posts
No Ranking


Re: Databinding, DateTimepicker has always ShowCheckbox on 

 janebertjensen wrote

I downloaded the latest 6.4 Preview pack and has several problems/Issues. All these used to work in the previous version.

(In the Version of the DLL, it says 3.0.5701.0.)

1)

DateTimePicker has now alwayes the ShowCheckBox as true, even when I in the designer set this to False. After a compile, save and run, they are back to true and they are also displaed on the form with the box on. I have fixed it with on the load of the form, setting the ShowCheckBox = False)

2)

Click on a button, draws a dotted line around the control, which is bigger than the button itself. Looks strange

3)

I have a grid, I set up databinding (datagridView1.DataSource = bindingSource1) that works. then when the user chooses a row, a modal box is shown with some more data. that works also fine. (The background is now darked out), but when I close the modal form. I then refreshes the grid and in that sub, I get an exception on the

DGPC.DataSource = bindingSource1

Nullreferenceexception was unhandled by user code. use the new keywrd to create an instance of an object

and both the DGPC and the BindingsSource1 exists and has values.

it comes when I return from the modal form. Seems like it has losts some memory and previous values.

 

I really hope that you can help me out. I can live with the 2 first issues, but the 3rd one, has destroyed the application and I will have to go back to the previous version.

Kind regards

Jan Ebert JENSEN

 

 

 

 
New Post 6/18/2009 5:55 PM
  palli
11189 posts
1st Level Poster




Re: Databinding, DateTimepicker has always ShowCheckbox on 

Hi Jan,

First I think you should realize that the 6.4P1 is a preview release, not meant for developing serious applications, but to show the community what is coming in the next release. We knew up front that it would be unstable in some areas and some parts of it even not functioning. See more about this in this thread here.

And now to your reported problems:

1) See this issue here.

2) This is one of the reported problems in this issue here. We are aware of that this is also a problem in 6.4P1

3)  Regarding this problem, we know that DataGridView is very unstable in 6.4P1, but if you do have an application in 6.4P1 that demonstrates this problem, then the best way to describe those problems is by creating a most minimal application that demonstrates the problem(s) and then send your application to support [at] visualwebgui [dot] com with a link to this forum thread, along with some description about how to reproduce the problem.

Please also clean the solution before compressing it and reply to this post after sending, so we will know to check for your support request.

If connection to database is needed, please make sure you will either be using all memory based data or the MSSQL Northwind sample database for your connection(s)
 

Palli

 


Páll Björnsson - Visual WebGui support team - Email: support@visualwebgui.com
 
New Post 6/19/2009 9:02 AM
  janebertjensen
4 posts
No Ranking


Re: Databinding, DateTimepicker has always ShowCheckbox on 

OK. I'm know that it is a pre release.

I look and tested it some more. It hasnøt anything to do with the Modal form. It is the databinding that causes the problem.

I will test some more to see if I can find a workaround and produce a clean solution to reproduce the problem.

Keep up the good work, Cheers

Jan

 
New Post 6/19/2009 11:51 AM
  palli
11189 posts
1st Level Poster




Re: Databinding, DateTimepicker has always ShowCheckbox on 

Hi Jan and thanks,

Yes is would be very helpful if you can create a simple app that reproduces the problem. Just remember that if you need database connection run your app, then make sure it's connecting to the Northwind MSSQL sample database so we are able to test.

One thought though... You say you get an error at "DGPC.DataSource = bindingSource1" after you close the modal detail form. Does this mean that you reassign the datasource each time you close the defail form?

If you need the Grid to be updated afterwards, you could either use DGPC.Update() or you could use bindingSource1.ResetBinding(false) to force it to update, if it doesn't.

Palli

 


Páll Björnsson - Visual WebGui support team - Email: support@visualwebgui.com
 
Previous Previous
 
Next Next
  Forum  General Visual ...  Visual WebGui v...  Databinding, DateTimepicker has always ShowCheckbox on
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