471,348 Members | 1,369 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,348 software developers and data experts.

problem with host designer

I am working on the example located here : :http://
support.microsoft.com/?id=813808
Scenario : I add a button. Its name is button1 and I run. It works
well. And then I add a second button to my form. And I run it again.
My problem is the following :
When I am running it with the dot net 1.1 : I can see the two
buttons.
But with the dot net 2.0 I se nothing. The serializer serializes only
the button added and not all the components.
What is the reason? Why does it work with 1.1 and not with 2.0?
I investigate and I found the line which is bugging. It is in the
file
SampleDesignerLoader.cs
The line is :
CodeTypeDeclaration td = cds.Serialize(manager, root) as
CodeTypeDeclaration;
Is there a difference between the function serialize in .net 1.1 and
2.0?
I need to work with dot net 2.0. It is a requirement. So I need
really
your help to know how can I fix my problem.
Thank you very much
Aug 29 '08 #1
0 767

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by bfrasca | last post: by
3 posts views Thread by Ankit Aneja | last post: by
7 posts views Thread by Mike Stephens | last post: by
reply views Thread by Phil C. | last post: by
reply views Thread by DrBonzo | last post: by
14 posts views Thread by =?Utf-8?B?UHVjY2E=?= | last post: by
4 posts views Thread by Goran Djuranovic | last post: by
8 posts views Thread by alexcsharp2 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.