Click here to Skip to main content
15,895,142 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi..i have two radgrids and there are several tabs.Requirement is that on clicking first tab,one grid is to be shown and on changing tabs, other grid is to be shown.

Now the problem is on changing tabs,both grids are shown.
So how can we hide one grid.

What I have tried:

C#
 string tabId = e.Tab.PageViewID;
            RadPageView pageView = (RadPageView)RadMultiPageClasses.FindPageViewByID(tabId);
            pageView.Controls.Add(RGridMappedDocument);
RGridMappedDocumentSecond.Visible = false;
            RGridMappedDocument.Visible = true;

RGridMappedDocument.Rebind();
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900