Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Default button in Panel control not working

Default button in Panel control not working

Scheduled Pinned Locked Moved ASP.NET
tutorialquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    Niungareamit
    wrote on last edited by
    #1

    hi, I am using an Panel control on my website. Inside the panel control I have various text boxes. I have validations for the textboxes. Also I have applied a master page to this web page. I have set the default button for this panel as submit button inside the panel. On master page I have another text boxes for user to log in. when I fill the data in the text boxes inside the panel completely or incompletely, default button should get clicked but it is not happening with my example,. I tried it by taking submit button outside the panel, then also it is not working. What should i do???????

    R 1 Reply Last reply
    0
    • N Niungareamit

      hi, I am using an Panel control on my website. Inside the panel control I have various text boxes. I have validations for the textboxes. Also I have applied a master page to this web page. I have set the default button for this panel as submit button inside the panel. On master page I have another text boxes for user to log in. when I fill the data in the text boxes inside the panel completely or incompletely, default button should get clicked but it is not happening with my example,. I tried it by taking submit button outside the panel, then also it is not working. What should i do???????

      R Offline
      R Offline
      RonRasmussen
      wrote on last edited by
      #2

      When you use a master page you have to list the containing control followed by a $ and then the name of the default button like this DefaultButton="Login1$LoginButton" or DefaultButton="[Panel Name]$[Button Name] Hope this helps!

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups