Default Button in Asp.net

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sivakumarcse
    New Member
    • Jan 2009
    • 6

    Default Button in Asp.net

    I have some buttons in grid which is used to open a model popup(inside grid) .
    I included Form.DefaultBut ton = SaveBtn.UniqueI d in my code.
    Finally i have a save button(default btn) to save the content in grid. when i hit enter button inside the form only one time the default button works , second time i hit the enter button its not working. I have set all the buttons Submit behaviour to false expect Save button. Please Help. Only one time the code executes fine second time its not working i.e iam not able save my content ... SaveButton is not firing the second time ...
  • debasisdas
    Recognized Expert Expert
    • Dec 2006
    • 8119

    #2
    Question moved to ASP.NET forum.

    Comment

    • sivakumarcse
      New Member
      • Jan 2009
      • 6

      #3
      Default Button

      Pls help me in this issue.. see thread

      Comment

      • Frinavale
        Recognized Expert Expert
        • Oct 2006
        • 9749

        #4
        In your aspx code, have you tried setting the DefaultButton Property there...

        For example
        [code=asp] <form id="form1" runat="server" defaultbutton=" Save">[/code]

        I have a feeling that using the UniqueID is not correct....it should just be the name of the button as you've named it in the form.

        Comment

        • sivakumarcse
          New Member
          • Jan 2009
          • 6

          #5
          AjaxPro2 in visual stuidio 2008

          will ajaxpro2 will work in visual studio 2008..
          iam using it in vs2005 and is working fine...

          Comment

          • Frinavale
            Recognized Expert Expert
            • Oct 2006
            • 9749

            #6
            Try it and find out?

            I would assume that the since it's AjaxPro [b]2[/u], it requires the .NET Framework version 2. You may have to configure your Visual Studio 2008 project to target that platform instead of the 3.0 or 3.5 Framework.

            Best way to find out is to try it.

            AjaxPro 2 developed by a 3rd party and it is highly unlikely that any of the experts on this forum have used it before, so it is unlikely that you will receive an answer to this question. Once you have found the answer please feel free to share it with the rest of us so that others with the same question can find the solution.

            Comment

            Working...