Hello!
I have a radform with a button, when I click it, a usercontrol form opens in a tab inside the radpageview, all nice, but if I click the same button, the same usercontrol open in another tab.. so, the question is, how I can prevent this? for example instead of open the same tab, maybe it can focus to the tab that is already open with the usercontrol in it,
this is the basic code for my button:
1.
RadPageViewPage page =
new
RadPageViewPage();
2.
UserControl1 uc =
new
UserControl1();
3.
4.
page.Text =
"Page Test "
;
5.
radPageView1.Pages.Add(page);
6.
page.Controls.Add(uc);
7.
radPageView1.SelectedPage = page;
what type of if statement do I need here?
Thanks!
btw, amazing job with this .net toolbox! Thanks!