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

Grid as Custom Control, Bleed on postbacks

1 Answer 31 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Kurt Wondra
Top achievements
Rank 2
Kurt Wondra asked on 31 Aug 2010, 03:48 PM
Good morning,

I am having some strange behavior going on with some of my radGrids and was wondering if anyone could shed any light on the situation for me.  Let me first describe the set-up of pages and controls that I have going on:

I have one actual aspx page which I have a bunch of controls nested within, just call this page the Display Page.
I have 1 tabstrip which has multiple tabs, just call this the Tab Strip.
2 of the tabs on that Tab Strip are nearly identical in content so I wanted to remove the identical grid control from the markup from each and create a custom control from it.  Refer to the two tabs as Tab A and Tab B and the "extracted"/custom-control grid as just Grid X.

I have tried two different set-ups and have gotten the same result:

First, within the Tab Strip on the Display Page, I had the another custom control specific to Tab A and within that custom control, I then nested the custom control containing Grid X inside of that.  I followed this same set-up for Tab B.

Second, I removed that "middle layer" so that within Tab A itself, it simply contained the custom control containing Grid X (a.k.a. no custom control specific to Tab A in the middle).  I followed this same set-up for Tab B.

The problem then would come on ANY postback from the custom control (Grid X).  Upon the Refresh, Filter, etc click from either tab, the actions would only be applied to Tab B (Tab As actions effected Tab B, Tab Bs actions effected Tab B).  I believe this may be from the javascript that is generated when these controls are rendered and since everything in Tab B is rendered after Tab A, it seems that some of Tab A's stuff is being overwritten with Tab B stuff. 

Any ideas?

1 Answer, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 06 Sep 2010, 10:39 AM
Hello Kurt,

The provided information is not enough to determine the exact cause for the issue you are facing. Could you please open a formal support ticket, and send us the problematic code, for additional testing and debugging.

Thank you.

Sincerely yours,
Pavlina
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
Kurt Wondra
Top achievements
Rank 2
Answers by
Pavlina
Telerik team
Share this question
or