It is me or Page.Form.DefaultButton
doesn't seem to work in a page with no input ? I tried looking for this information but found nothing. Cause right now I am on a page where I set the default button and this doesn't work at all.
Asked
Active
Viewed 264 times
0

Soner Gönül
- 97,193
- 102
- 206
- 364

Rushino
- 9,415
- 16
- 53
- 93
-
Hello. Where is your default button? Is in a usercontrol or something? – Jhonatas Kleinkauff Jul 18 '13 at 12:27
-
Yes. It is in an user control. – Rushino Jul 18 '13 at 14:29
-
I found the answer to that question. http://stackoverflow.com/questions/11923457/default-button-not-working-in-asp-net-panel – Rushino Jul 18 '13 at 15:20
2 Answers
0
I seem to recall this is a known issue.
You can also set a DefaultButton on an <asp:Panel>
- is it practical for you to do this instead?
Actually thinking about it further I think if you add a hidden input on the page it would also fix your issue.

rtpHarry
- 13,019
- 4
- 43
- 64
0
Try to set the default button to the specific panel or content.
Try that an let me know....

Murugavel
- 269
- 1
- 2
- 9