Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
96 views
Is there a way to load content (external or other pages in the same project) on RadSlidingPane open or onexpanding? Thanks
Marin Bratanov
Telerik team
 answered on 14 Jul 2011
1 answer
162 views
Hello,

I'm trying to use the Server.Transfer with the boolean preserveForms true, so I can read the values from another page.
The issue here is that the controls ids are different in the destination page, for instance, an RadTreeView with ID "trvEntities" will have the "ctl00_Content_trvEntities_ClientState" key in the Form collection.

Is there any way that I can get this key based on the ID I gave to the control, in order to access it's value?

Thanks!

Tiago Ribeiro
Tiago
Top achievements
Rank 1
 answered on 14 Jul 2011
1 answer
74 views

Hi

When we want set RadToolTipManager text direction to “right to left”, must use CssClass!

Well, now look at this code:

<%@ Page Language="C#" %>

<html xmlns="http://www.w3.org/1999/xhtml">

<head runat="server">

    <title>tooltip</title>

    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

</head>

<body>

    <form id="form" runat="server">

    <h1>RadToolTipManager text direction set to default(left to right).</h1>

    <div style="margin:auto;width:50px;">

        <tlk:RadScriptManager ID="radScriptManager" runat="server" />

        <tlk:RadToolTipManager runat="server" ID="radToolTipManager"

            ManualClose="true"

            ManualCloseButtonText="ManualCloseButtonText"

            Position="MiddleLeft"

            RelativeTo="Element"

            ShowEvent="OnMouseOver"

            Width="275">

            <TargetControls>

                <tlk:ToolTipTargetControl TargetControlID="button" />

            </TargetControls>

        </tlk:RadToolTipManager>

        <asp:Button ID="button" runat="server"

            Text="Button"

            ToolTip="آزمايشی" />

    </div>

    </form>

</body>

</html>

first bug: CssClass is not working for RadToolTipManager, and also we can’t customize tooltips elements like font with Font Properties of RadToolTipManager!

So I set direction property of parent div tag style to rtl(direction:rtl;), but it is not working too!

Finally I realized that the only way to changing RadToolTipManager text direction is that I must be set direction property of form tag style or a tag that is parent of form tag!!!

now look at finally code:

<%@ Page Language="C#" %>

<html xmlns="http://www.w3.org/1999/xhtml">

<head runat="server">

    <title>tooltip</title>

    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

</head>

<body>

    <form id="form" runat="server" style="direction:rtl;">

    <div style="margin:auto;width:50px;">

        <tlk:RadScriptManager ID="radScriptManager" runat="server" />

        <tlk:RadToolTipManager runat="server" ID="radToolTipManager"

            ManualClose="true"

            ManualCloseButtonText="ManualCloseButtonText"

            Position="MiddleLeft"

            RelativeTo="Element"

            ShowEvent="OnMouseOver"

            Width="275">

            <TargetControls>

                <tlk:ToolTipTargetControl TargetControlID="button" />

            </TargetControls>

        </tlk:RadToolTipManager>

        <asp:Button ID="button" runat="server"

            Text="Button"

            ToolTip="آزمايشی" />

    </div>

    </form>

</body>

</html>

But when I  do this an other bug detected!

Secound bug: Scrollbar is very long! Look at images

Marin Bratanov
Telerik team
 answered on 14 Jul 2011
4 answers
63 views
when i use the resource availability demo I get " Object doesn't support this property or method" error on slot.get_resource();. I ve seen multiple threads on this but the only answers are send in a demo in a support ticket. Is it possible to get some kind of indicators on what the results of any of those issues were? I don't really want to send a demo as this is integrated into my system and it would take quite a bit of time to break it out to send. But if those other tickets were resolved some pointers based on their findings would be great.
Veronica
Telerik team
 answered on 14 Jul 2011
1 answer
59 views
Hello,

I want to use yours mega menu in sharepoint 2010,
My problem is that i dont know how to do the connection on the sitemap object of the sharepoint 2010,
And after that how i design the items in the mega menu.

Thanks,

Yedidia.
Kalina
Telerik team
 answered on 14 Jul 2011
5 answers
162 views
Hi Telerik Team,
                           I have a requirement of dragging items from grid view and drop them to a RadTreeView which are in two seperate
user controls. 
Further:
1. aspx page  - A
2. user conrol1 (Grid Here) - B
3. user conrol2 (RadTreeView Here)  - C
                            B and C are in A. Is there any way of dragging row items from grid and get the required values from it when it is droped on to the TreeView 
and
Get to know what the TreeView node, to which the item will be dropped at the time of dropping the item to it?

I'm going through your http://demos.telerik.com/aspnet-ajax/grid/examples/programming/draganddrop/defaultcs.aspx example.

Thanks,
Dilip
Iana Tsolova
Telerik team
 answered on 14 Jul 2011
1 answer
76 views
Does AsyncUpload support multiple file selection on macs?  I tried the demo on safari on my new imac and i could only select one file at a time in the file dialog box where as i can select multiple files on a windows machine.  If this is not supported for macs is it in the queue of features to be added in the future?

-Chris
Genady Sergeev
Telerik team
 answered on 14 Jul 2011
5 answers
263 views
I would like to know at what stage in the ListView lifecycle to set the Selected item so that it takes on the <SelectedItemTemplate> styling.

I tried doing it at the Prerender and I tried at ItemDataBound, but neither changed the itemstyle properly.

Thank you.


This is what I had in the ItemDataBound:

 

if (lvGalleries.SelectedValue == null && item.DisplayIndex==0)  
 
item.Selected = true;  
 

 

 

Veli
Telerik team
 answered on 14 Jul 2011
3 answers
67 views
Hello ,
i have this GridTemplateColumn
<telerik:GridTemplateColumn DataField="TotalToSell" UniqueName="colAmountToSell"
                            SortExpression="TotalToSell" >



and i set it's header template to :
<asp:LinkButton ID="SortMe" CommandName="Sort" CommandArgument="TotalToSell" runat="server"
                                    Text='Amount To Sell'></asp:LinkButton>

and im using RadAjaxManager
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="grdPlanCrops">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="grdPlanCrops" LoadingPanelID="RadAjaxLoadingPanel1" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>



it sorts well but when pressed it shows two loading panels one for grid and other for column !
is there any way to make only 1 loading panel appears ?
Iana Tsolova
Telerik team
 answered on 14 Jul 2011
1 answer
159 views
I tried the async file upload example from the demos, but within the wizard asp.
The code is this:

 

<asp:Wizard ID="Wizard2" runat="server" 
            ActiveStepIndex="0" BackColor="#EFF3FB" 
                                    BorderColor="#B5C7DE" BorderWidth="1px" 
            Font-Names="Verdana" Font-Size="0.9em" 
                                    Height="180px" Width="640px" 
                                    onnextbuttonclick="Wizard1_NextButtonClick" 
                                    onsidebarbuttonclick="Wizard1_SideBarButtonClick" 
                                    onfinishbuttonclick="Wizard1_FinishButtonClick">
                                    <HeaderStyle BackColor="#284E98" BorderColor="#EFF3FB" BorderStyle="Solid" 
                                        BorderWidth="2px" Font-Bold="True" Font-Size="0.9em" ForeColor="White" 
                                        HorizontalAlign="Center" />
                                    <NavigationButtonStyle BackColor="White" BorderColor="#507CD1" 
                                        BorderStyle="Solid" BorderWidth="1px" Font-Names="Verdana" Font-Size="0.8em" 
                                        ForeColor="#284E98" />
                                    <SideBarButtonStyle BackColor="#00AEEF" Font-Names="Verdana" 
                                        ForeColor="White" />
                                    <SideBarStyle BackColor="#00AEEF" Font-Size="0.9em" VerticalAlign="Top" 
                                        Width="200px" />
                                    <StepStyle Font-Size="0.8em" ForeColor="#333333" />
                                    <WizardSteps>
                                        <asp:WizardStep runat="server" title="Selección Fecha">
                                            <table align="center" class="style1">
                                                <tr>
                                                    <td class="style3">
                                                        Mes</td>
                                                    <td style="text-align: center">
                                                        <telerik:RadComboBox ID="RadComboBox3" runat="server" Skin="Windows7">
                                                            <Items>
                                                                <telerik:RadComboBoxItem runat="server" Owner="" Text="Enero" Value="01" />
                                                                <telerik:RadComboBoxItem runat="server" Owner="" Text="Febreo" Value="02" />
                                                                <telerik:RadComboBoxItem runat="server" Owner="" Text="Marzo" Value="03" />
                                                                <telerik:RadComboBoxItem runat="server" Owner="" Text="Abril" Value="04" />
                                                                <telerik:RadComboBoxItem runat="server" Owner="" Text="Mayo" Value="05" />
                                                                <telerik:RadComboBoxItem runat="server" Owner="" Text="Junio" Value="06" />
                                                                <telerik:RadComboBoxItem runat="server" Owner="" Text="Julio" Value="07" />
                                                                <telerik:RadComboBoxItem runat="server" Owner="" Text="Agosto" Value="08" />
                                                                <telerik:RadComboBoxItem runat="server" Owner="" Text="Septiembre" Value="09" />
                                                                <telerik:RadComboBoxItem runat="server" Owner="" Text="Octubre" Value="10" />
                                                                <telerik:RadComboBoxItem runat="server" Owner="" Text="Noviembre" Value="11" />
                                                                <telerik:RadComboBoxItem runat="server" Owner="" Text="Diciembre" Value="12" />
                                                            </Items>
                                                        </telerik:RadComboBox>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td class="style3">
                                                        Año</td>
                                                    <td style="text-align: center">
                                                        <telerik:RadComboBox ID="RadComboBox4" runat="server" Skin="Windows7">
                                                        </telerik:RadComboBox>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td class="style3">
                                                         </td>
                                                    <td>
                                                         </td>
                                                </tr>
                                            </table>
                                        </asp:WizardStep>
                                        <asp:WizardStep runat="server" title="Cargar Datos">
                                            <div style="height: 32px">
                                                <br />
                                                  
                                                <telerik:RadAsyncUpload ID="RadAsyncUploadPrueba0" runat="server" 
                                                    AllowedFileExtensions="xls,xlsx" MaxFileInputsCount="1" MaxFileSize="524288" 
                                                    OnClientFileSelected="" OnClientFilesSelected="" 
                                                    OnClientValidationFailed="validationFailed" 
                                                    OnFileUploaded="RadAsyncUpload1_FileUploaded">
                                                    <filefilters>
                                                        <telerik:FileFilter Description="*.xls; *.xlsx" Extensions="xls,xlsx" />
                                                    </filefilters>
                                                </telerik:RadAsyncUpload>
                                                  
                                                <br />
                                            </div>
                                                      
                                        </asp:WizardStep>
                                    </WizardSteps>
                                </asp:Wizard>

the error is in the filter property RadAsyncUpload, can not be established.
Thx a lot.

Genady Sergeev
Telerik team
 answered on 14 Jul 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?