How do I Binding a asp.net datalist on click event of a tabpanels Tab

  1. #1

    How do I Binding a asp.net datalist on click event of a tabpanels Tab

    Hello,
    I have a Tabpanel with 2 Panel, then 2 tab, when step from the first tab to second Tab with click on Tab
    I would like that the datalist in the second panel make binding to sqldatasources and refresh datalist.
    I'd imagine that the solution is simple but right now I can't find the solution, please someone help me if I would be grateful
    Thanks a lot
    Fabrizio
  2. #2

    Hope this helps

    I think you should implement activate listener(ajax event if you need to bind the sqldatasource) on the tab which has datalist.This would mean that when the tab every time the tab gets click the event fires and you can write the code there.
    Check out this example:

    http://examples1.ext.net/#/TabPanel/Basic/Ajax_Load/

    Hope this gives you the idea.
  3. #3

    Yes , Thanks a lot

    was what I wanted, sometimes I drown in a glass of water
    Thanks a lot
    Fabrizio
  4. #4
    Vladimir Shcheglov
    Sr. Developer

Similar Threads

  1. Problem with combo binding on direct event
    By reezvi in forum 1.x Help
    Replies: 0
    Last Post: May 05, 2012, 1:50 PM
  2. Update different GridPanels within a DataList.
    By joshihybrid in forum 1.x Help
    Replies: 0
    Last Post: Jan 06, 2011, 11:10 PM
  3. [CLOSED] XmlDataSource & DataList Coolite Alternative
    By fondant in forum 1.x Premium Help
    Replies: 4
    Last Post: Jul 08, 2010, 7:32 AM
  4. Change Event then Click event : issue
    By jeybonnet in forum 1.x Help
    Replies: 2
    Last Post: May 28, 2010, 1:19 PM
  5. Replies: 0
    Last Post: Jan 06, 2010, 6:41 AM

Posting Permissions