TabStrip with Export Grid problem and Submit Form problem

4 posts, 0 answers
  1. Jason Bourdette
    Jason Bourdette avatar
    77 posts
    Member since:
    Jan 2010

    Posted 23 Jun 2011 Link to this post


    I'm using a tabstrip control with 3 tabs.

    - tab 1 is static content - works fine

    - tab 2 is a RadGrid  (data loads fine, paging is fine, details all fine, however commanditem export doesnt work.
        - note i put the same grid in a page by itself (no tabs) and export work just fine.

    - tab 3 is a form of user fields with a submit button (in buttonclick event, data is saved to sql db). When debugging form seems to work fine. i can set a break point on ButtonClick and it gets called everytime and data is properly saved. When the page is put on production server buttonClick event doesnt seem to fire. I put the exact same code outside the tabcontrol and it work perfect on production server and debug. buttonclick always fires.

    I'm using whatever the newest version of rad controls is, as of this post.

    thoughts?

    jason
  2. Dimitar Terziev
    Admin
    Dimitar Terziev avatar
    1266 posts

    Posted 28 Jun 2011 Link to this post

    Hi Jason,

    In general there should be no difference whether the RadGrid is placed in a pageview with tabstrip or not. I presume that the reason for the problem you are experiencing is due to the fact that the RadTabStrip is ajaxified.

    The export functionality of the RadGrid is not supported when ajax is used, as described in this help article.

    Regarding your problem with the button click event, please try to open a support ticket and provide a sample page demonstrating the issue so we could examine it locally. The current information provided is insufficient to determine what might be the reason for this behavior.

    All the best,
    Dimitar Terziev
    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.

  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Jason Bourdette
    Jason Bourdette avatar
    77 posts
    Member since:
    Jan 2010

    Posted 30 Jun 2011 Link to this post

    After several hours of testing i finally figured out why my page is acting strange.

    The page i'm working on is the root site page and when visiting the page as: 
        
        http://mypage.net/index.aspx  

    everything works fine. (ie i have tabs with grids in tabs and a tab a submit form). Paging, sorting, ajax - everything works (except for export but i can live with that)

    however when visiting the exact same page as

     

    http://mypage.net

    nothing works (paging, sorting, tabs, submit form doesnt work). This took forever to figure out bc almost everyone access the page as http://mypage.net.  it took some time before i realized that everything work correctly when the URL is http://mypage.net/index.aspx

    Problem is, I still dont know how to fix this. I guess i could use a blank page with a redirector to index.aspx. This seems lame. I tried a URL mapping in the web.config file but that didnt do anything.

    ideas?


    thanks
    jason

  5. Dimitar Terziev
    Admin
    Dimitar Terziev avatar
    1266 posts

    Posted 05 Jul 2011 Link to this post

    Hello Jason,

    Please refer to the following forum thread explaining how to make a particular page a default one.

    Regarding the export when an ajax is used, my suggestion is use the workaround suggested in the help article I've send you before and just disable the ajax when you are exporting. There is also a code library implementing such a scenario.

    All the best,
    Dimitar Terziev
    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

Back to Top