Amit,
I have some sample code on my web site,
www.aboutfortunate.com, that may
help you. It shows how to find the row in a datagrid when a checkbox in that
row is checked. It will get you started with what you want to do. I also
have a javascript component on the site that lets you set focus to any
control.
All the code on my website is free. For the datagrid example click on the
"Code Library" link on the top right of the site and then search for:
"Checkbox in datagrid" or something similar. For the javascript component
click on the "Javascript" button in the menu on the left after you are in
the code library.
--
Sincerely,
S. Justin Gengo, MCP
Web Developer / Programmer
www.aboutfortunate.com
"Out of chaos comes order."
Nietzsche
"Amit" <Am**@discussions.microsoft.com> wrote in message
news:2B**********************************@microsof t.com...
Hi All,
In one of my web form we are using datagrid server control. There are 5
columns (Sr.No,ProductID,ProductName,Quantity,Rate) in the gird. In footer
or edit template I used textbox and dropdownbox controls.
What I want if user put some values in textbox (for ex. ProductID),
ProductName automatic select in next column or if user select ProductName
from DropDownlist ,the ProductID automatic display in Textbox. Productlist
is bind with products table. I also set AutopostBack=True for both the
controls. I want this functionality work with both the cases (Footer/Edit).
So how can I trap this event in datagrid.
Please help me.
Thanks in advance
Amit Pardeshi