Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
204 views
Hi there,

We use a CrystalReportsViewer inside a modal RadWindow to show reports inside our application.  I've received a number of reports from our users that when they move to the next page in a report, the "close button" disappears.  Whilst investigating this issue, I battled to reproduce it until I discovered that it seems to only happen on smaller displays / lower resolutions, perhaps when the content of the RadWindow is larger than the browser window.

Essentially what is happening is that when the next page button is clicked, the RadWindow is "jumping up" a few millimeters and concealing the title bar behind the browser's address bar.  If the user resizes the browser window, even by a FRACTION, or if they zoom in and out (basically anything that causes a redraw), the RadWindow fixes itself immediately.

I have created an animated gif of the phenomenon to try and illustrate the issue.  I have exaggerated the size of the browser window here to replicate the problem clearly. Please take a look and let me know if you have any ideas as to what could be causing this.

Nick

Nick
Top achievements
Rank 1
 answered on 11 Jul 2014
6 answers
401 views
i have a strange problem.
our components stay on the radajaxpanel and postbacks calls loading panel...we have grid pages ...when changing the pages  .. when the page count increase ..data increase loading panel doesn't close ...stays infinetly
Maria Ilieva
Telerik team
 answered on 11 Jul 2014
9 answers
1.6K+ views
Hi,

We are getting below exception from Telerik file upload control AsyncUpload but this issue coming very rarly. Can you anybody help what is rootcause of this issue and how to fix this issue. Hoping you may also faced this kind of issue in your apps. FYI,  TemporaryFileExpiration valuse set as default value only.


System.IO.FileNotFoundException: Could not find file 'C:\inetpub\wwwroot\wss\VirtualDirectories\80\TempUploadedFiles\5taz52la.zdo'.
File name: 'C:\inetpub\wwwroot\wss\VirtualDirectories\80\TempUploadedFiles\5taz52la.zdo'
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
   at Telerik.Web.UI.AsyncUploadedFile.get_InputStream().

Control has benn set as ber below:

<telerik:RadAsyncUpload runat="server" ID="radasycFileUpload"
DisablePlugins="true" Width="540" UseApplicationPoolImpersonation="true"
Localization-Select="Browse" TemporaryFolder="~/TempUploadedFiles" />

  

Thanks
Karthikeyan K
Hristo Valyavicharski
Telerik team
 answered on 11 Jul 2014
0 answers
364 views
Here is how you can upload files in Sharepoint Document Library:
  1. Create a new Visual Web Part
  2. Add reference to Telerik.Web.UI assembly
  3. Register Telerik.Web.UI assembly:
    <%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %>
    <%@ Assembly Name="Microsoft.Web.CommandUI, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
    <%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
    <%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
    <%@ Register Tagprefix="asp" Namespace="System.Web.UI" Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" %>
    <%@ Import Namespace="Microsoft.SharePoint" %>
    <%@ Register Tagprefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
    <%@ Control Language="C#" AutoEventWireup="true" CodeBehind="VisualWebPart1.ascx.cs" Inherits="VisualWebPartProject1.VisualWebPart1.VisualWebPart1" %>
    <%@ Register Assembly="Telerik.Web.UI, Version=2014.2.618.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
     
    <telerik:RadAsyncUpload runat="server" ID="RadAsyncUpload1" ></telerik:RadAsyncUpload>
    <telerik:RadButton runat="server" Text="Submit" ID="RadButton1" OnClick="RadButton1_Click"></telerik:RadButton>
4. Save the file
protected void RadButton1_Click(object sender, EventArgs e)
        {
            foreach (UploadedFile file in RadAsyncUpload1.UploadedFiles)
            {
                String sharePointSite = "http://ajax-sp2010/";
                String documentLibraryName = "Shared Documents";
 
                using (SPSite oSite = new SPSite(sharePointSite))
                {
                    using (SPWeb oWeb = oSite.OpenWeb())
                    {
                        SPFolder myLibrary = oWeb.Folders[documentLibraryName];
 
                        Boolean replaceExistingFiles = true;
                        // Upload document
                        SPFile spfile = myLibrary.Files.Add(file.FileName, file.InputStream, replaceExistingFiles);
 
                        // Commit
                        myLibrary.Update();
                    }
                }
            }
        }

Note that when file is selected it is uploaded in the App_Data folder:
C:\inetpub\wwwroot\wss\VirtualDirectories\80\App_Data\RadUploadTemp
Христо
Top achievements
Rank 1
 asked on 11 Jul 2014
14 answers
256 views
I wonder if there is a guideline to substitute GridView with RadGrid in MS DynamicData 4.0?
Daniel
Telerik team
 answered on 11 Jul 2014
4 answers
93 views
hi
when i set ExpandMod= server side for node, one icon show to the node,but the never show when i set expand to Client side.
who to remove this icon?.
Plamen
Telerik team
 answered on 11 Jul 2014
5 answers
906 views
 I have a web page that appears to work but on the login page the radbutton does not display correctly.
​
  <location path="Telerik.Web.UI.WebResource.axd">
      <system.web>
          <authorization>
              <allow users="*"/>
          </authorization>
      </system.web>
  </location>
<system.web>
      <authorization>
          <deny users="?"/>
      </authorization>
  </system.web>

When I run the app from visual studio I get the error
JavaScript critical error at line 2, column 1 in http://localhost:49582/Account/Login\n\nSCRIPT1002: Syntax error

The issue seems to be with the WebResources intellisenece says there is no resource at the location.  Is there a new location I should be pointing to?
Or do I need to implicitly deny  resources rather than a blanket deny and the implicit allows?


Plamen
Telerik team
 answered on 11 Jul 2014
1 answer
88 views
We have telerik corporate version at work. For a project I'd like to use the radScheduler to schedule some windows services. I couldn't find in demo site any Event associated to reminder. I see that a popup is coming up , then we have 2 events cancel & snooze event. Is there any way to add an event instead of the popup in order for me accomplish our tasks? otherwise i have to browse sql server to find all event due then do my code. We have the source code at work, and we can adapt the interface. Thanks in advance and I like the UI.
Plamen
Telerik team
 answered on 11 Jul 2014
5 answers
767 views
function pageLoad()  {  
    var grid = $find("RadGrid1");  
    var columns = grid.get_masterTableView().get_columns();  
    for (var i = 0; i < columns.length; i++) {  
        columns[i].resizeToFit();  
    }  
}

I wanted to set the columns sizes on the client programmatically.  The above code found on the forum works great. However, I have a case where one of my columns sometimes has data that might cause some incredibly large width (say > 1000 px). Is there some way to put a max column width? I've debug inspected the columns[i] in the loop hoping to see a width property or method and then reset it if is over my desired max value.

Thanks for your help.
Shinu
Top achievements
Rank 2
 answered on 11 Jul 2014
3 answers
95 views
Hi All,

I have a requirement to export some data (which is completely different from radgrid's columns) into excel sheet when user clicks on radgrid's export to excel command button.   I am able to create new worksheet with required data.  How to remove default worksheet created by radgrid's columns ?

Thanks in advance
Gafoor.
9000999309
gafoor
Top achievements
Rank 1
 answered on 11 Jul 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?