<telerik:RadWindow ID="RadWindow1" runat="server" Title="Test" VisibleOnPageLoad="true" ShowContentDuringLoad="true">
<asp:CheckBoxList ID="CheckBoxListColumns" runat="server" />
</telerik:RadWindow>
Can this be done?
A have a user input form with tool tips for all controls, my preferred ShowEvent mode for the ToolTipManager is "Focus", checkboxes do not seem to like this however.
If I leave the ShowEvent as default or MouseOver, my checkbox ToolTip will display ok but if I change to Focus it doesn't work. I have tried:
After some searching I haven't found any reference to this in the documentation, is there a solution (simple or otherwise) that I am overlooking?
Regards
Conan
protected void RadGrid1_NeedDataSource(object source, Telerik.Web.UI.GridNeedDataSourceEventArgs e)
{
FoodVanWCF wcf = new FoodVanWCF();
DataSet menu = wcf.GetMenu();
RadGrid1.DataSource = menu.Tables["Categories"];
RadGrid1.MasterTableView.DetailTables[0].DataSource = menu.Tables["Items"];
RadGrid1.MasterTableView.DataKeyNames = new string[] { "mastercategoryid" };
RadGrid1.MasterTableView.DetailTables[0].DataKeyNames = new string[]{ "categoryid" };
GridRelationFields grf = new GridRelationFields();
grf.MasterKeyField = "mastercategoryid";
grf.DetailKeyField = "categoryid";
RadGrid1.MasterTableView.DetailTables[0].ParentTableRelation.Add(grf);
}
However when I try to expand the grid I get the error
Parent table relations set, but no correspoding data-key name found
What am I doing wrong here?
| <telerik:RadCodeBlock ID="RadCodeBlock1" runat="server"> |
| <script type="text/javascript"> |
| function onTabSelecting(sender, args) |
| { |
| if (args.get_tab().get_pageView()) |
| { |
| args.get_tab().set_postBack(false); |
| } |
| } |
| </script> |
| </telerik:RadCodeBlock> |
| <telerik:RadTabStrip ID="RadTabStrip1" runat="server" MultiPageID="RadMultiPage1" SelectedIndex="0" OnClientTabSelecting="onTabSelecting" OnTabClick="RadTabStrip1_TabClick" /> |
| <telerik:RadMultiPage ID="RadMultiPage1" runat="server" SelectedIndex="0" OnPageViewCreated="RadMultiPage1_PageViewCreated" /> |
| <telerik:RadAjaxLoadingPanel runat="server" ID="LoadingPanel1"> |
| <asp:Image runat="server" ID="LoadingImage1" ImageUrl="~/Ajax/Img/loading7.gif" AlternateText="Loading..." /> |
| </telerik:RadAjaxLoadingPanel> |
| <telerik:RadAjaxManager runat="server" ID="RadAjaxManager1"> |
| <AjaxSettings> |
| <telerik:AjaxSetting AjaxControlID="RadTabStrip1"> |
| <UpdatedControls> |
| <telerik:AjaxUpdatedControl ControlID="RadTabStrip1" /> |
| <telerik:AjaxUpdatedControl ControlID="RadMultiPage1" LoadingPanelID="LoadingPanel1" /> |
| </UpdatedControls> |
| </telerik:AjaxSetting> |
| <telerik:AjaxSetting AjaxControlID="RadMultiPage1"> |
| <UpdatedControls> |
| <telerik:AjaxUpdatedControl ControlID="RadMultiPage1" LoadingPanelID="LoadingPanel1" /> |
| </UpdatedControls> |
| </telerik:AjaxSetting> |
| </AjaxSettings> |
| </telerik:RadAjaxManager> |
| Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load |
| RadTabStrip1.Tabs.Add(New RadTab("FirstTab", "FirstValue")) |
| RadTabStrip1.Tabs.Add(New RadTab("SecondTab", "SecondValue")) |
| If Not Page.IsPostBack Then |
| AddPageView(RadTabStrip1.FindTabByValue("FirstValue")) |
| End If |
| End Sub |
| Protected Sub RadTabStrip1_TabClick(ByVal sender As Object, ByVal e As RadTabStripEventArgs) |
| If String.IsNullOrEmpty(e.Tab.PageViewID) Then |
| AddPageView(e.Tab) |
| End If |
| e.Tab.PageView.Selected = True |
| End Sub |
| Protected Sub RadMultiPage1_PageViewCreated(ByVal sender As Object, ByVal e As RadMultiPageEventArgs) |
| Dim strControl As String = "Controls/" & e.PageView.ID & ".ascx" |
| Dim Control As UserControl = Page.LoadControl(strControl) |
| Control.ID = e.PageView.ID + "_Control" |
| e.PageView.Controls.Add(Control) |
| End Sub |
| Private Sub AddPageView(ByVal Tab As RadTab) |
| Dim PageView As New RadPageView() |
| PageView.ID = Tab.Value |
| RadMultiPage1.PageViews.Add(PageView) |
| Tab.PageViewID = PageView.ID |
| End Sub |