Reusing gridview in same page but various tabs - is there an alternative to usercontrol?http://forums.asp.net/t/1773460.aspx/1?Reusing+gridview+in+same+page+but+various+tabs+is+there+an+alternative+to+usercontrol+Mon, 27 Feb 2012 11:48:40 -050017734604849435http://forums.asp.net/p/1773460/4849435.aspx/1?Reusing+gridview+in+same+page+but+various+tabs+is+there+an+alternative+to+usercontrol+Reusing gridview in same page but various tabs - is there an alternative to usercontrol? <p>Hi</p> <p>I have a gridview that has to be shown under different conditions depending on which tab is selected on a page.</p> <p>For now I have tried to solve this using a UserControl and even though this has worked fine for me before, this one is causing me a pain. I think it is because it resides in the same directory which appears to be a big issue for ASP.NET</p> <p>But its only on this page so I though if there is another way where one can define a section (Panel like) and refer to showing it more than one place. I control the conditions through the datasource, so this appears to be a valid choice.</p> <p>TIA</p> <p>Soeren Dalby</p> 2012-02-24T13:56:45-05:004850705http://forums.asp.net/p/1773460/4850705.aspx/1?Re+Reusing+gridview+in+same+page+but+various+tabs+is+there+an+alternative+to+usercontrol+Re: Reusing gridview in same page but various tabs - is there an alternative to usercontrol? <p>You mean a common tabpanel with grid that will be displayed for all the tabs! NO. Thats not possible with ajx tabcontainer.</p> 2012-02-25T14:49:30-05:004851369http://forums.asp.net/p/1773460/4851369.aspx/1?Re+Reusing+gridview+in+same+page+but+various+tabs+is+there+an+alternative+to+usercontrol+Re: Reusing gridview in same page but various tabs - is there an alternative to usercontrol? <p>you might end up in writing your own tab container in this case...</p> <p>Thanks,</p> 2012-02-26T11:55:26-05:004852798http://forums.asp.net/p/1773460/4852798.aspx/1?Re+Reusing+gridview+in+same+page+but+various+tabs+is+there+an+alternative+to+usercontrol+Re: Reusing gridview in same page but various tabs - is there an alternative to usercontrol? <p>In that case, stick to the user control which you have already created as it worked for you.</p> 2012-02-27T11:48:40-05:00