Question 1.
I am using ASP.NET master pager, in IE8 i am unable to set the Default button focus.

Question 1.
I am using ASP.NET master pager, in IE8 i am unable to set the Default button focus.

Hi Sureshrajanmca

Pls. use page's PreRender event, it works for me...

Private Sub Default_PreRender(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.PreRender
        Button1.Focus()
    End Sub

Mark as solved if it helps you!!!

Hi Sureshrajanmca

Pls. use page's PreRender event, it works for me...

Private Sub Default_PreRender(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.PreRender
        Button1.Focus()
    End Sub

Mark as solved if it helps you!!!

Thanks for ur Reply,but Still i cant set focus for the button.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.