oops, correction : cannot* be done server side. That was a typo error ;P
You have to resort to javascript to accomplish what you want
"Soul" <> wrote in message
news:%...
> Can you show me how can I do this on server site? I found that the
> SelectedText method only available for TextField in WinForm but not in
> WebForm.
>
> Thank you.
>
> --
> Soul
>
>
> "Alessandro Zifiglio" <> wrote in
> message news:OlxOb.4753$...
> | Yes, you can do this on the client in javascript. Can be done on the
> server
> | in asp.net ;P
> |
> | "Soul" <> wrote in message
> | news:O$...
> | > Hi,
> | >
> | > In ASP.Net page, Is there a way to retrieve those selected text from a
> | > normal TextField? For example, I have a multi-line TextField for user
to
> | > enter some text. There is also a Button if user click on it after
> selected
> | a
> | > text from the TextField, it will add something in front and after the
> | > selected text.
> | >
> | > Thank you.
> | >
> | > --
> | > Soul
> | >
> | >
> | >
> | >
> |
> |
>
>