Search

You searched for the word(s): userid:200954

Matching Posts

  • Design Time support for composite controls

    Hi there, In VS 2003 the only 2 possibilities to have controls that could accept to drag & drop other controls inside them at design time was to set the designer of the control the ReadWriteControlDesigner or to have templates where you could drop the content controls. Is there another way in VS 2005 ? Best regards, Dan
    Posted to Hosting Open Forum (Forum) by danfizesan on 8/11/2004
  • Re: Help!!Adding Property(XmlDocument ) to your custom control !!

    Hi, As it looks from your code the property <cc1:a> is a heterogenuous collection. Make sure that the property in your code has no set accesory. so you should have somethign like private YourTypeCollection _A = new YourTypeCollection (); public YourTypeCollection A { get {return _A;} } Best regards, Dan
    Posted to Hosting Open Forum (Forum) by danfizesan on 8/8/2004
  • Templated control and state of the child controls

    Hi there, I'm trying to develop some templated controls and everything goes fine but I have a problem with the state of the controls that are used in the "template". I will give an example ( the code is taken from "Developing Microsoft ASP.NET Server controls and components" because it's a simpler control that the one i'm developing and in this way we can concentrate on the problem). public class ContactInfo : WebControl, INamingContainer { private ITemplate _contactTemplate;
    Posted to Hosting Open Forum (Forum) by danfizesan on 7/25/2004
  • Re: How to create a custom design panel

    Hi there. there is a shortcomming to using Templates instead of panel functionality (the designer ReadWriterControlDesigner) and that is the controls that you put in the template don't keep their state, at least that is what happens with my templated controls. I have tested this thing also with the DataList and it happens the same. For instance put a templated control with a check box in it and another checkbox and button in the same page. Use the button to do the post backs. Run the page. check
    Posted to Hosting Open Forum (Forum) by danfizesan on 7/22/2004
  • Re: Custom Control With Multiple Properties of Collection Type

    Delete the "Set" accesor to the UserInfos property and you'll be fine. Leave it as follows : Public Property UserInfos() As UserCollection Get Return _userCollection End Get End Property Best regards, Dan
    Posted to Hosting Open Forum (Forum) by danfizesan on 7/20/2004
  • Panel content gone when editing parent properties

    Hi there, I have a little problem with a control i'm building (a simplier version of the TabStrip + MultiPageView IE Web controls). The control that I'm building has a collection of tabs, each tab having a property of type Panel. An example in Aspx of the control would be: <cc3:TabMultiPageControl id="TabMultiPageControl1" runat="server"> <Tabs> <cc3:Tab Text="Tab 1" ID="tab1"> <PageViewPanel ID="a1" Height="100%" CssClass
    Posted to Hosting Open Forum (Forum) by danfizesan on 7/2/2004
  • Re: Bindable Collection on Control

    Hi there . I made also a control that has problems with Collections at design time. I implemented all the attributes discussed in this thread and now the child tags of the control are generated correctly. Going back to Properties will show me the collection filled in the designer (PropertyGrid). But there is a problem with it: when I close the aspx and open it again then there are no items in the collection in the designer. I have copied Justin's code from the post right above and it behaves exactly
    Posted to Hosting Open Forum (Forum) by danfizesan on 2/28/2004
  • Dataset lost at rendering time

    Hello there, I'm new to ASP.NET and I wanted to make a web control which outputs a lot of divs with links inside, dependent of a datatset. So I have a DataSet property that is set in the page that contains the control in the Page_Load method. At debugging time I can see that the private member behind the property is indeed set. But when the Render methode is called (in the control I override the Render methode to have my "divs") the private field pointing to the dataset is null. Please
    Posted to Hosting Open Forum (Forum) by danfizesan on 2/17/2004
Page 1 of 1 (8 items)