Quantcast
Channel: AjaxControlToolkit Work Item Rss Feed
Viewing all articles
Browse latest Browse all 4356

Created Issue: Unable to get reference to textbox within combobox [27296]

$
0
0
After updating from Ajax toolkit v4.1.50731.0 to the lastest v4.1.60919.0, I am unable to get a reference to the textbox in combobox.

To reproduce this bug, add a combobox to a page and in the page load method try finding the textbox control. I also noticed that the button returns a null reference as well. Looking at the Combobox.Controls property, it looks like only the bullet list, table, and hidden field can be retrieved.

protected void Page_Load(object sender, EventArgs e)
{
TextBox comboTextBox = ComboBox1.FindControl("TextBox") as TextBox; <---will be null
}

Viewing all articles
Browse latest Browse all 4356

Trending Articles