User Profile

Collapse

Profile Sidebar

Collapse
NETSP
NETSP
Last Activity: Nov 13 '07, 09:15 PM
Joined: Nov 13 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • NETSP
    replied to Submit Form via code behind?
    in .NET
    I am not submitting the form to the same page. Once the AJAX method returns true value, the form gets submitted to another server mentioned in action attribute of the form tag.
    See more | Go to post

    Leave a comment:


  • NETSP
    replied to Submit Form via code behind?
    in .NET
    Here, in this example, everything is done in client side javascript itself. Even the methods are defined in JS. But in my case, I have a public method which will be in server side when I execute the form and it is only available to the form when it runs on server.
    See more | Go to post

    Leave a comment:


  • NETSP
    replied to Submit Form via code behind?
    in .NET
    <form id="frmLogin" name="frmLogin" onsubmit="submi tf();">

    I tried this. But AJAX method didn't get executed. Because I need to have runat="server". If I mention this (as below), the form doesn't get submitted.

    <form id="frmLogin" name="frmLogin" runat="server" onsubmit="submi tf();">
    See more | Go to post

    Leave a comment:


  • NETSP
    replied to Submit Form via code behind?
    in .NET
    Yes. I am getting the value on alert. Only the submit part is not working. I believe it is because I have runat="server" in the form tag. But if I don't mention this, AJAX method won't be executed. This is like a deadlock for me now!!
    See more | Go to post

    Leave a comment:


  • NETSP
    replied to Submit Form via code behind?
    in .NET
    If you don't specify runat="server", the AJAX method won't be executed at all. . It fails to call the method which is in the code behind.
    See more | Go to post

    Leave a comment:


  • NETSP
    replied to Submit Form via code behind?
    in .NET
    That is exactly what I am trying to do. I am using AJAX to retrieve the response and trying to submit the form. Since I have runat="server" in the <form> tag, I am unable to submit the form through JavaScript function. See below.

    <script language="javas cript">
    function submitf() //calling this function in onClick event of Submit button
    {
    Default.actuate Authenticate(ch eck_CallBack);...
    See more | Go to post

    Leave a comment:


  • NETSP
    replied to Submit Form via code behind?
    in .NET
    Ok. My issue is bit different.
    I have this form

    <form name='test' id='test' runat='server'>
    <input type='text' id='uName' name='uName'/>
    <input type='text' id='pwd' name='pwd' />
    <input type="submit" name="submit" ID="submit" value="submit" />
    </form>

    Now, my process is something like this:

    ...
    See more | Go to post

    Leave a comment:


  • NETSP
    replied to Submit Form via code behind?
    in .NET
    Were you able to resolve this issue? If yes, how? I am looking for an answer as well !!!
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...