Doubts?
-
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.
-
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.
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; }
-
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.
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.
-
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.
_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?