User Profile & Activity

John Steel Member
Posted: August 31, 2015 3:29 AM

I found that if WebTabItem object is added into TabPages before assign its PageTemplate, then the div and the text "This window is using...." is displayed.

protected void Page_Load(object sender, EventArgs e)
{
    WebTabItem myTabItem = new WebTabItem();
    myTabItem.Name = "Jim";
    myTabItem.Text = "Jim";
    myTabItem.ContentMode = ContentMode.UseInlineContent;
    WebTab1.TabPages.Add(myTabItem);

    String strContent = "<div class='text'>This window is using InlineContent mode created from code behind.</div>";
    myTabItem.PageTemplate = new GenericContainerTemplate(strContent);
    myTabItem.ToolTip = "Newly added TabItem";        
}

Hope this helps.

Posted: August 31, 2015 2:38 AM

Since Crosslight is built on top of Xamarin technology, you can refer to their documentation.

  • Installation for Mac
    When using a Mac we recommended that you install Java provided by Apple, who have their own packaged version. For more detail, please check in here.
  • Installation for Windows
    It is essential to install the 32-bit version of the Java JDK even if you're using 64-bit Windows. It is also important that v1.7 of the Java JDK is installed (although it is fine to have 1.8 or newer installed at the same time). For more detail, please check in here.

Hope this helps.

All times are GMT -5. The time now is 6:59 PM.
Previous Next