Heres's the ref. in assemblyinfo.vb:
<Assembly: WebResource(
"[AssemblyName].FullToolsFile.xml", "text/xml")>
I've tried creating the toolsfile.xml with and without the XML declaration. There is no difference in the error.
| Server Error in '/Support.SyscomGM.com' Application. |
| -------------------------------------------------------------------------------- |
| '~/WebResource.axd?d=aaW8Z0muXD8UCgD1F5rh6NrswGUH-n32h7QL8r5EKe4JkUGyDvia1dpgWW9Lmj2o0&t=633909254677368497' is not a valid virtual path. |
| Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. |
| Exception Details: System.Web.HttpException: '~/WebResource.axd?d=aaW8Z0muXD8UCgD1F5rh6NrswGUH-n32h7QL8r5EKe4JkUGyDvia1dpgWW9Lmj2o0&t=633909254677368497' is not a valid virtual path. |
| Source Error: |
| Line 470: |
| Line 471: If Not String.IsNullOrEmpty(EditorToolsFile) Then |
| Line 472: HtmlEditor.ToolsFile = EditorToolsFile |
| Line 473: Else |
| Line 474: |
Guys,
I need to style content area so it looks like a page in a Word document (gray padding outside with white page in a middle). White space in middle needs to have a specific size. Let’s say 400X600. To accomplish this I created css for ContentAreaCssFile as follows
| body {background-color: #a5a5a5!important;} .PagePlaceholder
{background-image: url(images/pageBG.png); background-repeat:no-repeat;background-position: center top;
padding: 20px; margin:20px; }
|
The problem is that as soon as I set a height on PagePlaceholder class and click on that region in the editor It gets selected ( borders around it appear ) in IE 7 and 8. Work fine in FF. that selection makes it difficult to edit content that’s inside of PagePlaceholder div. can you please help me out here.
Thank you!
<
asp:UpdatePanel ID="UpdatePanel2" runat="server" UpdateMode="Conditional">
<ContentTemplate>
<telerik:RadUpload ID="RadUploadLogo" runat="server" EnableAjaxSkinRendering="False"
EnableEmbeddedBaseStylesheet="False" EnableEmbeddedSkins="False"
TargetPhysicalFolder="C:\Test"
EnableFileInputSkinning="False" CssClass="formfields" AllowedFileExtensions=".gif"
ControlObjectsVisibility="None" onfileexists="RadUploadLogo_FileExists">
</telerik:RadUpload></ContentTemplate></asp:UpdatePanel>
protected
void RadUploadLogo_FileExists(object sender, Telerik.Web.UI.Upload.UploadedFileEventArgs e)
{
lblUploadFileName.Text =
String.Format("C:\\Test\\{0}", e.UploadedFile.GetName());
}
[/code]
Is there a way to make the FileExists event fire again?

| <telerik:RadWindowManager |
| ID="RadWindowManager1" |
| runat="server" |
| BackColor="#D5E8EE" |
| Behavior="Minimize, Close, Move" |
| Behaviors="Minimize, Close, Move" |
| Modal="True" |
| Skin="Inox" |
| style="z-index:70000; position: absolute"> |
| </telerik:RadWindowManager> |
| <telerik:RadWindow |
| ID="RadWindow1" |
| runat="server" |
| Skin="Inox" |
| BackColor="#D5E8EE" |
| Modal="True" |
| ReloadOnShow="True" |
| Behavior="Minimize, Close, Move" |
| Behaviors="Minimize, Close, Move" |
| style="z-index:700000; position: absolute"> |
| </telerik:RadWindow> |
| <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" |
| codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" |
| width="1024" height="272" style="z-index: -1; position: relative"> |
| <param name="movie" value="swf/topo.swf" /> |
| <param name="quality" value="high" /> |
| <embed src="swf/topo.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="1024" height="272"></embed> |
| </object> |
Hi
I am having trouble turning off the initial behaviors of a window. I have this declaration:
| <telerik:RadWindow ID="RadWindowLafite" runat="server" |
| NavigateUrl="~/windows/lafite-event.aspx" OpenerElementID="divLafite" |
| Width="570px" Modal="True" Height="600px" InitialBehaviors="Resize" |
| VisibleStatusbar="False" Animation="Fade"> |
| </telerik:RadWindow> |
Dears,
I am working on a composite custom control contains a radGrid control, I faced the following problem in the RadGrid Paging,
i have set the RadAjaxManager to enable the Ajax paging for my grid so that it shouldn't postback on each page number change,
unfortunately, it is doing postback on each page index change and it is not passing by the GridNeedDataSourceEventHandler
Please check below code sample and help me to fix this issue,
Any help will be highly appreciated,
| protected override void OnInit(EventArgs e) |
| { |
| //grdTransactionsList |
| grdTransactionsList.ID = "grdTransactionsList"; |
| grdTransactionsList.Skin = "Office2007"; |
| grdTransactionsList.AutoGenerateColumns = false; |
| grdTransactionsList.AllowPaging = true; |
| grdTransactionsList.AllowCustomPaging = true; |
| grdTransactionsList.PageSize = Constants.PageSize; |
| grdTransactionsList.Visible = true; |
| grdTransactionsList.NeedDataSource += new GridNeedDataSourceEventHandler(grdTransactionsList_NeedDataSource); |
| grdTransactionsList.PagerStyle.Mode = GridPagerMode.NumericPages; |
| grdTransactionsList.MasterTableView.GridLines = GridLines.None; |
| grdTransactionsList.MasterTableView.AutoGenerateColumns = false; |
| grdTransactionsList.MasterTableView.TableLayout = GridTableLayout.Auto; |
| InitilizeTransactionsListColumns(); |
| grdTransactionsList.ClientSettings.Selecting.AllowRowSelect = true; |
| grdTransactionsList.ClientSettings.EnableRowHoverStyle = true; |
| //Check if there is already added ScriptManager to this Page, Only one Script Manager Instance can be in the page |
| if (ScriptManager.GetCurrent(this.Page) == null) |
| { |
| scriptManager = new ScriptManager(); |
| scriptManager.ID = "ScriptManager1"; |
| } |
| if (RadAjaxManager.GetCurrent(this.Page) == null) |
| { |
| radAjaxManager = new RadAjaxManager(); |
| radAjaxManager.ID = "RadAjaxManager"; |
| radAjaxLoadingPanel = new RadAjaxLoadingPanel(); |
| radAjaxLoadingPanel.ID = "pnlRadAjaxLoadingPanel"; |
| radAjaxLoadingPanel.Height = new Unit(50); |
| radAjaxLoadingPanel.Width = new Unit(50); |
| radAjaxLoadingPanel.Transparency = 30; |
| Image imgLoading = new Image(); |
| imgLoading.ID = "imgLoading"; |
| radAjaxLoadingPanel.Controls.Add(imgLoading); |
| radAjaxManager.DefaultLoadingPanelID = radAjaxLoadingPanel.ID; |
| } |
| } |
| protected override void CreateChildControls() |
| { |
| if (scriptManager != null) |
| Controls.Add(scriptManager); |
| if (radAjaxManager != null) |
| Controls.Add(radAjaxManager); |
| if (radAjaxLoadingPanel != null) |
| Controls.Add(radAjaxLoadingPanel); |
| if (RadAjaxManager.GetCurrent(this.Page) != null) |
| { |
| AjaxSetting ajaxSetting = new AjaxSetting (grdTransactionsList.ID); |
| ajaxSetting.UpdatedControls.Add(new AjaxUpdatedControl(grdTransactionsList.ID, radAjaxLoadingPanel.ID)); |
| RadAjaxManager.GetCurrent(this.Page).AjaxSettings.Add(ajaxSetting); |
| } |
| Controls.Add(new LiteralControl("<table>")); |
| Controls.Add(new LiteralControl(" <tr>")); |
| Controls.Add(new LiteralControl(" <td>")); |
| Controls.Add(grdTransactionsList); |
| Controls.Add(new LiteralControl(" </td>")); |
| Controls.Add(new LiteralControl(" </tr>")); |
| Controls.Add(new LiteralControl("</table>")); |
| } |
| protected void grdTransactionsList_NeedDataSource(object source, Telerik.Web.UI.GridNeedDataSourceEventArgs e) |
| { |
| if (!Page.IsPostBack) |
| return; |
| else |
| { |
| try |
| { |
| int totalRecords = 0; |
| grdTransactionsList.DataSource = Presenter.GetTransactionsList(out totalRecords); |
| grdTransactionsList.VirtualItemCount = totalRecords; |
| } |
| catch (JoPayBusinessException ex) |
| { |
| ShowError(ex); |
| } |
| } |
| } |
| //Presenter.GetTransactionsList(out totalRecords) will call below method |
| public void SetTransactionsGrid(IList<TransactionSearch> paymentTransactions, int totalRecords) |
| { |
| grdTransactionsList.DataSource = paymentTransactions; |
| grdTransactionsList.VirtualItemCount = totalRecords; |
| grdTransactionsList.DataBind(); |
| } |