Search Result

Collapse
2 results in 0.0043 seconds.
Keywords
Members
Tags
codebehind
  •  

  • Calling Javascript mid processing from CodeBehind

    I need to be able to do the following:
    1. Perform some operations in a Button click event
    2. Based on the results of a database query popup a javascript confirm box
    3. If the user clicks OK then continue to submit the page
    4. If the user clicks "Cancel" then DO NOT submit the page and in fact return to the original page.

    Displaying a confirm box before the form submission process has begun is easy but it seems to be problematic when...
    See more | Go to post

  • pearlmca
    started a topic How to call javascript from code behind
    in .NET

    How to call javascript from code behind

    I am using .Net 3.5, withupdatepanel , Its a registration form based on email availability , I call java script function within the button click function,i try a lot but not working.

    Code:
    <asp:ImageButton ID="imgbut_save" ImageUrl="images_test/button-save.gif" OnClientClick ="return pagevalidationnew();" runat="server"
                                OnClick="imgbut_save_Click" />
    ...
    See more | Go to post
Working...