Displaying user control properties at Design Time

G

Guest

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)
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,534
Members
45,008
Latest member
Rahul737

Latest Threads

Top