Adding a TextBox to a TableCell, cannot focus using mouse

  • Thread starter Thread starter Marius Horak
  • Start date Start date
M

Marius Horak

Hi,

TextBox myTextBox = new TextBox();
myTableCell.Controls.Add(myTextBox);

When I execute this code and myTextBox is empty I cannot focus on myTextBox
using mouse unless I click at the very begining (next to the left edge).

What's wrong?

Thanks

MH
 
your text box may:

a. have no characters in it initially
b. only have a minute width...

i think it's a...
 
Daniel Bass said:
your text box may:

a. have no characters in it initially
b. only have a minute width...

i think it's a...

Thanks for reply.

Neither a nor b.
There were two panels on the page - Left and Right.
I needed only one panel and I added a table to the Left panel, set its width
to 100% and the panel expanded over the Right panel..
After that the textboxes were over the Right panel.
Once I deleted the Right panel all is OK.
Now another programmer is missing his panel so we have to coordinate who is
doing what.

MH
 
Back
Top