[Javascript] Code for Transferring Datagrid item to Text Box

Roger Roelofs rer at datacompusa.com
Mon Nov 6 06:13:39 CST 2006


Raja,

On Nov 6, 2006, at 4:36 AM, Rajaram Sahasranaman wrote:

> I have a datagrid with link buttons. The Datagrid contains Analyst  
> Name and Site. While clicking on any Analyst Name or Site, the  
> corresponding entry will come in two text boxes below the grid for  
> modifying. This is the business requirement. Even though I am doing  
> this  using Item Command Event of Datagrid, it comes with a  
> postback. Could anybody please help me by giving javascript code  
> for this so that I can avoid this unnecessary postback?  That is,  
> while clicking on the grid, the corresponding entry should come in  
> the text boxes. The item may be 7th , or 1st, or 8th. But there  
> will be only one at a time.

What have you tried?  Can you put a sample of the page on a public  
server?  It is much easier for list members to debug your code if we  
can see it.

Thanks!

Roger
--
Roger Roelofs



More information about the Javascript mailing list