Hello! First here is an overview of what I have currently:
-A user control that consists of a RadGrid and a public function for pages using the Control to set/data bind the data source.
-A page with a RadScriptManager, RadTabStrip, and a RadMultiPage
-The tabstrip has two tabs defined in the aspx file
-The multipage has two RadPageViews that each contain an instance of my user control, they have different ID's defined
The only thing I have in the aspx code behind file is:
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
Retrieve ret = new Retrieve();
List<Document> movies = ret.GetDocs("Movies");
moviesDocumentList.SetDataSource(movies); //moviesDocumentList is the first instance of my userControl
List<Document> docs = ret.GetDocs("Screams");
screamsDocumentList.SetDataSource(docs); //the second instance of my user control
}
}
Whenever I load the page like this, the moviesDocumentList Control shows up, but the entire tab strip disapears (you can see it in the html if you do view source though).
Now, what really wierds me out is that if I comment out the last two lines in my page load function (the one that binds data to the screamsDocumentList) the tabs strip will display correctly.
I had some other issues past this, but I think they all stemed from this initial confusion. Any idea what is up? I can provide my solution if needed.
-A user control that consists of a RadGrid and a public function for pages using the Control to set/data bind the data source.
-A page with a RadScriptManager, RadTabStrip, and a RadMultiPage
-The tabstrip has two tabs defined in the aspx file
-The multipage has two RadPageViews that each contain an instance of my user control, they have different ID's defined
The only thing I have in the aspx code behind file is:
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
Retrieve ret = new Retrieve();
List<Document> movies = ret.GetDocs("Movies");
moviesDocumentList.SetDataSource(movies); //moviesDocumentList is the first instance of my userControl
List<Document> docs = ret.GetDocs("Screams");
screamsDocumentList.SetDataSource(docs); //the second instance of my user control
}
}
Whenever I load the page like this, the moviesDocumentList Control shows up, but the entire tab strip disapears (you can see it in the html if you do view source though).
Now, what really wierds me out is that if I comment out the last two lines in my page load function (the one that binds data to the screamsDocumentList) the tabs strip will display correctly.
I had some other issues past this, but I think they all stemed from this initial confusion. Any idea what is up? I can provide my solution if needed.