How do I get the text of a textbox within an ItemTemplate(ListBox) to submit a form?
I am using the code below. The control is found but the Text property is always empty ("")
I am using the code below. The control is found but the Text property is always empty ("")
protected void ListBoxFeeds_ItemDataBound(object sender, RadListBoxItemEventArgs e){ btnComment = e.Item.FindControl("PostComment") as RadButton; CommentContent = ((RadTextBox)e.Item.FindControl("InputComment")).Text; btnComment.Click += new EventHandler(btnComment_Click); }