 | SearchForum Home |  |
 | |  |
 | |  |
 | |  |
 | |  |
 |
|
|
| PLEASE HELP...[BUGS IN 6.2.0a] |
|
|
Hello,
I upgraded from 6.0.4 to 6.2.0a. I am using Visual Studio 2008 on Windows XP and VB.Net.
Problem 1) DataGridView: I have the following code in one of the forms. I am manually adding rows to a datagridview as I need some custom columns.
**************
' Create the columns first
'Create Cell style
Dim dataGridViewCellStyle1 As New Gizmox.WebGUI.Forms.DataGridViewCellStyle
dataGridViewCellStyle1.Alignment = Gizmox.WebGUI.Forms.DataGridViewContentAlignment.MiddleLeft
dataGridViewCellStyle1.BackColor = System.Drawing.Color.LightGray
dataGridViewCellStyle1.Font = New System.Drawing.Font("Tahoma", 8.0F)
dataGridViewCellStyle1.ForeColor = System.Drawing.Color.Black
dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight
dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText
dataGridViewCellStyle1.WrapMode = Gizmox.WebGUI.Forms.DataGridViewTriState.False
Me.DataGridView1.DefaultCellStyle = dataGridViewCellStyle1
Me.DataGridView1.AutoGenerateColumns = False
Me.DataGridView1.AllowUserToAddRows = False
Me.DataGridView1.Dock = DockStyle.Fill
Dim col As Gizmox.WebGUI.Forms.DataGridViewColumn
Dim ColButton As New Gizmox.WebGUI.Forms.DataGridViewButtonColumn
col = New Gizmox.WebGUI.Forms.DataGridViewColumn
col.Name = "Description"
col.HeaderText = "Description"
col.DataPropertyName = "Description"
col.DefaultCellStyle = dataGridViewCellStyle1
col.ReadOnly = True
Me.DataGridView1.Columns.Add(col)
col = New Gizmox.WebGUI.Forms.DataGridViewColumn
col.Name = "PageCount"
col.HeaderText = "Page Count"
col.DataPropertyName = "PageCount"
col.ReadOnly = True
Me.DataGridView1.Columns.Add(col)
'Add rows from the datatable.
dim DT as DataTable = Object.getdata()
'Add rows by looping thru each row
For Each row As DataRow In DT.Rows
dgvrow = New DataGridViewRow
cell = New Gizmox.WebGUI.Forms.DataGridViewTextBoxCell()
cell.Value = row("Description")
dgvrow.Cells.Add(cell)
cell = New Gizmox.WebGUI.Forms.DataGridViewTextBoxCell()
cell.Value = row("PageCount")
dgvrow.Cells.Add(cell)
cell.ReadOnly = True
Me.DataGridView1.Rows.Add(dgvrow)
Next
**************The above code works great in 6.0.4. In 6.2.0a, I can not see any values rendered in the columns. There is just a white background. However, if I do a databinding directly on the Datagridview [by setting the datasource], it works fine 6.2.0a. This is my first problem.
Problem 2) I am using the Form.AcceptButton and Form.CancelButton so that the form will be submitted when a user hits the enter key from a textbox. This is working fine in version 6.0.4, but in version 6.2.0a, enter key has to be pressed twice to invoke the "submit" button.
Problem 3) I am struggling to integrate silverlight to my existing application. If I build a brand new silverlight app with 6.2.0a, it works great. If I try and extend my existing dhtml app with ".swgx", I get blanck window. I did all the necessary steps as I read in a lot of forum posts here. Used the packager tool and the build output generated a "ClientBin" folder with 3 silverlight dlls and a ".xap" file. When I view a ".swgx" extension, I get a blank screen.
At this point, the datagridview is a show stopper for me and I can not upgrade to 6.2.0 until this is fixed. Once the above 2 issues are fixed, I can concentrate on integrating Silverlight.
Thanks for all the help.....
Prakash |
|
|
|
 |  |
|
|
| Re: PLEASE HELP...[BUGS IN 6.2.0a] |
|
|
Hello Prakash!
We need a complete sample application to test the behavior you reported.
Please create the most minimal sample application that you can, that would reproduce this problem, and send it to support [at] visualwebgui [dot] com, with a link to this forum thread.
Please also reply to this post after sending your application, so I would know to check for it.
Regards,
Ori Cohen
The Visual WebGui team |
|
|
|
 |  |
|
|
| Re: PLEASE HELP...[BUGS IN 6.2.0a] |
|
|
Hi, I have the same problem. I create the columns programmatically and then I set datasource property to my datatable. I can not see any value in the cells only the background color.
Thanks and my conpliments for your great job.
Greg |
|
|
|
 |  |
|
|
| Re: PLEASE HELP...[BUGS IN 6.2.0a] |
|
|
I try to solve this problem but I achieve only failure.
Please help us.
Thanks
Greg |
|
|
|
 |  |
|
|
| Re: PLEASE HELP...[BUGS IN 6.2.0a] |
|
|
Hi Greg,
Believe me that we would very much like to help you as soon as possible, however, since we are not sure what exactly you are trying to achieve and what is the phenomenon you bump into, we will need you to send some sort of a small reproducing application to support at visualwebgui.com. As Ori already mentioned, it is preferable if you could re-post in this thread so we can make sure it arrives.
Regards,
Itzik Spitzen |
|
|
|
|  |
 | |  |
 | |  |
 | |  |
|