Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
147 views

I have being assign to this website, to fix the issue of various things, and one of them is the Arabic site menu, its not getting aligned horizontally.

Checking the developer tools, I have found there is one width settings for the below: 

<ul class="horizontal rootGroup" style="width: 125px;">

 

If I remove the width, it works fine. I am new to ASPX, and can see anywhere this width settings. How to catch it are remove this?

 

wrathy
Top achievements
Rank 1
 asked on 05 Mar 2018
0 answers
132 views

I have been using a rad editor and it's been working fine.

the version is 2008.

recently I have changed the server from win2008 to win 2016.

now the radeditor is shown on the webpage but I can't edit anything in it.

and $find() can't find it.

do you see what the error is?

Anooshiravan
Top achievements
Rank 1
 asked on 04 Mar 2018
0 answers
77 views

Hello, i'm a new member

i wanna ask a question, i wanna keep changes i modified on request and seen by server... everytime i modify and send to server then refresh the page everything  is gone...

 

Mohsen
Top achievements
Rank 1
 asked on 03 Mar 2018
0 answers
124 views

Hi

To create a modal popup in my aspx page I have put a RadWindow in the page like this:

    <telerik:RadScriptManager runat="server" ID="RadScriptManager1" />
          <script src="scripts.js" type="text/javascript"></script>
          <link href="styles.css" rel="stylesheet" />
          <telerik:RadWindow RenderMode="Lightweight" ID="modalPopup" runat="server" Width="360px" Height="365px" Modal="true"                           OffsetElementID="main" Style="z-index: 100001;">
          <ContentTemplate>
               <div style="padding: 10px; text-align: center;">
               </div>
               <p style="text-align: center;">
                   RadWindow
               </p>
          </ContentTemplate>
    </telerik:RadWindow>

and inside the scripts.js file I have this code:

function showDialogInitially() {
    var wnd = $find("main_Content_Placeholder_modalPopup");
    wnd.show();
    Sys.Application.remove_load(showDialogInitially);
}
Sys.Application.add_load(showDialogInitially);

which works perfectly. but if I use this code instead:

    var wnd = $find("main_Content_Placeholder_modalPopup");
    wnd.show();

and put it at the end of the aspx file it won't show the window anymore.

so I suspect that has to do with the methods .add_load() and .remove_load() but I don't event know what they do.

can see what's going wrong?

Anooshiravan
Top achievements
Rank 1
 asked on 03 Mar 2018
7 answers
316 views
I have a RadRibbonBar inside a CommandItemTemplate of a RadGrid.  The bar items are RibbonBarTemplateItem.  I'm trying reduce the height of the RibbonBarGroup to the size of the controls it contains - the 'Height' property on the group doesn't reduce the height.  The RibbonBarGroup appears to be a fixed height - 3 rows in height.  How do I reduce the size of the group?

The RibbonBarTemplateItem contains a <table> with one row.

Here's the first group:

<CommandItemTemplate>
                       <div>
                           <telerik:RadRibbonBar ID="_ribbonBarComputers" runat="server">
                               <telerik:RibbonBarTab Text="Computer" >
                                   <telerik:RibbonBarGroup Text="Add/Update" >
                                       <Items>
                                           <telerik:RibbonBarTemplateItem Size="Small">
                                               <table>
                                                   <tr>
                                                       <td>
                                                           <telerik:RadTextBox ID="_ctrlAltirisText" runat="server" Width="300px" EmptyMessage="Paste Altiris text">
                                                           </telerik:RadTextBox>
                                                       </td>
                                                       <td>
                                                           <telerik:RadButton ID="_btn_AddComputer" runat="server" Text="Add" CommandName="AddComputer">
                                                           </telerik:RadButton>
                                                       </td>
                                                       <td>
                                                           <telerik:RadButton ID="_btn_ReplaceComputer" runat="server" Text="Replace" CommandName="ReplaceComputer">
                                                           </telerik:RadButton>
                                                       </td>
                                                       <td>
                                                           <telerik:RadButton ID="_btn_CloseComputer" runat="server" Text="Close" CommandName="CloseComputer">
                                                           </telerik:RadButton>
                                                       </td>
                                                   </tr>
                                               </table>
                                           </telerik:RibbonBarTemplateItem>
                                       </Items>
                                   </telerik:RibbonBarGroup>


Jerry
JeffSM
Top achievements
Rank 2
Iron
Veteran
Iron
 answered on 02 Mar 2018
1 answer
150 views

I am trying to export pivotgrid as an excel, but I used aggregate field with teplate label to show values in cells.

Excell export is using DataField as a value in cells. How can I use template label.text as a vaule for export instead of ID_TAB?

<telerik:PivotGridAggregateField CalculationExpression="" DataField="ID_TAB" GrandTotalAggregateFormatString="" UniqueName="column3">
    <TotalFormat Axis="Rows" Level="0" SortOrder="Ascending" TotalFunction="NoCalculation" />
    <CellTemplate>
        <asp:Label ID="Label2" runat="server" >                    
    </asp:Label>
    </CellTemplate>
</telerik:PivotGridAggregateField>

 

I believe it should be something similar to this:

protected void RadPivotGrid1_PivotGridCellExporting(object sender, PivotGridCellExportingArgs e)
{
    PivotGridBaseModelCell modelDataCell = e.PivotGridModelCell as PivotGridBaseModelCell;
    Label lblUSER_NM1 = e.PivotGridCell.FindControl("Label2") as Label;
    e.ExportedCell.Value = lblUSER_NM1.Text;
}
Eyup
Telerik team
 answered on 02 Mar 2018
0 answers
119 views

I have created a virtual directory called ~/MyVD and is linked to a share on another server. I was able to connect but have come across a situation.

The virtual directory is linked to \\MyServer\Files

This folder has several folders not all I have access to. When I opened the file explorer it would prompt me for a response to enter my password. This would happen 3 times and I would receive an error saying "Access denied for \\MyServer\File\DNelson

I did not link anything to the folder DNelson but figured out that it is a folder which I do not have access to.

I changed the link to \\MyServer\Files\Projects (which I have access to all the files and folders) and it works great.

My question is that I still want to link to \\MyServer\Files and is there a way to pass by the items that I do not have access to but still show the files and folders I do have access to.

Thanks

Ryan

Ryan
Top achievements
Rank 1
 asked on 02 Mar 2018
1 answer
636 views

I have the following ComboBox on my page but although the Text value is persisted, the selected value is not. Therefore my grid loads all items regardless of what is in the ComboBox when the page loads. What do I need to change?

<telerik:RadComboBox runat="server" DataSourceID="AllWaterSystems" DataTextField="displayName" DataValueField="pwsid" EmptyMessage="Water System" Filter="Contains" Width="350" ID="SelectedWaterSystem" EnableItemCaching="True" OnClientDropDownOpening="RefreshHeight">
    <HeaderTemplate>
        <ul>
            <li class="col1">PWSID</li>
            <li class="col2">Name</li>
        </ul>
    </HeaderTemplate>
    <ItemTemplate>
        <ul>
            <li class="col1"><%# DataBinder.Eval(Container.DataItem, "PWSID") %></li>
            <li class="col2"><%# DataBinder.Eval(Container.DataItem, "Name") %></li>
        </ul>
    </ItemTemplate>
</telerik:RadComboBox>

 

Vessy
Telerik team
 answered on 02 Mar 2018
1 answer
82 views

I have very specific needs as far as how the calendar is formatted.  I need it to look like the attached file.  I can get the 2-month view working but not the text of the months.  I appreciate any help anyone can give.  Here's what I have so far:

 

<telerik:RadCalendar RenderMode="Lightweight" ID="radCalendar" runat="server" EnableNavigation="true" ShowRowHeaders="false" EnableMonthYearFastNavigation="true" ShowFastNavigationButtons="false" ShowNavigationButtons="false" MultiViewColumns="2" MultiViewRows="1" EnableMultiSelect="true">
<ClientEvents OnDateClick="radCalendar_OnDateClick" />

</telerik:RadCalendar>

Jutas Arthasarnprasit
Top achievements
Rank 1
 answered on 02 Mar 2018
2 answers
631 views

Hi,

 

I downloaded 2018Q1 yesterday. In previous downloads the Live demo folder contained all the demo's.

Now I do not find that folder anymore, why is that?

It was very usefull to test and copy code.

 

Regards, Marc

ghd258 ghd258
Top achievements
Rank 1
 answered on 02 Mar 2018
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?