DefaultFocus Does not Work in IE?

D

dmeglio

I've just upgraded a project to ASP.NET 3.5 and VS2008 from .NET 1.1.
All is going well. I noticed a great new attribute on the <form> tag
called DefaultFocus. I gave it a try. When I load up my page in IE,
nothing is different. However, in FireFox, my txtUsername is given
focus. Any reason why this isn't working in IE7? I've read some people
saying it is a problem in WebForm_AutoFocus, any ideas/suggestions?
 
L

Lars

Hi

Suppose I don't want to show the data in a GridView. In stead I would like
to depending on the data return create output in the following format.

<li><a href="http:www.domain.com/filename1.mp3">File Name 1</a></li>
<li><a href="http:www.domain.com/filename2.mp3">File Name 2</a></li>
<li><a href="http:www.domain.com/filename3.mp3">File Name 3</a></li>

The selected from a table in a data base using a SqlDataSource.

http://www.domain.com/filename1.mp3 | File Name 1
http://www.domain.com/filename2.mp3 | File Name 2
http://www.domain.com/filename3.mp3 | File Name 3

Navigating in the GridView doesn't seam that difficult but how do I write to
the actual document that is the putput page. Similar to printf(",,,,"); in
PHP.


To change the GridViews behaviour using Java script and OnClicks etc seamt
much more difficult.

Lars
 
D

dmeglio

Indeed. No effect. Both work just fine in FireFox, however. Strange
that MS built the JavaScript in such a way that it works better in
FireFox than in IE... anyone else experiencing this issue?
 

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

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,066
Latest member
VytoKetoReviews

Latest Threads

Top