Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
132 views

Had troubles with the Excel-like filters in the RadGrid when trying for the first time.  The context menu wouldn't drop down after configuring RadGrid based on this text from the demo:

The demo shows the new Grid FilterType called HeaderContext implemented in Q3 2015. This filtering mode provides look and feel that resembles the filter in Excel. To enable this mode you should set the FilterTypeproperty of RadGrid to HeaderContext and turn on the header context menu (EnableHeaderContextFilterMenu="true").

 

After troubleshooting and comparing code, found it didn't drop down because  EnableHeaderContextMenu="true"  was missing from my markup but was is in the demo .aspx code.

 

It would be helpful to update the demo page and add EnableHeaderContextMenu="true" to the list of required properties.

 

I think adding more info about the need for this event... OnFilterCheckListItemsRequested="RadGrid1_FilterCheckListItemsRequested" in the same text would also help.  The text of As you can see ListBox populated through DataSource displays the values. doesn't highlight the importance of that event to the Excel-like filtering feature.

  

Thanks,

John

Pavlina
Telerik team
 answered on 08 Feb 2016
2 answers
235 views

I have a problem in that when I have a RadGrid inside a RadWindow with Firefox. With FireFox I can't seem to resize the radgrid properly. The resizing works fine in IE.

 

For example, have a RadWindow that I open ("ClientSearch") Width=600 Height=450. In my example I am (for testing purposes) setting the RadGrid to Width=100 Height=100.

This screencap shows how it renders in IE.

This screencap shows how it renders in FireFox.

(I also attached files)


 Could anyone tell me what I'm doing wrong? Is there another way to resize the radGrid?

Cutting to it, here is the Javascript I use to resize, the main page that defines the Window, and the code snipplet in the window that defines the grid. On the page that I define the grid I do <ClientEvents OnMasterTableViewCreated="SetGridSizeLocator"> .. this is what calls the Javascript.

function setGridSizeLocator()  
document.getElementById('ctl00_PrimaryContent_EntityGrid_GridData').style.width = 100; 
document.getElementById('ctl00_PrimaryContent_EntityGrid_GridData').style.height = 100;     
     
}; 
 


<telerik:RadWindowManager ID="RadWindowManager1" runat="server" ShowContentDuringLoad="false" VisibleStatusbar="false" ReloadOnShow="true" EnableEmbeddedSkins="false" Skin="Locator2009" Modal="true"
   <Windows> 
      <telerik:RadWindow runat="server" IconUrl="images/lookup.gif" Title="Client Search" ID="Window1" Width="600" Height="450" Behaviors="Close"></telerik:RadWindow> 
      <telerik:RadWindow runat="server" IconUrl="images/toolbar/Tasksmall.gif" Title="Tasks" ID="WindowClientInbox" Width="635" Height="375" BackColor="White"  Behaviors="Close,Move,Resize"></telerik:RadWindow> 
      </Windows> 
 

 <asp:UpdatePanel ID="UpdatePanel1" runat="server">   
                <ContentTemplate> 
                <table width="100%"
                    <tr> 
                        <td align="left"
                            <telerik:RadGrid ID="EntityGrid" EnableEmbeddedBaseStylesheet="false" EnableEmbeddedSkins="false" runat="server" EnableLinqExpressions="true" GridLines="None" AllowSorting="True" AllowPaging="True" PageSize="13" Skin="Vista2009" ClientSettings-EnableRowHoverStyle="true" > 
                                <ClientSettings > 
                                    <ClientEvents OnMasterTableViewCreated="setGridSizeLocator" />                                             
                                    <Selecting AllowRowSelect="True" /> 
                                    <Scrolling AllowScroll="True" /> 
                                    <ClientEvents OnRowDblClick="LocatorGridEntitySelect" OnRowSelected="LocatorGridEntityContext" /> 
                                    </ClientSettings> 
                                 <PagerStyle Mode="NumericPages" /> 
                                <MasterTableView ClientDataKeyNames="RecordID,DisplayText,UIDisplay,UIKey"
                                <EditFormSettings> 
                                <EditColumn InsertImageUrl="Update.gif" UpdateImageUrl="Update.gif" EditImageUrl="Edit.gif" CancelImageUrl="Cancel.gif"></EditColumn> 
                                 </EditFormSettings> 
                                </MasterTableView>                         
                            </telerik:RadGrid> 
                        </td> 
                    </tr> 
                </table>           
                </ContentTemplate>         
                </asp:UpdatePanel> 
 





Markus
Top achievements
Rank 1
 answered on 08 Feb 2016
2 answers
56 views

Hi All.

 

How do i download the demo of this, as i only have updated my Telerik, but i want to download the full demo that you have, as i have not downloaded any demos.

Ivan Danchev
Telerik team
 answered on 08 Feb 2016
11 answers
755 views
Can you tell me the best way to show totals in a header on a Radgrid that is grouped?  I have a radgrid with 13 columns and grouped by only 1 column. I need the Group header(not the footer) to show the totals for each of the columns within the group and be aligned with each column.  Is this possible?  I have looked through all of the support sites and have had no luck. 

Any help would be appreciated! 

Thanks.

Eyup
Telerik team
 answered on 08 Feb 2016
1 answer
60 views

I use item.Display = false; in the RadGrid1_ItemCreated. This hides the item fine. Page count is 15 and only shows 10 because 5 are hidden.

Is there a way to show the 15 requested...

Thanks 

 

Eyup
Telerik team
 answered on 08 Feb 2016
1 answer
181 views

hello all

i have tow question ?

i work on invoice web app 

i add a gridview with sqldatasource 

firstly 

in this grid view i have a textbox to inter Qty and other column with in stock value  i have to prevent user add qty value larger than in stock value so i want to add compare validation  inside gridview (Qty most be less or equal instock value)

Secondly

i add a combox inside gridview with other sqldatasource , this combo box have three column i want textbox in other column to get one of this column vale when combobox selected chanched

im looking forward to here from you 

regard 

 

Maria Ilieva
Telerik team
 answered on 08 Feb 2016
1 answer
70 views

We are doing some work for a client who has a number of web applications which were initially built in .net 2.0 and which use Telerik 2009.1.402.20.

As part of some minor changes to the applications. We also upgraded to .net 4.0. This has caused a number of issues with the telerik controls and we are assuming that there are compatibility issues between this version and .net 4.0. 

We tried to fix a number of issues by using the known _DestoryTree JS fix. However this doesn't seem to have worked for many of the issues. 

Could someone please advise on the following:

1 - Is there anyway around the incompatibility?

2 - If not and an upgrade in Telerik is required will this in itself cause other issues with the migration from the old version to the new? Are there issues with backward compatibility.

Thanks for your help.

Pavlina
Telerik team
 answered on 08 Feb 2016
1 answer
103 views

RadComboBox not rendered (Rendered as "") when within asp panel with initial visible= false.

The asp panel is set to visible= true when postback is triggered via client using ajaxManager.ajaxRequest('InitialPageLoad'

 
protected void Page_Load(object sender, EventArgs e)
        {
            // register ajax
            Telerik.Web.UI.RadAjaxManager ajaxMgr_CCF =   Telerik.Web.UI.RadAjaxManager.GetCurrent(Page);
            ajaxMgr_CCF.AjaxRequest += new RadAjaxControl.AjaxRequestDelegate(AjaxRequestsForCCF);

}

 

protected void AjaxRequestsForCCF(object sender, AjaxRequestEventArgs e)
       {
           if (e.Argument == "InitialPageLoad")
           {
              pnlWithComboBox.Visible = true;
           }
       }

 

 RadCombobox is always set to visible = true.

The panel has other server side control but they render fine. 

If I set radComboBox1.visible = true then it works fine. But should it automatically render and no need for setting specificly

<asp:Panel ID="pnlWithComboBox" runat="server" visible="false">
        <telerik:RadComboBox ID="radcombobox1" runat="server"                                   Width="123px" RenderMode="Lightweight"                                    OnSelectedIndexChanged="btnSavePlaybackForward_Click" AutoPostBack="true" OnClientSelectedIndexChanged="comboBoxContext">
                                    <Items>
                                        <telerik:RadComboBoxItem Text="1" Value="1" runat="server" />
                                        <telerik:RadComboBoxItem Text="2" Value="2" runat="server" />
                                        <telerik:RadComboBoxItem Text="3" Value="3" runat="server" />
                                    </Items>
                                </telerik:RadComboBox>
                            </asp:Panel>

function initializePage(sender, eventArgs) {                 var ajaxManager = $find('<%= RadAjaxManager.GetCurrent(this.Page).ClientID %>');                 ajaxManager.ajaxRequest('InitialPageLoad');   
          }

<telerik:AjaxSetting AjaxControlID="radAjaxManager1">  
 <UpdatedControls>         
        <telerik:AjaxUpdatedControl ControlID="pnlWithComboBox"  />   
  </UpdatedControls>  
 </telerik:AjaxSetting>

Maria Ilieva
Telerik team
 answered on 08 Feb 2016
5 answers
1.2K+ views
Hi,

I am enabling combobox with checkbox using 

cmbValue.CheckBoxes = true;
cmbValue.EnableCheckAllItemsCheckBox = true;

I want to change the text of first item "Check all" which is generated by automatically to "Select All"

Please suggest for the above.
swarup
Top achievements
Rank 2
 answered on 08 Feb 2016
7 answers
172 views
Hi! it's possible set customize labels for a graph something like the image that I attach
Danail Vasilev
Telerik team
 answered on 08 Feb 2016
Narrow your results
Selected tags
Tags
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?