Telerik Forums
UI for ASP.NET AJAX Forum
16 answers
1.6K+ views
I am posting here because the error is 'Telerik.Web.UI.GridFilterMenu' not found.


2> Processing complist 'Properties\licenses.licx'...
12>C:\Projects\CenterRail\Properties\licenses.licx(3): error LC0004: Exception occurred creating type 'Telerik.Web.UI.GridFilterMenu, Telerik.Web.UI, Version=2015.1.225.45, Culture=neutral, PublicKeyToken=121fae78165ba3d4' System.MissingMethodException: Constructor on type 'Telerik.Web.UI.GridFilterMenu' not found.
12> at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark)
12> at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
12> at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture)
12> at System.SecurityUtils.SecureCreateInstance(Type type, Object[] args, Boolean allowNonPublic)
12> at System.ComponentModel.LicenseManager.CreateWithContext(Type type, LicenseContext creationContext, Object[] args)
12> at System.ComponentModel.LicenseManager.CreateWithContext(Type type, LicenseContext creationContext)
12> at System.Tools.LicenseCompiler.Main(String[] args)
12> The command exited with code -1.
12>Done executing task "LC" -- FAILED.
Tom
Top achievements
Rank 1
 answered on 23 Jan 2018
3 answers
383 views

I tired most of the examples on disabling dates on the raddatepicker control but most are out of date to the methods and properties of the latest control set. I looking for an example of how to only let SUNDAY be selected.

 

Thanks

Help
Top achievements
Rank 1
 answered on 23 Jan 2018
6 answers
472 views
Hi, I'm running into similar situation as other posts but not exactly the same.

I have a really simple case where I have a detail table that responds to a DeleteCommand, and all I want to do is rebind the parent.

The problem is, that inside the delete command handler, if I don't call rebind on anything and let the normal event mechanism work, the detail table will properly delete the row however the parent is not rebinded.  If I add a call to rebind the parent (see below - the last statement), then the rebind happens but both grids don't show the correct results on the screen. I don't think rebind can be called inside a delete command handler, just my hunch.

This should be really simple. I want to rebind the parent row when the detail changes.  What's the preferred approach?  I see a lot of ways people are discussing it - but want as little code as possible.

 protected void RadGrid1_ItemCommand(object source, Telerik.Web.UI.GridCommandEventArgs e)
        {
            RadGrid g = (RadGrid)source;
            GridEditableItem editedItem = e.Item as GridEditableItem;
            if (e.CommandName == RadGrid.DeleteCommandName)
            {
                var id = editedItem.GetDataKeyValue("UserRentItemId").ToString();
                _presenter.DeleteUserRentItem(int.Parse(id));
                e.Item.OwnerTableView.ParentItem.OwnerTableView.Rebind();  
            }
        }
Eyup
Telerik team
 answered on 23 Jan 2018
2 answers
382 views
Hi,

We are using RadControls for ASP.NET AJAX suite (2013 Q1 version) for our applications. We use Visual studio 2012 ultimate version with C#. When I drag control from toolbox on to the page, the following gets added to the page:

<%

 

@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %>

 


I do not want to have this on each and every page. So, I would like to add assembly to web.config file with details like public token, version, culture etc. Further, I would like to add controls element also with control details.

For eg:

<

 

 

assemblies>

 

<

 

 

add assembly="Infragistics2.WebUI.Shared.v10.3, Version=10.3.20103.2217, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb"/>

 

</

 

 

assemblies>

 


<

 

 

pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID">

 

<

 

 

controls>

 

<

 

 

add tagPrefix="igtbl" namespace="Infragistics.WebUI.UltraWebGrid" assembly="Infragistics2.WebUI.UltraWebGrid.v10.3"/>

 

<

 

 

add tagPrefix="igtblexp" namespace="Infragistics.WebUI.UltraWebGrid.ExcelExport" assembly="Infragistics2.WebUI.UltraWebGrid.ExcelExport.v10.3"/>

 

</

 

 

controls>

 

</

 

 

pages>

 


This avoids having assembly registration on each and every page.

Thanks,
Prathiba
ajay
Top achievements
Rank 1
 answered on 23 Jan 2018
1 answer
174 views

Dear Team,

We are using ShowSound property and it doesn't work in mobiles and tablets. However it is working fine in desktop browsers. I have already tried below code which i got from your website but still no difference.

<script type="text/javascript">function pageLoad() {//Attach to the document touchstart event and initiate the notification audio $telerik.$(document).on("touchstart", initSound);}function initSound() {var notification = $find("<%=RadNotification1.ClientID%>");//If notification audio is not available initiate itif (!notification.verifySound()) { notification.userInitSound();}//Detach the initSound event listener $telerik.$(document).off("touchstart", initSound);}</script><telerik:RadNotification RenderMode="Lightweight" ID="RadNotification1" runat="server" ShowInterval="2000" AutoCloseDelay="1000" Text="Some Notification" ShowSound="warning"></telerik:RadNotification>

I have also tried in code behind but result is same.

RadNotification1.ShowSound = ResolveUrl("~/Images/OrderReceived.wav");

Kindly let me know how we can enable sound on mobile/tablet devices.

Thanks & Regards,

Jatin Kumar Verma

Peter Milchev
Telerik team
 answered on 23 Jan 2018
4 answers
136 views

Hi, 

In the demo https://demos.telerik.com/aspnet-ajax/listview/examples/client/webservicedatabinding/defaultcs.aspx

It is possible to select an item without having a CommandName="Select" and the item can be click anywhere, and it selects. 

In the code I am playing with, I have the data bound via code, but cannot get the item to select without a button.

You do not have a button within your demo, so how do you get it to work?

Many Thanks

Mark

 

Mark
Top achievements
Rank 1
 answered on 23 Jan 2018
1 answer
47 views

Hello, I have a problem using EnableVirtualScrollPaging in asp.net RadGrid.

In the grid I have GridBoundColumn and GridTemplateColumn columns.

At server side put all rows with same height.

     rdgLista.MasterTableView.ItemStyle.Height = 50;
     rdgLista.MasterTableView.AlternatingItemStyle.Height = 50;

When I scroll down page 2 is load when I have not yet reached the end of page 1.

 

<ClientSettings>
                    <Resizing AllowRowResize="false" />
                    <Scrolling AllowScroll="true" EnableVirtualScrollPaging="True" UseStaticHeaders="true" SaveScrollPosition="true">
                    </Scrolling>
</ClientSettings>

 

Can you help?

 

Best Regards.

 

Eyup
Telerik team
 answered on 23 Jan 2018
0 answers
107 views

I'm using version 2010 Q1 309

I have 8 RadTabs, I want to auto adjust width when run on more screens. I tried set ScrollChildren = True, but UI broken

Darren
Top achievements
Rank 1
 asked on 22 Jan 2018
0 answers
60 views

i have radgrid with alot of custom filters and i need to move javascript to external file

how to set static client id to put this line at external javascript file

var tableView = $find("<%# ((GridItem)Container).OwnerTableView.ClientID %>");

Ahmad
Top achievements
Rank 1
 asked on 22 Jan 2018
2 answers
229 views
Hi, I'm trying to fire the Notification on button click. The Notification is displaying but the title and content are empty, any ideas why?

<telerik:RadNotification ID="Notification" runat="server" Position="Center"
    AutoCloseDelay="10000" Width="350" EnableRoundedCorners="true" ContentIcon="none" KeepOnMouseOver="true" ShowCloseButton="false">
    <ContentTemplate>
        <asp:Literal ID="NotificationText" runat="server" />
    </ContentTemplate>
</telerik:RadNotification>

protected void SaveQuoteButton_Click(object sender, EventArgs e)
{
    Notification.Title = "Save Title";
    NotificationText.Text = "Save Text";
    Notification.Show();
}
Ahmad
Top achievements
Rank 1
 answered on 22 Jan 2018
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?