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?
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?