Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
207 views
Hi,
RadTreeView expands a node by clicking the plus button or by double clicking the text node.
I want to change this by just simple click on plus or text.
I tried this by handling the ClientNodeClicked event but it's not working
<
script language="javascript"> function ClientNodeClicked(sender, eventArgs) { var node = eventArgs.get_node(); node.toggle(); } </script>
I used the load on demand server side. when i clicked the text  the plus button changed to minus and when i click on minus button it open the node and next time i redo the same operation on the same node  it works (because is already loaded).
please help.
Plamen
Telerik team
 answered on 24 Jan 2012
4 answers
470 views
Hi,

I want to disable all dates in my datepicker control except the first and the last date of the month.

I tried this code but this does not help:

protected void Calendar_OnDayRender(object sender, Telerik.Web.UI.Calendar.DayRenderEventArgs e)
        {
            DateTime dt = e.Day.Date;
            DateTime dtFirst = new DateTime(dt.Year, dt.Month, 1);
            DateTime dtLast = new DateTime(dt.Year, dt.Month, 1).AddMonths(1).AddDays(-1);

            if (e.Day.Date != dtFirst.Date)
            {
                RadCalendarDay calendarDay = new RadCalendarDay();
                calendarDay.Date = e.Day.Date;
                calendarDay.IsSelectable = false;
                rdpBeginDate.Calendar.SpecialDays.Add(calendarDay);
            }
        } 

aspx:

<telerik:RadDatePicker ID="rdpBeginDate" runat="server">
                        <Calendar UseRowHeadersAsSelectors="False" UseColumnHeadersAsSelectors="False" ViewSelectorText="x"
                            runat="server" OnDayRender="Calendar_OnDayRender">
                           
                        </Calendar>
                        <DatePopupButton ImageUrl="" HoverImageUrl=""></DatePopupButton>
                        <DateInput EnableEmbeddedSkins="false" Enabled="false">
                        </DateInput>
                    </telerik:RadDatePicker>

Please help.
Richard
Top achievements
Rank 1
 answered on 24 Jan 2012
3 answers
108 views
Hi,

I have a requirement where I have a RadDock with 2 zones.
I want to load all docks on it initially and then set for each container its own refresh time.
For example dock A will refresh in 5 minutes. Dock B will refresh in 20 minutes.
I want to do this with no postback - everything updates seamlessly. How do I do this?

Note: I have the latest 2011 telerik version.


Update: I have tried using webservice and javascript to populate the docks but found a problem.
The types controls within my docks are TagCloud, Graph and Treeview. I found that if I use webservice and javascript
I can't populate my tag cloud because I have to bind it as a RadTagCloudItem.


Thank you so much,
C
Slav
Telerik team
 answered on 24 Jan 2012
1 answer
100 views
In rad editor, if i click  cut,copy and paste image buttons it shows please click ctrl + x for cut etc.. Please help me, Suppose i click  cut image button the selected text must be cut. what i do for it?
Rumen
Telerik team
 answered on 24 Jan 2012
5 answers
121 views
I have two radrotators, a horizontal scroller with 4 images at the bottom, and a single 'main' image radrotator at the top. I have it set up to display the disappearing item in the bottom scroller to the main image section as it moves forward. Is it possible to have the main image radrotator change based on the index of the lower one while still using the 'slide show' or 'automatic advance' rotator type? Or running two rotators off the same timer would help. After a couple minutes they get out of sync. I set both rotators to have the same scrollduration and frameduration. If this is possible, can you please offer a sample. Thanks!
Slav
Telerik team
 answered on 24 Jan 2012
1 answer
52 views
How to select the today column in week view? As I can see, there isn't a class that would select it.
Peter
Telerik team
 answered on 24 Jan 2012
3 answers
89 views
Hi all,
        I am new to rad controls ,I would Like to add rad editor to SharePoint Display form (DispForm.aspx ) , Because I am using visual webpart  and saving the data using "Rad Editor" to SharePoint list to one of the list item  "Rich Text-box" .I mapped rad editor data to save in "Rich text-box" .Here the stored data of "Rich text-box"  font style and  spaces in paragraphs is getting lot of changes when saving from rad editor. 

Thanks,
MOHAMMAD SIDDIQALI
Rumen
Telerik team
 answered on 24 Jan 2012
1 answer
86 views
Currently, my RadChart's datasource receives what a method returns (a request LINQ to SQL). What i return is more precisely
a list of objects...

I would like to display underneath the X Axis a field of this objet ( a name for instance )

How is it possible to chose between the fields of an object those i want to use for my histogram

Thanks in advance for your help


PS: what i'm looking for looks a bit like this :
http://demos.telerik.com/aspnet-ajax/controls/examples/integration/chartandtooltip/defaultcs.aspx?product=chart


Evgenia
Telerik team
 answered on 24 Jan 2012
1 answer
104 views
I have noticed when using the Hyperlink Manger to create links in the RadEditor, that if you only enter 1 word in the Tooltip field, that the rendered HTML does not include either single or double quotes around the text for the title parameter in the anchor tag. However, if you enter multiple words it does include double quotes.

Likewise, it does the same thing in the target field.

Adding links produces the following HTML in the editor control for single and multiple words:

<A title=MSN href="http://www.msn.com" target=_blank>MSN</A><BR>
<A title="MSN WEB SITE" href="http://www.msn.com" target=_blank>MSN Web Site<BR></A>

The problem I am having is that when trying to render these anchors in an HtmlTextBox in the ReportViewer control, it complains about the missing quotes giving the following error message:

An error has occurred while processing HtmlTextBox 'txtBestDomainPractice': 'MSN' is an unexpected token. The expected token is '"' or '''. Line 1, position 122.

It does this for the title field if they are missing there, or for the target field if the title field has quotes.

Is there a workaround or known fix for this?
Rumen
Telerik team
 answered on 24 Jan 2012
3 answers
239 views
Hi,
       I need a checkbox for grid grouping.
Regards,
    Aditya
  
Shinu
Top achievements
Rank 2
 answered on 24 Jan 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
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?