Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
183 views
Hi,
I have a radGrid where I have the default Grouping by the Status Fields.
Could I arrange the Groups in a custom way or just sort ascendind or descending.

Ex. I have Status1 Group, Status 2 Group, Status 3 Group
I want to display Status 2 Group first then Status 1 Group then Status 3 Group.

Anupam
Top achievements
Rank 1
 answered on 26 Feb 2010
1 answer
107 views

When I am pasting word file(with 6 pages ) content in the Editor and exported as PDF file. It generates output pdf file with 14 pages.

Thanks in Advance
Dwarka

Rumen
Telerik team
 answered on 26 Feb 2010
2 answers
122 views
I am aware of CurrentFolder to get path of entire path. If user is moving file from one folder to another, how do I get variables for the from and to folders? Is it possible to get just the folder name and not the entire path?
I realize I can parse it, just wondering if there is a variable with the value so if my currentFolder = "~/Docs/345/22/Before Picture/", how do I just get "Before Picture"
Fiko
Telerik team
 answered on 26 Feb 2010
3 answers
274 views

I have some scenarios where I have to use AjaxManager.ajaxRequest() for various purposes. As per the documentation, after ajaxRequest(), whatever controls I am expecting to update should be put inside the AjaxManager's ajaxSetting.

<AjaxSettings>

<telerik:AjaxSetting AjaxControlID="RadAjaxManager1">

<UpdatedControls>
....

 

<telerik:AjaxUpdatedControl ControlID="pnlButtons" />

<telerik:AjaxUpdatedControl ControlID="ucQueryFieldSelector" />

....
</UpdatedControls>

But I want to use ajaxRequest() with different parameter arguments, sometimes updating one set of control and sometimes updating some other set of controls. For above example, I may want to update pnlButtons sometime and then only ucQueryFieldSelector in some other case.

Are there any javascript calls that we can use to update particular Control after ajax response is received?

Iana Tsolova
Telerik team
 answered on 26 Feb 2010
1 answer
59 views
Hey,

I have set the slidingzone title, all looks good in IE, but when opening in Chrome or Firefox, the title of the slidingzone was not properly rendered. The orientation of the letters are horizontal and not vertical like in IE.

See attachments images fot a better look at the problem.

Can someone help me for a workaround?

Thanks,
Jan
Tsvetie
Telerik team
 answered on 26 Feb 2010
1 answer
170 views
Hi,

Question to devs and community:

Did anyone ever tried RadControls and CSS Reset (like Eric's M.) in larger project ?
Did it work for FF and IE well ?
Dimo
Telerik team
 answered on 26 Feb 2010
2 answers
128 views
We are trying to resolve an issue that happens when using the dock on any WebKit based browsers (Google Chrome, Safari for Windows, etc.)  The issue appears to be that when dock.set_handle is called, it causes controls to not work on these browsers.  The example below should run unmodified and show that a dropdownlist works fine as long as the dock handle is not set.  As soon as you call dock.set_handle, the dropdownlist will no longer dropdown at all.  This is a pretty big issue for us.  Any ideas? 

UPDATE: Added code sample.

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="WebApplication1._Default" %> 
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
 
<html xmlns="http://www.w3.org/1999/xhtml" > 
<head runat="server"> 
    <title></title> 
    <script type="text/javascript" language="javascript"> 
        function SetDockHandle(dock) { 
            var d = document.getElementById("Handle_1") 
             
            //comment the next line out and the dropdownlist will work. 
            dock.set_handle(d); 
        } 
    </script> 
</head> 
<body> 
    <form id="form1" runat="server"> 
    <div> 
        <asp:ScriptManager ID="scriptmanager1" runat="server" /> 
        <telerik:RadDockLayout runat="server" EnableViewState="false" StoreLayoutInViewState="false" ID="RadDockLayout1"> 
            <telerik:RadDockZone runat="server" Skin="" ID="RadDockZone1" BorderColor="Transparent" Orientation="Horizontal"> 
                <telerik:RadDock runat="server" ID="raddock_1" OnClientInitialize="SetDockHandle"> 
                    <ContentTemplate> 
                        <div id="Handle_1"> 
                            <asp:DropDownList ID="test" runat="server"> 
                                <asp:ListItem Value="0" Text="test 0" /> 
                                <asp:ListItem Value="1" Text="test 1" /> 
                            </asp:DropDownList> 
                        </div> 
                    </ContentTemplate> 
                </telerik:RadDock> 
            </telerik:RadDockZone> 
        </telerik:RadDockLayout> 
    </div> 
    </form> 
</body> 
</html> 
 

UPDATE 2: This is still an issue but it can be worked around by adding the control to the dock's ContentContainer instead of using a ContentTemplate.  Using that workaround produces a few new issues.  First, since you're changing the control hierarchy, the asp.net client id will change and you'll have to do a second check in the SetHandle javascript to look for the element in webkit browsers.  The other (worse) issue is that all the styling I did in the template no longer works so you now have elements that are drag-and-drop, but unstyled.  I can probably work around this by setting the styles manually somewhere else but the effect of this is styles in two places.  No other ideas, explanations or workarounds from the telerik staff about this?

UPDATE 3: Here is code similar to what I am using to resolve the above issues.  This causes my docks to work on webkit browsers and the style is not duplicated.  Since the style is in a css normally used by the ITemplate, I just set it manually in javascript.  Again, a hack but it works at least.

function SetDockHandle(dock) { 
                //crazy string stuff because asp.net is messing with client ids. 

                var id = dock.get_id(); 
                var idx = id.indexOf("RadDock"); 
                var sub = id.substring(idx); 
                 
                //jquery doesn't work here. something about the jquery draggable plugin the telerik control uses clashing? 
                //var d = $("#" + dock.get_id() + "_C_Handle_" + sub) 
                var d = document.getElementById(dock.get_id() + "_C_Handle_" + sub);

                if(d == undefined) { 
                    //webkit fixes, since we have to add to the content container instead, the naming convention is different. 
                    d = document.getElementById(dock.get_id() + "_C"); 
                    //also set the style class manually since the template that contains the styles can't be used. 
                    d.setAttribute("class", "SectionEdit"); 
                } 
                dock.set_handle(d); 
            } 

Daniel Ellis
Top achievements
Rank 1
 answered on 26 Feb 2010
2 answers
244 views
When I use document.getElementById(...) to get a dock and then call dock.SetHandle(dock), it works perfectly.  When I use jQuery to find the same element it finds the element and d.length has a length of 1, but then it crashes when you try to use dock.sethandle(dock).  It fails when it tries to call Sys.UI.DomElement.removeCssClass(this._handle,"rdDraggable"); Is something in my jQuery clashing with the Telerik jQuery controls? How can I work around this?
Daniel Ellis
Top achievements
Rank 1
 answered on 26 Feb 2010
5 answers
117 views
I am programmatically including a RadGrid as part of a composite control. The grid is populated through client-side data binding. It uses a GridClientSelectColumn and has AllowMultiRowSelection set to "true". Multiple selection (dragging to select, ctrl + click, shift + click) works fine except for one strange behavior concerning the checkbox that gets rendered for each row. If I click on a row, it becomes highlighted and also the checkbox becomes checked. However, if I click on the actual checkbox the row becomes highlighted but the checkbox remains unchecked.
Iana Tsolova
Telerik team
 answered on 26 Feb 2010
1 answer
60 views
I increase the header size by css, i set rpText to height 60px, and now, in IE8 i can only expand collapse a section by clicking on text, not the entire header is clickable like in Firefox and chrome.
Is there a solution that works everywhere ?
thanks
Yana
Telerik team
 answered on 26 Feb 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?