Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
330 views
I am new to Telerik and trying to learn about the controls. Specifically right now I am using the radMenu control.
I have selected the MetroTouch skin because I like the height and thickness but I dont care for the colors of
it on my web page. So I wanted to start with the color of the whole bar. I tried creating a cssclass called mainmenu
and then set a property of background-color: #3145CE; This did not change the color of the menu bar. So I tried to do
it in aspx and on my <telerik:RadMenu ID="RadMenu1" tag I added backcolor="#3145ce". This also did not work.
Then I found some users asking a different question about changing color of selected menu items and I saw
someone post css coding with:

.RadMenu_Default a.rmSelected
{
    background-color: Red !important;
}

So I thought well maybe if I try this but delete off the a.rmSelected part it will only change the menubar color. No dice!! 
So I am here to get some help on changing the color of the entire bar but still keep the other characteristics of the MetroTouch 
skin or am I just thinking in the wrong way and I have to create some custom skin (uggh please don't tell me that). I am hoping there is a simple way to do this. Thanks! Also where can I find all the documentation about available built in css class names and properties like rmselected and such.








David
Top achievements
Rank 1
 answered on 05 Feb 2015
16 answers
451 views
In the RadEditor documentation, it says:

"Please note that you have to click with the mouse inside the content area for the statistics module to update, i.e. it will not update on every keystroke for the purposes of performance optimization."

So how can I make the statistics update for every keystroke?
Jignasha
Top achievements
Rank 1
 answered on 05 Feb 2015
3 answers
163 views
I am using RadTreeView in a ascx which is embedded in a master page. A content page (aspx) that uses this master page has a RadGrid. Both RadTreeView and RadGrid are ajaxified using RadAjaxManager. When I expand the Tree View, partial post back occurs and I loading node on-demand server-side. But when I click on a tree node, partial post-back occurs followed by a full post-back. What can I do to prevent the full post back from occuring?
Maria Ilieva
Telerik team
 answered on 05 Feb 2015
0 answers
99 views
As of Q1 2015, the suppressCompleteMessage property of the OnClientCheckFinished event's arguments is a method.

To prevent the informational alert, you now have to pass false as an argument (Example 1), instead of setting the property value, as in older versions (Example 2).

Example 1: Preventing the information alert in OnClientCheckFinished in Q1 2015 and later.
function OnClientCheckFinishedHandler(sender, args) {
    args.suppressCompleteMessage(true);//prevent the alert
    console.log('Spell check is complete');
}

Example 2: Preventing the information alert in OnClientCheckFinished
in versions before Q1 2015. 
function OnClientCheckFinishedHandler(sender, args) {
    args.suppressCompleteMessage = true;//prevent the alert
    console.log('Spell check is complete');
}

Telerik Admin
Top achievements
Rank 1
Iron
 asked on 05 Feb 2015
3 answers
144 views
Hi,

I've noticed 2 issues when using teh radgrid in batch edit mode.

1) if editing a cell and the user presses enter the grid seems to do a post back. 
2) if editing a cell and the user clicks on another row or outside the grid the value is sometimes lost.  Clicking back in the cell and reentering then works. 

Any pointers on resolving these two issues.  If not a generic issue I'll try and get a basic version that demos the issues and post it...

Regards

Jon
Konstantin Dikov
Telerik team
 answered on 05 Feb 2015
11 answers
466 views
How excactly is it done? 
How do I use RadAutoCompleteBox on my ItemNo column?

  <telerik:RadGrid ID="RadGrid1" runat="server" AllowAutomaticDeletes="True" AllowAutomaticInserts="True"
        AllowAutomaticUpdates="True" AllowSorting="True" DataSourceID="SqlDataSource1"
        ShowGroupPanel="True" AutoGenerateEditColumn="True"
        ShowStatusBar="True" AutoGenerateColumns="False" CellSpacing="-1"
        GridLines="Both" AllowMultiRowEdit="True">
        <ExportSettings>
            <Pdf PageWidth="">
            </Pdf>
        </ExportSettings>
        <ClientSettings AllowDragToGroup="True" Selecting-AllowRowSelect="True">
<Selecting AllowRowSelect="True"></Selecting>
        </ClientSettings>
        <MasterTableView AutoGenerateColumns="False" DataSourceID="SqlDataSource1"
            CommandItemDisplay="Top" DataKeyNames="Id">
            <Columns>
                <telerik:GridBoundColumn DataField="Id" FilterControlAltText="Filter Id column"
                    HeaderText="Id" SortExpression="Id" UniqueName="Id"
                    DataType="System.Int32" ReadOnly="True" Visible="False">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="Whs" FilterControlAltText="Filter Whs column"
                    HeaderText="Whs" SortExpression="Whs" UniqueName="Whs">
                </telerik:GridBoundColumn>
                  
                <telerik:GridBoundColumn DataField="ItemNo" FilterControlAltText="Filter ItemNo column"
                    HeaderText="ItemNo" SortExpression="ItemNo" UniqueName="ItemNo">
                </telerik:GridBoundColumn>
BoddaGetta
Top achievements
Rank 1
 answered on 05 Feb 2015
13 answers
427 views
I am working on hierarchical grid where I am having 1 details tables each one resides inside other. It is like drilldown feature. My next task is to export complete data on the grid to Excel.

I dont want to show ExpandCollapse button inside Excel. Please suggest how to overcome these problems.

Thanks
Venkat
Pavlina
Telerik team
 answered on 05 Feb 2015
1 answer
147 views
Hi team,

I have two linkbuttons(myidea, allideas) and one radgrid. when I click on myidea the radgrid will bind to some datas and when I click on allideas a postBack happens and radgrid will bind to another datas. some of the columns in radgrid are dattime columns . for the first button which is the default button in page load (my ideas) everything is so good (filter mode  and editmode) but for the second button(allideas) when the page is posting back the calendar popup button will change into tooltip text and when I want to edit a row inline the raddatepicker calendar in edit mode will be messed up. The points are this:
1- my radgrid is inside the RadAjaxPanel.
2- I have set the radgrid.enableAjaxRendering=true on page load but it didn't help.
3- I have added the stylesheetmanager but it generates the error. 
4- my radgrid css is a customclass stylesheet.
5-this just happens in IE9 and the other browsers like IE10 and IE11 doesn't have this issue.
6- the interesting thing is the postback for allideas just makes this issue but the myideas even when the postback is happpening is working perfectlty.

I really need your help as soon as possible because we have a demo which it should be fix and it is not working.

Maria Ilieva
Telerik team
 answered on 05 Feb 2015
2 answers
132 views
Hi ..

I have a strange problem that effects all of my controls but mainly is buttons.. When my site loads it default to the root domain ie.. https://www.rootdomain
but none of the controls respond. Click a button and nothing happens.. but if you reload page https://www.rootdomain/Default.aspx everything works. I'm just wondering how to go about resolving this and anything obvious I've missed?

thanks
Marin Bratanov
Telerik team
 answered on 05 Feb 2015
1 answer
912 views
 Hi, I am facing problem in updating/ refreshing the controls which are in Rad ajax panel .I have a Rad ajax panel in which i have placed a grid, and RadPanelBar side to side by placing them in table.when the user selects any record in grid the details of that record will be shown in it's beside RadPanelBar. So in this process of selecting records i am refreshing the Entire Rad ajax panel for getting the correct selected record details.But additionally what i want is when the user sorts the records of grid i need to refresh the grid only , for this i placed Radgrid again in other radajaxpanel which is creating the problems.

      My Radgrid is not getting updated with the click events of grid, when i click on link button of grid it should highlight the clicked row. But when i placed grid in Ajax panel it is not getting highlighted untill unleass i refresh the Grid. when i placed it in another nested rad ajax panel. Please help me how can i achieve refreshing the only the Radgrid while sorting?My design:
 
<telerik:RadPageView ID="radPage1" runat="server">
       <telerik:RadAjaxPanel ID="RadAjaxPanel3" runat="server" EnableAJAX="True" LoadingPanelID="RadAjaxLoadingPanel1"
                        ClientEvents-OnRequestStart="onRequestStart">
                        <table width="100%" cellpadding="0" cellspacing="0">
                            <tr>
                                <td style="width: 50%">
                              <%-- <telerik:RadAjaxPanel ID="RadAjaxPanel4" runat="server" EnableAJAX="True" LoadingPanelID="RadAjaxLoadingPanel1"
                               ClientEvents-OnRequestStart="onRequestStart"> --%>
 
                                   <telerik:RadGrid ID="radGrid" runat="server" AllowSorting="true" AllowFilteringByColumn="False"
                                        OnNeedDataSource="grdUnResolvedFaxes_NeedDataSource" Skin="Metro" CellSpacing="0"
                                        GridLines="None" Width="99%" PageSize="12" OnItemCommand="grdUnResolvedFaxes_ItemCommand"
                                        EnableViewState="true">....
                                         .....
                                         .....
                                  </telerik:RadGrid>
 
                             <%-- </telerik:RadAjaxPanel> --%>
 
                                </td>
 
                              <td style="width: 50%">
                                 <telerik:RadPanelBar runat="server" ID="pnlBar" ExpandMode="MultipleExpandedItems"
                                        Width="99%" Visible="false">
                                 <Items>
                             .................
                                 </Items>
                                  </telerik:RadPanelBar>
                               </td>
                              </tr>
                        </table>
                 </telerik:RadAjaxPanel>
 
              </telerik:RadPageView>

  For the Linkbutton click of the grid i added below code to update the grid   

         
      if (e.CommandName.ToLower() == "select")
         {
           RadAjaxPanel4.ResponseScripts.Add(String.Format("$find('{0}').ajaxRequest();", RadAjaxPanel3.ClientID));
         }

         
Maria Ilieva
Telerik team
 answered on 05 Feb 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?