Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
323 views

 Is there a requirement that the RadPdfViewer load a file on page load?  

When I call pdfviewer.fromfile() when no initial document is set I get the attached error.  If I set the initial file to any valid pdf 

IE:  (  <PdfjsProcessingSettings File="/default2.pdf">
            </PdfjsProcessingSettings>

)

 

I do not get the error.  

 

 

     <telerik:RadPdfViewer runat="server" ID="RadPdfViewer1" Height="650px" Width="100%" Scale="0.9">
                <ToolBarSettings Items="pager, spacer, zoom, toggleSelection, spacer, search, print" />
 
           
        </telerik:RadPdfViewer>

 

 function loadFile(name) {


                var pdfViewer = $find("<%=RadPdfViewer1.ClientID %>");
               
            

                     
                    pdfViewer.fromFile(name);
               
            }

 

Rumen
Telerik team
 answered on 06 Mar 2020
6 answers
628 views

I have rad menu item and it has couple of items in it. When we click on a Item , a new window should be open without server trip.

 

Note: telerik controls placed in a user control.

 

Rumen
Telerik team
 answered on 05 Mar 2020
3 answers
118 views

I'm looking here -https://docs.telerik.com/devtools/aspnet-ajax/controls/mediaplayer/overview

and don't see any documentation regarding accessibility keyboard support?

Rumen
Telerik team
 answered on 05 Mar 2020
3 answers
177 views

I have an issue after I drag and drop an appointment to the other resources by auto scroll down to the resource. I'm not able to extend the appointment anymore.

If I drag and drop the appointment to the resource next row to it without apply the auto scroll down. The extend the appointment is working fine.

I found that when I extend the appointment, it didn;t change the width in the div class = rsApt rsAptColor appointment-solid-line

Do you know where cause this issue?

And what script will be trigger?

You can see my attached screenshot.

Connie
Top achievements
Rank 1
 answered on 05 Mar 2020
6 answers
1.5K+ views
Hi all,

How to disable GridClientSelectColumn checkbox in some of the rows? Which grid event shall I look into? How can I reference to the checkbox?

Thanks
Chen.
Richa Chauhan
Top achievements
Rank 1
 answered on 04 Mar 2020
1 answer
734 views

     Hello.
How to change the value of GridTemplateColumn.
I have this complicated situation. I have Grid in BatchEdit mode, using load-on-demand, using client and server validation, containing GridTemplateColumns with RadComboBoxes which are cascade-depended on each other also in load-on-demand mode. I am aware, I am using multiple features, which perhaps are not working well together by default, but that was never a problem for me. 
Almost everything is well. When an edited row is not validated on the server, this row is recreated on the client after postback. If the existing row was changed, this row is edited, if it was a new row, this row is created and populated. 
I have a problem set GridTemplateColumn value properly because there are 2 values: display value and id value. I cannot use the standard function "batchEditingManager.changeCellValue" because I either use display value and I have wrong information on the server or I use id value and the user cannot see proper values. If I combine the second solution and change the innerText of the column, the grid will start to have weird errors. If I use some other solution, I don't have values on the server during the BatchEdit command (GridBatchEditingCommand.NewValues). 

In short:
I need to change value of GridTemplateColumn on the client, show display value to the user in the row and have id value on postback in GridBatchEditingCommand.NewValues.
I need to do this on the client, I think I cannot use server row binding.

Grid collumn:

<telerik:GridTemplateColumn HeaderText="Projekt" UniqueName="PROJECT_ID" DataField="PROJECT_ID" SortExpression="PROJECT_ID" HeaderStyle-Width="15%" ItemStyle-Width="15%">
          <ItemStyle Wrap="false" CssClass="addTooltyp TypeRadComboBox"   />
          <ItemTemplate>
            <label id='GridComboBoxValue' tag='<%#SafeEval( Container.DataItem, "PROJECT_ID")%>'><%#SafeEval( Container.DataItem, "PROJECT_NAME")%></label>        
          </ItemTemplate>         
          <EditItemTemplate>
            <telerik:RadComboBox RenderMode="Lightweight" runat="server" ID="GCB_Project" ShowMoreResultsBox="true" EnableVirtualScrolling="true"
              EnableLoadOnDemand="true" Width="100%" Height="300" ItemsPerRequest="10" DropDownAutoWidth="Enabled" ItemRequestTimeout="800"
              DataTextField="PROJECT_FULL_NAME" DataValueField="PROJECT_ID"
               AllowCustomText="false" MarkFirstMatch="true"
              OnItemsRequested="Combobox_ItemsRequested"
              OnClientItemsRequesting="ComboBoxOnClientItemsRequesting"
              OnClientFocus="CBOnClientFocus" OnClientBlur="OnClientBlurHandler"
              >
            </telerik:RadComboBox>
             <asp:CustomValidator ID="ProjectValidator" runat="server"  EnableClientScript="true" ClientValidationFunction="DropdownValidatorFun"
                ControlToValidate="GCB_Project"  >
             </asp:CustomValidator>           
          </EditItemTemplate>
        </telerik:GridTemplateColumn>

 

Thank you. 

Attila Antal
Telerik team
 answered on 03 Mar 2020
2 answers
162 views

Hi,

 

I am trying to upload a file which is of size 9.99 MB in incognito window in chrome, the browser is freezes for some time for around a minute. After that time,  I see the selected file in the browser. But when i do the same steps in normal window, it's working fine. Can you please let me know how to fix this issue?

 

Regards,

Vijay

Vijaya Bhaskar Reddy
Top achievements
Rank 1
 answered on 03 Mar 2020
1 answer
390 views
Is it possible to generate a RadDropDownList at runtime? Such as when a button is clicked.
Attila Antal
Telerik team
 answered on 03 Mar 2020
3 answers
128 views

I've a RadSplitter with a left panel and right panel, and in the right panel i've a RadMenu. 

The problem si that, in the scroll of RadMenu item, i can click and hold the down arrow to scroll faster and  when i scroll all the way to the bottom of the list, the left panel disappears when i let go of the mouse button.

I don't understand what relationship there can be between one thing and another.
Any suggestions to solve the problem?

 

 

Peter Milchev
Telerik team
 answered on 03 Mar 2020
1 answer
152 views

Hi,

I have telerik control which i set a color after cursor leaves:

<telerik:RadTextBox ID="txtText4" runat="server" Font-Bold="true" TabIndex="4" Font-Size="Small"
                                   Width="40%" CssClass="upper" onKeyUp="Count(this,30)" onChange="Count(this,30)" Height="21" style="border-width:2px; font-family:Verdana;">
                                   <DisabledStyle Font-Bold="true" BackColor="#EFEFEF"  />
                                    <ClientEvents OnFocus="OnFocus" OnBlur="OnBlur" />
                                 </telerik:RadTextBox>

 

On client event blur backcolor became blue when it leaves this control.

After that cursor transfer to the next control with autopostback=true:

<telerik:RadComboBox ID="ddlAprv" runat="server" TabIndex="6" AutoPostBack="true" Font-Bold="true" Font-Size="Small" Width="75px" OnSelectedIndexChanged="ddlAprv_SelectedIndexChanged1" style="border-width:2px; font-family:Verdana;"
                                    OnClientFocus="OnFocus" >
                                 <Items>
                                      <telerik:RadComboBoxItem Text="Select" Value="" Selected="true" />
                                      <telerik:RadComboBoxItem Text="Yes" Value="Y"  />
                                      <telerik:RadComboBoxItem Text="No" Value="N" />
                                 </Items>
                               </telerik:RadComboBox>

 

For the some reason blue color on the previous control disappeared.

I would like that color stay all the time.

Please help.

Vitaly.

Eyup
Telerik team
 answered on 03 Mar 2020
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?