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

RadGrid every other click works?

1 Answer 54 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Michael Fuller
Top achievements
Rank 1
Michael Fuller asked on 04 May 2010, 07:09 PM
Hello,

I'm trying to fix a page on out local site, and the issue is this, when performing any action, expanding a row item, sorting or filtering, it takes 2 clicks for the action to work.  The page is as follows, a master page, the actual page, which has a RadScriptManager, then 2 nested UpdatePanels, and a RadGrid inside of the 2nd nested panels.  On the grids first load it seems to work when expanding rows, but paging, sorting or filtering seems to cause problems.  Once a problematic action is taken the data will appear correctly, but clicking to expand a row, sort again, or page will fail without a notification, the server will just return the same page data again, as if it did not detect the grids postback action.  After the failed click i'm able to expand rows once again.  I've been debugging the page and on the failing clicks the pages onLoad method is called, but the sub items are not called.

Also the RadGrid is placed in a user control.

Any ideas?

Also I've been looking at the post back information and this is what I found.  I steps I took were to expand a row, close a row, filter to display that row, and then open and close it.

-- Bad Row Open
[48] = "ctl00$pageContent$tAlerts$rgAlerts$ctl00$ctl17$GECBtnExpandColumn"
-- Good Row Open
[48] = "ctl00$pageContent$tAlerts$rgAlerts$ctl00$ctl16$GECBtnExpandColumn"
-- Good Row Close
[48] = "ctl00$pageContent$tAlerts$rgAlerts$ctl00$ctl16$GECBtnExpandColumn"

-- Good Filter
[44] = "ctl00$pageContent$tAlerts$rgAlerts$ctl00$ctl02$ctl01$btnLocationOk"

-- Bad Row Open
[44] = "ctl00$pageContent$tAlerts$rgAlerts$ctl00$ctl05$GECBtnExpandColumn"
-- Good Row Open
[44] = "ctl00$pageContent$tAlerts$rgAlerts$ctl00$ctl04$GECBtnExpandColumn"
-- Good Row Close
[44] = "ctl00$pageContent$tAlerts$rgAlerts$ctl00$ctl04$GECBtnExpandColumn"

1 Answer, 1 is accepted

Sort by
0
Tsvetoslav
Telerik team
answered on 10 May 2010, 09:21 AM
Hi Michael,

Try using just one UpdatePanel control and put the RadGrid control in it.

All the best,
Tsvetoslav
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Grid
Asked by
Michael Fuller
Top achievements
Rank 1
Answers by
Tsvetoslav
Telerik team
Share this question
or