Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
58 views
Hi,
i am experiencing the below error while using the RadAsyncUpload control, my environment is windows 2008, IIS7
in my web.config file
<httpRuntime executionTimeout="3600" maxRequestLength="504800" >
for iis7
<system.webServer>
<security >
<requestFiltering>
<requestLimits maxAllowedContentLength="1024000000" />
</requestFiltering>
</security>
</system.webServer>
but if i try to upload the files with 50MB or more i am getting the below javascript error, and my file is marked with red color

Error

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.2; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET4.0C; .NET4.0E)

Timestamp: Fri, 10 May 2013 13:06:43 UTC

Message: Exception thrown and not caught

Line: 248

Char: 8

Code: 0

URI: http://servername/abc/ScriptResource.axd?d=yfWEbJ7bo0GU6EScXNiH-FEG9o6YNZDA6BjeBM9NY0vKh5Mvw3x6SsKkciYcJCR5LRpKHsKisXKtheYpXB-x_Ane6tBJ5bjktNvajConjX4Yk3ozYwTTeE_G6PG5oDlL-eqIahsmLO7nyHnMPgwb9slf_kw1&t=7996caae

server error log

 

 System.NullReferenceException: Object reference not set to an instance of an object.
at Telerik.Web.UI.AsyncUploadHandler.ProcessRequest(HttpContext context)
at Telerik.Web.UI.HandlerRouter.ProcessHandler(String handlerKey, HttpContext context)
at Telerik.Web.UI.HandlerRouter.ProcessHandler(HttpContext context)
at Telerik.Web.UI.WebResource.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

 

 

can you please let me know why i am experiencing the above issue.
thanks,
Burepalli V S Rao.

 

Hristo Valyavicharski
Telerik team
 answered on 15 May 2013
1 answer
125 views
I use default Advanced/Insert Template.   I would like to do validation for overlap appointments before the postback on the client side.So i try to re-use the code for the LinkButton RadConfirm example.
On the FormCreated event I added OnClientClick event for InsertButton
if (e.Container.Mode == SchedulerFormMode.AdvancedInsert) {
    LinkButton formButton = e.Container.FindControl("InsertButton") as LinkButton;
    if (formButton != null)
    {
        formButton.OnClientClick = "confirmLinkButton(this);  return false;";
    }
}
and in my Javascript I added
function confirmLinkButton(button) {
    try {
        alert("confirmLinkButton");
    function linkButtonCallbackFn(arg) {
        if (arg) {
           eval(button.href);
        }
   }
//   RadConfirm(insertOverlapMessage, linkButtonCallbackFn, 330, 180, null, "Confirm");
   var confirmReturn = confirm(insertOverlapMessage);
   if (confirmReturn) { eval(button.href); }
 
     
} catch (e) {
    alert(" confirmLinkButton: Error Description: " + e.Description + " Error message:" + e.message);
}
}


BUT  my javascript function never been call and it is really inconvenient to use RadConfirm on the server side after postback :  all data from the insert form have been disappeared.

Please, advice how I can make the code to work.  Thank you for your help!
Plamen
Telerik team
 answered on 15 May 2013
6 answers
183 views
Hello,

I am adding the paragraph styles to the RadEditor with the following code

RadEditor1.Paragraphs.Add("<H1 class='header1'>My (H1)<H1>", "<H1 class='header1'>")

These styles appear in the select list in RadEditor. When I apply some paragraph style, it add the correct "tag" but not adding the "class" attribute.

Such as:

<h1> Text goes here.. </h1>

While I am expecting:
<h1 class='header1'> Text goes here.. </h1>



I have followed the following url's
http://www.telerik.com/help/aspnet-ajax/editor-paragraph-styles.html
http://demos.telerik.com/aspnet-ajax/editor/examples/formatblock/defaultcs.aspx

Can anyone help me??
shadow
Top achievements
Rank 2
 answered on 15 May 2013
1 answer
101 views
Hi,

I am trying to access the calendar of radscheduler in JS but not getting. Please help.

Sameer
Shinu
Top achievements
Rank 2
 answered on 15 May 2013
3 answers
167 views
I'm using a RadUpload in radwindow and when I check the UploadedFiles.Count within my InsertCommand, it returns 0.  Any ideas what I'm doing wrong?

 <telerik:RadUpload ID="RUImg" runat="server" InitialFileInputsCount="1" Width="340">
  </telerik:RadUpload>

code behind

    foreach (UploadedFile file in RUImg.UploadedFiles)
            {
                try
                {
                    file.SaveAs("D:\\Projet\\Intranet\\O2-PowerNet\\images_app\\AnnonceImages\\" + file.GetName(), true);

                }
                catch (Exception ex) {
               
                }
            }
Genady Sergeev
Telerik team
 answered on 15 May 2013
1 answer
112 views
Hi,

I'm getting the following error when I call the page size changed event. I've attached a screen shot. Appreciate your help.

Thanks,
Ron.
Pavlina
Telerik team
 answered on 15 May 2013
1 answer
1.0K+ views
Hi
     How can I remove the refresh button from the top of the radgrid??
thanks
Allen
Shinu
Top achievements
Rank 2
 answered on 15 May 2013
1 answer
196 views
Hi,

Is it possible to add a background image to radcombobox dropdown?

Thanks,
Tia
Princy
Top achievements
Rank 2
 answered on 15 May 2013
1 answer
159 views
I have a function to handle validation on my single click radbutton, how do I toggle the state of the single click in JS, currently the button remains with it's SingleClickText if the script below doesn't validate

<script type="text/javascript">
            function DoSubscriptionValidation(button, args) {
                var isValid = Page_ClientValidate('Subscription');
                if (isValid) {
                    $find("<%= SubscriptionErrorNotification.ClientID %>").hide();
                }
                else {
                    $find("<%= SubscriptionErrorNotification.ClientID %>").show();
                }
                button.set_autoPostBack(isValid);
            }
        </script>
Danail Vasilev
Telerik team
 answered on 15 May 2013
1 answer
159 views
Hi,
I have datePicker control in User control and would like to compare the date with date Picker in  Parent Page date picker control value using Javascript. Could you please let me know?

 

 


<
telerik:RadButton runat="server" Enabled="true" ID="btnSave" Text="Upload" OnClientClicked="OnClientClicked"

 

 

 

/>

 



Thank you.
Viktor Tachev
Telerik team
 answered on 15 May 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?