Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
93 views

Hello,

I'm using a RadDatePicker with 'Default' Skin.

It currently looks like this:

Is there a simple way (without creating custom skins, or button image) to style the DatePopupButton to look like a normal RadButton with icon, so the result would be something like this:

 

I tried this:

public class DatePickerControl : RadDatePicker
{
    protected override void OnChildrenCreated()
    {
        base.OnChildrenCreated();
        /*
        ..
         */
        DateInput.CssClass = "RadButton_Default";
        /*
         ..
         */
    }

}

but no success.

Please help.
Thank you,

Alex

 

 

Eyup
Telerik team
 answered on 14 Jul 2015
1 answer
192 views

Hello,
I'm using a RadDatePicker with 'Default' Skin.
It currently looks like this:

Attachment: DatePickerControl Alt.PNG

Is there a simple way (without creating custom skins, or button
image) to style the DatePopupButton to look like a normal RadButton with
icon, so the result would be something like this:

Attachment: DatePickerControl Neu.PNG

I tried this:

public class DatePickerControl : RadDatePicker
{
    protected override void OnChildrenCreated()
    {
        base.OnChildrenCreated();
        /*
        ..
         */
        DateInput.CssClass = "RadButton_Default";
        /*
         ..
         */
    }
 
}

but no success.
Please help.

Thank you,
Alex

Eyup
Telerik team
 answered on 14 Jul 2015
4 answers
699 views

Is it possible to display the LabelsAppearance value different from TooltipsAppearance?

 

Example:

TooltipAppearance = percentage value.  actual count/total count

LabelAppearance = actual count

 

Danail Vasilev
Telerik team
 answered on 14 Jul 2015
5 answers
355 views
In the dataset when there is DateTime filed, the pivotgrid adds Year, Month, Quarter etc columns.

1) Now, we need these columns but PivotGrid does not display right values for these columns. It always displays the Date only for each of Year/Month/Quarter fields. For example, the Year field's datafield propery is set to "DateField.Year". 

When we try to override the behavior in _FieldCreated event by setting the DataField to "DateField" and GroupInterval = Year. Then it displays the Year but everytime there is postback it adds the Year field multiple times to the field window. There does not seem to be a way to find out how to stop adding this field multiple times.

2) For Month we would want to display "MMM, YYYY" how to achieve that?
Michal
Top achievements
Rank 1
 answered on 13 Jul 2015
1 answer
142 views

I know, IE8. But I'm stuck with it. This line of code errors in IE 8, its OK in 10,11 & Chrome. I'm using 2014 2.618.4

                if(visible == false){
                                      radconfirm("<span style='text-transform: none;'>Are you sure you want to remove this patient?</span>", confirmPathwayOutcomeFn,  "Remove Warning");
                }

As close as I can get to the error is:

Invalid argument.  Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ScriptManager_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d4.0.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3a8f393b2b-3315-402f-b504-cd6d2db001f6%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2014.2.618.40%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3a15590aec-52e9-4282-8ed4-e91eae292c7b%3a16e4e7cd%3aed16cbdc%3a874f8ea2%3af7645509%3a24ee1bba%3af46195d3%3ac128760b%3a19620875%3acda80b3%3a383e4ce8%3a92fe8ea0%3afa31b949%3a490a9d4e%3abd8f85e4%3a88144a7a%3a1e771326%3a4cacbc31%3a2003d0b8%3aaa288e2d%3a258f1c72%3a58366029%3ab7778d6c%3a8674cba1%3a7c926187%3a2e42e72a%3aa51ee93e%3aef347303%3ac08e9f8a%3a6d43f6d9, line 7208 character 1

 

Any Ideas?

Andy

Slav
Telerik team
 answered on 13 Jul 2015
0 answers
101 views
With the latest 2015.2.623 version of Telerik.Web.UI we discovered an issue when using RadPersistenceManager control to load the grid settings. In such case the control hangs due to a bug in the aforementioned version. Nevertheless, we have already included a fix in the internal build and also one will be included in the SP1.
Telerik Admin
Top achievements
Rank 1
Iron
 asked on 13 Jul 2015
7 answers
580 views

Hi,

How do we set the date format when using the new xlsx format export from a grid?

All we get in Excel is that all datetime columns gets the custom format: M-D-Ã…Ã…Ã…Ã…. No matter what we do...

Even in the online sample, both date columns are formatted in this way:

http://demos.telerik.com/aspnet-ajax/grid/examples/functionality/exporting/excel-export/defaultcs.aspx

We tried setting the DataFormatString of the grid column, no change...

Regards
Andreas

Viktor Tachev
Telerik team
 answered on 13 Jul 2015
1 answer
190 views

I have a column in the grid which returns multiple data vertically. How can I display the content horizontally?

i.e. my column displays:

AB

CD

EF

 

but I need to display: AB, CD,EF

this is my code:

<telerik:GridBoundColumn DataField="Specialty" HeaderText="Specialty" SortExpression="Specialty" ItemStyle-Width="9%"
HeaderStyle-Width="9%" UniqueName="Specialty"
FilterControlWidth="30px" ItemStyle-HorizontalAlign="Left" FilterControlToolTip="Search by Specialty" AutoPostBackOnFilter="true"
FooterText="Total Credits: " FooterStyle-HorizontalAlign="Right" FooterStyle-Font-Bold="true" FilterImageToolTip="Search by Specialty" HeaderTooltip="Sort by Specialty" >
</telerik:GridBoundColumn>

Thanks,

Eyup
Telerik team
 answered on 13 Jul 2015
4 answers
105 views

Currently we have a modal, with a grid inside of that. The bug is, if I add a row then delete the same row then attempt to save the grid, there is a javascript error, linked below:

http://prntscr.com/7qf6zr

is this an issue with my code? this bug does not trigger itemcommand, or batcheditcommand. Probably because of the clientside bug.

Viktor Tachev
Telerik team
 answered on 13 Jul 2015
1 answer
131 views

I was interested in adding a google map to a page on a RadMultiPage.  How do I get the javascript to execute whenever the specific RadPageView is actually visible?

* At its core, the google map is an image attached to a DIV tag.  Here's a decent introduction to an older version (http://www.codeproject.com/Articles/291499/Google-Maps-API-V-for-ASP-NET).

Ivan Danchev
Telerik team
 answered on 13 Jul 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?