or
<
body style="margin: 0px;" runat=server>
<form id="frmMaster" >
<asp:ScriptManager ID="ScriptManager1" runat="server" EnablePartialRendering="true">
<Scripts>
<asp:ScriptReference Path="~/Scripts/setFooter.js" />
</Scripts>
</asp:ScriptManager>
<
script>var controlClientObject = <%= RadControl1.ClientID %></script>
<div id="Header">
Now I get the following error... Can someone please help me as to what I am missing?
Compiler Error Message: CS0103: The name 'RadControl1' does not exist in the current context
I have made sure everything is in the web config and I do have the dll in the bin folder... I am able to to run everything fine as long as I do not use a master page?
Thanks for the help
Gina
<telerik:RadGrid runat="server" ><MasterTableView PageSize="10"></MasterTableView>
</telerik:RadGrid><telerik:GridTableView Width="100%" PageSize="5" runat="server"></telerik:GridTableView><Telerik:RadGrid ID="MessageBoardRadGrid" Width="100%" AllowSorting="True" PageSize="15" AllowPaging="True" AllowMultiRowSelection="True" runat="server" Gridlines=Both HeaderStyle-Font-Bold=true AutoGenerateColumns="False" > <PagerStyle Mode="NextPrevAndNumeric" /> <MasterTableView DataKeyNames="Name" AutoGenerateColumns="false"> <Columns> <Telerik:GridTemplateColumn DataField="Unread" HeaderText="Unread" HeaderStyle-CssClass="gridheader"> <ItemTemplate> <%# Formatter.StatusIcon( (Forum) Container.DataItem ) %> </ItemTemplate> </Telerik:GridTemplateColumn >if (forum.LastUserActivity < forum.MostRecentPostDate) { icon = "forum_status_new_ln.gif"; alt = ResourceManager.GetString("IconAlt_NewPosts"); }telerik:RadComboBox ID="RadComboBoxStringInLookupValue" Runat="server" Width="325px" AllowCustomText="True" EmptyMessage="<%$ Resources:CommonUserMsg, EnterValueMsgResource %>" EnableTextSelection="False" DropDownWidth="325px" HighlightTemplatedItems="True" Visible="true" OnClientDropDownClosing="OnClientDropDownClosing" OnClientDropDownClosed="populateComboBoxEmptyMessage" CausesValidation="False" > <ItemTemplate> <ul> <li class="col1"> <telerik:RadListBox ID="RadListBoxSource" runat="server" Height="125px" DataSourceID="ObjectDataSourceLookUpValues" DataTextField="Descr" DataValueField="Code" AllowTransfer="true" TransferToID="RadListBoxDestination" AllowTransferOnDoubleClick="True" SelectionMode="Multiple" OnClientSelectedIndexChanged="SetCanvasChanged" ondatabound="OnDataBound" onitemdatabound="OnItemsDataBound" > <ButtonSettings ReorderButtons="Common"></ButtonSettings> </telerik:RadListBox> </li> <li class="col2"> <telerik:RadListBox ID="RadListBoxDestination" runat="server" Height="125px" SelectionMode="Multiple"> <ButtonSettings ReorderButtons="Common"></ButtonSettings> </telerik:RadListBox> </li> </ul> </ItemTemplate> <Items> <telerik:RadComboBoxItem Text="" /> </Items> </telerik:RadComboBox>
function OnClientDropDownClosing(sender, args) { args.set_cancel(false); var target = args.get_domEvent().target; //cancel drop-down closing only when clicked inside and not on the arrow if (target && target != sender.get_imageDomElement() && (jQuery.contains(sender.get_element(), target) || jQuery.contains(sender.get_dropDownElement(), target))) { args.set_cancel(true); } }