Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
114 views
I have a RadTreeview and I display a RadTooltip on its nodes using a RadTooltipManager:

<telerik:RadTreeView ID="treeSubBooks" runat="server" Skin="WebBlue" AllowNodeEditing="false"
                    EnableDragAndDrop="false" OnNodeClick="tree_NodeClick" Width="240px">
                </telerik:RadTreeView>
                 <telerik:RadToolTipManager ID="rttmSubBooks" Height="300px" Width="250px"
                    HideEvent="ManualClose" RelativeTo="Element" Position="MiddleLeft"
                    runat="server" ShowDelay="500" Skin="Telerik" EnableShadow="true" Animation="Fade"
                    OnAjaxUpdate="rttmSubBooks_AjaxUpdate">
                </telerik:RadToolTipManager>

The tooltip displays a usercontrol:
 
protected void rttmSubBooks_AjaxUpdate(object sender, ToolTipUpdateEventArgs e)
    {
        Control ctrl = LoadControl("~/UserControls/ucTooltipTreeviewBook.ascx");
        e.UpdatePanel.ContentTemplateContainer.Controls.Add(ctrl);
  
        var iuser = (IUserControl)ctrl;
        iuser.Parameter = e.Value;
        var action = (ITooltipTreeviewAction)ctrl;
        action.Action += tooltip_action;
    }
  
    private void tooltip_action(object sender, TooltipTreeviewEventArgs e)
    {
        buildSubBooks(e.Action, e.BookName);
    }

In the ucTooltipTreeviewBook usercontrol there is a LinkButton that executes the "Action" event, then my buildSubBooks method is called and the treeview nodes are updated.
All of that is included in a RadAjaxPanel.
:)

Now the problem is that the page is not refreshed when I click on the LinkButton in the tooltip. But if I click on another LinkButton in the page, the RadTreeview is well updated (with the buildSubBooks modifications).
Is it because the usercontrol is loaded dynamically and the RadAjaxPanel doesn't know it? Or did I do something wrong?



Svetlina Anati
Telerik team
 answered on 11 Mar 2011
3 answers
121 views
Hi,

I am working on Telerik RadScheduler.

I have different sessions called screening, evaluation, discussions and etc....

So depending upon the dates of the above sessions, I have to highlight the calendar in Radscheduler.
All the other dates other than this should be blocked.

For example:
Screening : 2/23/2011 to 3/29/2011
Evaluation :4/12/2011-4/30/2011
Discussions-1/2/2011-1/5/2011.

All the dates other than this should be blocked and not be highlighted to the user.Is there any way to do it?
These dates are stored in the database by the admin and is reflected to the user.
So please do not give any answer with javascript.
I want code for disabling the calendar dates after retrieving the dates from the database. Whenever the page loads, the calendar should be highlighted with only the dates avaliable in the database and all the other dates should be disabled.
Code snippets as answers as per my requirement would be appreciated instead of redirecting me to any other blog.

Veronica
Telerik team
 answered on 11 Mar 2011
3 answers
157 views
Hi i had a RadEditor in Preview Mode. I dont want to display the tool bar but i am not able to do this? How to acheive this?

 <telerik:RadEditor ID="RdEditor_MessageContent" Runat="server" Width="95%" Height="190" EditModes="Preview">
        <Tools>
                <telerik:EditorToolGroup>
                </telerik:EditorToolGroup>
        </Tools>    
</telerik:RadEditor>

I tried like above but it is displaying the tool bar strip ..how to do this?
Bhuvan
Top achievements
Rank 1
 answered on 11 Mar 2011
1 answer
124 views
We are using raddock, when we apply sitefinity skin to it, the dock title is wrong aligned. its aligned to the top of element. the result is the same on online demos if we apply sitefinity skin to it.

http://demos.telerik.com/aspnet-ajax/dock/examples/default/defaultcs.aspx

We solve this problem by  applying custom css style to rad dock.

    .RadDock_Sitefinity .rdTitleBar em {
    padding-top:6px;
    }

Thanks
Bozhidar
Telerik team
 answered on 11 Mar 2011
6 answers
123 views
Hi all - including Telerik supporters :o)

This issue seems to be a recurring one, but still I can't find any solution to the problem. It seems to be very general, since the problem also occurres at the Telerik demo site; ToolTip / First Look .

My problem is very shortly to describe. When positioning the tooltip beneath or to the right of an element, the resizing goes very well since the arrow pointing at the associate element doesn't have to be moved, but when the tooltip has to be placed to the left or above the element (for example if there isn't space enough beneath the element to show the tooltip), the problem occur.

I have attached an example of the problem. 'Correct.png' shows how a correctly loaded tooltip is shown (tooltip is placed beneath the associated element), where 'Incorrect loading.png' and 'Incorrect loaded.png' shows how the arrow is stocked at the same placed before and after the tooltip is fully loaded - which ends up with an arrow inside the tooltip instead.

What can I do to solve my problem?
Svetlina Anati
Telerik team
 answered on 11 Mar 2011
1 answer
133 views
Hi there,
i have a chart with a line series where all values are 0,030. When I plot the chart with AutoScale set to true, the YAxis reaches from -50 to 40. To avoid this is set AutoScale = false, objChart.PlotArea.YAxis2.MinValue = 0 and objChart.PlotArea.YAxis2.MaxValue = 0.18.
But than I only get one Label at 0.00.

How can i get a second value to the y-axis2 like 0.1?

Best regards!
Ves
Telerik team
 answered on 11 Mar 2011
0 answers
53 views
hi,
   I am using rad totator control for displaying some data. All working fine and data scrolled continously. But when my mouse focused in the rotator, the scrolling stopped in the last slide ie not started again from the beginning. But when my mouse out of rotator, slide working correctly and also started from beginning when finished the slide. Give me some suggesions to solve this ...
Akhil Raj
Top achievements
Rank 1
 asked on 11 Mar 2011
3 answers
166 views
<telerik:GridDropDownColumn
              UniqueName="ISHUR" DataField="ISHUR" HeaderText="MyIshur" DropDownControlType="DropDownList"
                   DataSourceID="objdsIshur" ListTextField="Text" ListValueField="Key"/>


Hi All,
I have a radgrid that one of his columns is GridDropDownColumn 
I want to access the GridDropDownColumn in client side  and get the selected index when i move to edit mode.
Note that the DropDownControlType property is set to DropDownList and not to RadComboBox/
Thank,
Gerry

Tsvetoslav
Telerik team
 answered on 11 Mar 2011
1 answer
743 views
How would you use RadMaskTextBox to mask all but the last 4 digits of a credit card?

I want the Textbox to display as ####-####-####-1234.

Thanks in advance for your assistance.
Veli
Telerik team
 answered on 11 Mar 2011
3 answers
156 views
Hi
Do you have a sample of grid which has checkbox, textbox and combobox columns int it?
Thanks
Princy
Top achievements
Rank 2
 answered on 11 Mar 2011
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?