Setfocus to control in Iframe

E

Eric

Hi,

I have a page with an iframe on it in which I load another page.
On this iframe page I have some textboxes above eachother.

When the first textbox is filled with a code the textchanged event is called
and the code is checked with the database.
After the code has been changed to the right one (if needed) I want the
focus to go to the next textbox.

So at the end of the event I do: Page.SetFocus(txtbox2)

But after the postback refresh, the focus is gone.

How can I put it on the 2nd textbox?
all is done in the Iframe page codebehind.

I would appreciate some help here :)

rg,
Eric
 

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

Forum statistics

Threads
473,744
Messages
2,569,482
Members
44,901
Latest member
Noble71S45

Latest Threads

Top