Ask a Question related to ASP.NET Building Controls, Design and Development.
-
crazyhorse #1
server control serialization problem with UiTypeEditor
Have a expandable property that is passed to a uitypeeditor which the
property does not get serialized. Value from uitypeeditor updates in
the designer window but not in run mode. Have tried both
DesignerSerializationVisibility.Content and
DesignerSerializationVisibility.Visible with no success. Could it be
something in my Uitypeeditor or menudata class that can cause the
serialization class. Can post more code if needed. Please give me
some tips of what to look for.
//property
[
Editor(typeof(TextEditor),typeof(UITypeEditor))
]
[DefaultValue("Enter"), Category("Data"),
PersistenceMode(PersistenceMode.InnerProperty),
NotifyParentProperty(true),RefreshProperties(Refre shProperties.All),DesignerSerializationVisibility( DesignerSerializationVisibility.Content)
]
public menudata MenuData3
{
get{return _mdata;}
set{_mdata = value;}
}
private menudata _mdata = new menudata();
----------------------------------------------------------------
menudata.cs
----------------------------------------------------------------
using System;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.ComponentModel;
using System.Xml;
using System.Text;
using System.ComponentModel.Design;
namespace MenuLib
{
[Serializable]
[TypeConverter(typeof(_menudataoverride))]
public class menudata: ExpandableObjectConverter
{
public menudata()
{
_menuxml="TEST";
}
string _menuxml;
// Created by VS.NET
[Bindable(false),
NotifyParentProperty(true),
RefreshProperties(RefreshProperties.Repaint)
]
public string menuxml
{
get { return _menuxml; }
set{ _menuxml = value; }
}
}
}
crazyhorse Guest
-
#39635 [NEW]: Better control for serialization (keyword for permit property serialization)
From: t dot prochazka at centrum dot cz Operating system: all PHP version: 5CVS-2006-11-26 (CVS) PHP Bug Type: Feature/Change... -
Serialization by SOAP server
I wonder if anyone can help.I have a SOAP web service that seems to work OK until it has to send large amounts of data (e.g. 2MB). The data is... -
Custom control code serialization to class file
I have a custom control that includes a custom collection. In the collection editor, I add a new item to the collection and that item gets... -
serialization problem - eventhandling by control
Hi folks! I am developing a custom TreeView and I have got a problem with the serialization of my TreeViewModel: public class... -
avoiding XML serialization, different WSDL generation, soap serialization
Hello, I think my problem is interesting for most of developers who wish to exchange actual business entities with webservices, not just xml...



Reply With Quote

