Solved

how to fill text box from datagrid using ajax

Posted on 2009-04-13
4
326 Views
Last Modified: 2013-11-08
This is a beginners question. I have an asp.net form with data grid on it. On click I need to read the data grid row values and populate to text boxes/drop downs. How can I do this without a post back? I have all the info in data grid so I dont need to contact server side. Can I use Ajax here? If yes how, can any one give an example or a link?  Once this part is done I need to update the changed value to server side, that also using ajax if possible. Thanks in advance
0
Comment
Question by:x1877
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 12

Accepted Solution

by:
Nirmalan Nagenthiran earned 500 total points
ID: 24134951
Use of Java Script you can achieve this

http://www.codeproject.com/KB/grid/GridViewRowColor.aspx

This sample give you some idea.
0
 
LVL 3

Expert Comment

by:OmerFarukZ
ID: 24135317
Can you try asp:UpdatePanel?
0
 
LVL 20

Expert Comment

by:informaniac
ID: 24135484
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Having worked on larger scale sites, we found out that you are bound to look at more scalable solutions to integrating widgets, code snippets or complete applications and mesh them into functional sites, in any given composition. To share some of…
JavaScript can be used in a browser to change parts of a webpage dynamically. It begins with the following pattern: If condition W is true, do thing X to target Y after event Z. Below are some tips and tricks to help you get started with JavaScript …
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
Suggested Courses

631 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question