[Mono-winforms-list] WebBrowser + Printing

2008-12-05 Thread Rocky1

First, hi to everyone! I'm new to Mono, and I would like to say Thank you
to te team for this great software. I'm trying to port an application to
Mono, I use a WebBrowser control to display some online content, and I would
like to print this content.

The WebBrowser has a Print method but this is not implemented in Mono. Is
there any trick to print the content of a WebBrowser? Maybe reading the
content of the HTML Document in Mono and parsing it (but this is a bit
hard).

Any help would be appreciated. On I'll wait until WebBrowser is complete
(maybe in Mono 2.2?)...
-- 
View this message in context: 
http://www.nabble.com/WebBrowser-%2B-Printing-tp20745942p20745942.html
Sent from the Mono - WinForms mailing list archive at Nabble.com.

___
Mono-winforms-list maillist  -  Mono-winforms-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-winforms-list


[Mono-winforms-list] DataGridView binding not working

2008-12-05 Thread marcos b

I have a datatable binded to a DataGridView.
When I add a record in the gridview a row is added to the datatable when
running in .net environment, but no row is added when running in mono.
I didn't try, but I supose that edit, and delete actions in the gridview do
not affect the datatable neither.

Is it a known bug? When is it going to be fixed?

I paste the code of my form below. The form only has a DataGridView named
dataGridView1 and a button

public partial class DataGridViewTest : Form
{
DataTable dt = new DataTable();
public DataGridViewTest()
{
InitializeComponent();
}

private void btnNumberOfRows_Click(object sender, EventArgs e)
{
MessageBox.Show(dt.Rows.Count.ToString());
}

private void DataGridViewTest_Load(object sender, EventArgs e)
{
dt.Columns.Add(Key);
dt.Columns.Add(Value);

dt.Rows.Add(1, one);

dataGridView1.DataSource = dt;
}
}
-- 
View this message in context: 
http://www.nabble.com/DataGridView-binding-not-working-tp20780541p20780541.html
Sent from the Mono - WinForms mailing list archive at Nabble.com.

___
Mono-winforms-list maillist  -  Mono-winforms-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-winforms-list


[Mono-winforms-list] I get error compiling in ubuntu

2008-12-05 Thread pepe_eloy

Hi!

I'm a newbie using mono. For me represent a interesting choice to write .net
code and running it in several OS. I'm trying the samples from the
mono-project page ( http://mono-project.com/Mono_Basics
http://mono-project.com/Mono_Basics ). The console and the gtk# samples
worked fine, but when I compiled the winforms sample I get the following
errors:

[EMAIL PROTECTED]:~/proyectos-mono$ gmcs hello-winforms.cs -pkg:dotnet
error CS0006: cannot find metadata file `cscompmgd.dll'
error CS0006: cannot find metadata file `Microsoft.JScript.dll'
error CS0006: cannot find metadata file `Microsoft.VisualC.dll'
error CS0006: cannot find metadata file `Microsoft.Vsa.dll'
error CS0006: cannot find metadata file `System.Data.OracleClient.dll'
error CS0006: cannot find metadata file `System.DirectoryServices.dll'
error CS0006: cannot find metadata file `System.Messaging.dll'
Compilation failed: 7 error(s), 0 warnings

The version of mono that i've downloading is the 2.0, I downloading from
ubuntu repositories.
The ubuntu version i have is 8.10

I think something library is missing, but what?

Thanks for any help

José Eloy Torres
México
-- 
View this message in context: 
http://www.nabble.com/I-get-error-compiling-in-ubuntu-tp20786571p20786571.html
Sent from the Mono - WinForms mailing list archive at Nabble.com.
___
Mono-winforms-list maillist  -  Mono-winforms-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-winforms-list


[Mono-winforms-list] ErrorProvider Issue

2008-12-05 Thread Alisdair Little

Hi,

I'm using the ErrorProvider class on a dialog which works fine under windows
but not under mono.
It has some validated fields, an OK button and a Cancel button.
The CausesValidation field on the Cancel button seems to be ignored. I.e.
you can't cancel the dialog.

Has anyone else noticed this to be an issue?

Thanks,

Al
-- 
View this message in context: 
http://www.nabble.com/ErrorProvider-Issue-tp20833072p20833072.html
Sent from the Mono - WinForms mailing list archive at Nabble.com.

___
Mono-winforms-list maillist  -  Mono-winforms-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-winforms-list


Re: [Mono-winforms-list] DataGridView binding not working

2008-12-05 Thread Ivan N. Zlatev
On Tue, Dec 2, 2008 at 11:53 AM, marcos b [EMAIL PROTECTED] wrote:


 I have a datatable binded to a DataGridView.
 When I add a record in the gridview a row is added to the datatable when
 running in .net environment, but no row is added when running in mono.
 I didn't try, but I supose that edit, and delete actions in the gridview do
 not affect the datatable neither.

 Is it a known bug? When is it going to be fixed?


Hey,

I have fixed this problem in SVN HEAD, which means it will be fixed in the
next mono 2.x release.



 I paste the code of my form below. The form only has a DataGridView named
 dataGridView1 and a button

public partial class DataGridViewTest : Form
{
DataTable dt = new DataTable();
public DataGridViewTest()
{
InitializeComponent();
}

private void btnNumberOfRows_Click(object sender, EventArgs e)
{
MessageBox.Show(dt.Rows.Count.ToString());
}

private void DataGridViewTest_Load(object sender, EventArgs e)
{
dt.Columns.Add(Key);
dt.Columns.Add(Value);

dt.Rows.Add(1, one);

dataGridView1.DataSource = dt;
}
}
 --
 View this message in context:
 http://www.nabble.com/DataGridView-binding-not-working-tp20780541p20780541.html
 Sent from the Mono - WinForms mailing list archive at Nabble.com.

 ___
 Mono-winforms-list maillist  -  Mono-winforms-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-winforms-list




-- 
Kind Regards,
Ivan N. Zlatev
___
Mono-winforms-list maillist  -  Mono-winforms-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-winforms-list