UpdatePanel Question

Last post 02-04-2006 7:55 PM by The Matrix. 3 replies.

Sort Posts:

  • UpdatePanel Question

    02-03-2006, 7:35 AM

    Hi,

     I have 2 UpdatePanel.

    Up1 has DataGrid
    Up2 has textbox and Button

    I have objectdatasource bind to Grid.

    The problem is
    If I move Objectdatasource from Up1 which has grid and put it outside on the page or in UpdatePanel1 than DataGrid dont find DataSource not showup

    Means objects of one UpdatePanel1 doesn't show up in ObjectDataSource if datasource is in updatepanel2 or outside on the page.

     Any idea why?

  • Re: UpdatePanel Question

    02-03-2006, 12:01 PM
    • Member
      310 point Member
    • The Matrix
    • Member since 06-21-2002, 10:02 AM
    • Jordan
    • Posts 62

    I dont know what the point behind this is. I'm facing the same thing here. I think it's gonna be kind of  "bad" to have multi data sources in one page.

    A.

    Ayman Farouk || dotnetmatrix.net
    http://geekswithblogs.net/aymanfm
  • Re: UpdatePanel Question

    02-04-2006, 5:20 AM

    Hi,

     Well I am learning it. I downloaded example in which used 2 UpdatePanels.
    You mean I should use one UPDATEPANEL and put DataGrid, DataSource, Textbox and button in it and define trigger and it should work fine

    Or

    Separate

    UpdatePanel1 = DataGrid
    UpdatePanel2 = Textbox and button ?

    So you have any downloadable article code or post where I can read more info on it?

    Thanks

  • Re: UpdatePanel Question

    02-04-2006, 7:55 PM
    • Member
      310 point Member
    • The Matrix
    • Member since 06-21-2002, 10:02 AM
    • Jordan
    • Posts 62

    Hello, I've just blogged this, hope it helps.

    A..

    Ayman Farouk || dotnetmatrix.net
    http://geekswithblogs.net/aymanfm
Page 1 of 1 (4 items)