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. Doubts?

Doubts?

Scheduled Pinned Locked Moved ASP.NET
questionjavascripthtmldatabasesysadmin
4 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.
  • S Offline
    S Offline
    srilu nagalla
    wrote on last edited by
    #1

    Hi, In my app i generated a tablerows dynamically through javascript,after the postback the dynamic rows are vanished. what i have to do maintain dynamic rows(contain texboxes in each cell)? After filling the textboxes(html textboxe,i want to pass all the values to the database, How can i pass these textbox values to server? Plz give me some idea regarding that? Advanced Thanks Srilakshmi.

    G _ 2 Replies Last reply
    0
    • S srilu nagalla

      Hi, In my app i generated a tablerows dynamically through javascript,after the postback the dynamic rows are vanished. what i have to do maintain dynamic rows(contain texboxes in each cell)? After filling the textboxes(html textboxe,i want to pass all the values to the database, How can i pass these textbox values to server? Plz give me some idea regarding that? Advanced Thanks Srilakshmi.

      G Offline
      G Offline
      Guffa
      wrote on last edited by
      #2

      srilu nagalla wrote:

      what i have to do maintain dynamic rows(contain texboxes in each cell)?

      You have to recreate them on every postback.

      srilu nagalla wrote:

      After filling the textboxes(html textboxe,i want to pass all the values to the database, How can i pass these textbox values to server?

      If the fields are inside the form that is posted to the server, their values are included in the data that is posted. You can use Request.Form to retrieve the values on the server.

      --- b { font-weight: normal; }

      1 Reply Last reply
      0
      • S srilu nagalla

        Hi, In my app i generated a tablerows dynamically through javascript,after the postback the dynamic rows are vanished. what i have to do maintain dynamic rows(contain texboxes in each cell)? After filling the textboxes(html textboxe,i want to pass all the values to the database, How can i pass these textbox values to server? Plz give me some idea regarding that? Advanced Thanks Srilakshmi.

        _ Offline
        _ Offline
        _mubashir
        wrote on last edited by
        #3

        Where are you calling the Javascript to create dynamic textboxes? The script might not be running after the postback causing the textboxes to vanish. I still cudnt figure out why are you creating textboxes with Javascript. Please explain your scenario so that anyone here can help you out or provide a better solution to your problem. Mubashir

        Every job is a self portrait of the person who did it.

        S 1 Reply Last reply
        0
        • _ _mubashir

          Where are you calling the Javascript to create dynamic textboxes? The script might not be running after the postback causing the textboxes to vanish. I still cudnt figure out why are you creating textboxes with Javascript. Please explain your scenario so that anyone here can help you out or provide a better solution to your problem. Mubashir

          Every job is a self portrait of the person who did it.

          S Offline
          S Offline
          srilu nagalla
          wrote on last edited by
          #4

          _mubashir wrote:

          Where are you calling the Javascript to create dynamic textboxes?

          When i enter in page it contains table heading and one row with textboxes,after i fill boxes and then press "Enter" button then next row will add

          _mubashir wrote:

          I still cudnt figure out why are you creating textboxes with Javascript.

          For execution faster i want to add rows dynamically,to remove burden on the server. Is their any wrong in my view? which is the best one,server side rows creation,client side creation Which is the faster one? and eaiser one?

          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