or
<telerik:RadPane ID="radPaneLeft" runat="server" Scrolling="None" MinWidth="170" MaxWidth="300"><br> <telerik:RadSlidingZone ID="radSlidingZone" runat="server" Width="22" Height="0" ClickToOpen="true" DockedPaneId="radSlidingPane"><br> <telerik:RadSlidingPane ID="radSlidingPane" runat="server" BackColor="#F0F8FF" CssClass="slidingPane" TabView="TextAndImage" IconUrl="~/Images/hierarchy.gif"<br> DockOnOpen="true" OnClientDocked="radSlidingPane_Docked" OnClientUndocked="radSlidingPane_Undocked"><br> <telerik:RadListBox ID="radListBoxStopes" runat="server" Width="100%" Height="100%" AutoPostBack="true" <br> OnItemCreated="radListBoxStopes_ItemCreated" OnSelectedIndexChanged="radListBoxStopes_SelectedIndexChanged"><br> <ItemTemplate><br> <asp:Panel runat="server"><br> <asp:Label ID="labelStope" runat="server" Text='<%# Eval("Description") %>' CssClass="muckListPrimary" /><br /><br> <asp:Label ID="labelUnits" runat="server" Text='<%# Eval("Units", "{0:0 units}") %>' CssClass="muckListSecondary" /><br> <asp:HiddenField ID="hidFieldMaterial" runat="server" Value='<%# Eval("Material").ToString() %>' /><br> </asp:Panel><br> </ItemTemplate><br> </telerik:RadListBox><br> <telerik:RadContextMenu ID="radContextMenu_ListBoxStopes" runat="server" OnItemClick="radContextMenu_ListBoxStopes_Click"><br> <Targets><br> <telerik:ContextMenuControlTarget ControlID="radListBoxStopes" /><br> </Targets> <br> <Items><br> <telerik:RadMenuItem Text="Set as desktop" Value="D" /><br> <telerik:RadMenuItem Text="Open in a new window" Value="W" /><br> </Items><br> </telerik:RadContextMenu><br> </telerik:RadSlidingPane><br> </telerik:RadSlidingZone><br> </telerik:RadPane><br><telerik:RadToolBar ID="RadToolBar1" runat="server" Width="100%" Skin="Black"> <Items> <telerik:RadToolBarButton runat="server" Text="Documents"> </telerik:RadToolBarButton> <telerik:RadToolBarButton runat="server" IsSeparator="true"> </telerik:RadToolBarButton> <telerik:RadToolBarDropDown runat="server" Text="Fleet Advantage"> <Buttons> <telerik:RadToolBarButton runat="server" Text="Sign Out" > </telerik:RadToolBarButton> <telerik:RadToolBarButton runat="server" Text="Contact Us" > </telerik:RadToolBarButton> </Buttons> </telerik:RadToolBarDropDown> </Items> </telerik:RadToolBar>StringBuilder sb = new StringBuilder(); sb.Append("<script language= javascript "); sb.Append("type=\"text/javascript\">"); sb.Append("function promptEmail"); sb.Append(this.ClientID); sb.Append("(param){radprompt('email:', promptEmailCallBack, 300, 100, param, 'Title');}"); sb.Append("</script>"); if (!Page.ClientScript.IsClientScriptBlockRegistered("promptEmail" + this.ClientID)) Page.ClientScript.RegisterClientScriptBlock(this.GetType(), "promptEmail" + this.ClientID, sb.ToString());radprompt('email:', promptEmailCallBack, 300, 100, param, 'Title', 'My Default text');GridDataItem dataItem = (GridDataItem)e.Item; DropDownList ddl = (DropDownList)dataItem.FindControl("Status");
OR
DropDownList ddl = (DropDownList)dataItem["Status"].Controls[0];
ddl.DataSource = _WhatEver; <=== ddl is null
J
(Telerik.Charting.Styles.
StyleTextBlockTitle)radChart.ChartTitle.TextBlock.Appearance).FillStyle.MainColor =
radChart.Appearance.FillStyle.MainColor;
May be there is more simple way but I didn't find it. Yet I see that around the title there is some white rectangle. It seems that it is the border of TextBlock but I didn't find this property. Any help?
|
||||||||||
| ShowStatusBar="true" AllowSorting="true" OnUpdateCommand="RadGrid1_UpdateCommand" | ||||||||||
| OnDeleteCommand="RadGrid1_DeleteCommand" OnEditCommand="RadGrid1_EditCommand" | ||||||||||
| OnInsertCommand="RadGrid1_InsertCommand" EnableViewState="true" OnPageIndexChanged="RadGrid1_PageIndexChanged" | ||||||||||
| OnPageSizeChanged="RadGrid1_PageSizeChanged" OnSortCommand="RadGrid1_SortCommand" | ||||||||||
| OnCancelCommand="RadGrid1_CancelCommand" OnItemDataBound="RadGrid1_ItemDataBound"> |
An unhandled exception was generated during the execution of the
current web request. Information regarding the origin and location of the
exception can be identified using the exception stack trace below.
|
[COMException (0x80004005): Cannot complete this action. |