1st timer... New "B" lol, just started learning C# 3 moths ago and using telerik for the 1st time... really cool components and lots of fun... not knowing (yet) how it all works I have the following that is close to working as I'd like but need to 'ForceDataReload(AchRadGridView)'
from a 'tabStrip1.SelectedTab' :)
So far I have a mess where it goes like this...
The above seems to work to show my "selected" tab on each click and assuming my session parm is being set... when I add this to it my "grid" does not update...
The
So I started looking at maybe a "TabClick" but cannot figure out the syntax or proper use to achieve the same effect as the button; that is when the button was clicked the grid used the new assigned parm "All" as a filter in the "fill" to give me a new list in my grid and I want to do it with the good looking telerik tab strip :)
Sorry if long winded... and if I am making no sense..
from a 'tabStrip1.SelectedTab' :)
So far I have a mess where it goes like this...
protected void TabSelected(object sender, EventArgs e) { if (tabStrip1.SelectedTab == Tab1) { Session["SessionData-AchFilter"] = "ALL"; tabStrip1.SelectedIndex = 0; } if (tabStrip1.SelectedTab == Tab2) { Session["SessionData-AchFilter"] = "NOT"; tabStrip1.SelectedIndex = 1; } if (tabStrip1.SelectedTab == Tab3) { Session["SessionData-AchFilter"] = "APP"; tabStrip1.SelectedIndex = 2; } if (tabStrip1.SelectedTab == Tab4) { Session["SessionData-AchFilter"] = "UNA"; tabStrip1.SelectedIndex = 3; } if (tabStrip1.SelectedTab == Tab5) { Session["SessionData-AchFilter"] = "REJ"; tabStrip1.SelectedIndex = 4; } }The above seems to work to show my "selected" tab on each click and assuming my session parm is being set... when I add this to it my "grid" does not update...
if (tabStrip1.SelectedTab == Tab1) { Session["SessionData-AchFilter"] = "ALL"; tabStrip1.SelectedIndex = 0; ForceDataReload(AchRadGridView); }The
'ForceDataReload(AchRadGridView);' worked when I was doing the same desired "refresh" on a basic button://protected void ALL_Click1(object sender, EventArgs e)//{// if (Globals.Page.IsValid)// {// Session["SessionData-AchFilter"] = "ALL";// ForceDataReload(AchRadGridView);// }//}Sorry if long winded... and if I am making no sense..