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

Hi,

I have put an image on the drop zone and I want the image to disapppear when the file is being dropped so that the text "Drop files here" does not appear on it. Is there any way to do that ?

Note that the file is not already dropped, he is being dropped

NNou
Top achievements
Rank 1
 asked on 14 Apr 2017
1 answer
83 views

Hi,

 

When I compare the FileExplorer (EnableFilteringOnEnterPressed = True) with Windows behavior there is one issue a customer pointed me to.

Try the following scenario:

  1. select a folder on the treeview screen, the items appear;
  2. type a word in the filterbox, remove some characters using cursor select and BACKSPACE, everything OK;
  3. type a word in the Filterbox, remove some characters using cursor select and DELETE, now the dialog appears if you want to delete the complete folder.

One customer had deleted complete folder by hitting OK. Not very clever of him but it can happen.

In the Windows Explorer this behavior is different; after DELETE the characters are just removed from the Searchbox and Search can be performed again.

Marc
Dimitar
Telerik team
 answered on 14 Apr 2017
5 answers
220 views
I have RadListBox with custom theme.

I have EnableMarkMatches = true. It works for IE 8.0 and IE 9.0. It doesn't work for Google Chrome.

When i start typing in listbox nothing happens. 

For e.g if i want to search "Pain in thumb" it filters out fine in IE.

Yazan
Top achievements
Rank 1
 answered on 13 Apr 2017
1 answer
161 views

I'm trying to fire a command from raddataform like:

        var masterTable = $find("<%= RadDataForm1.ClientID %>");
         masterTable.fireCommand("MyUploadCommand", "");

that fires very well and I can catch coomand in RadDataForm1_ItemCommand like:

If e.CommandName = "MyUploadCommand" Then......

but I cannot find controls inside <EditItemTemplate> no matter what. also very strange but inside Itemcommand routine e.DataFormItem.IsInEditMode is always false but its in edit mode.

I can access controls from RadDataForm1_Deletecommand, RadDataForm1_InsertCommand perfectly but not from RadDataForm1_ItemCommand.

How can I trigger  a command with javascript and catch it and access controls ?

If I cannot find the answer I have to give up using raddataform because there are no documents left to read...

 

best.

 

 

 

Aykut
Top achievements
Rank 1
 answered on 13 Apr 2017
0 answers
125 views

My value of rating control is 4.7 but it just show 4 stars. 

 

<telerik:RadRating runat="server" ID="rrComment"  ReadOnly="true" EnableEmbeddedSkins="true" Precision="Exact"  ViewStateMode="Inherit" />

binbin
Top achievements
Rank 1
 asked on 13 Apr 2017
0 answers
64 views
The following code works and updates the literal control perfectly.  When I add the ajax manager, it doesn't update the control at all . Its still Showing Chart...
cynthia
Top achievements
Rank 1
 asked on 13 Apr 2017
1 answer
113 views

Hi guys

 

I have a nicely-styled pdf output from theRadGrid, and I would like to complete the report by including a text cover page within the pdf before the data. How can I do this. Personally, I could create the cover page separately and merge it with the data pdf but I really want to provide this function so non-IT people can create their own output in a single click.

Can you suggest how this could be done?

Thanks

Clive

Rumen
Telerik team
 answered on 13 Apr 2017
4 answers
1.6K+ views
Hi

How to i Disable Previous dates,  Means less then today in Rad Date Picker.

I need to show to select current date and future dates only.

i want to disable Previous dates.

Please Reply for this soon..

Thanks,
Ashok Anbarasu.
mahen
Top achievements
Rank 1
 answered on 13 Apr 2017
0 answers
248 views

Hello Telerik Team,

Kindly, I got an error regarding the casting of a telerik object. I have removed the telerik compresion but my application is using a dinamic layer to create the control in the page, Also i will be removing the telerik compresion for all the clases in the control layer. Please can you provide more information regarding the below error, see the details:
Impossible d'effectuer un cast d'un objet de type 'Telerik.Web.UI.CompressedPageState' en type 'System.Collections.IDictionary'.
Informations sur l'erreur: Type: InvalidCastException Message: Impossible d'effectuer un cast d'un objet de type 'Telerik.Web.UI.CompressedPageState' en type 'System.Collections.IDictionary'. Trace de la pile: à System.Web.UI.Page.RegisterRequiresControlState(Control control) à Telerik.Web.UI.RadComboBox.OnInit(EventArgs e) à System.Web.UI.Control.InitRecursive(Control namingContainer) à System.Web.UI.Control.AddedControl(Control control, Int32 index) à System.Web.UI.ControlCollection.Add(Control child) à Telerik.Web.UI.GridPagerButtonBuilder.CreatePageSizeDropDown(Panel container) à Telerik.Web.UI.GridPagerButtonBuilder.CreatePageSize(Panel container) à Telerik.Web.UI.GridPagerItem.InitializePagerItem(GridColumn[] columns) à Telerik.Web.UI.GridPagerItem.SetupItem(Boolean dataBind, Object dataItem, GridColumn[] columns, ControlCollection rows) à Telerik.Web.UI.GridTableView.CreateTopPagerItem(Boolean useDataSource, GridColumn[] copiedColumnSet, Boolean isPagingEnabled, GridTHead thead) à Telerik.Web.UI.GridTableView.CreateControlHierarchy(Boolean useDataSource) à Telerik.Web.UI.GridTableView.CreateChildControls(IEnumerable dataSource, Boolean useDataSource) à System.Web.UI.WebControls.CompositeDataBoundControl.PerformDataBinding(IEnumerable data) à System.Web.UI.WebControls.DataBoundControl.OnDataSourceViewSelectCallback(IEnumerable data) à System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback) à System.Web.UI.WebControls.DataBoundControl.PerformSelect() à Telerik.Web.UI.GridTableView.PerformSelect() à System.Web.UI.WebControls.BaseDataBoundControl.DataBind() à Telerik.Web.UI.GridTableView.DataBind() à Telerik.Web.UI.RadGrid.DataBind() à Telerik.Web.UI.RadGrid.AutoDataBind(GridRebindReason rebindReason) à Telerik.Web.UI.RadGrid.OnLoad(EventArgs e) à Env.MYAPPLICATION.Web.Controles.FormulaireGrilleGenerique`1.OnLoad(EventArgs e) dans e:MYAPPLICATION\Env.MYAPPLICATION.Web.Controles\FormulaireGrilleGenerique.cs:ligne 90 à System.Web.UI.Control.LoadRecursive() à System.Web.UI.Control.LoadRecursive() à System.Web.UI.Control.LoadRecursive() à System.Web.UI.Control.LoadRecursive() à System.Web.UI.Control.LoadRecursive() à System.Web.UI.Control.LoadRecursive() à System.Web.UI.Control.LoadRecursive() à System.Web.UI.Control.LoadRecursive() à System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) 
Line 90: MYAPPLICATION\Env.MYAPPLICATION.Web.Controles\FormulaireGrilleGenerique.cs:ligne 90:
protected override void OnLoad(EventArgs e)
        {
            base.OnLoad(e);      

        }

Guillermo José
Top achievements
Rank 1
 asked on 12 Apr 2017
2 answers
1.1K+ views

Hello,

After I updated to 2015 q1 I get following error

Upgrade problem - Unable to cast object of type 'Telerik.Web.UI.ElasticButton' to type 'System.Web.UI.WebControls.LinkButton'

This happens in ItemCreated. I was using following code to hide insertitem when I used insertbutton to open a Radwindow.

 

protected void ClassesOverviewGrid_ItemCreated(object sender, Telerik.Web.UI.GridItemEventArgs e)
    {
        if (e.Item is GridEditableItem && e.Item.IsInEditMode)
        {
            if (e.Item.OwnerTableView.IsItemInserted)
            {
                GridEditableItem item = e.Item as GridEditableItem;

                LinkButton updateButton = (LinkButton)item.FindControl("PerformInsertButton");

                ((GridTableRow)updateButton.Parent.Parent).Style.Value += "display:none";

            }
        }

}

 

If I change to 

LinkButton updateButton = (LinkButton)item.FindControl("PerformInsertButton");

((GridTableRow)updateButton.Parent.Parent).Style.Value += "display:none";

then I get the error in second line:

 

Additional information: Unable to cast object of type 'EditFormTableCell' to type 'Telerik.Web.UI.GridTableRow'.

 

Do you know how I can fix this?

Guillermo José
Top achievements
Rank 1
 answered on 12 Apr 2017
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?