Telerik Forums
UI for ASP.NET AJAX Forum
9 answers
333 views
I use the AsyncUpload control and it showed me javascript error message as below.
"Access is denied."
It only occurred in IE 9.
Here is my code. Please help me.

<telerik:RadButton ID="RadButtonFiles" runat="server" AutoPostBack="false" EnableSplitButton="true" Text="Files"
    TabIndex="11" CssClass="RadButton_SimpleCustomAutoWidth" Width="100%" UseSubmitBehavior="false"
    OnClientClicked="RadButtonFiles_OnClientClicked" EnableEmbeddedSkins="false" />
<telerik:RadContextMenu ID="RadContextMenuFiles" runat="server" EnableEmbeddedSkins="false" EnableRoundedCorners="true">
    <Items>
        <telerik:RadMenuItem Text="Select Files" NavigateUrl="javascript:RadContextMenuFilesSelectFiles_OnClick();" PostBack="false" />
    </Items>
</telerik:RadContextMenu>
 
<telerik:RadAsyncUpload ID="RadAsyncUploadSelectFiles" runat="server" EnableEmbeddedSkins="false"
    OnClientFileSelected="RadAsyncUploadSelectFiles_OnClientFileSelected"
    DisablePlugins="true" TemporaryFileExpiration="0">
</telerik:RadAsyncUpload>


var $fileInput;
 
function pageLoad() {
    var fileUpload = $get(g_radUploadSelectFilesClientID);
    if (fileUpload != null) {
        fileUpload.style.visibility = "hidden";
    }
}
 
function RadContextMenuFilesSelectFiles_OnClick() {
    $fileInput = $("input:file").eq(0);
    $fileInput.click();
}
Dimitar Terziev
Telerik team
 answered on 01 Jun 2012
4 answers
183 views
Hi, 

I have a following scenario:
Generate page with dynamic controls. One of these controls is rad combo box with footer template and item template. 
In footer template was added button. I want this button to call the event ItemsRequest.
I will use this button to clean cache rad combo box.
Ivana
Telerik team
 answered on 01 Jun 2012
0 answers
108 views
I am using RadAjaxManager and RadAjaxManagerProxy for achieving AJAX in my page.  I have asp:PlaceHolder which have all dynamic controls and i want to refresh those set of controls on AJAX call. I have put that in panel which i have placed in div to get the fix region with scroll bar.

<div id="dvQuestionSection" class="QuestionSection" onscroll="SetQuestionSectionScrollPos()">
    <asp:Panel ID="pnlPhFields" runat="server">
        <asp:PlaceHolder ID="phFields" runat="server"></asp:PlaceHolder>
    </asp:Panel>
</div>
 
After ajax call gets completed, scroll position of div gets changed. And what i have noticed is, this happens especially when I have RadEditor control in place holder and it set the scroll position so that RadEditor comes visible.

I want to be on same scroll position where I am invoking ajax call.
Any direction on this will be a great help.

Thanks
Paresh
Nayan
Top achievements
Rank 1
 asked on 01 Jun 2012
1 answer
174 views

In my develop machine everything works fine, but when i put in test server

I have this error:

if(!e){throw"Error while uploading, "+i;

The pop error messages are: 

SCRIPT5022: Unhandled Error in Silverlight Application The remote server returned an error: NotFound.   at System.Net.Browser.AsyncHelper.BeginOnUI(SendOrPostCallback beginMethod, Object state)
   at System.Net.Browser.BrowserHttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
   at UploadPrototype.MainPage.ProcessResponse(IAsyncResult asyncResult)
   at System.Net.Browser.BrowserHttpWebRequest.<>c__DisplayClassd.<InvokeGetResponseCallback>b__b(Object state2)
   at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object state)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
   at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
   at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback() 
eval code (526), line 1 character 1

Any ideias?
I folowing this 2 threads but with no success:

http://www.telerik.com/community/forums/aspnet-ajax/async-upload/custom-handler-scenario-throwing-an-error.aspx 
http://www.telerik.com/community/forums/aspnet/general-discussions/problem-in-async-upload.aspx 

my web config is:


<system.web>
<httpRuntime  requestValidationMode="2.0" />
 
    <httpHandlers>
<add path="Reserved.ReportViewerWebControl.axd" verb="*" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" validate="false" />
<add path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI" validate="false"/>
<add verb="*" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.Upload.RadUploadProgressHandler,Telerik.Web.UI"/>
</httpHandlers>




AND



<system.webServer>
 <modules runAllManagedModulesForAllRequests="true" />
 <validation validateIntegratedModeConfiguration="false" />
    <handlers>
<add name="ReportViewerWebControlHandler" preCondition="integratedMode" verb="*" path="Reserved.ReportViewerWebControl.axd" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add name="ScriptResource" preCondition="integratedMode" verb="GET, HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<add name="RadUploadProgressHandler" verb="*" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.Upload.RadUploadProgressHandler,Telerik.Web.UI"/>
<add name="Telerik.Web.UI.WebResource.axd_*" path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI" preCondition="integratedMode"/>
</handlers>



Pedro
Top achievements
Rank 1
 answered on 01 Jun 2012
2 answers
134 views
Hi,

I have an issue where setting args.set_cancel(true) in the OnClientFileUploading event doesn't seem to cancel the upload.

I have a small working example of this.

The example checks that you are not uploading two files with the same name.  Upon detecting that you are, it displays an alert and sets the cancel to true.  I note however that when posting back, I still get a FileUploaded server event for each file, including the cancelled one(s).

How do I know that one of those is actually cancelled?  What is the expected functionality of cancelling the upload through this method?  All that seems to happen is the file indicator turns red but otherwise it seems it makes no difference to functionality.

Please help! :)

Andrew
Peter Filipov
Telerik team
 answered on 01 Jun 2012
2 answers
160 views
Hi, i added Template column in RadGrid and in this template added LinkButton, i want that when i clicked LinkButton to get this LinkButton text.
Thanks.
Mind
Top achievements
Rank 1
 answered on 01 Jun 2012
1 answer
111 views
We are Ajax radgrid all over the application. We noticed strange UI when our radgrid is using checkbox. Alternate Column height increases and alternate row doesn't fill color completely. Check out the picture. How can we addressed it.
Pavlina
Telerik team
 answered on 01 Jun 2012
1 answer
91 views
Hi,

I am using RadToolBar in my project.

In IE7 and IE8 the RadToolBarDropDown is rendering correctly:



But in IE9 it is rendering on two lines:



I'm using the latest version of Telerik. Does anyone have a solution?

Thanks in advance
Princy
Top achievements
Rank 2
 answered on 01 Jun 2012
1 answer
61 views
hello all , 
i've three raddock 1 and 2 in zone 1 , and 3 in zone 2 on load ,
what i need is : when i move raddock1 to zone 2 , the raddock 2 also be moved automatically and the third one also moved to zone 1  
(in the same time , i want to move 1 and 2 into same zone only )
Loyal User
Top achievements
Rank 1
 answered on 01 Jun 2012
3 answers
257 views
Hi,
I have a radcombobox where I have EnableLoadonDemand is True. When I type "America" in the dropdownlist, it searches first for all "A" then "AM" then "AME" and so on. For my project, getting data takes a while so each search makes dropdownlist slower. What I would like to do is after user type a letter or word, I want to wait for a second then go for search. so instead of making multiple trips to sever, it will make only 1 trip. Ofcourse, User will wiat for a second but that's better than multiple roundtrip to server.

Hope this makes sense.

Thanks in advance for youe help.
Princy
Top achievements
Rank 2
 answered on 01 Jun 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?