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

I need a way to clear values from a TimePicker. Users are not able to manually interact with the textbox, they can only use the pop up values from the TimeView to select preset values in 15 minute increments. In the link below the first example has a "Clear button" at the bottom of the TimeView. Unfortunately I don't see a code example. How do I get a clear button like the example? 

 

http://docs.telerik.com/devtools/aspnet-ajax/controls/calendar/raddatepicker,-radtimepicker,-raddatetimepicker-and-radmonthyearpicker/configuring-the-embedded-time-view

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

Hello,

 

I see that in the WPF version of Diagram it seems you can have containers that have shapes inside of them. I would like to know if I can accomplish this via the ASP.NET version? I would like to have a container that contains shapes and possible other containers that have shapes inside.

 

How can I achieve this?

 

Thanks

 

Tim

Vessy
Telerik team
 answered on 14 Jul 2015
1 answer
182 views

Hi,

I've tried to get the OrgChart working and have had quite a few issues.  I've had to build my own container to cope with scrolling as by default it doesn't allow for a container or zoom mechanisms.  I'm now trying to do one more simple thing of having a client click event so that I can link to a record on the chart.  I could never have imagined on having to ask for such a basic bit of functionality.

There is no click event and you have to do a work around. But the code that I have seen doesn't work as the Id that comes back is set to an empty string, the adapted code is below my rant.

Every time I work with something new I seem to be spending more time on getting it working than I should, everything needs a work around or another.  The point of a control suite like this one is so that people don't need to do work arounds.  Even more frustrating is the need to vote for good functions when they are suggested, just add them in!

So, please, someone from Telerik tell me how to do an onclick properly and then tell me that a proper onclick handler will be introduced in the next version.  I suppose that this is the price to pay for the fact that all new controls are simply KendoUI controls re-engineered for ASP.NET?

Regards

Jon

$telerik.$(".rocItem").click(function (e) {
    var orgChart = $find("<%= uxRadOrgChart.ClientID%>");
    var index = orgChart._extractGroupItemFromDomElement(e.target).getId();
})

 

 

Ivan Danchev
Telerik team
 answered on 14 Jul 2015
1 answer
262 views

Hi,

I have RadTabStrip and RadMultiPage and i am adding some new Tabs and RadPageViews on Page load. Here is my code

                         RadTab objChildTab = new RadTab();
                        objChildTab.Text = "Tab1";
                        objChildTab.Value = "BAC";
                        objChildTab.PageViewID = "Page1";
                        objRadTabStrip.Tabs.Add(objChildTab);

        Note :  Here i am able to add Tabs to objRadTabStrip.

                        RadPageView pageView = new RadPageView();
                        pageView.ID = "Page1";
                        pageView.Height = 500;

                        objRadMultiPage.PageViews.Add(pageView);

      But Here i getting error :  

                                          The control collection cannot be modified during DataBind, Init, Load, PreRender or Unload phases

 

 Kindly help me to identify that RadTabStrip is allowing me to add new Tabs but RadMultiPage  is not allowing me to add new RadPageViews.

 

 Thanks,

Susheel

Ivan Danchev
Telerik team
 answered on 14 Jul 2015
3 answers
103 views

I would like to allow a user to click on a column header (ie Total Assets, Total Shares, etc) within my RadGrid and then populate the HtmlChart.  Is this possible or could you suggest another method?  The Y axis (amounts [$ or %]) would change dynamically while X axis (dates) would remain static.

 

 

 

 

 

 

Danail Vasilev
Telerik team
 answered on 14 Jul 2015
5 answers
612 views
Hi,
How can i access a control of edit itemtemplate of telerik grid in ItemCommand Event?

My code:-
if

(e.CommandName == "GetPrice")  

{

    if (e.Item is GridEditableItem)  

    {

    GridEditableItem editItem = (GridEditableItem)e.Item;

    TextBox box = (TextBox)editItem["SharePrice"].FindControl("txtPrice");
    }

}

the "box" gets null value here.
I am not able to access the text box "txtPrice" of column "SharePrice".
Konstantin Dikov
Telerik team
 answered on 14 Jul 2015
1 answer
89 views

Hi guys .

 

Is me again, now I´m struggling with the thumbnails section of my gallery,  the specific problem is that thumbnails gets smaller when they are in active state,

I'm setting the size when not active as follows:

 

.RadImageGallery .rigThumbnailsList    li img {
         width:auto!important;
         height:100px!important;
         margin:auto!important;
             
     }

This works great, but now I have this strange resizing behavior when the thumbnail is active.

 

How can I keep the size that is set with the css code I just provide but when it is in active state?.

 

Thanks 

Cristian.
            

 

Venelin
Telerik team
 answered on 14 Jul 2015
2 answers
96 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
202 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
723 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?