Displaying user control properties at Design Time

Discussion in 'ASP .Net' started by =?Utf-8?B?QW1pciBUb2hpZGk=?=, Jun 25, 2007.

  1. Hi

    I have created a user control which has a public property called Tickers.
    This property is represented visually as a textbox into which the user can
    type a bunch of stock tickers and my user control then fetches the prices for
    each ticker and displays them in a GridView.

    I am also setting the tickers like this in the source of the page hosting my
    user control:

    <uc1:WatchList ID="WatchList1" runat="server" Tickers="EWG EWS" />

    This way the tickers also appear in the Properties pane of Visual Studio.

    How can I get my textbox to show the tickers at <b>Design time</b>? (they
    show at run time)
     
    =?Utf-8?B?QW1pciBUb2hpZGk=?=, Jun 25, 2007
    #1
    1. Advertising

  2. =?Utf-8?B?QW1pciBUb2hpZGk=?=

    Guest Guest

    Have you recompiled/built your application since adding the property?

    -KF


    "Amir Tohidi" <> wrote in message
    news:...
    > Hi
    >
    > I have created a user control which has a public property called Tickers.
    > This property is represented visually as a textbox into which the user can
    > type a bunch of stock tickers and my user control then fetches the prices
    > for
    > each ticker and displays them in a GridView.
    >
    > I am also setting the tickers like this in the source of the page hosting
    > my
    > user control:
    >
    > <uc1:WatchList ID="WatchList1" runat="server" Tickers="EWG EWS" />
    >
    > This way the tickers also appear in the Properties pane of Visual Studio.
    >
    > How can I get my textbox to show the tickers at <b>Design time</b>? (they
    > show at run time)
    >
    >
     
    Guest, Jun 25, 2007
    #2
    1. Advertising

  3. Yes.

    "" wrote:

    > Have you recompiled/built your application since adding the property?
    >
    > -KF
    >
    >
    > "Amir Tohidi" <> wrote in message
    > news:...
    > > Hi
    > >
    > > I have created a user control which has a public property called Tickers.
    > > This property is represented visually as a textbox into which the user can
    > > type a bunch of stock tickers and my user control then fetches the prices
    > > for
    > > each ticker and displays them in a GridView.
    > >
    > > I am also setting the tickers like this in the source of the page hosting
    > > my
    > > user control:
    > >
    > > <uc1:WatchList ID="WatchList1" runat="server" Tickers="EWG EWS" />
    > >
    > > This way the tickers also appear in the Properties pane of Visual Studio.
    > >
    > > How can I get my textbox to show the tickers at <b>Design time</b>? (they
    > > show at run time)
    > >
    > >

    >
    >
    >
     
    =?Utf-8?B?QW1pciBUb2hpZGk=?=, Jun 25, 2007
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Nikhil Patel
    Replies:
    0
    Views:
    395
    Nikhil Patel
    Feb 25, 2004
  2. Max2006
    Replies:
    2
    Views:
    515
    Max2006
    Jul 13, 2007
  3. Peter

    properties not showing in properties window at design time

    Peter, Dec 10, 2003, in forum: ASP .Net Building Controls
    Replies:
    1
    Views:
    211
    Lostinet.Web Support
    Dec 10, 2003
  4. KJ
    Replies:
    0
    Views:
    124
  5. Nathan Bidwell

    Custom properties in a User Control at Design time

    Nathan Bidwell, Sep 2, 2003, in forum: ASP .Net Web Controls
    Replies:
    2
    Views:
    335
    Nathan Bidwell
    Sep 3, 2003
Loading...

Share This Page