Fire the RadStrip click event programatically

3 posts, 1 answers
  1. Nijanand
    Nijanand avatar
    5 posts
    Member since:
    Jul 2012

    Posted 09 Jun 2011 Link to this post

    Is there a way to raise the RadTabStrip tab click event programatically?

    I want to be able to raise the event and not just call the event handler directly.
  2. Gimmik
    Gimmik avatar
    170 posts
    Member since:
    May 2011

    Posted 09 Jun 2011 Link to this post

    Hi Nijanand,

    I don't think manually raising an event is supported, but you may want to submit a support ticket to Telerik to confirm.

  3. DevCraft R3 2016 release webinar banner
  4. Answer
    Helen avatar
    1052 posts

    Posted 10 Jun 2011 Link to this post

    Hello Nijanand,

    Actually It is not supported. You should call an event handler in order to raise the event. See the code below:

    protected void Page_Load(object sender, System.EventArgs e)
        RadTabStripEventArgs args = new RadTabStripEventArgs(RadTabStrip1.Tabs[0]);
        RadTabStrip1_TabClick(this.RadTabStrip1, args);
    protected void RadTabStrip1_TabClick(object sender, RadTabStripEventArgs e)
        Label1.Text = e.Tab.Text;

    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Back to Top