or
Dim rtfString As String = "{\rtf1\ansi\ansicpg1252\deff0\deftab720{\fonttbl" & _"{\f0\fswiss MS Sans Serif;}{\f1\froman\fcharset2 Symbol;}" &"{\f2\froman\fprq2 Times New Roman;}}" & _"{\colortbl\red0\green0\blue0;\red255\green0\blue0;}" & _"\deflang1033\horzdoc{\*\fchars }{\*\lchars }" & _"\pard\plain\f2\fs24 Test LeftDoubleQuote=\ldblquote RightDoubleQuote=\rdblquote Test single quote LeftQuote=\lquote and RightQuote=\rquote \par }"
RadEditor1.LoadRtfContent(rtfString)
<telerik:RadDateInput runat="server" ID="rdiDate" DateFormat="MMM yyyy" DisplayDateFormat="MMM yyyy"> <IncrementSettings InterceptMouseWheel="false" InterceptArrowKeys="true" /></telerik:RadDateInput>function changeDate(sender, args) { var tbVal = sender.get_textBoxValue(); if (!(document.getElementById('<%= hdnDate.ClientID %>').value == tbVal)) { var month = tbVal.substr(0, 3); var year = tbVal.substr(4, 4); var newDate = new Date(Date.parse(month + " 01, " + year)); document.getElementById('<%= hdnDate.ClientID %>').value = month + " " + year; window.setTimeout(function () { sender.set_selectedDate(newDate); }, 1); }}<telerik:RadDateInput runat="server" ID="rdiDate" DateFormat="MMM yyyy" DisplayDateFormat="MMM yyyy"> <ClientEvents OnValueChanging="changeDate" /> <IncrementSettings InterceptMouseWheel="false" InterceptArrowKeys="true" /></telerik:RadDateInput><input runat="server" type="hidden" value="" id="hdnDate" /><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"> <title></title> <style type="text/css"> div.RadMenu a.rmLink .rmLeftImage { position: relative; } div.RadMenu .rmItem .rmLink .rmLeftImage, div.RadMenu .rmItem .rmLink, div.RadMenu .rmLink .rmText { margin: 0; padding: 0; } .RadTabStrip .rtsLevel, .RadTabStrip .rtsUL, .RadTabStrip .rtsLI { float: left !important; overflow: visible !important; } </style></head><body> <form id="form1" runat="server"> <div> <telerik:RadScriptManager ID="RadScriptManager" runat="server"> </telerik:RadScriptManager> <telerik:RadTabStrip ID="RadTabStrip" runat="server" Skin="WebBlue"> <Tabs> <telerik:RadTab Text="Test 1" Selected="true" /> <telerik:RadTab Text="Test 2" /> <telerik:RadTab Text="Test 3" /> <telerik:RadTab Text="Test 4"> <TabTemplate> Test 4 <telerik:RadMenu ID="RadMenu" runat="server" Skin="" EnableImagePreloading="true" DefaultGroupSettings-OffsetY="-1"> <Items> <telerik:RadMenuItem ImageUrl="~/Images/downarrow.png"> <Items> <telerik:RadMenuItem Text="Menu Item 1" /> <telerik:RadMenuItem Text="Menu Item 2" /> </Items> </telerik:RadMenuItem> </Items> </telerik:RadMenu> </TabTemplate> </telerik:RadTab> <telerik:RadTab Text="Test 5" /> <telerik:RadTab Text="Test 6" /> <telerik:RadTab Text="Test 7" /> <telerik:RadTab Text="Test 8" /> </Tabs> </telerik:RadTabStrip> </div> </form></body></html><telerik:GridTemplateColumn> <ItemTemplate> <asp:LinkButtonID="LinkButton1"runat="server"Text="LinkButton"OnClick="HideDetail1_ShowDetail_Click">
</asp:LinkButton> </ItemTemplate></telerik:GridTemplateColumn>protectedvoidHideDetail1_ShowDetail_Click(objectsender, EventArgs e) { foreach(GridDataItem item inRadGrid1.MasterTableView.Items) { RadGrid1.MasterTableView.Items[item.ItemIndex].ChildItem.NestedTableViews[0].Visible = true; RadGrid1.MasterTableView.Items[item.ItemIndex].ChildItem.NestedTableViews[1].Visible = false; } }<telerik:RadGrid ID="RadGrid1" PagerStyle-Mode="NextPrevNumericAndAdvanced" Width="100%" AllowAutomaticInserts="false" AllowAutomaticUpdates="false" PageSize="10" runat="server" PagerStyle-AlwaysVisible="true" OnDetailTableDataBind="RadGrid1_DetailTableDataBind" AllowPaging="True" AllowSorting="True" Visible="false" GridLines="None" AllowFilteringByColumn="true" Skin="Office2007" AutoGenerateColumns="False" OnItemCommand="RadGrid1_ItemCommand" OnItemDataBound="RadGrid1_ItemDataBound" ShowFooter="true"> <MasterTableView ShowFooter="true" AllowAutomaticUpdates="false" DataKeyNames="row_id, Agency_code, Agency" TableLayout="Fixed" CommandItemDisplay="TopAndBottom" HierarchyLoadMode="Client"> <DetailTables> <telerik:GridTableView CssClass="DetailTable" Name="RevenueNested" NoDetailRecordsText="No Records to display" ShowFooter="false" Width="1550px" AutoGenerateColumns="false" AllowFilteringByColumn="false" AllowPaging="false" AllowSorting="false" ToolTip="Click to View MOU\Payments"> <Columns> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="Money_Collected" HeaderStyle-Width="100px" HeaderText="Money Collected" UniqueName="MoneyCollected"> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="Notes" HeaderStyle-Width="850px" HeaderText="Notes" UniqueName="Notes"> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="Modified_Date" HeaderStyle-Width="150px" HeaderText="Modified Date" UniqueName="ModifiedDate"> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="Modified_By" HeaderStyle-Width="100px" HeaderText="Modified By" UniqueName="ModifiedBy"> </telerik:GridBoundColumn> </Columns> </telerik:GridTableView> </DetailTables> <Columns><telerik:GridEditCommandColumn UniqueName="EditCommandColumn" HeaderStyle-Width="50px"> </telerik:GridEditCommandColumn> <telerik:GridBoundColumn HeaderStyle-Width="130px" DataField="Agency_code" ItemStyle-HorizontalAlign="Left" HeaderText="Agency Code" UniqueName="Agency_code"> </telerik:GridBoundColumn> <telerik:GridTemplateColumn EditFormColumnIndex="1" FooterText="Total:" FooterStyle-HorizontalAlign="Right" AllowFiltering="true" UniqueName="agency" HeaderStyle-Width="300px" DataField="Agency" HeaderText="Agency"> <ItemTemplate> <asp:LinkButton ID="lnkViewMOU" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"Agency")%>' OnClick="HideDetail1_ShowDetail_Click" ></asp:LinkButton> </ItemTemplate> </telerik:GridTemplateColumn> <telerik:GridBoundColumn Aggregate="Sum" HeaderStyle-Width="180px" FooterStyle-HorizontalAlign="Right" DataField="Total_Billing_Amount" DataFormatString="{0:c}" ItemStyle-HorizontalAlign="Right" HeaderText="Billed/Estimated/MOU/Yearly Budget" UniqueName="Total_Billing_Amount"> </telerik:GridBoundColumn> <telerik:GridBoundColumn Aggregate="Sum" HeaderStyle-Width="130px" FooterStyle-HorizontalAlign="Right" DataField="MOU_Collected" DataFormatString="{0:c}" HeaderText="Money Collected" UniqueName="MOU_Collected" ItemStyle-HorizontalAlign="Right"> </telerik:GridBoundColumn> <telerik:GridBoundColumn Aggregate="Sum" DataField="Budget_Authoruty" FooterStyle-HorizontalAlign="Right" HeaderStyle-Width="130px" HeaderText="Budget Authority" DataFormatString ="{0:c}" UniqueName="Budget_Authoruty" ItemStyle-HorizontalAlign="Right"> </telerik:GridBoundColumn></Columns> <EditFormSettings> """""""""" """""""""" """""""""" """""""""" </EditFormSettings </MasterTableView> </telerik:RadGrid>---------------------------------------------------------------------protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { RadGrid1.Rebind(); } }protected void BindGrid() { """" """" """" }protected void RadGrid1_DetailTableDataBind(object source, Telerik.Web.UI.GridDetailTableDataBindEventArgs e) { DataTable dtlist = new DataTable(); GridDataItem dataItem = (GridDataItem)e.DetailTableView.ParentItem; if (e.DetailTableView.Name == "RevenueNested") { int id= Convert.ToInt32(dataItem.GetDataKeyValue("id").ToString()); dtlist = obj.GetList(id); { e.DetailTableView.DataSource = dtlist; } } } protected void RadGrid1_ItemCommand(object source, Telerik.Web.UI.GridCommandEventArgs e) { try { if (e.Item != null) { """"" """"" if (e.CommandName == "Update") { """"" """"" } if (e.CommandName == "Insert") { """"" """"" } } BindGrid(); RadGrid1.Rebind(); } Catch (Exception Ex) { } }protected void HideDetail1_ShowDetail_Click(object sender, EventArgs e) { foreach (GridDataItem item in RadGrid1.MasterTableView.Items) { RadGrid1.MasterTableView.Items[item.ItemIndex].ChildItem.NestedTableViews[0].Visible = true; } } }| Parser Error |
| Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. |
| Parser Error Message: Could not load file or assembly 'Telerik.Web.UI' or one of its dependencies. The system cannot find the file specified. |
| Source Error: |
| [No relevant source lines] |
| Source File: none Line: 0 |
| Assembly Load Trace: The following information can be helpful to determine why the assembly 'Telerik.Web.UI' could not be loaded. |
| === Pre-bind state information === |
| LOG: User = IIS APPPOOL\DefaultAppPool |
| LOG: DisplayName = Telerik.Web.UI |
| (Partial) |
| LOG: Appbase = file:///C:/WebSites/Harmony/Harmony.Web/ |
| LOG: Initial PrivatePath = C:\WebSites\Harmony\Harmony.Web\bin |
| Calling assembly : (Unknown). |
| === |
| LOG: This bind starts in default load context. |
| LOG: Using application configuration file: C:\WebSites\Harmony\Harmony.Web\web.config |
| LOG: Using host configuration file: C:\Windows\Microsoft.NET\Framework\v2.0.50727\Aspnet.config |
| LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v2.0.50727\config\machine.config. |
| LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind). |
| LOG: The same bind was seen before, and was failed with hr = 0x80070002. |
Hi this my first thread.