Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
133 views
 
hello 

I am using Telerik ReportViewer to display reports,
But when I print report ,it  exports to pdf instead of printing. as shown in attached image.



please help.
Kishor
Top achievements
Rank 2
 asked on 25 Aug 2014
3 answers
223 views
Hello,

Is there any client API or mechanism that can be used to configure RADEditor MaxTextLength property dynamically in the Client code (JavaScript)? I need to control maximum number of characters should be allowed to enter into editor (single instance) depending on context option (jquery) selected by the user. For example, 200 characters for legend but 1000 characters for reference etc.

Thanks,
Chuck
Shinu
Top achievements
Rank 2
 answered on 25 Aug 2014
1 answer
120 views
Dear Team,

I have 3 controls. First one is textbox, second is AsyncUpload and Third is textbox  again. Initially we are focusing on textbox1 and enter 'Tab' button from keyboard focusing on AsyncUpload Control and when i again click on 'Tab' from keyboard it needs to focus on textbox2 where as it is happening on double tab from keyboard.

Please let me know how i can solve this issue.

Thanks and Regards,
Rajender.A
Princy
Top achievements
Rank 2
 answered on 25 Aug 2014
1 answer
83 views
Hi Telerik Team,

I has been working with Telerik Controls for the last months and there is something that still I can't feel as something good. When I create the Local Resource (resx) file for my aspx page, a lot of tags are added to the aspx, and of course a lot of local resources entries in the resx file. I do understand the entries created on resx file, but the number of tags become kind on insane in the aspx file, for example for a simple RadTextBox that was originally like this:

<telerik:RadTextBox ID="ttxtFirstName" runat="server" Width="100%" ></telerik:RadTextBox>
(I do not define Skin as it is set on web.config for all the telerik controls)

And after creating the local resource my aspx ends like this:

<telerik:RadTextBox ID="ttxtFirstName" runat="server" Width="100%" 
                                    LabelCssClass="" LabelWidth="64px" 
                                    meta:resourcekey="ttxtFirstNameResource1" Resize="None" 
                                    ResolvedRenderMode="Classic">
                                    <EmptyMessageStyle Resize="None" />
                                    <ReadOnlyStyle Resize="None" />
                                    <FocusedStyle Resize="None" />
                                    <DisabledStyle Resize="None" />
                                    <InvalidStyle Resize="None" />
                                    <HoveredStyle Resize="None" />
                                    <EnabledStyle Resize="None" />
                                </telerik:RadTextBox>

So, as you can see a lot of tags (and lines, because each tag is using one line of code) are generated and if you ask me, it doesn't look simple and even can break the low "beauty" of the code that we can have.

Is this completely necessary?, when a local resource for a ASP.NET textbox is generated the only thing added to our code is the metarsourcekey. Is there a way to create the local resource different from using option inside Tools Menu that could be used to avoid this?

I will leave aside the number of entries generated in resx file, just cause those can be ignored or removed. But what bothers me is to mess up with the code, even if it is the aspx file.

Consider that we could have very long forms where the number of controls can be large and adding around 10 lines per each control is not pretty. Hope that you could share a solution.

Regards,

Oscar Ramirez




Ianko
Telerik team
 answered on 25 Aug 2014
1 answer
227 views
Hi,

I am using Teleriks' 2014.2.618 version. Earlier, I was using 2012 ones. 

I have ContextMenu on RadGrid which is suppose to open a menu. It worked perfectly fine on 2012 version. However, on 2014, the ContextMenu doesn't open up. While debugging our javascript its breaks at contextmenu.showAt(100,100). 

We verified the passing parameter as integer. We pass the RadGrid's Id as sClientId.

It throws error as : Unable to get property 'showAt' of undefined or null reference 

var x = 0;
var y = 0;

function showMenu()
        x = e.clientX + document.body.scrollLeft + document.documentElement.scrollLeft;
        y = e.clientY + document.body.scrollTop + document.documentElement.scrollTop;

        var contextMenu = $find(sClientId);
        contextMenu.showAt(x, y);
}

Shinu
Top achievements
Rank 2
 answered on 25 Aug 2014
1 answer
236 views
hi

How do I remove or delete item from listbox using command name? Thanks a lot

Here is my code:

<telerik:RadListBox ID="lbProductList" runat="server" Width="100%"  EnableViewState="true" ViewStateMode="Enabled" Skin="Metro" style="top: 0px; left: 0px" AutoPostBack="True" EnableDragAndDrop="True">
                  <ItemTemplate>
                        <table>
                                <tr>
                                    <td class="leftbox"><asp:Image ID="Image1" CssClass="circularsmall" runat="server" EnableViewState="true" ImageUrl='<%# "~/images.ashx?id=" + Eval("PhotoThumb")%>' /></td>
                                    <td class="rightbox"><div class="semibold"  style="word-wrap:break-word"><%# Eval("ProductName")%></div>
                                    <div>
                                    <asp:LinkButton ID="lnkDelete" CommandName="remove" Text="Remove" style="text-decoration:none;color:darkgray;font-size:smaller" runat="server"></asp:LinkButton></div>
                                    </td>
                             </tr>
                          </table>
                     </ItemTemplate>
                 </telerik:RadListBox>
Princy
Top achievements
Rank 2
 answered on 25 Aug 2014
3 answers
174 views
Hello! 

I'm trying to put a link (<a>) in the text property of RadPanelItem. 

By doing this, I have problems with the layout, as below

Is it possible to fix?
Princy
Top achievements
Rank 2
 answered on 25 Aug 2014
2 answers
177 views
Hi,

In one of the page I have two radwindows inside radwindowmanager.
We are using Skin="MetroTouch" for "radwindowmanager".
Inside one of the radwindow I have radrotator with very large images.
When ever we are scrolling to another image, main image is moving to left or right
and there's another image is appearing next to main image.
Please check the  attachment.


Best Regards,
Damodar
Damodar
Top achievements
Rank 1
 answered on 25 Aug 2014
3 answers
400 views
Hello,


                   I have used the Rad drop down tree as a user control as follows,

                                 <rad:RadDropDownTree ID="rddtArea" runat="server" DropDownSettings-CloseDropDownOnSelection="true"
     EnableFiltering="true" FilterSettings-Highlight="Matches"
    DropDownSettings-Height="200" Skin="Outlook">
</rad:RadDropDownTree>

                 and i have used this user control in another page and i am trying to clear the Drop down tree value using java script but i didn't get the solution.

               pls help me soon.


Thanks in Advance.
Shinu
Top achievements
Rank 2
 answered on 25 Aug 2014
2 answers
124 views
Hi Team

The last column of my grid is a GridClientSelectColumn. I am trying to set this amazing iCheck jquery plugin to all checkboxes of the grid

How can i do this ? How can i access the checkboxes of the grid ?

I have already tried these options but without success....any idea ?
  1. $('.RadGrid input').iCheck();
  2. $('div.RadGrid input[type="checkbox"]').iCheck();
  3. $('input[type="checkbox"]').iCheck();  
  4. $('input').iCheck({
                   checkboxClass: 'icheckbox_square',
                   increaseArea: '20%' // optional
               });
                     
              


<telerik:GridClientSelectColumn UniqueName="shop" HeaderText="Buy" >
         <HeaderStyle HorizontalAlign="Center" />
          <ItemStyle HorizontalAlign="Center"  />                               
  </telerik:GridClientSelectColumn>

 
Konstantin Dikov
Telerik team
 answered on 23 Aug 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?