updatepanel and text box set focus
Posted on 2009-04-13
I used a updatepanel, inside this panel, I have two radio buttons and two regular panels, when I click on radio button1, I want panel one to show and inside panel one I want set focus on txtFirstName, I write code to do it, but it do not work, How to make it works?
code fragment are here
Protected Sub rdType_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles rdType.SelectedIndexChanged
If (rdType.SelectedItem.Value = "new") Then
Me.Panelone.Visible = true
thanks in advance