Telerik Forums
UI for ASP.NET AJAX Forum
7 answers
731 views
Hi, I need to read the temporary filename that RadAsyncUpload has used.

I have tried the following:

protected void AttachmentAsyncUpload_OnFileUploaded(object sender, FileUploadedEventArgs e)
        {
            string targetFolder = ((RadAsyncUpload)sender).TargetFolder;
            Response.Write(Server.MapPath(targetFolder + "/" + e.File.FileName));
        }

but this is not returning the filename on the disk - I need the full temp file name for example: 1372860982657testdoc.jpg and not just testdoc.jpg

My understanding is that the files are not cleared by default for 4 hours and I need to be able to read the file contents after several postbacks so need to know the temp filenames.

Thanks
Tony
Hamada
Top achievements
Rank 1
 answered on 28 Jun 2017
10 answers
244 views

I have few charts

Is there a way to align charts/legends to be same size across all graphs?

Vessy
Telerik team
 answered on 28 Jun 2017
1 answer
160 views

I have a TreeList inside a RadMultiPage and using a RadTabStrip to select the pages. When the tab is first selected the TreeList loads as expected. But after clicking the tab a second time, the TreeList shows the hidden columns. I believe that it may be related to the view state not being passed to the server on post back. Ideally, i would like the OnNeedDataSource event to fire again to rebuild the TreeList but I'd still like to maintain the view state as well.

I've attached the source files as images.

 

Thanks

klac
Top achievements
Rank 1
 answered on 28 Jun 2017
23 answers
729 views
We're experience significantly slower load times IE when loading pages which contain several Kendo grids.  Running the IE and Chrome profilers for this page:

http://plnkr.co/edit/HGDTzRbvi5I1YJuHEznb?p=preview

demonstrates (to some degree) the behavior we are seeing.  Both profilers will show that "offsetWidth" claims the most cpu time.  In Chrome, this accounts for roughly 700 ms.  However, in IE, it accounts for almost 3000 ms.  

This is just a simple example.  But in our case, this disparity is magnitudes worse.  We're comparing load times of 3 sec in Chrome to 55 sec in IE... with almost all of that time (allegedly) attributable to offsetWidth in the profiler.

Is this expected?  Is there any way we can make this faster?

Note: we've been testing in IE 11.
Kjell
Top achievements
Rank 1
 answered on 28 Jun 2017
4 answers
267 views

As i am responsible to make our site 508 compliant, i used Wave (chrome) to check the pages for any potential issues.  It turns out that Wave flagged the page because the generated HTML contains a <th> tag without a text.

<caption style="display:none;">
      RadDatePicker
    </caption><thead style="display:none;">
      <tr>
        <th scope="col"></th>
      </tr>
    </thead>

1- Why does Telerik generates a <th> tag without a text. It should have been

 

<caption style="display:none;">
      RadDatePicker
    </caption><thead style="display:none;">
      <tr>
        <th scope="col">RadDatePicker</th>
      </tr>
    </thead>

2- The same issue occured with the title Navigation bar- Was a property not properly set?

<caption>
                    <span style="display:none;">Title and navigation</span>
                  </caption><thead>
                    <tr style="display:none;">
                      <th scope="col"></th>
                    </tr>
                  </thead>

Kindly advise

<div id="ctl00_ContentPlaceHolder1_txtBirthDate_wrapper" class="RadPicker RadPicker_Default" style="display:inline-block;width:160px;">
  <input style="visibility:hidden;display:block;float:right;margin:0 0 -1px -1px;width:1px;height:1px;overflow:hidden;border:0;padding:0;" id="ctl00_ContentPlaceHolder1_txtBirthDate" name="ctl00$ContentPlaceHolder1$txtBirthDate" type="text" class="rdfd_ radPreventDecorate" value="" title="Visually hidden input created for functionality purposes."><table cellspacing="0" class="rcTable rcSingle" summary="Table holding date picker control for selection of dates." style="width:100%;">
    <caption style="display:none;">
      RadDatePicker
    </caption><thead style="display:none;">
      <tr>
        <th scope="col"></th>
      </tr>
    </thead><tbody>
      <tr>
        <td class="rcInputCell" style="width:100%;"><span id="ctl00_ContentPlaceHolder1_txtBirthDate_dateInput_wrapper" class="riSingle RadInput RadInput_Default" style="display: block; width: 100%;"><input id="ctl00_ContentPlaceHolder1_txtBirthDate_dateInput" name="ctl00$ContentPlaceHolder1$txtBirthDate$dateInput" class="riTextBox riEnabled" type="text"><input id="ctl00_ContentPlaceHolder1_txtBirthDate_dateInput_ClientState" name="ctl00_ContentPlaceHolder1_txtBirthDate_dateInput_ClientState" type="hidden" autocomplete="off" value="{"enabled":true,"emptyMessage":"","validationText":"","valueAsString":"","minDateStr":"1900-01-01-00-00-00","maxDateStr":"2099-12-31-00-00-00","lastSetTextBoxValue":""}"></span></td><td><a title="Open the calendar popup." href="#" id="ctl00_ContentPlaceHolder1_txtBirthDate_popupButton" class="rcCalPopup">Open the calendar popup.</a><div id="ctl00_ContentPlaceHolder1_txtBirthDate_calendar_wrapper" style="display:none;">
          <table id="ctl00_ContentPlaceHolder1_txtBirthDate_calendar" summary="Calendar control which enables the selection of dates." cellspacing="0" class="RadCalendar RadCalendar_Default" border="0">
            <caption>
              <span style="display:none;">Calendar</span>
            </caption><thead>
              <tr>
                <td class="rcTitlebar"><table cellspacing="0" summary="Title and navigation which can change and show the current year and month." border="0">
                  <caption>
                    <span style="display:none;">Title and navigation</span>
                  </caption><thead>
                    <tr style="display:none;">
                      <th scope="col"></th>
                    </tr>
                  </thead><tbody>
  <tr>

 
 
blessed
Top achievements
Rank 1
 answered on 28 Jun 2017
2 answers
393 views
Hi,

I am using RADAsycUpload control(2013.3.114.35) in my Sharepoint 2013 list form. The requirement is to be able to upload multiple files.
I have done all the configuration using Telerik support links. But when I try to upload the files, they remain in uploading state and never get uploaded. Attached is the error screen shot. On checking in Chrome console, below is the error message i see:

  1. Uncaught SyntaxError: Unexpected token < ScriptResource.axd?d=ZxXzxOrMD3Bq85ND-7C3BhVYlw9PiRUgERjd5bruwV6jWu4cJJuNSVEMdwlQBFKUzotS7ry_wiv8vw…:3
    1. l


Below is my control code in .aspx page:

<

 

 

telerik:RadAsyncUpload runat="server" ID="AsyncUpload1" MultipleFileSelection="Automatic" UseApplicationPoolImpersonation="true" TemporaryFolder="E://Applications//SPC Folder"/>

 

Please let me know how can I get this resolved.

Thanks,
Shilpa
Igor
Top achievements
Rank 1
 answered on 28 Jun 2017
0 answers
125 views

Hello,

I would like your attention that following code is the format which I paste in Editor control. I want same format in PDF print also.

 

Hhere is Code:

a b c d e f g h i j k l<br />
<br />
<strong style="font-family: &quot;times new roman&quot;; font-weight: bold;">a &nbsp;b &nbsp;c &nbsp;d &nbsp;e &nbsp;f &nbsp;g &nbsp;h &nbsp;i &nbsp;j &nbsp;k &nbsp;l<br />
</strong><br />
<strong style="font-weight: bold; font-size: 14.6667px;"><span style="font-size: 26pt;">a &nbsp; b &nbsp; c &nbsp; d &nbsp; e &nbsp; f &nbsp; g &nbsp; h &nbsp; i &nbsp; j &nbsp; k &nbsp; l</span><br />
<span style="font-family: &quot;times new roman&quot;;">
a</span><span class="Apple-tab-span" style="white-space: pre; font-family: &quot;times new roman&quot;;"> </span><span style="font-family: &quot;times new roman&quot;;">b</span><br />
</strong><br />
<table style="font-family: &quot;times new roman&quot;; font-weight: bold; border: 1px solid black; width: 35%;">
    <tbody>
        <tr>
            <td style="border: 1px solid black;">&nbsp;1</td>
            <td style="border: 1px solid black;">&nbsp;2</td>
        </tr>
        <tr>
            <td style="border: 1px solid black;">&nbsp;4</td>
            <td style="border: 1px solid black;">&nbsp;5</td>
        </tr>
        <tr>
            <td style="border: 1px solid black;">&nbsp;7</td>
            <td style="border: 1px solid black;">&nbsp;8</td>
        </tr>
    </tbody>
</table>
<br />
<br />
<br />
<br />
njhsjkdfhsf<br />
<br />
<br />
<br />
sdfjoidsfhio<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
dsfjjhdslkfjsd<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
sdifolsdkfosdhfoiu<br />
<br />

I will appreciate if you give me solution. I am waiting your reply

Regards,

Satosh

Satosh
Top achievements
Rank 1
 asked on 28 Jun 2017
0 answers
156 views

I am new to radgrids.  I have an .ascx user control that pops up for editing the record. When it pops up there is an 'extra' slim section added across the top of my control with an 'X' button (all the way to the right) for closing.  See attached file/image. How/what would I add to add a pop-up a confirmation?

Thanks for your help.

Reid
Top achievements
Rank 1
 asked on 27 Jun 2017
1 answer
114 views

I have been searching for some kind of example on how this is done, but I need to have a column in my grid that has link buttons post back to the server.  All of the examples I have found are for a single control.  I have tried to extrapolate that into dynamic controls but have been unsuccessful.  

there are 5 columns in the grid:  Report Name, Requested Time, Completed Time, Execution Time, Status, Action
If the status is Completed the Action TemplateColumn shows a link button that must post back as I have to call a WCF Service to retrieve a non-local file for download.  
This works if I remove the Ajax component.  I just can't get it working correctly with the Ajax enabled.
Please provide me some guidance on this.

Alex
Top achievements
Rank 1
 answered on 27 Jun 2017
1 answer
107 views

I have been searching for some kind of example on how this is done, but I need to have a column in my grid that has link buttons post back to the server.  All of the examples I have found are for a single control.  I have tried to extrapolate that into dynamic controls but have been unsuccessful.  

there are 5 columns in the grid:  Report Name, Requested Time, Completed Time, Execution Time, Status, Action

If the status is Completed the action item shows a link button that must post back as I have to call a WCF Service to retrieve a non-local file for download.  

This works if I remove the Ajax component.  I just can't get it working correctly with the Ajax enabled.

Please provide me some guidance on this.

 

Thanks 

Alex
Top achievements
Rank 1
 answered on 27 Jun 2017
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?