Problem with UpdatePanel ASP.Net and PostBacks plzz Help

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • shanthsp2002
    New Member
    • Apr 2006
    • 28

    Problem with UpdatePanel ASP.Net and PostBacks plzz Help

    Hi i am Developing a kind of web based timesheet application and i got problem with the Updatepanel, actually i am using a gridview in which there are linkbuttons , when we click linkbutton of particular cell the popup must be opened But when i use the Update panel this is not happening, any way i have used CientCallback as alternative

    I am firing Callback when the popup is closed here is the code.

    this is the code in popup that i am calling before Unload

    Code:
                  window.opener.update(1);  //the Update is function in parent page
    
     Here is the code that i am calling in parent window
    
    function update(elemValue)
         {
    
                       if(Number(elemValue)==1);
                       {
                       
                          alert('gotit');
                          WebForm_DoCallback('__Page','TimeCallback',OnCallback,this,OnCallback,true);
                                            
                       
                       }
    
    
         }
    the Callback event is firing but Grid view is not beeig Updated

    Hope someone help me if any body have idea abt this mail me

    [email removed]
    Last edited by kenobewan; Mar 2 '07, 01:26 PM. Reason: Remove email - against site policy
  • kenobewan
    Recognized Expert Specialist
    • Dec 2006
    • 4871

    #2
    How are you populating the gridview with data? Make sure that the gridview is getting its datasource refreshed and not just the page.

    Comment

    Working...