Telerik Forums
UI for ASP.NET AJAX Forum
9 answers
397 views
How do we prevent data binding form occuring in PageLoad and, here's the catch, still get the RadGrid to display including the filters, which we use as a search form? Something like:

        if (e.RebindReason != GridRebindReason.InitialLoad)
            ((RadGrid)sender).DataSource = new object[] { };

Will prevent the data binding, but it will also prevent the user from ever doing a real search :)

Suresh
Top achievements
Rank 1
 answered on 26 Oct 2017
0 answers
111 views

Hi,

Here are my needs :

I would like to select multiple files to upload, then click "open" and at this moment (OnClientFilesSelected) I would like to do some tests against the file names. If file name does not validate the test, I would like to remove it from the files to upload (one by one). But in OnClientFilesSelected, I can only get the number of files and cancel the whole selection.

How can I have access to the selected files collection, edit it, and then continue ?

 

The final goal is to "group" files by their names (without extension) : if I upload a.pdf and a.png, I would like to have a row for a.pdf and create an associated input to it instead of creating a row for each file.

Do you have some ideas ? I didn't find what I want in the AsyncUpload API.

Julien
Top achievements
Rank 1
 asked on 26 Oct 2017
0 answers
37 views
I have ImageEditor but all icons not working I can't fix the problem I have searched and can't find any solution. 
mrwell
Top achievements
Rank 1
 asked on 26 Oct 2017
4 answers
183 views
Hello,

   I am sure you people will help regarding export to word from RadEditor control. I can't export the contents of RadEditor to word file.

This create problem to clients so they know that this is limitation of this control (RadEditor).

 Please help as soon as possible.

Thanks & Regards

Jiten Mutum
kalpa
Top achievements
Rank 1
 answered on 26 Oct 2017
2 answers
304 views
I'm testing on my workstation over a page with RadGrid, and keep getting error due to the grid.get_masterTableView() returns null.

however, the same codes deployed on many other environment has no such issues, I can access the same page without problem.

only if I host the web app on my dev machine and testing it, I have this problem.

I chked and compare the Telerik.Web.UI*.dll , they are same as the other environment.
Telerik.Web.UI.dll , Telerik.Web.UI.Skin.dll
both ver 2011.3.1305.40

what other dependency or setting may cause this difference on my machine?
DownTown
Top achievements
Rank 1
 answered on 26 Oct 2017
14 answers
676 views
i wonder, if it is possible to set shorter time slots like 15 min in RadScheduler?
Thanks

Hevin
Top achievements
Rank 1
 answered on 26 Oct 2017
4 answers
480 views

Hi,

How can i add dynamic templated items to ImageGallery?

I define a template:

 

class ImageGalleryContentTemplate : ITemplate
{
    public String BackgroundImage { get; set; }
    public String HTMLTemplate { get; set; }
 
    public void InstantiateIn(Control container)
    {
        String strC = "";
        if (BackgroundImage != "")
            strC = String.Format("<div style=\"background-image: url({0})\">{1}</div>", BackgroundImage, HTMLTemplate);
        else
            strC = HTMLTemplate;
        container.Controls.Add(new LiteralControl(strC));
    }
}

I tried to use it following way:

ImageGalleryTemplateItem igti = new ImageGalleryTemplateItem();
ImageGalleryContentTemplate template = new ImageGalleryContentTemplate();
template.BackgroundImage = strBigImgUrl;
template.HTMLTemplate = strTemplate;
template.InstantiateIn(igti);

 

 

template.InstantiateIn doesn't accept ImageGalleryTemplateItem and if i use InstantiateIn(ImageGalleryTemplateItem container) instead of InstantiateIn(Control container), i don't use container.Controls.Add(...), because ImageGalleryTemplateItem hasn't .Controls() property.

if I use igti.ContentTemplate = template instead of template.InstantiateIn(igti) project running without errors, but other slides than first not showing.

Please look at this page: http://v2.gom.com.tr/anasayfa

Just below the menu;

- First slider done with RadRotator. Customer wants selector dots and seamless animation.

- Second slider with RadImageGallery, which has this problem (running with igti.ContentTemplate = template).

- Third slider with RadImageGallery, but has only images and working perfectly. But customer wants texts and link button.

How can i add dynamic templated items to ImageGallery OR how to handle it with RadRotator?

rama
Top achievements
Rank 1
 answered on 25 Oct 2017
3 answers
115 views
Has anyone gotten the Large File Upload demo to work as a standalone demo in IIS?  The Demo isolation steps listed with the Large File Upload demo are generic and don't all apply specifically to the Large File Upload demo.

When I open the site I get the following error. There is no mention of the "MasterPage.master" file in the Demo isolation steps. Please advise:


Server Error in '/' Application. Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: The file '/MasterPage.master' does not exist.

Source Error:

Line 1: <%@ Page Language="c#" CodeFile="DefaultCS.aspx.cs" AutoEventWireup="true" Inherits="AsyncUpload.Examples.LargeFileUploads.DefaultCS"
Line 2: MasterPageFile="~/MasterPage.master" %>
Line 3:
Source File: /DefaultCS.aspx Line: 1

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.18446
Vessy
Telerik team
 answered on 25 Oct 2017
1 answer
107 views

the Server Template option in the examples provided for TabStrip do not fill in any of the tab views - instead put in a message that it was blocked by enhanced security

the machine I am working on is a Windows 10 from bought this summer (version 1703?)

 

Rumen
Telerik team
 answered on 25 Oct 2017
1 answer
66 views

Hi,

I have a Combobox that uses a itemtemplate that is bound to a class object and OnSelectedIndexChanged I need to get the dataitem of that item to get the class object but cant seem to get this to work. Any suggestions? 

 

<telerik:RadComboBox runat="server" ID="cmbOptions" AutoPostBack="true" EmptyMessage="Please select..." OnSelectedIndexChanged="cmbOptions_SelectedIndexChanged">
                                        <ItemTemplate>
                                            <img />
                                            <%#Eval("Text") %>
                                        </ItemTemplate>
                                    </telerik:RadComboBox>

 

private webService.DetailedPart pa;s
private webService.SessUser su;
   webService.SrvCoreClient service;

  

    protected void Page_Load(object sender, EventArgs e)
    {
        su = Common.getSession(Session);
        service = new webService.SrvCoreClient();
 
        pa = service.GetPart(su.id, partId);
 
        if (pa.GroupedParts != null)
        {
            cmbOptions.EmptyMessage = pa.GroupedParts.Header;
            cmbOptions.DataSource = pa.GroupedParts.GroupedParts;
            cmbOptions.DataBind();
        }
    }
 
protected void cmbOptions_SelectedIndexChanged(object sender, Telerik.Web.UI.RadComboBoxSelectedIndexChangedEventArgs e)
    {
        //How do I get the dataitem of the selected index??
    }

 

 

 

Eyup
Telerik team
 answered on 25 Oct 2017
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?