Professional Web Applications Themes

Invoking another Editor (UrlEditor) from an Editor (CollectionEditor) - ASP.NET Building Controls

Hi, Any pointers how I can invoke the UrlEditor from a custom CollectionEditor? I have a collection property that represents a list of interchangavle ASCX controls. I have most things worked out appart from this issue: I get the 3 dots when editing one item, but when I click on them, I get a null reference exception? Thank you, gozza...

  1. #1

    Default Invoking another Editor (UrlEditor) from an Editor (CollectionEditor)

    Hi,

    Any pointers how I can invoke the UrlEditor from a custom CollectionEditor?

    I have a collection property that represents a list of interchangavle ASCX
    controls. I have most things worked out appart from this issue: I get the 3
    dots when editing one item, but when I click on them, I get a null reference
    exception?

    Thank you,
    gozza


    gozza Guest

  2. #2

    Default Re: Invoking another Editor (UrlEditor) from an Editor (CollectionEditor)

    FYI:
    Ok, me again, answering my questions again: what I needed to do is to make
    "sufficient" changes to my collection item class so that it has the
    design-time support required for the UrlEditor. So, what I did is subclass
    the item class from System.Web.UI.Control (since it has an implementation
    for IComponent) to get my required functionality.


    "gozza" <someonemicrosoft.com> wrote in message
    news:ujrxO0T6DHA.2556TK2MSFTNGP09.phx.gbl...
    > Hi,
    >
    > Any pointers how I can invoke the UrlEditor from a custom
    CollectionEditor?
    >
    > I have a collection property that represents a list of interchangavle ASCX
    > controls. I have most things worked out appart from this issue: I get the
    3
    > dots when editing one item, but when I click on them, I get a null
    reference
    > exception?
    >
    > Thank you,
    > gozza
    >
    >

    gozza Guest

Similar Threads

  1. use UrlEditor in Component Editor forms
    By Kevin Marshall in forum ASP.NET Building Controls
    Replies: 6
    Last Post: August 23rd, 09:03 AM
  2. CollectionEditor is always "Object Collection Editor"
    By Nathan Phelps in forum ASP.NET Building Controls
    Replies: 1
    Last Post: May 8th, 04:01 AM
  3. Frustrating problem with CollectionEditor - invoking another editor
    By michael in forum ASP.NET Building Controls
    Replies: 0
    Last Post: May 1st, 11:56 AM
  4. UrlEditor from a CollectionEditor again
    By gozza in forum ASP.NET Building Controls
    Replies: 1
    Last Post: February 3rd, 03:11 AM
  5. PHP Editor - which to use?
    By John Taylor-Johnston in forum PHP Development
    Replies: 1
    Last Post: September 22nd, 03:51 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139