when i click to edit a row within my dataList i can update a textbox
within that row by doing this in the event handler:
public void EditRowHandler (Object src, DataListCommandEventArgs e)
{
// put the selected row into edit mode.
dl1.EditItemIndex = e.Item.ItemIndex;
// get the textbox ID
TextBox myTB = (DropDownList) dl1.Item.FindControl("myTB");
// populate it
myTB.Text = "Hello World!"
I am now trying to do the same from a normal function not an event
handler. but I am struggling. can anyone tell me how to find and
update my TextBox when not in dataList event handler please.
----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =---