Telerik Forums
UI for ASP.NET AJAX Forum
6 answers
283 views
How to expand all items in master table in RadGrid using javascript in the hierarchyload mode is client
Eric
Top achievements
Rank 1
 answered on 02 Jun 2017
1 answer
141 views

Hello,

   With version 2017.2.503.45 we different results than with version 2016.3.1027.45 for telerik:RadButton. See attached image.

How can we keep the former design?

Thank you

<telerik:RadButton runat="server" ID="chkUrlType" ToggleType="Radio" Text="URL" meta:resourcekey="URL" GroupName="IconType" Value="U" OnClick="chkUrlType_OnClick">
                                                      <Icon PrimaryIconUrl="/Content/MyHomeInterface/webUrl.png" />
                                                  </telerik:RadButton>
 
                                                  <telerik:RadButton runat="server" ID="chkFormType" ToggleType="Radio" Text="Formulario" meta:resourcekey="Form" GroupName="IconType" Value="F" OnClick="chkFormType_OnClick">
                                                      <Icon PrimaryIconUrl="/Content/MyHomeInterface/forms.png" />
                                                  </telerik:RadButton>
 
                                                  <telerik:RadButton runat="server" ID="chkGalleryType" ToggleType="Radio" Text="Galería" meta:resourcekey="Gallery" GroupName="IconType" Value="F" OnClick="chkGalleryType_OnClick">
                                                      <Icon PrimaryIconUrl="/Content/MyHomeInterface/Gallery.png" />
                                                  </telerik:RadButton>
tito miky
Top achievements
Rank 1
 answered on 02 Jun 2017
0 answers
80 views

Hi,

I have an issue with RadSlidingPane title text export to PDF.

Here are two images showing the difference between WebPage text and PDF text.

 

Could you please take a look?

 

Thanks.

 

 

 

shaohua
Top achievements
Rank 1
 asked on 02 Jun 2017
7 answers
794 views
Hi, I am trying to make a filter template with RadTextBox and custom filter button, but it's not working. Please, help.
Here is my code:

<telerik:GridBoundColumn UniqueName="ItemNumber" DataField="ItemNumber" HeaderText="Item Number" HeaderStyle-Width="150px" AutoPostBackOnFilter="true" AllowFiltering="true">
    <FilterTemplate>
        <telerik:RadTextBox ID="txtItemNumber" runat="server" Width="75px" AutoCompleteType="None"
        </telerik:RadTextBox>
       <asp:ImageButton ID="btnFilterItemNumber" runat="server" Width="24px" Height="24px" ImageUrl="~/Images/filter.png" OnClientClick="FilterItemNumber()" />
                             
        <telerik:RadScriptBlock ID="RadScriptBlockItemNumber" runat="server">
             <script type="text/javascript">
              function FilterItemNumber(sender, args)
              {
                   var tableView = $find("<%# ((GridItem)Container).OwnerTableView.ClientID %>");
                   var item = document.getElementById("<%# txtItemNumber.ClientID %>").value;
                   tableView.filter("ItemNumber", item, "Contains");
               }
               </script>  
           </telerik:RadScriptBlock>
       </FilterTemplate>
   </telerik:GridBoundColumn>
Wendi
Top achievements
Rank 1
 answered on 02 Jun 2017
8 answers
350 views
Hi,

I've found that Virtual Scrolling of a RadComboBox with EnableLoadOnDemand set to true doesn't work properly.
First situation: I have a RadGrid with a GridDropDownColumn. In the ItemDataBound event handler I look for the ComboBox and convert it to ComboBox with LoadOnDemand enabled:
cmbUsers.EnableLoadOnDemand = true
cmbUsers.ShowMoreResultsBox = true
cmbUsers.AppendDataBoundItems = true
cmbUsers.MarkFirstMatch = true
cmbUsers.ItemRequestTimeout = 1000; 
cmbUsers.EnableVirtualScrolling = true
cmbUsers.WebServiceSettings.Method = "GetComboUsers"
cmbUsers.WebServiceSettings.Path = "Edit1.aspx"
In this case VirtualScrolling works perfectly.

Second situation: I have a form with a RadComboBox on it:
<telerik:RadComboBox runat="server" ID="ddlAttendant" Width="120px" Skin="Default" TabIndex="2" EnableLoadOnDemand="true" 
          AppendDataBoundItems="True" DropDownWidth="130px" ShowMoreResultsBox="True" EnableVirtualScrolling="true" 
          EmptyMessage="Select the attendant" MarkFirstMatch="True" AllowCustomText="True" ShowDropDownOnTextboxClick="False"
      <CollapseAnimation Duration="200" Type="OutQuint" /> 
       <WebServiceSettings Method="GetComboUsers" Path="Edit1.aspx" />                                           
    </telerik:RadComboBox> 

So, I use same method to retrieve the data for my ComboBox, but in this case VirtualScrolling doesn't work at all.

I've tried different approaches (like assign properties' values in Page_Init or even create RadComboBox during Init) without any success.
Could you tell me why does it happen and how can I resolve this problem?
Vessy
Telerik team
 answered on 02 Jun 2017
3 answers
185 views

Hello,

I'm attempting to get the x-axis value from the Shared Template section of a HTML chart so that I can pass that value to a JS function for creating the tooltip display. Is there any way of getting this value? You can see the HTML markup below.

<telerik:RadHtmlChart ID="lcPayrollBiWeekly" runat="server" CssClass="FieldLabel" EnableViewState="false">
    <ClientEvents OnSeriesHover="seriesHover" />
    <ChartTitle Text="Bi-Weekly Payroll Comparison" >
        <Appearance BackgroundColor="White" Position="Top" />
    </ChartTitle>
    <Legend>
        <Appearance BackgroundColor="White" Position="Bottom" />
    </Legend>
    <PlotArea>
        <CommonTooltipsAppearance Shared="true">
            <SharedTemplate>
                 # for (var i = 0; i < points.length; i++) { #
                <div>#= formatLabel(points[i].value, points[i].value.x, points[i].series.name) #</div>
                # } #
            </SharedTemplate>
        </CommonTooltipsAppearance>
        <Appearance FillStyle-BackgroundColor="White"/>
        <YAxis>
            <LabelsAppearance DataFormatString="{0:C}" RotationAngle="0" />
            <TitleAppearance Text ="Amount" />
            <MinorGridLines Visible="false" />
        </YAxis>
        <XAxis>
            <LabelsAppearance RotationAngle="0" />
            <TitleAppearance Text="Payroll Period" />
            <MinorGridLines Visible="false" />
        </XAxis>
    </PlotArea>
</telerik:RadHtmlChart>

 

Thanks,

Johnathan

Marin Bratanov
Telerik team
 answered on 01 Jun 2017
1 answer
169 views

Hi,

I open a RadWindow with a grid inside. The problem is that the right border does not appear correctly (See attached image).

<telerik:RadGrid ID="grdStList" runat="server" AutoGenerateColumns="False" Skin="Bootstrap">
    <MasterTableView NoMasterRecordsText="" DataKeyNames="VA_ARTIKEL" >                
        <Columns>
            <telerik:GridBoundColumn DataField="ANZAHL" UniqueName="ANZAHL">
                <HeaderStyle HorizontalAlign="Right" />
                <ItemStyle VerticalAlign="Top" HorizontalAlign="Right" />
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="VA_ARTIKEL" UniqueName="VA_ARTIKEL">
                <ItemStyle VerticalAlign="Top" />
            </telerik:GridBoundColumn>
            <telerik:GridTemplateColumn UniqueName="BEZEICHNUNG">
                <ItemStyle VerticalAlign="Top" Wrap="false"/>
                <ItemTemplate>
                    <span><%# Eval("BEZEICHNUNG").ToString & " " & Eval("BEZEICHNUNG_ZUSATZ1").ToString & " " & Eval("BEZEICHNUNG_ZUSATZ2").ToString%></span>
                </ItemTemplate>
            </telerik:GridTemplateColumn>
        </Columns>
    </MasterTableView>             
</telerik:RadGrid>

 

The last column has the attribute "Wrap='false'". If I remove this attribute, the grid is displayed correctly but then the width is not correct.

How can i avoid the text to wrap and have a grid that displays correctly ?

Thank you!

Sébastien
Top achievements
Rank 1
 answered on 01 Jun 2017
0 answers
708 views

I use the RadScriptManager to run some javascript to draw some graphics. But I get some timeout about Telerik.

I used the Javascript successfully for another case, but this case has timeout problem.
RadScriptManager.RegisterStartupScript(this, this.GetType(), "TPR_Initial_Command", jsResultInit, true);

 

I do not know what happens. Does somebody know how to solve this timeout problem?

These are the error message apear in the google chrome's console window:

"伺服器要求逾時" in English means the Server's request is timeout.

 

Uncaught Error: Sys.WebForms.PageRequestManagerTimeoutException:
Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ScriptManager1_TSM&compress=1&_TSM_CombinedScripts…:6 Uncaught Error: Sys.WebForms.PageRequestManagerTimeoutException: 伺服器要求逾時。
    at Function.Error.create (Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ScriptManager1_TSM&compress=1&_TSM_CombinedScripts…:6)
    at Sys.WebForms.PageRequestManager._createPageRequestManagerTimeoutError (Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ScriptManager1_TSM&compress=1&_TSM_CombinedScripts…:15)
    at Sys.WebForms.PageRequestManager._onFormSubmitCompleted (Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ScriptManager1_TSM&compress=1&_TSM_CombinedScripts…:15)
    at Array.<anonymous> (Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ScriptManager1_TSM&compress=1&_TSM_CombinedScripts…:6)
    at Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ScriptManager1_TSM&compress=1&_TSM_CombinedScripts…:6
    at Sys.Net.WebRequest.completed (Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ScriptManager1_TSM&compress=1&_TSM_CombinedScripts…:6)
    at Sys.Net.XMLHttpExecutor._onTimeout (Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ScriptManager1_TSM&compress=1&_TSM_CombinedScripts…:6)
    at Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ScriptManager1_TSM&compress=1&_TSM_CombinedScripts…:6
章民
Top achievements
Rank 1
 asked on 01 Jun 2017
6 answers
584 views
Hi All

I have two buttons (Export to pdf) and (send email)

I have a radgrid with datas

If I click the export to pdf the datas in the grid is been exported.

I need to do this:

When I click the send email,The pdf should be automatically attached to the outlook.

Is there any option for this.

-Anto
Rhea
Top achievements
Rank 1
 answered on 31 May 2017
5 answers
107 views

Hello,

 

We are using the RTF Editor and we are experiencing issues with a lack of flexibility/control of where we can place bullets in our text.  Is there a fix for this?  Currently we are placing the cursor in the spot where we would like the bullet to appear, selecting the bullet option, and then the bullet appears elsewhere. The editor seems to expect that the bullet be created first before any text is entered (and therefore we seem to need to add the bullet first, then write the text, which causes difficulty as we have a lot of pre-existing text that needs to be re-organized).  We need a way to enter text first, or have pre-existing text, and then place the bullets in front of the lines of text.  It would be very helpful to be able to place bullets easily in any places they are appropriate. 

Rumen
Telerik team
 answered on 31 May 2017
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?