Hai all,
how to have default button in a content page. currently if i hit enter ket my master page search getting fire. i also place my master page in panel. for content for also i placed the button inside panel and set panel default button. but still my master page button getting fire. help me on this

Recommended Answers

All 3 Replies

>how to have default button in a content page.

Wrap all the asp.net controls and buttons inside the Panel and set default button property of panel with the id of a button.

>currently if i hit enter ket my master page search getting fire.

You need to add a panel in master page that wraps searchtextbox and a 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.