Buy Questpond's video subscriptions on
huge discount
.
Online: 1833
Home
Articles
Interviews
Forums
For Beginners
Popular Questions
ITIL Career Advice
PMP Career Advice
Career Advices
Codes
Videos
ASP.NET
ASP.NET MVC
Android Intel XDK
Sql Server
AngularJS
Bootstrap
Backbone.JS
MongoDB
LESS (CSS)
jQuery
WPF
WWF
SSIS
LightSwitch
Tutorials
News
ASP.NET MVC
|
Be Interview Ready
|
Top Performers
|
DNF MVP
|
Top Posts
|
Winners
|
Subscribe
|
Catalogs
Welcome Guest !
Register
Login
Home
>
Interviews
>
ASP.NET
>
Loading ...
Does defaultbutton of form tag works with ImageButton?
Posted by
Bhakti
on 12/4/2009 | Category:
ASP.NET Interview questions
| Views: 6531
Post
|
Interview FAQs
|
Exclusive Questions
|
Interview Home
Answer:
No. It does not.
You need to handle such scenarios using code or JavaScript (This will be preferrable as defaultbutton doesn’t work also for FireFox)
Asked In:
Many Interviews |
Alert Moderator
Bookmark It
< Previous :
What is the lifetime of ViewState?
Next > :
How can you declare and initialize variables in a ...
Comments or Responses
Posted by:
Virendradugar
on: 12/4/2009
That's not true..
Image button can work as a default button.
Place a panel and inside panel place a image button. Set default button property of panel to the id of image button.And, it will work.
Kindly test it and modify your answer accordingly.
Posted by:
Bhakti
on: 12/4/2009
Hi Virendra,
Image button cant set as default button
while its specified in form tag
.
Kindly check from your end...
Your provided reply is work-around.
Thanks,
Bhakti Shah
Posted by:
Virendradugar
on: 12/4/2009
But your question does not say that it should only work with form tag. :)
As defaultbutton property exists for form also and panel also. You have to be specific for which control you are asking.
Thanks,
Virendra Dugar
Posted by:
Bhakti
on: 12/4/2009
Hi Virendra,
Question updated.
Thanks,
Bhakti Shah
Login to post response
More Interview Questions by Bhakti
How can you declare and initialize variables in a single line with SQL ...
How will you set focus to the control?
Is it possible to maintain scroll bar positions during postbacks ?
How will you delete all records of table other then recently added 10 ...
Justify : Custom validator gets executed only at client side.
How to assign width to label/button/textbox in vb.net ?
How to assign font to label at run-time in vb.net ?
Write query with which you can achieve paging from SQL side.
Latest Interview Questions
Can we define generics for any class?
Tell name of the system procedure to create and drop linked server in ...
How can you insert multiple rows together in a single insert statement ...
is it possible to add APP_Code folder in web application project in Vi ...
Stored procedure return more than one resut set and datareader used to ...
I have regular expression for date: ^[0-1]{1,1}\d{1,1}/[0-3]{1,1}\d{1, ...
Which method is used to Clear an array using JavaSctipt?
Which method is used to return an item from the Top of the Stack?
More ...