This is a migrated thread and some comments may be shown as answers.

Second RadPane is not updating at all

0 Answers 25 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Tammie
Top achievements
Rank 1
Tammie asked on 27 Dec 2012, 11:34 PM

RadPane2 is hidden initially on my page. However, I have RadGrid1 in RadPane1, which is visible.

So when I select a row from RadGrid1, this causes the indexchanged event method to fire.  RadPane2.Visible is set to True in that method and I populate the detail fields.  Using the debugger, I see values going into those detail fields. Unfortunately, on my page RadPane2 does not refresh and show me those updated fields.

What am I missing? Any suggestions?


code:
----------------------------

        public void RadDataGrid1_IndexChanged(object sender, EventArgs e)
        {
            RadGrid grid = (sender as RadGrid);
 
            if (grid != null && RadDataGrid1.SelectedIndexes.Count > 0)
            {
                int index = grid.SelectedIndexes[0].GetIntOrZeroIfError();
 
                item = grid.Items[index];

                // Detail fields                  lblDetail_Name.Text = item["Name"].Text;
                lblDetail_Address.Text = item["Address"].Text;



                
                RadPane2.Visible = true;             }         }

----------------------------
Thanks,
Tammie

No answers yet. Maybe you can help?

Tags
Ajax
Asked by
Tammie
Top achievements
Rank 1
Share this question
or