If dataitem.ItemIndex() = 1Then
If dataitem(columnName(1)).Text <>"nbsp" Then
link.Font.Underline = True
link.Text = dataitem(columnName(1)).Text
link.NavigateUrl = HyprUrl + monthyear(1)
dataitem(columnName(1)).Controls.Add(link)
End If
If dataitem(columnName(2)).Text <> "nbsp" Then
link.Font.Underline = True
link.NavigateUrl = HyprUrl + monthyear(2)
link.Text = dataitem(columnName(2)).Text
dataitem(columnName(2)).Controls.Add(link)
End If
If dataitem(columnName(3)).Text <>" " Then
link.Font.Underline = True
link.NavigateUrl = HyprUrl + monthyear(3)
link.Text = dataitem(columnName(3)).Text
dataitem(columnName(3)).Controls.Add(link)
end if
<tr>
<td>
<asp:UpdatePanel ID="UpdatePanel36" runat="server" UpdateMode="Conditional">
<ContentTemplate>
<asp:PlaceHolder runat="server" ID="Fields">
</asp:PlaceHolder>
</ContentTemplate>
<Triggers>
<asp:AsyncPostBackTrigger ControlID="DropDownList2" />
</Triggers>
</asp:UpdatePanel>
</td>
</tr>.....
Dim dropDownList As DropDownList
dropDownList = New DropDownList
dropDownList.ID = array_action_ids(i)
dropDownList.Visible = True
dropDownList.DataSourceID = "SqlDataSource2"
dropDownList.DataTextField = "LEGAL_PHONE_NUMBER"
dropDownList.DataValueField = "LEGAL_PHONE_ID"
Fields.Controls.Add(GetLiteral("<td>"))
Fields.Controls.Add(dropDownList)
Fields.Controls.Add(GetLiteral("</td>"))
..... Dim dropdownlist_phone As DropDownList = CType(Fields.FindControl("DropDownList_Phone"), DropDownList)Dim temp_Placeholder as Placeholder = CType(UpdatePanel36.FindControl("Fields"), Placeholder)
Dim dropdownlist_phone As DropDownList = CType(temp_Placeholder.FindControl("DropDownList_Phone"), DropDownList)
<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="menumem.aspx.vb" Inherits="WebApplication4.menumem" %><!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 ID="ccc" runat="server"> </telerik:RadScriptManager> <div> <asp:UpdatePanel ID="up" runat="server" ChildrenAsTriggers="true" UpdateMode="Conditional"> <ContentTemplate> <asp:Button ID="aa" runat="server" Text="Hit me multiple times" /> <telerik:RadMenu ID="rm" runat="server"> <Items> <telerik:RadMenuItem Text="Test"> </telerik:RadMenuItem> <telerik:RadMenuItem Text="Test"> </telerik:RadMenuItem> <telerik:RadMenuItem Text="Test"> </telerik:RadMenuItem> <telerik:RadMenuItem Text="Test"> </telerik:RadMenuItem> <telerik:RadMenuItem Text="Test"> </telerik:RadMenuItem> <telerik:RadMenuItem Text="Test"> </telerik:RadMenuItem> </Items> </telerik:RadMenu> </ContentTemplate> </asp:UpdatePanel> </div> </form></body></html>Public Class menumem Inherits System.Web.UI.Page Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load For Each rmi As Telerik.Web.UI.RadMenuItem In rm.Items rmi.Attributes("test") = New String("c"c, 200000) Next End SubEnd Class
Hi All,
i have a page in which i am using RadSplitter controls to design my page...
it has two panes header and content panes....
the content pane also has annother splitter which has left and right panes....
the left and right panes has different conent url that will call different pages.
in the left page i am using Rad treeview to get data from database....
i need to load the corresponding navigate url of the node clicked in the right pane which is in the parent page.
i tried to set the following code in the NodeClick event from code behined but nothing happene!!!
e.Node.Target = "ContentPane";i don't know how to access the right RadPane of the parent page from the child left rad pane!!!
i will be very gratefull for any help...
Thanks
Asa'ad