<
table width="751" border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="top" align="left" width="30%">
<table width="214" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<table width="240" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="right" valign="bottom" width="0%" style="width: 11px">
<img src="images/blue_top_left.gif" alt="top" /></td>
<td valign="bottom" class="BlueTop" width="100%">
</td>
<td align="left" valign="bottom" width="0%">
<img src="images/blue_top_right.gif" alt="top" /></td>
</tr>
<tr>
<td>
</td>
<td align="left" style="width: 100%">
<%
-- asdfas--%>
<radR:RadRotator ID="rad_rot" ScrollDirection="up" ScrollSpeed="100" UseSmoothScroll="false"
FrameTimeout="0" Height="225" TransitionType="scroll" FramesToShow="2"
runat="server" meta:resourcekey="rad_rotResource1">
<FrameTemplate>
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td align="left" valign="top">
<asp:Label ID="Label1" runat="server" ForeColor="Black" Font-Size="Small"
Font-Names="Arial" Text='<%# DataBinder.Eval(Container.DataItem,"Description") %>'
meta:resourcekey="Label1Resource1"></asp:Label>
</td>
</tr>
<tr>
<td align="left">
<asp:Label ForeColor="#126869" Font-Size="Small" Font-Bold="True" Font-Names="Arial"
ID="lb_des" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"Title") %>'
meta:resourcekey="lb_desResource1"></asp:Label>
</td>
</tr>
</table>
</FrameTemplate>
</radR:RadRotator>
</td>
<td align="left" class="BlueRight">
</td>
</tr>
<tr>
<td align="right" valign="top" style="width: 11px">
<img src="images/blue_btm_left.gif" alt="" /></td>
<td valign="top" class="BlueBtm" style="width: 207px">
</td>
<td align="left" valign="top">
<img src="images/blue_btm_right.gif" alt="top" /></td>
</tr>
<tr>
<td height="5">
</td>
</tr>
</table>
<table width="240" border="0" cellspacing="0" cellpadding="0">
<tr valign="top">
<td align="right" valign="bottom" width="0%">
<img src="images/blue_top_left.gif" alt="top" /></td>
<td valign="bottom" class="BlueTop" style="width: 207px">
</td>
<td align="left" valign="bottom" width="0%">
<img src="images/blue_top_right.gif" alt="top" /></td>
</tr>
<tr>
<td align="right" class="BlueLeft">
</td>
<td align="left">
<table width="216" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="2" height="40" class="Menu" align="left" valign="middle">
<asp:Repeater ID="rpt_category" runat="server" OnItemCommand="rpt_category_ItemCommand1">
<ItemTemplate>
<table width="95%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="40" class="Menu" align="left" valign="middle">
<img src="images/icn_menu.jpg" alt="" /><asp:HiddenField ID="hdn_catid" runat="server"
Value='<%# DataBinder.Eval(Container.DataItem,"Cat_Id") %>' />
<a class="Menu" href='<%# getcategoryurl(DataBinder.Eval(Container.DataItem,"cat_id").ToString())%>'
id="inner" title='<%# DataBinder.Eval(Container.DataItem,"Cat_Name") %>' runat="server">
<%
# DataBinder.Eval(Container.DataItem,"Cat_Name") %>
</a>
</td>
</tr>
</table>
</ItemTemplate>
</asp:Repeater>
</td>
</tr>
<tr>
<td align="center" valign="middle">
<img src="images/icn_menu.jpg" alt="" /></td>
<td height="35" align="left" valign="middle" class="Menu" style="padding-left: 4px;">
<a class="Menu" href="" id="a_treatmentproduct" runat="server">
<asp:Literal ID="Literal2" runat="server" Text="Personalized Treatments" meta:resourcekey="Literal2Resource1"></asp:Literal>
</a>
</td>
</tr>
<tr>
<td class="BlueLine" style="height: 1px">
</td>
<td class="BlueLine" style="height: 1px">
</td>
</tr>
<tr>
<td align="center" valign="middle" height="40">
<img src="images/icn_menu.jpg" alt="" /></td>
<td height="35" style="padding-left: 4px;">
<a href="" id="a_originsofhomeopathy" runat="server" class="Menu">
<asp:Literal ID="Literal3" runat="server" Text="What Is Homeopathy?" meta:resourcekey="Literal3Resource1"></asp:Literal>
</a>
</td>
</tr>
<tr>
<td class="BlueLine">
</td>
<td class="BlueLine">
</td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td colspan="2" height="8">
</td>
</tr>
<tr>
<td align="center" style="height: 20px">
<%
--<script type="text/javascript">AC_FL_RunContent(
'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0',
'width', '172',/**/
'height', '72',
'src', 'flash/button_myaccount',
'quality', 'high',
'pluginspage', 'https://www.macromedia.com/go/getflashplayer',
'align', 'middle',
'play', 'true',
'loop', 'false',
'scale', 'scale',
'wmode', 'transparent',
'devicefont', 'false',
'id', 'flash-animations',
'bgcolor', 'none',
'name', 'flash/button_myaccount',
'menu', 'false',
'allowScriptAccess','sameDomain',
'movie', 'flash/button_myaccount',
'salign', ''
); </script>--
%>
<a href="" id="a_myaccount1" runat="server">
<img id="img_myaccount" style="border: 0px;" runat="server" src="" />
</a>
</td>
</tr>
<tr>
<td height="5">
</td>
</tr>
<tr>
<td align="center">
<%
--<script type="text/javascript">
AC_FL_RunContent(
'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0',
'width', '172',/**/
'height', '72',
'src', 'flash/button_shoppingcart',
'quality', 'high',
'pluginspage', 'https://www.macromedia.com/go/getflashplayer',
'align', 'middle',
'play', 'true',
'loop', 'false',
'scale', 'scale',
'wmode', 'transparent',
'devicefont', 'false',
'id', 'flash-animations',
'bgcolor', 'none',
'name', 'flash/button_shoppingcart',
'menu', 'false',
'allowScriptAccess','sameDomain',
'movie', 'flash/button_shoppingcart',
'salign', ''
);
/*}*/
</script>--
%>
<a href="" id="a_shoppingcart" runat="server">
<img id="img_shoppingcart" style="border: 0px;" runat="server" src="" /></a>
</td>
</tr>
<tr>
<td height="5">
</td>
</tr>
<tr>
<td align="center">
<%
--<script type="text/javascript">
AC_FL_RunContent(
'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0',
'width', '172',/**/
'height', '72',
'src', 'flash/button_testimonial',
'quality', 'high',
'pluginspage', 'https://www.macromedia.com/go/getflashplayer',
'align', 'middle',
'play', 'true',
'loop', 'false',
'scale', 'scale',
'wmode', 'transparent',
'devicefont', 'false',
'id', 'flash-animations',
'bgcolor', 'none',
'name', 'flash/button_testimonial',
'menu', 'false',
'allowScriptAccess','sameDomain',
'movie', 'flash/button_testimonial',
'salign', ''
);
/*}*/
</script>--
%>
<a href="" id="a_testimonials" runat="server">
<img id="img_testimonials" style="border: 0px;" runat="server" src="" /></a>
</td>
</tr>
</table>
</td>
<td align="left" class="BlueRight">
</td>
</tr>
<tr>
<td align="right" valign="top">
<img src="images/blue_btm_left.gif" /></td>
<td valign="top" class="BlueBtm" style="width: 207px">
</td>
<td align="left" valign="top">
<img src="images/blue_btm_right.gif" alt="top" /></td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="5">
</td>
</tr>
</table>
</td>
<td valign="top" align="center">
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="WelcomeTable"
id="middletable" runat="server">
<tr>
<td valign="top" align="center">
<asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">
<asp:PlaceHolder ID="plc_cata" runat="server"></asp:PlaceHolder>
</asp:ContentPlaceHolder>
<%
-- <asp:Label ID="lbl_accessMessage" runat="server" CssClass="Error"></asp:Label>--%>
</td>
</tr>
</table>
</td>
</tr>
</table>
and i just get the data from database using sql query and bind the rotator .
I have been working with the RadWindow example DialogReturnValue.
What I would like to do is a similar application but rather than using a textarea, I would like to use a Wizard from the "Standard" toolbox.
However, any time I add a wizard (or any other control including standard textbox and even HTML Input (Text), I get an error in the GetRadWindow function of the Dialog.aspx page
- Microsoft JScript runtime error: Object required
This happens on the line
else if (window.frameElement.radWindow) oWindow = window.frameElement.radWindow;
Any suggestions greatly appreciated
<
telerik:RadGrid runat="server" AllowPaging="True" ID="RadGridReports" Height="320px" PagerStyle-Mode="Slider"
Width="375px" GridLines="None" AutoGenerateColumns="false" ClientSettings-ClientEvents-OnRowDropping="onGridReportsRowDropping"
ClientSettings-EnablePostBackOnRowClick="true" ClientSettings-ClientEvents-OnRowDragStarted="onGridReportsNodeDragging">
<MasterTableView>
<columns>
<telerik:GridBoundColumn DataField="TemplateID" HeaderText="TemplateID"
SortExpression="TemplateID" Visible="false" UniqueName="TemplateID" />
<telerik:GridBoundColumn DataField="TemplateName" HeaderText="Saved Templates"
SortExpression="TemplateName" Visible="true" UniqueName="TemplateName" />
<telerik:GridTemplateColumn HeaderText="View Details" SortExpression="ViewDetails" UniqueName="ViewDetails">
<ItemTemplate>
<asp:Label ID="lbl" runat="server" Text="Hover to show a tooltip"></asp:Label>
<telerik:RadToolTip ID="RadToolTip1" runat="server" TargetControlID="lbl" RelativeTo="Element" Skin="Default"
Position="BottomLeft">
There are
<%
#DataBinder.Eval(Container, "DataItem.TemplateID")%>
customers from
<%
#DataBinder.Eval(Container, "DataItem.TemplateName")%>
</telerik:RadToolTip>
</ItemTemplate>
</telerik:GridTemplateColumn>
</columns>
<RowIndicatorColumn Visible="False">
<HeaderStyle Width="20px" />
</RowIndicatorColumn>
<ExpandCollapseColumn Resizable="False" Visible="False">
<HeaderStyle Width="20px" />
</ExpandCollapseColumn>
<EditFormSettings>
<PopUpSettings ScrollBars="None" />
</EditFormSettings>
</MasterTableView>
<ClientSettings AllowRowsDragDrop="True">
<Selecting AllowRowSelect="True" EnableDragToSelectRows="True"/>
</ClientSettings>
</telerik:RadGrid>
any help would be appreciated
Hi,
I have created a custom control (combo box) inheriting Telerik ComboBox. I have added some property in addition to the property provided by the Telerik.
In the design time after dragging and dropping the combobox, I tried adding an item for the combobox which resulted in the following error
Combobox - Combobox1There was an error rendering the control.
Type 'ComboboxControl.Combobox' does not have a public property named 'RadComboBoxItem'.
Source view of my control is as follows:
<cc4:Combobox ID="Combobox1" runat="server" Text="DropDownList">
<telerik:RadComboBoxItem runat="server" Text="RadComboBoxItem1"></telerik:RadComboBoxItem>
</cc4:Combobox>
| protected void QueueGrid_ItemCommand(object source, GridCommandEventArgs e) |
| { |
| if (e.CommandName == "RowClick" && e.Item is GridDataItem) |
| { |
| if (RadTabStrip1.FindTabByText(e.Item.OwnerTableView.DataKeyValues[e.Item.ItemIndex]["queueid"].ToString()) == null) |
| { |
| RadTab tab1 = new RadTab(); |
| RadTabStrip1.Tabs.Add(tab1); |
| RadPageView newpage = new RadPageView(); |
| RadMultiPage1.PageViews.Add(newpage); |
| newpage.ID = e.Item.OwnerTableView.DataKeyValues[e.Item.ItemIndex]["queueid"].ToString(); |
| tab1.Text = e.Item.OwnerTableView.DataKeyValues[e.Item.ItemIndex]["queueid"].ToString(); |
| tab1.Value = e.Item.OwnerTableView.DataKeyValues[e.Item.ItemIndex]["queueid"].ToString(); |
| tab1.PageViewID = newpage.ID; |
| RadTabStrip1.SelectedIndex = RadTabStrip1.SelectedIndex + 1; |
| RadMultiPage1.SelectedIndex = RadMultiPage1.SelectedIndex + 1; |
| } |
| } |
| } |
I am trying to find the selected node in a TreeView on the client side.
I have tried the code in this example which is linked to in a similar thread listed here.
I am not able to figure out what I am doing wrong. When calling GetSelectedNodes() I contiune to get the error message "Object does not support this property or method". I have tried setting MultiSelect = true and false with the same error.
Here is a sample of my code.
| <body> |
| <script type="text/javascript"> |
| function getSelectedNodes() |
| { |
| var tree = <%= RadTreeView1.ClientID %>; |
| var nodes = tree.GetSelectedNodes(); |
| alert(nodes.length); |
| } |
| </script> |
| <form id="form1" runat="server"> |
| <asp:ScriptManager ID="ScriptManager1" runat="server"> |
| </asp:ScriptManager> |
| <telerik:RadTreeView ID="RadTreeView1" runat="server"> |
| <Nodes> |
| <telerik:RadTreeNode runat="server" Expanded="True" Text="1" Value="1" /> |
| </Nodes> |
| </telerik:RadTreeView> |
| <input id="Button1" type="button" value="Get Selected Node" onclick="getSelectedNodes();" /> |
| </form> |
| </body> |
Justin