Hi
I don't have any joy with toggle buttons. Even the demos
http://demos.telerik.com/aspnet-ajax/button/examples/overview/defaultvb.aspx?show-source=true
dont work when you select "toggle". They seem to display as text - no button, and no ability to skin them
am I doing something wrong?
best regards
Phil
Unhandled exception at line 3, column 62240 in http://localhost:49573/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=;;AjaxControlToolkit,+Version=4.5.7.1005,+Culture=neutral,+PublicKeyToken=28f01b0e84b6d53e:en-US:a410b875-5cb5-4d5e-9cf6-234163990602:ea597d4b:b25378d2
0x800a138f - JavaScript runtime error: Unable to set property 'control' of undefined or null reference
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="TestForm.aspx.cs" Inherits="TestForm" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title></title> </head> <body> <form id="form1" runat="server"> <telerik:RadScriptManager runat="server" ID="RadScriptManager1" /> <telerik:RadTextBox ID="txtSelect" runat="server" Width="100%"/> <telerik:RadGrid ID="RadGrid_Master" runat="server" AllowPaging="True" PageSize="5" DataSourceID="SqlDataSource_Master" AutoGenerateColumns="False" AllowAutoMaticUpdates="true" > <MasterTableView DataSourceID="SqlDataSource_Master" DataKeyNames="Key" EditMode="InPlace" > <Columns> <telerik:GridEditCommandColumn ButtonType="ImageButton" UniqueName="EditCommandColumn1" /> <telerik:GridBoundColumn DataField="Key" DataType="System.Guid" FilterControlAltText="Filter Key column" HeaderText="Key" ReadOnly="True" SortExpression="Key" UniqueName="Key" /> <telerik:GridBoundColumn DataField="Name" FilterControlAltText="Filter Name column" HeaderText="Name" SortExpression="Name" UniqueName="Name" MaxLength="30" /> </Columns> </MasterTableView> </telerik:RadGrid> <asp:SqlDataSource ID="SqlDataSource_Master" runat="server" ConnectionString="<%$ ConnectionStrings:TestConnection %>" SelectCommand = "SELECT Key, Name FROM Products" UpdateCommand = "UPDATE Products SET Name = @Name WHERE Key = @Key"> <UpdateParameters> <asp:Parameter Name="Name" /> <asp:ControlParameter ControlID="RadGrid_Master" Name="Key" PropertyName="SelectedValue" /> </UpdateParameters> </asp:SqlDataSource> <asp:SqlDataSource ID="SqlDataSource_Detail" runat="server" ConnectionString="<%$ ConnectionStrings:TestConnection %>" SelectCommand="SELECT * FROM Pricing WHERE RateIndictor = 'W' AND Key = @Key"> <SelectParameters> <asp:ControlParameter ControlID="RadGrid_Master" Name="Key" PropertyName="SelectedValue" /> </SelectParameters> </asp:SqlDataSource> </form> </body></html><%@ Page Language="C#" AutoEventWireup="true" CodeBehind="TestForm.aspx.cs" Inherits="TestForm" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title></title> </head> <body> <form id="form1" runat="server"> <telerik:RadScriptManager runat="server" ID="RadScriptManager1" /> <telerik:RadTextBox ID="txtSelect" runat="server" Width="100%"/> <telerik:RadGrid ID="RadGrid_Master" runat="server" AllowPaging="True" PageSize="5" DataSourceID="SqlDataSource_Master" AutoGenerateColumns="False" AllowAutoMaticUpdates="true" > <MasterTableView DataSourceID="SqlDataSource_Master" DataKeyNames="Key" EditMode="EditForms"> <Columns> <telerik:GridEditCommandColumn ButtonType="ImageButton" UniqueName="EditCommandColumn1" /> <telerik:GridBoundColumn DataField="Key" DataType="System.Guid" FilterControlAltText="Filter Key column" HeaderText="Key" ReadOnly="True" SortExpression="Key" UniqueName="Key" /> <telerik:GridBoundColumn DataField="Name" FilterControlAltText="Filter Name column" HeaderText="Name" SortExpression="Name" UniqueName="Name" MaxLength="30" /> </Columns> <EditFormSettings EditFormType="Template"> <FormTemplate> <telerik:RadTextBox ID="RadTextBox1" Runat="server" LabelWidth="64px" Resize="None" Text='<%# Bind("Name", "{0}") %>' Width="160px" MaxLength="30" /> <br /> <asp:Button ID="btnUpdate" Text='<%# (Container is GridEditFormInsertItem) ? "Insert" : "Update" %>' runat="server" CommandName='<%# (Container is GridEditFormInsertItem) ? "PerformInsert" : "Update" %>'/> <asp:Button ID="btnCancel" Text="Cancel" runat="server" CausesValidation="False" CommandName="Cancel" /> </FormTemplate> </EditFormSettings> </MasterTableView> </telerik:RadGrid> <asp:SqlDataSource ID="SqlDataSource_Master" runat="server" ConnectionString="<%$ ConnectionStrings:TestConnection %>" SelectCommand = "SELECT Key, Name FROM Products" UpdateCommand = "UPDATE Products SET Name = @Name WHERE Key = @Key"> <UpdateParameters> <asp:Parameter Name="Name" /> <asp:ControlParameter ControlID="RadGrid_Master" Name="Key" PropertyName="SelectedValue" /> </UpdateParameters> </asp:SqlDataSource> <asp:SqlDataSource ID="SqlDataSource_Detail" runat="server" ConnectionString="<%$ ConnectionStrings:TestConnection %>" SelectCommand="SELECT * FROM Pricing WHERE RateIndictor = 'W' AND Key = @Key"> <SelectParameters> <asp:ControlParameter ControlID="RadGrid_Master" Name="Key" PropertyName="SelectedValue" /> </SelectParameters> </asp:SqlDataSource> </form> </body></html>I am binding my grid using AJAX and PageMethods like below
$(document).ready(function () {PageMethods.GetEmployees(updateGrid, err);//bindSourceGrid();});function updateGrid(result) {var tableView = $find("<%= SourceGrid.ClientID %>").get_masterTableView();tableView.set_dataSource(result);tableView.dataBind();}function err(e) {}function RadGrid1_DataBound(sender, args) {
alert("Grid with id: " + sender.get_element().id + " bound on the client");
}
function SourceGrid_RowDataBound(sender, args) {
}
function GridCreated(sender, eventArgs) {
}
I am getting result back from server, but during rendering getting javascript error (Please see the attached image). My aspx is like below which hasn't any master and an independent sample page with reference to JQuery. Any clue here would be appreciated.
<telerik:RadScriptManager ID="ScriptManager" runat="server" /><telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server"></telerik:RadAjaxLoadingPanel><telerik:RadGrid ID="SourceGrid" runat="server" ShowGroupPanel="false" AllowSorting="false" ShowFooter="true" AllowPaging="false" HeaderStyle-CssClass="tableHeading br" AutoGenerateColumns="false" GridLines="Both" EnableViewState="false"><ClientSettings><Virtualization EnableVirtualization="true" InitiallyCachedItemsCount="2000" ItemsPerView="100" /><Scrolling AllowScroll="true" UseStaticHeaders="true"></Scrolling><Resizing AllowColumnResize="true" /><ClientEvents OnCommand="SourceGrid_Command" OnGridCreated="GridCreated" OnRowDataBound="SourceGrid_RowDataBound" /></ClientSettings><ExportSettings><Excel /></ExportSettings><GroupingSettings ShowUnGroupButton="true"></GroupingSettings><MasterTableView ShowGroupFooter="false" GridLines="Both" DataKeyNames="" GroupHeaderItemStyle-Font-Underline="true"><CommandItemSettings ExportToPdfText="Export to PDF"></CommandItemSettings><RowIndicatorColumn FilterControlAltText="Filter RowIndicator column"></RowIndicatorColumn><ExpandCollapseColumn Visible="True" FilterControlAltText="Filter ExpandColumn column" Created="True"></ExpandCollapseColumn><Columns>


Hi,
I use UI for ASP.NET AJAX v.2013.2.717.40 in my ASP.Net application. With the built in Skin WebBlue.
The application is deployed and is functioning as expected.
However some of my clients that use the application complain that the skinning of certain controls are not working. However whenever I test from various clients (Chrome, IE) it does render.
I have supplied Two images, one showing that the RadWindow border is not showing on my clients browser, but on mine it does.
Can you point me in a right direction please?

Hi, I was able to set sticky header and footer with Pagelayout In Master page. However, the child page do not in between the header and footer.
The child page in the content place holder display in the whole browser with the header and footer appear front of it. Anywhere I could get the child page appear between the sticky header and footer, and the child page will scroll when overflow. Thanks
I'm using Visual studio 2010 with .net framework 4.0.
OS:Windows 7
Browser: IE 10
Telerik version:2015.1.225.40
Preferred programming language: VB.NET
Below are my code for Master page and child page
<%@ Master Language="VB" AutoEventWireup="false" CodeBehind="Responsive.master.vb" Inherits="GMAT.Responsive" %><%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %><%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"> <title></title> <meta http-equiv="Page-Enter" content="blendTrans(Duration=.5)" /> <meta http-equiv="Page-Exit" content="blendTrans(Duration=.5)" /> <meta name="viewport" content="initial-scale=1.0, minimum-scale=1, maximum-scale=1.0, user-scalable=no" /> <link href="~/Styles/Site.css" rel="stylesheet" type="text/css" /> <link href="~/Styles/jquery-ui/css/cupertino/jquery-ui-1.10.3.custom.min.css" rel="stylesheet" type="text/css" /> <script src="scripts/jquery-1.10.1.min.js" type="text/javascript"></script> <script src="scripts/jquery-ui/jquery-ui-1.10.3.custom.min.js" type="text/javascript"></script> <script src="scripts/jquery.sessionTimeout.js" type="text/javascript"></script> <asp:ContentPlaceHolder ID="head" runat="server"> </asp:ContentPlaceHolder> <style type="text/css"> .header1 { background-color: black; position:fixed; width:100%; top:0; z-index:1000; } .header2 { background-color: #E8EAEC; } .header3 { background: linear-gradient(#FDFEFE, #F0F2F4) repeat scroll 0 0 rgba(0, 0, 0, 0); } .content { } .article2 { background-color: #EEF1F3; } .footer { background-color: black; } html, body, form { margin: 0; padding: 0; height: 100%; } .container { min-height: 100%; position: relative; } .allContent { padding-top:40px; padding-bottom: 84px; /* Height of the footer */ } .footer { position: fixed; bottom: 0; width: 100%; height: 84px; /* Height of the footer */ background: black; }</style></head><body> <form id="form1" runat="server"> <asp:ToolkitScriptManager ID="TSM_CMS_MAIN" runat="server"> </asp:ToolkitScriptManager> <div> <telerik:RadPageLayout runat="server" ID="PageLayoutMaster" HtmlTag="None" GridType="Fluid" > <Rows> <telerik:LayoutRow RowType="Generic" CssClass="container"> <Rows> <telerik:LayoutRow RowType="Generic" CssClass="allContent"> <Rows> <telerik:LayoutRow RowType="Container" WrapperCssClass="header1" WrapperHtmlTag="Div"> <Columns> <%--Logo--%> <telerik:LayoutColumn Span="2" SpanMd="3" SpanSm="12" SpanXs="12"> <a href="#" class="logo"> <img src="images/logo1.jpg" alt="logo"/> </a> </telerik:LayoutColumn> <telerik:LayoutColumn Span="2" SpanMd="2" SpanSm="12" SpanXs="12"> <div class="title_main2"> <h1> Testing </h1> </div> </telerik:LayoutColumn> <%--Main Nav--%> <telerik:LayoutColumn Span="8" SpanMd="7" SpanSm="12" SpanXs="12"> <telerik:RadMenu ID="RadMenu1" runat="server" RenderMode="Auto" EnableRoundedCorners="true" EnableSelection="true" EnableShadows="true" > <Items> <telerik:RadMenuItem Text="Home" NavigateUrl="Default.aspx" /> <telerik:RadMenuItem IsSeparator="true" /> <telerik:RadMenuItem Text="Grid Page" NavigateUrl="Grid.aspx" /> <telerik:RadMenuItem IsSeparator="true" /> <telerik:RadMenuItem Text="ListView Page" NavigateUrl="ListView.aspx" /> <telerik:RadMenuItem IsSeparator="true" /> <telerik:RadMenuItem Text="testing" NavigateUrl="testing.aspx" /> <telerik:RadMenuItem IsSeparator="true" /> <telerik:RadMenuItem Text="Projects" /> </Items> </telerik:RadMenu> </telerik:LayoutColumn> <telerik:LayoutColumn Span="12" SpanMd="12" SpanSm="12" SpanXs="12"> <asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server"> </asp:ContentPlaceHolder> </telerik:LayoutColumn> </Columns> </telerik:LayoutRow> <telerik:LayoutRow RowType="Container" WrapperCssClass="content" WrapperHtmlTag="Div" HtmlTag="None"> <Content> <telerik:RadPageLayout runat="server" ID="PageLayoutConent" HtmlTag="None" GridType="Fluid"> <Rows> <telerik:LayoutRow RowType="Container" WrapperCssClass="article1" WrapperHtmlTag="Div"> <Content> </Content> </telerik:LayoutRow> </Rows> </telerik:RadPageLayout> </Content> </telerik:LayoutRow> </Rows> </telerik:LayoutRow> <telerik:LayoutRow RowType="Container" WrapperCssClass="footer" WrapperHtmlTag="Div"> <Content> <div style="height: 84px"><a style="color: white">Sticky footer</a></div> </Content> </telerik:LayoutRow> </Rows> </telerik:LayoutRow> </Rows></telerik:RadPageLayout> </div> </form></body></html>
<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Responsive.Master" CodeBehind="ResponsivePage.aspx.vb" Inherits="GMAT.ResponsivePage" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<div>
<table border="1px" height="1000px" style="width:100%">
<tr>
<td style="float:left;text-align:justify;font-size:0.9em;vertical-align:bottom;">
</td>
<td style="float:right;text-align:justify;font-size:0.9em; color:White;">
The First line
</td>
</tr>
<tr>
<td style="float:left;text-align:justify;font-size:0.9em;">
</td>
<td style="float:right;text-align:justify;font-size:0.9em;vertical-align:bottom;">
© Second line:
</td>
</tr>
<tr>
<td style="float:left;text-align:justify;font-size:0.9em;">
</td>
<td style="float:right;text-align:justify;font-size:0.9em;vertical-align:bottom;">
© The Last line
</td>
</tr>
</table>
</div>
</asp:Content>