I'm creating a web part. I need an update panel to refresh controls when using dropdowns list. I dont know why but it's missing the namespace when it shouldnt right?
using Microsoft.SharePoint;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
protected override void CreateChildControls()
{
updatePanel2 = new UpdatePanel();
updatePanel2.UpdateMode = UpdatePanelUpdateMode.Conditional;
toolPartPanel = new Panel();
label2 = new Label();