Hi,
I need to rebind the TabStrip after postback.
In my case, the contents of the tabstrip changes after the page postbacks.
Am getting exception when i do this
BindTabStrip();
Am not getting exception when i do this, but i dont get the updated TabStrip:
Let me know if there is better way to do the rebinding of tabstrip on page postback.
Following is the code for BindTabStrip()
Thanks,
Mani
I need to rebind the TabStrip after postback.
In my case, the contents of the tabstrip changes after the page postbacks.
Am getting exception when i do this
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
BindTabStrip();
}
else
{
}
}
Am not getting exception when i do this, but i dont get the updated TabStrip:
protected void Page_Load(object sender, EventArgs e)
{
db = (DataLib_oracle)Session["db_lib"];
if (!IsPostBack)
{
BindTabStrip();
}
else
{
RadTabStrip1.DataSource = ds;
RadTabStrip1.DataBind();
}
}
Let me know if there is better way to do the rebinding of tabstrip on page postback.
Following is the code for BindTabStrip()
private void BindTabStrip()
{
DataSet ds =
getDataSet();
RadTabStrip1.DataFieldID = "web_form_id";
RadTabStrip1.DataTextField = "FORM_NAME";
RadTabStrip1.DataSource = ds;
RadTabStrip1.DataBind();
}
Thanks,
Mani