Forum  Core :: SDK (Vi...  Developing the ...  Edit dataset with designer
Previous Previous
 
Next Next
New Post 4/14/2009 5:08 PM
  palli
11189 posts
1st Level Poster




Re: Edit dataset with designer 

Hi,

If you are going to use forms, you should do it something like this:

Code: private void menuItem2_Click(object sender, EventArgs e)
        {
            frmClientes obj = new frmClientes();
            obj.ShowDialog();
        }

In the form (obj) you can then just use this.close(); to close that form.

I have never used the MDI behaviour of VWG, but I guess that you are triggering some MDI behaviour by creating the form and adding it to your base forms controls container, as your code did.

Sorry about the support email address. I thought I had given it to you before, but I include the standard clause we add for sample app requests:

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 be using the MSSQL Northwind sample database for your connection(s)

Remember to include information about what VWG version you are using, as well as you Visual Studio version+type and operating system version.

Palli

 


Páll Björnsson - Visual WebGui support team - Email: support@visualwebgui.com
 
Previous Previous
 
Next Next
  Forum  Core :: SDK (Vi...  Developing the ...  Edit dataset with designer
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