Posted on: 7/31/2013 9:05:59 PM | Views : 262

How do I access a dropdown ddlQueue that has been declared in the same namespace but different class? It is a part of class dashboard_Index and I want to access and populate it from class dashboard_CustomDashBuild. They're both in the same namespace though.
namespace Wf.Sparc.Web {  public partial class dashboard_Index : System.Web.UI.Page  {   protected void Page_Load(object sender, EventArgs e)   {    if (!IsPostBack)     ddlQueue.SelectedValue = ((int)q).ToString();   }
  protected void ddlQueue_SelectedIndexChanged(object sender, EventArgs e)   {    int iq = Convert.ToInt32(ddlQueue.SelectedValue);    q = (Queue)iq;    LoadDash((Queue)iq);   }   protected void GetQueuesByRole()   {    ddlQue ...

Go to the complete details ...