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. How to get data back from client side to the server side

How to get data back from client side to the server side

Scheduled Pinned Locked Moved ASP.NET
helpcsharpjavascriptasp-netsysadmin
8 Posts 3 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.
  • D Offline
    D Offline
    Dhruvil
    wrote on last edited by
    #1

    Hello all, This might be simple issue, but I am new in this. I have a datagrid, and I am sending datagrid's row data to the javascript function on- onclick event using itembound property.(e.item...) I need to use that row data again on server side, (I need to identify, which row was clicked) for adding that row data to the client's outlook calendar.Basically, I have a list of appointments in datagrid.This is the first question. Second, If anybody know, how to add, appointment to the MS-Outlook from asp.net(by javascript or serverside code) please help me. Thank you very much. NIKI

    N 1 Reply Last reply
    0
    • D Dhruvil

      Hello all, This might be simple issue, but I am new in this. I have a datagrid, and I am sending datagrid's row data to the javascript function on- onclick event using itembound property.(e.item...) I need to use that row data again on server side, (I need to identify, which row was clicked) for adding that row data to the client's outlook calendar.Basically, I have a list of appointments in datagrid.This is the first question. Second, If anybody know, how to add, appointment to the MS-Outlook from asp.net(by javascript or serverside code) please help me. Thank you very much. NIKI

      N Offline
      N Offline
      Not Active
      wrote on last edited by
      #2

      Handle the datagrid events for row selection etc, no javascript needed.

      D 1 Reply Last reply
      0
      • N Not Active

        Handle the datagrid events for row selection etc, no javascript needed.

        D Offline
        D Offline
        Dhruvil
        wrote on last edited by
        #3

        Thank you Mark for your quick reply. I already implemented the javascript functionality. I am using the javascript function to display the details for the selected appointment in the datagrid in some format. I need to use that javascript. Any idea, how i can add that appointment details to the ms-outlook? Thanks NIKI

        N 1 Reply Last reply
        0
        • D Dhruvil

          Thank you Mark for your quick reply. I already implemented the javascript functionality. I am using the javascript function to display the details for the selected appointment in the datagrid in some format. I need to use that javascript. Any idea, how i can add that appointment details to the ms-outlook? Thanks NIKI

          N Offline
          N Offline
          Not Active
          wrote on last edited by
          #4

          Dhruvil wrote:

          I need to use that row data again on server side...This is the first question

          Dhruvil wrote:

          I already implemented the javascript functionality.

          Don't waste everyones time here by asking questions you don't need answered.:rolleyes:

          D 1 Reply Last reply
          0
          • N Not Active

            Dhruvil wrote:

            I need to use that row data again on server side...This is the first question

            Dhruvil wrote:

            I already implemented the javascript functionality.

            Don't waste everyones time here by asking questions you don't need answered.:rolleyes:

            D Offline
            D Offline
            Dhruvil
            wrote on last edited by
            #5

            Hi Mark, I am sorry for that. I should wrote down complete things. Actually, the javascript functionality I implemented is not for getting data from client side to the server side, but for sending data of datagrid row from serverside to client side using datagrid events. If u want some more details, let me know. I have data on client side, but for some funcionality, i need the data from client side to server side for the perticular datagrid row. Thanks NIKI

            N 1 Reply Last reply
            0
            • D Dhruvil

              Hi Mark, I am sorry for that. I should wrote down complete things. Actually, the javascript functionality I implemented is not for getting data from client side to the server side, but for sending data of datagrid row from serverside to client side using datagrid events. If u want some more details, let me know. I have data on client side, but for some funcionality, i need the data from client side to server side for the perticular datagrid row. Thanks NIKI

              N Offline
              N Offline
              Not Active
              wrote on last edited by
              #6

              I still don't understand what the problem is. You have access to the data for the row that was clicked when handling the events for the datagrid. http://www.codeproject.com/aspnet/datagriddemo.asp[^]

              D 1 Reply Last reply
              0
              • N Not Active

                I still don't understand what the problem is. You have access to the data for the row that was clicked when handling the events for the datagrid. http://www.codeproject.com/aspnet/datagriddemo.asp[^]

                D Offline
                D Offline
                Dhruvil
                wrote on last edited by
                #7

                Hi I have List of events in datagrid, in which i am showing only dates in the datagrid.when someone click on a row in datagrid, it will display the details for that date's event in tabular format using a javascript function on a same page.I have one hyperlink to add that details in the microsoft outlook. when some one click on that hyperlink, the displayed event will be added to the outlook.I am very confuse with this as I am implementing first time. Thank you very much.

                R 1 Reply Last reply
                0
                • D Dhruvil

                  Hi I have List of events in datagrid, in which i am showing only dates in the datagrid.when someone click on a row in datagrid, it will display the details for that date's event in tabular format using a javascript function on a same page.I have one hyperlink to add that details in the microsoft outlook. when some one click on that hyperlink, the displayed event will be added to the outlook.I am very confuse with this as I am implementing first time. Thank you very much.

                  R Offline
                  R Offline
                  RichardGrimmer
                  wrote on last edited by
                  #8

                  To add to outlook, you need to drive the object model. The difficulty will come if in an environment with Exchange SErver, which stores all this stuff centrally. If you're happy just to use the client's Outlook, then google for "Outlook Object Model"...there WILL be version issues as will all office object models however. In terms of pushing data from the client to the server, the usual way to do this is with a postback (or AJAX if a postback is not desirable). Just post the form to the server, and ypu'll have access to all the bits you need. (Though if you're feeling brave, you COULD do it all client side with some fairly heavy-duty Javascript!) "Now I guess I'll sit back and watch people misinterpret what I just said......" Christian Graus At The Soapbox

                  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