Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
179 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
162 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
700 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
580 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
102 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
10 answers
490 views
How would I go about setting the current week as the first week that appears on the scheduler in monthview?  For example, today is January 9th, 2011.  I'd like the scheduler to display the current week as the first calendar row, so that the dates displayed begin at January 8th and end at Feb 11.  Essentially, I'd like to always see a full month of appointments ahead.

I found a partial solution here which sets the start week in the correct place, but it simply eliminates rows rather than adjusting the range.  The drawback to this approach is that by the end of the month, you'd have a calendar with only one week on it. 
Vessy
Telerik team
 answered on 31 May 2017
8 answers
568 views

I'm having trouble with the keyboard accessibility of the RadMenu. I can tab into the menu, and use the arrow keys to move to the various navigation items, but once I go past the last item it just goes back to the first. I have found that hitting tab then escape for each navigation item will let me get out, but it seems ridiculous to have to tell our users that they will have to do the same.

 

Is there a way to make the menu easier to use for those who are not able to use a mouse?

 

Thanks,

Andrea

Marin Bratanov
Telerik team
 answered on 31 May 2017
4 answers
1.4K+ views
My client is concerned that his users aren't very technical and the Rad Grid column filtering is a bit overwhelming for many of them. He would like for the "Contains" filter to be applied when automatically when they type a phrase into the TextBox and hit "Enter".  Any ideas if and how I can do this?

Thanks

Steve
Shubham
Top achievements
Rank 1
 answered on 31 May 2017
1 answer
93 views

Hi everyone,

I am using a RadGrid with several columns. In the GridDateTimeColumn I use the EnableRangeFiltering-property. Unfortunately, I have very high Dates in my database (01.01.2200 for example). That's why, I need to modify the MaxDate-property of the To-field for theRangeFiltering. How can I access the corresponding field in order to modify its MaxDate-value? You can see a part of my code below:

Thank you very much!

Regards,
Hendrik

<telerik:RadGrid runat="server" ID="rg_pobTable">  
    <MasterTableView CommandItemDisplay="Top" DataKeyNames="Id">
        <Columns>                     
     <telerik:GridDateTimeColumn UniqueName="NächstePrüfung" ShowFilterIcon="False" DataType="System.DateTime" EnableRangeFiltering="True" AllowSorting="True" AutoPostBackOnFilter="True" PickerType="DatePicker"                  SortExpression="NächstePrüfung" HeaderText="Nächste Prüfung" DataField="NächstePrüfung" DataFormatString="{0:dd.MM.yyyy}">
                <HeaderStyle Width="325px" />
            </telerik:GridDateTimeColumn>          
        </Columns>
    </MasterTableView>
</telerik:RadGrid>
Eyup
Telerik team
 answered on 31 May 2017
0 answers
69 views
How do i get the server side event for the filter selection?
Santhosh
Top achievements
Rank 1
 asked on 31 May 2017
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?