Oh. It sounded like you said below that they were on separate
lines. I understand that sometimes requirements are fixed for some
reason, but have you asked why a textbox is necessary if it's going to
be read-only?
What if you had a span tag where you had specified a border to
*look* like a textbox, with each of the values inside being a link?
-----Original Message-----
From: [email protected] On Behalf Of pandurangam
chekoti
The requirement of the user is such that it needs to
be displayed in text box in one line.
--- Peter Brunone <[EMAIL PROTECTED]> wrote:
>
> Why wouldn't you just use a listbox?
>
> -----Original Message-----
> From: [email protected] On
> Behalf Of pandurangam
> chekoti
>
> I have a text box (ReadOnly) where the value
> displayed
> will always be X1.X2.X3. Now is there any way when
> the
> user double clicks then either X1 or X2 or X3 gets
> selected and on clicking OK I should know which
> value
> is selected i.e., either X1 or X2 or X3. I guess
> using
> the lines property of a text box I can do that, but
> I
> get these values X1 X2 X3 at run time, so is there
> any
> way I can assign at run time to the lines property
> of
> the Text Box.
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/