HELP Generating ConnectionString Property from the Designer

Ask a Question related to ASP.NET Building Controls, Design and Development.

  1. #1

    Default HELP Generating ConnectionString Property from the Designer

    This functionality is implemented in the SQLConnection control in the
    connectionstring property. I am Building a custom control from an inherited
    base class. (datagrid)

    I have exposed a property for a connectionstring which I want the user of
    this control to be able to use the way the connectionstring property is
    implemented in the designer for the SQLConnection control.

    Does anyone know how to invoke the designer property dropdown functionality
    that builds a connection string from DataLinks?

    Any help on this is GREATLY appreciated.
    Thanks in advance!


    Christopher Calhoun Guest

  2. Similar Questions and Discussions

    1. Generating the *.aspx.designer.vb Files
      I have an ASP.NET application in which I register several of my usercontrols in the Web.config file's...
    2. Control Designer change property but does not persist
      Hi All, I'm developing a custom control for ASP.NET (2.0 but this shouldn't matter). I've got a property PageID (Guid) in this control: ...
    3. Designer Font Property
      I've had some success using the designer to configure my control. However, I'm having some trouble getting the designer to write code for the...
    4. nested collection property VS designer error
      Hi, i've made a webcontrol (treeview) that have a Nodes (collection ) property. This collection handles objects of Node type . Each Node have...
    5. URGENT!!! Generating a connetionstring property from the designer...
      This functionality is implemented in the SQLConnection control in the connectionstring property. I am Building a custom control from an inherited...
  3. #2

    Default Re: HELP Generating ConnectionString Property from the Designer

    "Christopher Calhoun" <calhoun_chris@hotmail.com> wrote in message
    news:OgnKVNP4DHA.2468@TK2MSFTNGP09.phx.gbl...
    > This functionality is implemented in the SQLConnection control in the
    > connectionstring property. I am Building a custom control from an
    inherited
    > base class. (datagrid)
    >
    > I have exposed a property for a connectionstring which I want the user of
    > this control to be able to use the way the connectionstring property is
    > implemented in the designer for the SQLConnection control.
    >
    > Does anyone know how to invoke the designer property dropdown
    functionality
    > that builds a connection string from DataLinks?
    Christopher,

    I don't have an answer for you (seems to be a trend today), but I do want to
    mention that we use a control that has a connection string property. I hate
    it! It's different from every other control we use. Instead of using a
    connection string, this control should expose DataSource and DataMember
    properties, "just like everyone else".

    Now, perhaps your control actually needs to use a connection string and
    cannot use a DataSource/DataMember pair.
    --
    John Saunders
    John.Saunders at SurfControl.com


    John Saunders Guest

Posting Permissions

  • You may not post new threads
  • You may 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