Hello,
I have ASP.NET web pages that I would like to encapsulate in RadDock Tool (or Document) windows... I already have the Dock Layout created and placed on an ASP.NET page... and at run-time of the page, would like to have my other (responsive) ASP.NET web page(s) dynamically displayed in a RadDock Tool (or Document) window(s).
Is there a way (some example code would be awesome) to simply assign a web page to the Tool (or Document) window in the code-behind of the RadDock page?
Since it's nice to know the "why" of things... this allows existing my existing (responsive) pages to be re-purposed (without redesign) and encapsulated in the RadDock window (the new UI) - realizing all the benefits of the Dock with existing formatted content.
Thanking you for all replies.
Chuck

<!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"> <div> <telerik:RadScriptManager runat="server" ID="RadScriptManager1" /><telerik:RadAjaxManager runat="server"> <AjaxSettings> <telerik:AjaxSetting AjaxControlID="RadGrid1"> <UpdatedControls> <telerik:AjaxUpdatedControl ControlID="RadGrid1" LoadingPanelID="RadAjaxLoadingPanel1" /> </UpdatedControls> </telerik:AjaxSetting> <telerik:AjaxSetting AjaxControlID="ConfigurationPanel1"> <UpdatedControls> <telerik:AjaxUpdatedControl ControlID="RadGrid1" LoadingPanelID="RadAjaxLoadingPanel1" /> </UpdatedControls> </telerik:AjaxSetting> </AjaxSettings> </telerik:RadAjaxManager> <telerik:RadAjaxLoadingPanel runat="server" ID="RadAjaxLoadingPanel1"></telerik:RadAjaxLoadingPanel> <telerik:RadGrid ID="RadGrid1" GridLines="None" runat="server" AllowAutomaticDeletes="True" OnNeedDataSource="RadGrid1_NeedDataSource" AllowAutomaticInserts="True" PageSize="10" OnItemDeleted="RadGrid1_ItemDeleted" OnItemInserted="RadGrid1_ItemInserted" OnItemUpdated="RadGrid1_ItemUpdated" OnPreRender="RadGrid1_PreRender" AllowPaging="True" AutoGenerateColumns="False" OnBatchEditCommand="RadGrid1_BatchEditCommand" > <MasterTableView CommandItemDisplay="TopAndBottom" HorizontalAlign="NotSet" EditMode="Batch" AutoGenerateColumns="False"> <BatchEditingSettings EditType="Cell" /> <SortExpressions> <telerik:GridSortExpression FieldName="ID" SortOrder="Ascending" /> </SortExpressions> <Columns> <telerik:GridBoundColumn DataField="Code" HeaderStyle-Width="210px" HeaderText="ProductName" SortExpression="ProductName" UniqueName="ProductName"> <ColumnValidationSettings EnableRequiredFieldValidation="true"> <RequiredFieldValidator ForeColor="Red" Text="*This field is required" Display="Dynamic"> </RequiredFieldValidator> </ColumnValidationSettings> </telerik:GridBoundColumn> </Columns> </MasterTableView> <ClientSettings AllowKeyboardNavigation="true"></ClientSettings> </telerik:RadGrid> </div> </form></body></html>protected void RadGrid1_NeedDataSource(object source, Telerik.Web.UI.GridNeedDataSourceEventArgs e) { RadGrid1.DataSource = (A function returning datatable). } protected void RadGrid1_BatchEditCommand(object sender, Telerik.Web.UI.GridBatchEditingEventArgs e) { } protected void RadGrid1_ItemUpdated(object source, Telerik.Web.UI.GridUpdatedEventArgs e) { } protected void RadGrid1_ItemInserted(object source, GridInsertedEventArgs e) { } protected void RadGrid1_ItemDeleted(object source, GridDeletedEventArgs e) { } protected void RadGrid1_PreRender(object sender, EventArgs e) { }
Just wondering which is better for performance to use embedded skins, or create using theme builder and use a custom skin.
I prefer to use a custom skin as I can tweak the css to suit, rather than target the correct specificity to change an inbuilt skin.
What I used to do was take the skin form the skin folder and rename / edit that, but have found that using the Theme builder files the CSS doesn't match exactly the built in skins, so I'm thinking about going back to the built in, but curious about performance.
Andy


var tree = $find("<%= RadTreeView1.ClientID %>");var node = tree.get_selectedNode(); var ParentFolder = tree.get_selectedNode().get_text();Hi,
I have created an OrgChart and added a rendered field using RadOrgChart.RenderedFields.ItemFields.Add().
Is there a suitable way that I can add additional data to each Node/Group Item in the OrgChart without displaying it to the user and be able to access it from the client-side? Could this be done through a hidden field or through additional rendered fields?
Thanks,
Mark
| <telerik:RadAjaxManagerProxy ID="RadAjaxManagerProxy1" runat="server"> |
| <AjaxSettings> |
| <telerik:AjaxSetting AjaxControlID="JawbCategoryComboBox"> |
| <UpdatedControls> |
| <telerik:AjaxUpdatedControl ControlID="JawbOccupationComboBox" /> |
| </UpdatedControls> |
| </telerik:AjaxSetting> |
| </AjaxSettings> |
| </telerik:RadAjaxManagerProxy> |
It is the <telerik:AjaxUpdatedControl> line that is causing the issue. If I comment it out, the error goes away. I read the other posts about code within the <head> tags, but the only code in the <head> section is stylesheet code. There aren't any <% %> tags anywhere in the <head> section of the master page or any of the children. Here is the exact error:
[HttpException (0x80004005): The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>).]
System.Web.UI.ControlCollection.AddAt(Int32 index, Control child) +8669270
Telerik.Web.UI.RadAjaxControl.MoveUpdatePanel(Control initiator, Control updated) +132
[HttpException (0x80004005): Please, see whether wrapping the code block, generating the exception, within RadCodeBlock resolves the error.]
Telerik.Web.UI.RadAjaxControl.MoveUpdatePanel(Control initiator, Control updated) +180
Telerik.Web.UI.RadAjaxControl.PerformRender() +375
Telerik.Web.UI.RadAjaxControl.OnPageRender(HtmlTextWriter writer, Control page) +1222
Telerik.Web.UI.RadAjaxControl.RenderPageInAjaxMode(HtmlTextWriter writer, Control page) +95
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +256
System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +19
System.Web.UI.Page.Render(HtmlTextWriter writer) +29
System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +99
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1266
What else causes this error?
Thanks,
Bill