How to insert text at cursor position in a TextBox
ASP.NET
1
Posts
1
Posters
0
Views
1
Watching
-
Hi, I am looking for a way to insert text into a TextBox at the current position, as I am trying to make an site to create web pages with Google stuff (like Maps, Search). I know that you can do
TextBox1.Text.Insert(1, New IO.StreamReader("Maps.txt").ReadToEnd)
, but I need to replace 1 with the current cursor position in the TextBox. It is being written in VB, but I can do a little bit of C#. Thanks