Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
139 views

I'm trying to modify the CSS for the MetroTouch menu and can't figure out where that vertical/separator bar is set, seen in light blue in my attached screenshot.  I want to set it to the same color as the rest of the menu.  Any ideas?  Thanks!

I've tried setting values for rmSeparator and that doesn't work.

Below are my test CSS changes so far to do what I need:

<style type="text/css">
    .RadMenu_MetroTouch .rmRootGroup {
        padding: 1px !important;
        background: #18323f;
    }
 
    .RadMenu_MetroTouch .rmRootLink {
        padding: 0 15px;
        border: 1px solid #18323f;
        color: #ffffff;
        text-decoration: none;
    }
 
</style>

Adrian Barnes
Top achievements
Rank 1
 answered on 21 May 2015
1 answer
112 views

Hi,

I'm new to RadPivotGrid. I have a few questions:

 1. Why is the PivotGridRowField showing Total columns under it? (e.g Tim Ho Wan Total). How to remove that?

2. How to show values in Data Area without usingPivotGridAggregateField? like my attached file (table with data area.jpg)

 

Please get back to me soon

 

Thanks

 

Maria Ilieva
Telerik team
 answered on 21 May 2015
2 answers
115 views

Hello, I'm on a telerik trial.

I need to get the RadDataPicker working in a custom control that is placed in a repeater in a content page.

So far what I get is a textbox for the date and the date "button" is a text link: "Open the Calendar Popup".  Clicking the link does nothing.  Click in the date box also does nothing (no calendar-date-picker pops up).

Right now all I care about is getting the minimal default behavior for this control within this context.  I'm assuming I do not quite have correct usage of RadScriptManager (&ScriptManagerProxy) and/or RadAjaxManager (&RadAjaxManagerProxy) and/or some other missing element along those lines.

I would be very happy to know the absolute minimum that would normally be needed to get a basic RadDatePicker control working in this context, assuming there are no mystery conflicts to be dealt with.

Put _____??_______ in the master page (if anything)?

Put _____??_______ in the content page (if anything)?

Put _____??_______ in the repeater item template (if anything)?

Put _____??_______ in the customer control.?

Maria Ilieva
Telerik team
 answered on 21 May 2015
1 answer
148 views

In my application i have one grid with following itemtemplate column

  <telerik:RadGrid ID="gvContainerDetail" runat="server" AllowPaging="True" CellSpacing="0"
                                            GridLines="None" AutoGenerateColumns="false" OnItemCommand="gvContainerDetail_ItemCommand"
                                            OnItemDataBound="gvContainerDetail_ItemDataBound">
                                            <FilterMenu EnableImageSprites="False">
                                            </FilterMenu>
                                            <ClientSettings>
                                                <Selecting CellSelectionMode="None" AllowRowSelect="True" />
                                            </ClientSettings>
                                            <MasterTableView>
                                                <Columns>
                                                    <telerik:GridTemplateColumn HeaderText="Container Type" DataField="ContainerType"
                                                        HeaderStyle-HorizontalAlign="Center">
                                                        <ItemTemplate>
                                                            <telerik:RadComboBox ID="cbContainerType" Height="100px" Width="200px" runat="server"
                                                                ItemsPerRequest="10" ShowMoreResultsBox="true" EnableVirtualScrolling="true"
                                                                EnableAutomaticLoadOnDemand="False" AccessKey="T" MarkFirstMatch="true" EmptyMessage="Select"
                                                                HighlightTemplatedItems="true">
                                                            </telerik:RadComboBox>
                                                            <asp:Label ID="lblContainrtTypeId" runat="server" Text='<%#Eval("nContainerId") %>'></asp:Label>
                                                            <asp:RequiredFieldValidator ID="rfvcbContainerType" runat="server" ControlToValidate="cbContainerType"
                                                                ForeColor="Red" ValidationGroup="vgBooking" Display="none" EnableClientScript="true">
                                                            </asp:RequiredFieldValidator>
                                                        </ItemTemplate>
                                                    </telerik:GridTemplateColumn>
                                                    <telerik:GridTemplateColumn HeaderText="No Of Container" UniqueName="Container" DataField="ContainerNo">
                                                        <ItemTemplate>
                                                            <telerik:RadNumericTextBox ID="txtContainer" Text='<%#Eval("NoOfContainer") %>' Width="200px"
                                                                runat="server" MaxLength="10" MinValue="1" MaxValue="2147483647">
                                                                <NumberFormat GroupSeparator="" DecimalDigits="0" />
                                                            </telerik:RadNumericTextBox>
                                                            <span style="color: Red; font-weight: normal; font-size: 20px; vertical-align: middle;">
                                                                *</span>
                                                            <asp:RequiredFieldValidator ID="rfvtxtContainer" runat="server" ControlToValidate="txtContainer"
                                                                ForeColor="Red" ValidationGroup="vgBooking" Display="none" EnableClientScript="true">
                                                            </asp:RequiredFieldValidator>
                                                        </ItemTemplate>
                                                    </telerik:GridTemplateColumn>
                                                    <telerik:GridTemplateColumn UniqueName="Container" HeaderStyle-HorizontalAlign="Center">
                                                        <ItemTemplate>
                                                            <telerik:RadButton ID="btnAddContainer" Width="100px"
                                                                runat="server" Text="+" Font-Bold="True" OnClick="btnAddContainer_Click">
                                                            </telerik:RadButton>
                                                        </ItemTemplate>
                                                    </telerik:GridTemplateColumn>
                                                </Columns>
                                            </MasterTableView>
                                        </telerik:RadGrid>

and one submit button

 <telerik:RadButton ID="btnsubmit " Width="100px" runat="server" Text="Submit"
                                                        Font-Bold="True" OnClick="btnsubmit _Click" ValidationGroup="vgBooking">
                                                    </telerik:RadButton>

 and ajax manager is

 <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">

<AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="btnAddContainer">
                <UpdatedControls>
                   <telerik:AjaxUpdatedControl ControlID="gvContainerDetail" > </telerik:AjaxUpdatedControl>
                    </telerik:AjaxUpdatedControl>
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>

 

after clicking on submit button first time validation works properly and if i click on '+' button in grid one row is added in grid the ajax is works correctly but problem is that if i am clicked on again submit button the client side validation in grid is not working the page is post back

Maria Ilieva
Telerik team
 answered on 21 May 2015
11 answers
277 views
I am trying to set the combo box to index 0 but nothing happens.   What is wrong?

<head runat="server">
  <title></title>
</head>
<body>
  <form id="form1" runat="server">
  <div>
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
    </telerik:RadScriptManager>
    <telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
      <script type="text/javascript">
  
  
        function ResetScreen() {
  
          var oCbo = $find("<%=cboTransferMethod.ClientID %>");
          oCbo.set_selectedIndex(0);
        }
  
      </script>
    </telerik:RadCodeBlock>
    <telerik:RadComboBox ID="cboTransferMethod" runat="server" Skin="Simple" TabIndex="1"
      ToolTip="Transfer Method">
      <Items>
        <telerik:RadComboBoxItem runat="server" Text="Email" Value="E" />
        <telerik:RadComboBoxItem runat="server" Text="FTP" Value="F" />
        <telerik:RadComboBoxItem runat="server" Text="Move To Folder" Value="M" />
      </Items>
    </telerik:RadComboBox>
    <asp:Button ID="btnClear" runat="server" OnClientClick="ResetScreen(); return false;"
      TabIndex="1" Text="Clear" ToolTip="Clear" UseSubmitBehavior="false" />
  </div>
  </form>
</body>
</html>
Nencho
Telerik team
 answered on 21 May 2015
1 answer
142 views

How would you go about caching the steps' data so that all steps can be aware of each other?

 

Step 1 has a list of object type Product.

Step 2 details all Procuts in a RadListView.

 

I want Step 2 to bind based on Step 1's user input.

 

 TIA!

Plamen
Telerik team
 answered on 21 May 2015
1 answer
89 views

Hello,

I am New in Telerik. As new comer I m facing some problem. I am using a Radgrid to show my one of table. In the grid there is a  telerik:GridCalculatedColumn .  The code is below

<telerik:GridCalculatedColumn HeaderText="GrossSalary" UniqueName="GrossSalary" DataType="System.Double"
                               DataFields="PFOfficeCont, ConsuladatedSalary" Expression="{0}+{1}" FooterText="Total : "
                               Aggregate="Sum" EditFormColumnIndex="2">
                           </telerik:GridCalculatedColumn>
  It shows the SUM of to colums values nicely. But when I click In-forms editing mode Grosssalay field does not Shows! In-line editing mode shows the GrossSalary field nicely. I want to know where is the problem?

Please kindly help me to implement this. 

With best regards

Sajid

Eyup
Telerik team
 answered on 21 May 2015
7 answers
356 views
Hi..

This happens only in chrome.. the radwindow moves up after laoding.. It is maximized onload by javascript..

works fine in mozilla / IE ..issue is in chrome only...

please help..
Jonathan
Top achievements
Rank 1
 answered on 21 May 2015
0 answers
70 views

Hi,

 

I need to export the radeditor content to pdf. But, it should not show the savedialog box for filepath. How do we specify the filepath and filename? So that, it automatically get saved.

 

Please let me know.

 

Thanks.

Nallan Krishnan
Top achievements
Rank 1
 asked on 21 May 2015
3 answers
165 views
I have the SkinManager Chooser in the Top right corner of my page (master page) so that users can chnage the skins to their desired setting. This works unless im on a page with a RadMenu Below the Chooser.

The Chooser then gets hidden behind the radmenu. I tried Aadding style to the markup like other rad controls but get this error

Type 'Telerik.Web.UI.RadSkinManager' does not have a public property named 'style'.

I tried setting the Menu to like 0 and still no luck.

How  can i make the Combo/DropDown of the RadSkin Manager come Over the RadMenu?

Thank you
TallOne
Top achievements
Rank 2
 answered on 20 May 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
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?