ajaxRequestWithTarget(
"btnRefreshAct", "RebindTask")
how would i get the RebindTask from the buttonclickEvent from Radajaxmanager?
<telerik:GridButtonColumn ButtonType="ImageButton" CommandName="EditJobplan" Text="Edit JobPlan" ImageUrl="../App_Themes/Default/Images/JobPlanEdit_24.gif" UniqueName="Change"><HeaderStyle Width="1px" /><ItemStyle Width="1px" /></telerik:GridButtonColumn>
<telerik:GridButtonColumn ButtonType="ImageButton" CommandName="EditSession" Text="Edit Sessions" ImageUrl="../App_Themes/Default/Images/SessionEdit_24.gif" UniqueName="View"><HeaderStyle Width="1px" /><ItemStyle Width="1px" /></telerik:GridButtonColumn>
<telerik:GridButtonColumn ButtonType="ImageButton" CommandName="Assign" Text="Assign" ImageUrl="../App_Themes/Default/Images/JobPlanAssign_24.gif" UniqueName="Assign"><HeaderStyle Width="1px" /><ItemStyle Width="1px" /></telerik:GridButtonColumn>
<telerik:GridButtonColumn ButtonType="ImageButton" CommandName="Forum" Text="Forum" ImageUrl="../App_Themes/Default/Images/Chat_24.gif" UniqueName="Forum"><HeaderStyle Width="1px" /><ItemStyle Width="1px" /></telerik:GridButtonColumn>
<telerik:GridButtonColumn ButtonType="ImageButton" CommandName="Preview" Text="Preview" ImageUrl="../App_Themes/Default/Images/Preview_24.gif" UniqueName="Preview"><HeaderStyle Width="1px" /><ItemStyle Width="1px" /></telerik:GridButtonColumn>
| Protected Sub rgJobPlans_ItemDataBound(ByVal sender As Object, ByVal e As Telerik.Web.UI.GridItemEventArgs) Handles rgJobPlans.ItemDataBound |
| If TypeOf e.Item Is GridDataItem Then |
| Dim dataItem As GridDataItem = CType(e.Item, GridDataItem) |
| Dim data As System.Data.DataRowView = TryCast(e.Item.DataItem, System.Data.DataRowView) |
| If data("Status").ToString() = "1" Then |
| dataItem("Change").Controls(0).Visible = True |
| Else |
| dataItem("Change").Controls(0).Visible = False |
| End If |
| End If |
| End Sub |
I use Master Content Page relation in my application
I have My Menus (RadPanelBar a telerik Control) in my Master Page. On Click of Menu item in master page i do couple of mandatory process that are used in the page to be navigated.
scenario :
1.) I'm in a page say Accounts.aspx (which is a content page inside a master)
2.) I click on Finance menu item (Which is located in Master page)
3.) Page Load of Accounts gets fired immediately which is unnecessary to the page i navigate.
4.) Is there any way to avoid this Accounts.aspx page load and fire the menu item click event located in master page.
If i come to know that which menu item i have clicked before the page load of Accounts i will be able to avoid that unnecessary method execution in that page load. So that i will be able to avoid the seconds consumed for unncessary pageload method execution. And eventually navigate to the desired page.
This is something playing with Asp.net Lifecycle.