Click here to Skip to main content
15,914,255 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Can cookie size be increased? Pin
Amit Kumar G11-Jan-07 17:54
Amit Kumar G11-Jan-07 17:54 
Questionplzz tell how file is uploaded using browser........... Pin
manish srivastava11-Jan-07 9:12
manish srivastava11-Jan-07 9:12 
AnswerRe: plzz tell how file is uploaded using browser........... Pin
PavanPareta11-Jan-07 17:39
PavanPareta11-Jan-07 17:39 
AnswerRe: plzz tell how file is uploaded using browser........... Pin
minhpc_bk11-Jan-07 19:04
minhpc_bk11-Jan-07 19:04 
QuestionUser Control with Custom Tags Pin
LagoonMatt11-Jan-07 9:01
LagoonMatt11-Jan-07 9:01 
AnswerRe: Web User Control with Custom Tags Pin
LagoonMatt11-Jan-07 9:02
LagoonMatt11-Jan-07 9:02 
AnswerRe: User Control with Custom Tags Pin
minhpc_bk11-Jan-07 23:49
minhpc_bk11-Jan-07 23:49 
GeneralRe: User Control with Custom Tags Pin
LagoonMatt12-Jan-07 13:58
LagoonMatt12-Jan-07 13:58 
I set up a simple test project for this. Adding the public List property to the control does make intelisense recognize MyFields, but it doesn't think anything should be inside the MyFields tags (Validation (ASP.Net): Text is not allowed between the opening and closing tags for element MyFields'.

What else do I need to do?

Web User Control Class
public partial class MyControl : System.Web.UI.UserControl
{
    private List<MyField> _MyFields = new List<MyField>();

    [PersistenceMode(PersistenceMode.InnerProperty)]
    public List<MyField> MyFields
    {
        get
        {
            return _MyFields;
        }
        set
        {
            _MyFields = value;
        }
    }

    protected void Page_Load(object sender, EventArgs e)
    {

    }
}


MyField class, located in the App_Code folder
public class MyField
{
    string _MyProperty;
    public string MyProperty
    {
        get
        {
            return _MyProperty;
        }
        set
        {
            _MyProperty = value;
        }
    }
	public MyField()
	{
		
	}
}

GeneralRe: User Control with Custom Tags Pin
minhpc_bk12-Jan-07 20:58
minhpc_bk12-Jan-07 20:58 
GeneralRe: User Control with Custom Tags Pin
LagoonMatt14-Jan-07 8:11
LagoonMatt14-Jan-07 8:11 
GeneralRe: User Control with Custom Tags Pin
minhpc_bk14-Jan-07 14:02
minhpc_bk14-Jan-07 14:02 
GeneralRe: User Control with Custom Tags Pin
LagoonMatt15-Jan-07 9:43
LagoonMatt15-Jan-07 9:43 
GeneralRe: User Control with Custom Tags Pin
minhpc_bk15-Jan-07 11:38
minhpc_bk15-Jan-07 11:38 
Questionplzz write a simple function on.......... Pin
manish srivastava11-Jan-07 6:13
manish srivastava11-Jan-07 6:13 
AnswerRe: plzz write a simple function on.......... Pin
ednrgc11-Jan-07 7:03
ednrgc11-Jan-07 7:03 
GeneralRe: plzz write a simple function on.......... Pin
Colin Angus Mackay11-Jan-07 12:20
Colin Angus Mackay11-Jan-07 12:20 
AnswerRe: plzz write a simple function on.......... Pin
rockford.boulderdash11-Jan-07 8:40
rockford.boulderdash11-Jan-07 8:40 
GeneralRe: plzz write a simple function on.......... Pin
Not Active11-Jan-07 8:42
mentorNot Active11-Jan-07 8:42 
GeneralRe: plzz write a simple function on.......... Pin
rockford.boulderdash11-Jan-07 8:47
rockford.boulderdash11-Jan-07 8:47 
GeneralRe: plzz write a simple function on.......... Pin
Not Active11-Jan-07 8:57
mentorNot Active11-Jan-07 8:57 
GeneralRe: plzz write a simple function on.......... Pin
_AK_11-Jan-07 17:18
_AK_11-Jan-07 17:18 
AnswerRe: plzz write a simple function on.......... Pin
saravanan0511-Jan-07 9:09
saravanan0511-Jan-07 9:09 
QuestionPaypal buynow control's IPN notify_url Pin
Nadia Monalisa11-Jan-07 5:12
Nadia Monalisa11-Jan-07 5:12 
Questionimages with sessions in asp Pin
ADY00711-Jan-07 4:27
ADY00711-Jan-07 4:27 
AnswerRe: images with sessions in asp Pin
Britney S. Morales11-Jan-07 11:48
Britney S. Morales11-Jan-07 11:48 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.