Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
135 views
Hi!

I have recently upgraded ASP.NET Ajax Controls directly from Q3 2008 to Q3 2009.
I see that there is a change in the way the DateInput control (I use the RadDatePicker) is shown when getting focus in Q3 2009.

When I move to DateInput with tab key in 2008 then the text is selected (high lighted). In 2009 it is not, it is hard to see that it gets focused at all.
When I click with mouse in text of DateInput in 2008 then the cursor is positioned where I click. In 2009 cursor moves automatically to the first position of DateInput field.

I would prefer to have it the old way...

Thanks
/Mats
Mats
Top achievements
Rank 1
 answered on 09 Nov 2009
2 answers
76 views
Hi,

I have successfully plotted a StackedBar chart and a StackedLine chart in a single chart.  The Y axis has custom values and each value has its own stacked bar and stacked line. 

As the two chart series use the same underlying data points, the StackedLine line endpoints always appear in the middle of the bar (see attached image chartimage.axd.png).   However, my requirement is to have the lines start at the edge of the bars, so it's linking the bars together like in the attached requirement.jpg. 

How can I accomplish this?   I've tried a number of methods

- Setting PointMark padding / margins
- Setting Y axis item values to numerical values and trying to plot the StackedLine chart items by using these values
- Tried to create a step chart by following the steps here

Any help would be appreciated.


Tracy Nagel
Top achievements
Rank 1
 answered on 09 Nov 2009
1 answer
134 views
Hello, I am binding a radtreeview to my custom business objects.  I am able to properly display a hierarchy, but I would like to template out the nodes differently, depending on which level I am at.  For example, I need one template for the root nodes, and another template for the first child nodes.  Is this possible?  After searching through documentation and samples, it seems you can either create one "global" template, which applies to all nodes, or template out each node, but this only seems to be possible if you are declaratively building your nodes.

- Edit:
After posting this question, I found another forum post with the same question:
http://www.telerik.com/community/forums/aspnet-ajax/treeview/are-multiple-node-templates.aspx

The example in the download requires generating the templates in code.  Is it possible to build the templates declaratively in the aspx file?
Yana
Telerik team
 answered on 09 Nov 2009
1 answer
112 views
Intermittently based on certain users the RadMenu will display as a sorted list instead of the expected behavior.  The RadMenu is in a ASP.NET user control (.ascx) packaged as a SharePoint webpart.  We are currently used a trial version of the 2009 Q2 controls.  It seems that the controls can't find the style sheets.  I'm using the "Default" skin without modification.  The behavior happens with both IE 7 & 8.

Attached are 2 screenshots that show a "bad" menu and a "good" menu.

Any help would be appreciated.
Paul
Telerik team
 answered on 09 Nov 2009
1 answer
221 views
Hello, Please Help me , when i want to use : Telerik 2009.1.311.35, visual studio 2008 sp1 give me this error :
-------------------------------------------------------------------------------------------
Could not load file or assembly 'Telerik.Web.UI, Version=2009.1.311.35, Culture=neutral, PublicKeyToken=121FAE78165BA3D4' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
-----------------------------------------------------------------------------------------------------
i add some tag to my web.config but my problem didb't solve , whould you please help me ? thanks


Atanas Korchev
Telerik team
 answered on 09 Nov 2009
1 answer
119 views
Hi all
how can i install the radmenu (source code) to my MOSS portal ? let's say that i only have the source code version of the menu available (dll not available)

Thank You


Paul
Telerik team
 answered on 09 Nov 2009
0 answers
145 views
Problem
When you hover a tab which is a sibling of a separator tab (IsSeparator=True) you get a javascript error:

"className" is null or not an object


Who is affected
Everyone who uses Q3 2009 version (2009.3.1103) and have IsSeparator = True set for any of the tabs.


Workaround
Place the following javascript code right after the script manager's declaration:

<script type="text/javascript"> 
Telerik.Web.UI.RadTab.prototype._highlight = function () 
{ 
    if (this.get_hoveredCssClass()) 
        Sys.UI.DomElement.addCssClass(this.get_linkElement(), this.get_hoveredCssClass()); 
 
    var prev = this.get_previousTab(); 
    var next = this.get_nextTab(); 
    if (prev) { 
        var prevLink = prev.get_linkElement(); 
        if (prevLink) 
            Sys.UI.DomElement.addCssClass(prevLink, "rtsHoverBefore"); 
    } 
    if (next) { 
        var nextLink = next.get_linkElement(); 
        if (nextLink) 
            Sys.UI.DomElement.addCssClass(nextLink, "rtsHoverAfter"); 
    } 
     
    if (!this.get_enabled()) return; 
    if (!this.get_hoveredImageUrl()) return; 
    if (!this.get_imageElement()) return; 
     
    if (this.get_imageElement().src != this.get_hoveredImageUrl()) 
        this.get_imageElement().src = this.get_hoveredImageUrl(); 
}; 
 
Telerik.Web.UI.RadTab.prototype._unhighlight = function () 
{ 
    if (this.get_hoveredCssClass()) 
        Sys.UI.DomElement.removeCssClass(this.get_linkElement(), this.get_hoveredCssClass()); 
     
    var prev = this.get_previousTab(); 
    var next = this.get_nextTab(); 
    if (prev) { 
        var prevLink = prev.get_linkElement(); 
        if (prevLink) 
            Sys.UI.DomElement.removeCssClass(prevLink, "rtsHoverBefore"); 
    } 
    if (next) { 
        var nextLink = next.get_linkElement(); 
        if (nextLink) 
            Sys.UI.DomElement.removeCssClass(nextLink, "rtsHoverAfter"); 
    } 
         
    this._updateImage(); 
}; 
</script> 


What is next
The problem is already fixed and will be available in the next Latest Internal Build and the first service pack.



We apologize for the caused inconvenience.


Telerik Admin
Top achievements
Rank 1
Iron
 asked on 09 Nov 2009
1 answer
95 views
Hi,

I have a scenario like this. I open a small modal RadWindow of the size(300,400) from the ContextMenu of the Radgrid. I want to open a second RadWindow (size maximum possible as per the window size and resolution) when I click on the link in the first RadWindow. As I understand, when I open the second radWindow from first one, the second window is always within the first window, is it possible to open the second RadWindow with maximum screen size possible?

I am using following Javascript code to get the screen width and height and want to open the second RadWindow with this size.

w = window.screen.availWidth;

h = window.screen.availHeight;


Thanks.
Georgi Tunev
Telerik team
 answered on 09 Nov 2009
3 answers
110 views
I have a .aspx page where I have a RadDockLayout and a RadDockZone registered as this:
<telerik:RadDockLayout ID="rdlDockLayout" runat="server" OnLoadDockLayout="rdlDockLayout_LoadDockLayout" 
    OnSaveDockLayout="rdlDockLayout_SaveDockLayout"> 
    <telerik:RadDockZone ID="rdzMain" UniqueName="rdzMain" runat="server" MinHeight="600px" 
        Width="550px" BorderStyle="None"> 
    </telerik:RadDockZone> 
    <div style="display: none"> 
        <%--Hidden UpdatePanel, which is used to receive the new dock controls.--%> 
        <%--We will move them with script to the desired initial dock zone.--%> 
        <asp:UpdatePanel runat="server" ID="udpPanel" OnLoad="udpPanel_Load"> 
            <Triggers> 
                <asp:AsyncPostBackTrigger ControlID="cmdNewDockWithZone" EventName="Click" /> 
                <asp:AsyncPostBackTrigger ControlID="cmdNewDock" EventName="Click" /> 
            </Triggers> 
        </asp:UpdatePanel> 
    </div> 
</telerik:RadDockLayout> 

I'm adding new Docks to the page via the UpdatePanel and placing the using script as illustrated in this example. Some docks are created with a DockZone and some are placed in these dynamically created DockZones.

Now I want to be able to react to the placed docks from code behind during the AJAX call backs but it seems that the DockZones are "lost" after they have been created. I.e. only the non-dynamic DockZone (rdzMain) is registered in rdlDockLayout.RegisteredZones and when calling rdlDockLayout.GetRegisteredDocksState() all Docks that are docked in dynamically created DockZones have an empty string for DockZoneID. This makes it hard to figure out which Dock belongs to which DockZone, which is important to my application.

DockZones have the same string (unique per DockZone though) set as both ID and UniqueName.

Is something wrong or is this the expected behavior when creating DockZones dynamically?


AndyRutter
Top achievements
Rank 2
 answered on 09 Nov 2009
1 answer
62 views
This example sends the user to a 404 page when the update button is clicked.
Pavel
Telerik team
 answered on 09 Nov 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?