or
<add assembly="System.Web.Entity, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
plus there is a tag not defined error on| <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"> |
| <AjaxSettings> |
| <telerik:AjaxSetting AjaxControlID="btnSearch"> |
| <UpdatedControls> |
| <telerik:AjaxUpdatedControl ControlID="RadTabStripResults" /> |
| <telerik:AjaxUpdatedControl ControlID="RadMultiPageresults" /> |
| </UpdatedControls> |
| </telerik:AjaxSetting> |
| </AjaxSettings> |
| <AjaxSettings> |
| <telerik:AjaxSetting AjaxControlID="listAttests"> |
| <UpdatedControls> |
| <telerik:AjaxUpdatedControl ControlID="RadTabStripDetails" /> |
| <telerik:AjaxUpdatedControl ControlID="RadMultiPageDetails" /> |
| </UpdatedControls> |
| </telerik:AjaxSetting> |
| </AjaxSettings> |
| </telerik:RadAjaxManager> |
| ... |
| <telerik:RadTabStrip ID="RadTabStripSearch" runat="server" Skin="Outlook" MultiPageID="RadMultiPageSearch" SelectedIndex="0"> |
| <Tabs> |
| <telerik:RadTab Text="Zoeken"> |
| </telerik:RadTab> |
| </Tabs> |
| </telerik:RadTabStrip> |
| <telerik:RadMultiPage ID="RadMultiPageSearch" runat="server" SelectedIndex="0" CssClass="pageView"> |
| <telerik:RadPageView ID="RadPageViewSearch" runat="server"> |
| ... |
| <asp:Button ID="btnSearch" runat="server" Text="Zoeken" /> |
| ... |
| </telerik:RadPageView> |
| </telerik:RadMultiPage> |
| <telerik:RadTabStrip ID="RadTabStripResults" runat="server" Skin="Outlook" MultiPageID="RadMultiPageResults" SelectedIndex="0"> |
| <Tabs> |
| <telerik:RadTab Text="Resultaten"> |
| </telerik:RadTab> |
| </Tabs> |
| </telerik:RadTabStrip> |
| <telerik:RadMultiPage ID="RadMultiPageresults" runat="server" SelectedIndex="0" CssClass="pageView"> |
| <telerik:RadPageView ID="RadPageViewResults" runat="server"> |
| ... |
| <asp:ListBox ID="listAttests" runat="server" Width="300px" AutoPostBack="true"></asp:ListBox> |
| ... |
| </telerik:RadPageView> |
| </telerik:RadMultiPage> |
| <telerik:RadTabStrip ID="RadTabStripDetails" runat="server" Skin="Outlook" MultiPageID="RadMultiPageDetails" SelectedIndex="0"> |
| <Tabs> |
| <telerik:RadTab Text="Attest" PageViewID="RadPageViewAttestDetails"> |
| </telerik:RadTab> |
| <telerik:RadTab Text="Redenen" PageViewID="RadPageViewReasonDetails"> |
| </telerik:RadTab> |
| <telerik:RadTab Text="Artikels" PageViewID="RadPageViewArticles"> |
| </telerik:RadTab> |
| </Tabs> |
| </telerik:RadTabStrip> |
| <telerik:RadMultiPage ID="RadMultiPageDetails" runat="server" SelectedIndex="0" CssClass="pageView"> |
| <telerik:RadPageView ID="RadPageViewAttestDetails" runat="server"> |
| ... |
| </telerik:RadPageView> |
| <telerik:RadPageView ID="RadPageViewReasonDetails" runat="server" CssClass="pageView"> |
| ... |
| </telerik:RadPageView> |
| <telerik:RadPageView ID="RadPageViewArticles" runat="server" CssClass="pageView"> |
| ... |
| </telerik:RadPageView> |
| </telerik:RadMultiPage> |
| <telerik:RadDockLayout runat="server" ID="RadDockLayout1" |
| OnLoadDockLayout="RadDockLayout1_LoadDockLayout" |
| OnSaveDockLayout="RadDockLayout1_SaveDockLayout" |
| StoreLayoutInViewState=true |
| > |
| <div id="div_rdZoneCurrentCycle"> |
| <telerik:RadDockZone runat="server" ID="RadDockZone_ExistingPriorities" |
| BorderStyle="None" |
| MinHeight="30px" width="100%" |
| > |
| </telerik:RadDockZone> |
| </div> |
| </telerik:RadDockLayout> |
| public partial class SSPPrioritizePriorities : System.Web.UI.UserControl |
| { |
| private List<DockState> CurrentDockStates |
| { |
| get |
| { |
| // Store the info about the added docks in the session. |
| List<DockState> _currentDockStates = (List<DockState>)Session["CurrentDockStatesDynamicDocks"]; |
| if (Object.Equals(_currentDockStates, null)) |
| { |
| _currentDockStates = new List<DockState>(); |
| Session["CurrentDockStatesDynamicDocks"] = _currentDockStates; |
| } |
| return _currentDockStates; |
| } |
| set |
| { |
| Session["CurrentDockStatesDynamicDocks"] = value; |
| } |
| } |
| #endregion |
| const string TitleBarText = "TitleText"; |
| const string CurrentRank = "CurRankText"; |
| const string PreviousRank = "PreRankText"; |
| #endregion |
| #region " Page Load Events " |
| protected void Page_Load(object sender,EventArgs e) |
| { |
| } |
| protected override void OnInit(EventArgs e) |
| { |
| base.OnInit(e); |
| if (!Page.IsPostBack) |
| { |
| using (ObjectsContext context = new ObjectsContext()) |
| { |
| MyManager manager = new MyManager(context); |
| CurrentCyclePriorities = manager.something.Cycle(); |
| CurrentCycleSSP = manager.somehingelse.GetCurrent(this._SSPK); |
| PreviousCycleSSP = manager.somehingelse.GetPrevious(this._SSPK); |
| LoadPriorities(); |
| } |
| } |
| else |
| { |
| for (int i = 0; i < CurrentDockStates.Count; i++) |
| { |
| RadDock dock = CreateRadDockFromState(CurrentDockStates[i]); |
| RadDockLayout1.Controls.Add(dock); |
| CreateSaveStateTrigger(dock); |
| } |
| } |
| SetRadDockOrder(); |
| } |
| #endregion |
| #region " Priorities Load Events " |
| protected void LoadPriorities() |
| { |
| CreateRadDock(sspPrevious.Priority, true, true, false, |
| } |
| #endregion |
| #region " Dock Events " |
| #region " Create " |
| private void CreateRadDock(BusinessObjects.Priority apriority, Boolean BottomDock, Boolean Closed, Boolean New, int previousRanking, int? CurrentRanking) |
| { |
| try |
| { |
| // Create the Rad Dock and set properties |
| RadDock dock = new RadDock(); |
| dock.DockMode = DockMode.Docked; |
| dock.DockHandle = DockHandle.TitleBar; |
| dock.Collapsed = true; |
| dock.Width = Unit.Percentage(96); |
| dock.Skin = "MySkin"; |
| dock.EnableEmbeddedSkins = false; |
| dock.EnableRoundedCorners = true; |
| dock.EnableAnimation = true; |
| dock.Font.Name = "Arial"; |
| int intIndex = dock.Index; |
| dock.AutoPostBack = true; |
| dock.CommandsAutoPostBack = true; |
| // Create the TitleBar and add to Rad Dock |
| TitleBarTemplate2 tbt = new TitleBarTemplate2(); |
| tbt.GenerateTitleBar(dock.TitlebarContainer, 5); |
| dock.TitlebarTemplate = tbt; |
| // Add Rad Dock Title information |
| dock.UniqueName = apriority.PK.ToString(); |
| dock.ID = string.Format("rd{0}", dock.UniqueName); |
| dock.Title = "<span style=\"font-size:14px;\"><b>" + apriority.PK.ToString() + "</b></span> "; |
| ((Label)dock.TitlebarContainer.Controls[0].FindControl(TitleBarText)).Text = dock.Title; |
| // Add Rad Dock Previous Rank information |
| if (!New) |
| { |
| String preRanking = "<span style=\"font-size:14px;\"><b>(" + previousRanking.ToString() + ")</b></span>"; |
| ((Label)dock.TitlebarContainer.Controls[0].FindControl(PreviousRank)).Text = preRanking; |
| } |
| // Set Rad Dock Events and Triggers |
| if (BottomDock) |
| dock.OnClientDragStart = "OnClientDragStart"; |
| CreateSaveStateTrigger(dock); |
| RadDockZone_ExistingPriorities.Controls.Add(dock); |
| } |
| catch (Exception ex) |
| { |
| string s = ex.StackTrace; |
| } |
| } |
| #endregion |
| #region " Order " |
| private void SetRadDockOrder() |
| { |
| foreach (RadDock dock in RadDockZone_ExistingPriorities.Docks) |
| { |
| ((Label)dock.TitlebarContainer.Controls[0].FindControl(CurrentRank)).Text = ""; |
| int newRank = dock.Index + 1; |
| String newRanking = "<span style=\"font-size:14px;\"><b>" + newRank.ToString() + ".</b></span>"; |
| ((Label)dock.TitlebarContainer.Controls[0].FindControl(CurrentRank)).Text = newRanking; |
| } |
| } |
| #endregion |
| #region " States " |
| private RadDock CreateRadDockFromState(DockState state) |
| { |
| RadDock dock = new RadDock(); |
| //// Create the TitleBar and add to Rad Dock |
| TitleBarTemplate2 tbt = new TitleBarTemplate2(); |
| tbt.GenerateTitleBar(dock.TitlebarContainer, 5); |
| dock.TitlebarTemplate = tbt; |
| //// Add Rad Dock Title information |
| dock.UniqueName = state.UniqueName; |
| //dock.Index = state.Index; |
| dock.Title = "<span style=\"font-size:14px;\"><b>" + dock.UniqueName + "</b></span> "; |
| ((Label)dock.TitlebarContainer.Controls[0].FindControl(TitleBarText)).Text = state.Title; |
| return dock; |
| } |
| private void CreateSaveStateTrigger(RadDock dock) |
| { |
| // Ensure that the RadDock control will initiate postback when its position changes on the client or any of the commands is clicked. |
| // Using the trigger we will "ajaxify" that postback. |
| dock.AutoPostBack = true; |
| dock.CommandsAutoPostBack = true; |
| } |
| protected void RadDockLayout1_LoadDockLayout(object sender, DockLayoutEventArgs e) |
| { |
| foreach (DockState state in CurrentDockStates) |
| { |
| e.Positions[state.UniqueName] = state.DockZoneID; |
| e.Indices[state.UniqueName] = state.Index; |
| } |
| } |
| protected void RadDockLayout1_SaveDockLayout(object sender, DockLayoutEventArgs e) |
| { |
| CurrentDockStates = new List<DockState>(); |
| foreach (DockState ds in RadDockLayout1.GetRegisteredDocksState()) |
| { |
| CurrentDockStates.Add(ds); |
| } |
| } |
| #endregion |
| #endregion |
| } |
| Public Sub OnAjaxUpdate(ByVal sender As Object, ByVal args As ToolTipUpdateEventArgs) |
| Me.UpdateToolTip(args.Value, args.UpdatePanel) |
| End Sub |
| Private Sub UpdateToolTip(ByVal elementID As String, ByVal panel As UpdatePanel) |
| Dim ctrl As Control = Page.LoadControl("~/UserControls/ControlRoot/TooTips/Tip.ascx") |
| panel.ContentTemplateContainer.Controls.Add(ctrl) |
| Dim details As EquipmentTip = DirectCast(ctrl, EquipmentTip) |
| details.ID = CType(elementID, Int32) |
| End Sub |
| <telerik:RadToolTipManager ID="RadToolTipManager1" OffsetY="-1" HideEvent="ManualClose" |
| Width="250" Height="350" runat="server" OnAjaxUpdate="OnAjaxUpdate" RelativeTo="Element" |
| Position="MiddleRight" Skin="Windows7" ShowDelay="100" Sticky="True"> |
| </telerik:RadToolTipManager> |
| <telerik:GridTemplateColumn HeaderText=" Owner" SortExpression="OwnerStatusDescription"> |
| <ItemTemplate> |
| <asp:HyperLink ID="targetControl" NavigateUrl="#" runat="server" Text='<%# Eval("OwnerStatusDescription") %>'> </asp:HyperLink> |
| </ItemTemplate> |
| </telerik:GridTemplateColumn> |
| <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" DefaultLoadingPanelID="RadAjaxLoadingPanel1" |
| ClientEvents-OnRequestStart="requestExportStart" > |
| <ClientEvents OnRequestStart="requestExportStart"></ClientEvents> |
| <AjaxSettings> |
| <telerik:AjaxSetting AjaxControlID="ComboBox"> |
| <UpdatedControls> |
| <telerik:AjaxUpdatedControl ControlID="RadToolTipManager1" /> |
| <telerik:AjaxUpdatedControl ControlID="Grid" /> |
| </UpdatedControls> |
| </telerik:AjaxSetting> |
| <telerik:AjaxSetting AjaxControlID="Grid"> |
| <UpdatedControls> |
| <telerik:AjaxUpdatedControl ControlID="RadToolTipManager1" /> |
| <telerik:AjaxUpdatedControl ControlID="Grid" /> |
| </UpdatedControls> |
| </telerik:AjaxSetting> |
| </AjaxSettings> |
| </telerik:RadAjaxManager> |

I’m using ASP.NET mvc controls
I need to change the hover style for a tab strip control on my pages
If i do this the grid hover changes as well...
Can i have separate style for the grid and the tabstrip?