or
| <a onclick="return blockConfirm('Are you sure you want to delete this record?', event, 250, 100,'','Confirm Delete');" id="LinkButton1" href="javascript:__doPostBack('LinkButton1','')">LinkButton</a> |
| <a onclick="return blockConfirm('Are you sure you want to delete this record?', event, 250, 100,'','Confirm Delete');" id="LinkButton1" href="javascript:__doPostBack('MOB1','')"><b>LinkButton</b></a> |
protected void RadTreeMenu_DataBound(object sender, EventArgs e)
{
// add url to Nodes
foreach (RadTreeNode node in RadTreeMenu.GetAllNodes())
{
node.NavigateUrl =
"ProductList.aspx?color=" + node.Value ;
}
}
| RadScheduler1.ResourceStyles.Clear() |
| RadScheduler1.ResourceStyles.Add(New Telerik.Web.UI.ResourceStyleMapping("EventType", "Class", "rsCategoryDarkBlue")) |
| <telerik:GridTemplateColumn HeaderText="New Status" UniqueName="Status" AllowFiltering="False"> |
| <ItemTemplate> |
| <telerik:RadComboBox runat="Server" ID="rcbNewStatus" |
| Width="300px" |
| MarkFirstMatch = "True" |
| DataSourceID ="sqlStatusList" |
| EnableLoadOnDemand = "True" |
| HighlightTemplatedItems = "True" |
| OnClientItemsRequested="UpdateItemCountField" |
| OnItemDataBound="rcbStatus_ItemDataBound" |
| OnDataBound = "rcbStatus_DataBound" |
| OnItemsRequested="rcbStatus_ItemsRequested" |
| EnableViewState ="True" |
| > |
| <HeaderTemplate> |
| <ul> |
| <li class="col1">Status Code</li> |
| <li class="col2">Status Description</li> |
| </ul> |
| </HeaderTemplate> |
| <ItemTemplate> |
| <ul> |
| <li class="col1"><%# DataBinder.Eval(Container.DataItem, "StatusCode") %></li> |
| <li class="col2"><%# DataBinder.Eval(Container.DataItem, "StatusDesc") %></li> |
| </ul> |
| </ItemTemplate> |
| <FooterTemplate> |
| A Total of <asp:Literal runat="server" ID="rcbItemsCount" /> items |
| </FooterTemplate> |
| </telerik:RadComboBox> |
| If TypeOf (oControl) Is RadComboBox Then |
| sStatus = CType(oControl, RadComboBox).SelectedValue |
| End If |
| <telerik:RadTreeView ID="rtvCategories" runat="server" |
| DataSourceID="ldsCategories" |
| DataFieldID="ID" DataFieldParentID="ParentID" |
| DataTextField="Name" DataValueField="ID" |
| SelectedValue='<% Bind("CategoryID") %>'> |
| </telerik:RadTreeView> |
| <asp:LinqDataSource ID="ldsCategories" runat="server" |
| ContextTypeName="DataAccess.DataContext" TableName="Categories" > |
| </asp:LinqDataSource> |