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. Fire Server Side Function from Client Side Code

Fire Server Side Function from Client Side Code

Scheduled Pinned Locked Moved ASP.NET
questioncsharpjavasysadmin
4 Posts 4 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.
  • M Offline
    M Offline
    Mei Yoong
    wrote on last edited by
    #1

    Can i fire up functions/method in ther server side (vb.net) using the client side code (java script)? How can i call the functions in the serevr side?Please show me the code. Thanks alot

    A S P 3 Replies Last reply
    0
    • M Mei Yoong

      Can i fire up functions/method in ther server side (vb.net) using the client side code (java script)? How can i call the functions in the serevr side?Please show me the code. Thanks alot

      A Offline
      A Offline
      Abhishek Joshi
      wrote on last edited by
      #2

      In Javascript code just submit your page eg. Form1.submit(); So that your page will get reloaded and contents of web controls will remain as it is due to view state. In page Load event code do further processing.

      #Abhi#

      1 Reply Last reply
      0
      • M Mei Yoong

        Can i fire up functions/method in ther server side (vb.net) using the client side code (java script)? How can i call the functions in the serevr side?Please show me the code. Thanks alot

        S Offline
        S Offline
        sanjivji
        wrote on last edited by
        #3

        either go for ajax

        1 Reply Last reply
        0
        • M Mei Yoong

          Can i fire up functions/method in ther server side (vb.net) using the client side code (java script)? How can i call the functions in the serevr side?Please show me the code. Thanks alot

          P Offline
          P Offline
          Paddy Boyd
          wrote on last edited by
          #4

          Or you can directly call the javascript __DoPostback() function.

          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