Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
61 views
I have a page that is similar to a portal with multiple widgets on the page. Each widget has a "container" with the title of the widget. All the widgets are implemented as user controls. Within the container is the actual content of the widget.

Since I have a large number of these on the page, the page takes a while to render. For better user experience, I would like to have the titles of the widgets loaded first and then individual widgets show up as and when they load.

Can I use any of the telerik controls for this behavior?
Kiara
Top achievements
Rank 1
 answered on 09 Dec 2010
1 answer
231 views
<telerik:RadComboBox runat="server" ID="comboBoxA" EnableLoadOnDemand="true" OffsetX="170">
    <WebServiceSettings Method="GetItems" Path="WebService.asmx" />
</telerik:RadComboBox>

The above code demonstrates the issue I am having (for the WebService.asmx, use any code that sometimes returns no items).

When no items are returned, there is still an ugly, 2px line showing. This is because even if there are no items, the <ul> and other surrounding divs still render. If the <ul> tag has a border, as it does in many of the skins, then the ul's border still shows even when there are no items.

Unfortunately it is very difficult to fix this problem. CSS does not have the ability to hide the <ul> if it has no child <li> elements.

I have tried going down the javascript route, using OnClientItemsRequested or OnClientDropDownOpening, but have faced too many headaches.

Does anyone know of a good solution?
Kalina
Telerik team
 answered on 09 Dec 2010
1 answer
123 views
Hello,

I have a problem,
I need to change the localization of the radfileexplorer which is displayed immediatily after clicking the image button in the radeditor control (View the attached image). In other words, I need to change all text which is appears in the fileexplorer to arabic (for example). So how can I do that?

Here is my radeditor code:
<telerik:RadEditor DialogsCssFile="~/Common/css/RTLRadEditorStyle/RadEditor_Dialogs_RTL.css"></telerik:RadEditor>
                        <telerik:radeditor runat="server" ID="AnsrRadEditor" SkinID="DefaultSetOfTools" Width="80%" 
                            Height="700px" Content='<%# DataBinder.Eval( Container, "DataItem.Ansr") %>' DialogsCssFile="~/Common/css/RTLRadEditorStyle/RadEditor_Dialogs_RTL.css" ContentAreaCssFile="~/Common/css/RTLRadEditorStyle/EditorContentArea_RTL.css" >
                            <ImageManager ViewPaths="~/Forums/Pages/FAQs/Imgs" DeletePaths="~/Forums/Pages/FAQs/Imgs" UploadPaths="~/Forums/Pages/FAQs/Imgs" />
                        </telerik:radeditor>


Please, I need your help.
it is apprecited to send me the modified code.

Regards,
Bader
Rumen
Telerik team
 answered on 09 Dec 2010
1 answer
91 views
Hi
I create my treeitems on demand by a web service (RadTreeNodeData). On RadTreeNode is it possible to disable the contextmenue with EnableContextMenu = false. How do i that on a webservice?
Regards Markus
Nikolay Tsenkov
Telerik team
 answered on 09 Dec 2010
1 answer
103 views
sir,
i want to hide a combo box in advance form insert & edit templates when i selected a particular context menu item...

also how can i disable the inline insert & edit Templates ...


thank you
Nikolay Tsenkov
Telerik team
 answered on 09 Dec 2010
2 answers
168 views
How get a value GridBoundColumn in insert mode after button click?
xvikx
Top achievements
Rank 1
 answered on 09 Dec 2010
5 answers
231 views
I currently have a grid that is always in editmode.  The first column has a dropdown box with 2 entries and depending on which item you choose in the dropdown depends on what the datasource is for the dropdown in column 2.  When executing this code I'm receiving an error that says....
"Cannot have multiple items selected in a DropDownList."

Also I'm trying to figure out how to attache an procedure to the selectedindexchange of the first dropdown but it's currenlty not working

Any help would be appreciated.

Here is a copy of the code.
protected void rdPaymentsLines_ItemCreated(object sender, Telerik.Web.UI.GridItemEventArgs e)
        {
            try
            {
                if (e.Item is GridEditableItem && e.Item.IsInEditMode)
                {
                    GridEditableItem editedItem = e.Item as GridDataItem;
                    GridEditManager editMan = editedItem.EditManager;
                    GridDropDownListColumnEditor editor = (GridDropDownListColumnEditor)(editMan.GetColumnEditor("ESCROW_CATEGORY"));
                    GridDropDownListColumnEditor escrowType = (GridDropDownListColumnEditor)(editMan.GetColumnEditor("ESCROW_TYPE"));  
                    DropDownList ddEscrowCategory = editor.DropDownListControl;
                    DropDownList ddEscrowType = escrowType.DropDownListControl;
  
                    ddEscrowCategory.Items.Insert(0, new ListItem("Ins", "INSURANCE"));
                    ddEscrowCategory.Items.Insert(1, new ListItem("Tax", "TAX"));
                    editor.DataBind();
  
                    ddEscrowCategory.SelectedIndexChanged += 
                    new EventHandler(ddEscrowList_SelectedIndexChanged);
  
                    if (ddEscrowCategory.SelectedItem.Text == "Tax")
                        escrowType.DataSource = Session["TaxTypeList"];
                    else
                        escrowType.DataSource = Session["InsuranceList"];
  
                    escrowType.DataBind();
Princy
Top achievements
Rank 2
 answered on 09 Dec 2010
2 answers
82 views
Hi,

I'm developing an aspx page. 
This page it consists of 3 html tables : 
The first contains the search criteria. 
The second contains a RadGrid EditButtons. 
the third is in an UpdatePanel and contains an user control. 
At first it appears the first and second table. When I click the EditButton in the grid and I choose to display a line in the user control in third table, it displays correctly and displays, also, the first table however it is not supposed to appear.

Have you any idea about the origin of the error???
Mehdi Baatout
Top achievements
Rank 1
 answered on 09 Dec 2010
2 answers
163 views
Hi All

I have got a Vertical Splitterand and a Horizontal splitter on the same page,
Everything seems to be fine untill i collapse the Horizontal one? The Horizontal one wont keep its proportions after that?
I have posted my code if anyone has any ideas i would appricate hearing them.

Many Thanks

Regards

Darren
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %>
  
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
  
<head runat="server">
    <title></title>
    <style type="text/css">
        hmtl, body, form , a img
        {
            height: 100%;
            margin: 0px;
            padding: 0px;
            overflow: hidden;
            border: 0;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
    </telerik:RadScriptManager>
    <div id="ParentDivElement" style="height: 100%;">
     <telerik:RadSplitter ID="RadSplitter1" runat="server" Height="100%" LiveResize="True"
            Orientation="Horizontal" Skin="Web20" Width="100%" VisibleDuringInit="false"
            FullScreenMode="True" BorderColor="0">
            <telerik:RadPane ID="RadPane1" runat="server" Scrolling="None" Height="450px" MaxHeight="450" MinHeight="450">
                  
            </telerik:RadPane>
            <telerik:RadSplitBar ID="RadSplitBar1" runat="server" CollapseMode="Forward">
            </telerik:RadSplitBar>
            <telerik:RadPane ID="RadPane3" runat="server" Scrolling="None" Index="2" Height="250px" MaxHeight="250" MinHeight="250" >
                <telerik:RadSplitter ID="RadSplitter2" runat="server" Orientation="Vertical" 
                    Skin="Web20" VisibleDuringInit="false" BorderColor="0" Width="100%" Height="100%">                
             <telerik:RadPane ID="RadPane2" runat="server" Scrolling="None">
                <telerik:RadSlidingZone ID="RadSlidingZone1" runat="server" SlideDirection="Bottom" DockedPaneId="RadSlidingPane2">
                    <telerik:RadSlidingPane ID="RadSlidingPane1" runat="server" Title="Child Movements" ViewStateMode="Inherit"  DockOnOpen="true" IconUrl="Images/Icons/cmove16.png" Scrolling="None" Height="500" Width="250" MinWidth="500">
                    </telerik:RadSlidingPane>
                    <telerik:RadSlidingPane ID="RadSlidingPane2" runat="server" Title="Movement Notes" ViewStateMode="Inherit" DockOnOpen="true" IconUrl="Images/Icons/note16.png" Scrolling="None" Height="500" Width="250" MinWidth="500">                        
                        </telerik:RadSlidingPane>
                        </telerik:RadSlidingZone>
                        </telerik:RadPane>
                    <telerik:RadSplitBar ID="RadSplitBar2" runat="server" CollapseMode="Both">
                    </telerik:RadSplitBar>
                    <telerik:RadPane ID="RadPane4" runat="server">
                        <telerik:RadSlidingZone ID="RadSlidingZone2" runat="server" SlideDirection="Bottom">
                            <telerik:RadSlidingPane ID="RadSlidingPane3" runat="server" Title="Future Stuff" Height="230" Width="500"  >
                            </telerik:RadSlidingPane>
                        </telerik:RadSlidingZone>
                    </telerik:RadPane>
                        </telerik:RadSplitter>
                         </telerik:RadPane>
        </telerik:RadSplitter>
    </div>
    </form>
</body>
</html>
Cush
Top achievements
Rank 1
 answered on 09 Dec 2010
9 answers
148 views
I want to have a toggle button decide which rotator items get sent into the control...

Now looking at the clientside functions I think I could do it manually by adding items, but since it's already got the service functionality built in I'd love to just leverage that...

Steve
Fiko
Telerik team
 answered on 09 Dec 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?