Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
105 views
Hi,
I have two requirements -
1. I have a RadChart in my asp.net web application. It is a Bar Chart. On Click of one BAR on the chart, I have to make the Chart blurred and go away and a chart shud get displayed with details of that Bar (which is clicked).
 In short, I need to display a chart with details of the BAR that is clicked and when I dispay the second Chart, the first one shud disappear with some smooth transitions.

2. I have a RadChart in my asp.net  web application and when I hover the mouse on a perticular BAR, I need to display another chart with details of the BAR as tooltip. How do I achive this?

Thanks in Advance,
Deepika Karanth
Yavor
Telerik team
 answered on 31 Oct 2012
1 answer
64 views
Hi.
I'm using a Radrotator with Item template inside as follows:

ASPX
<telerik:RadRotator runat="server" ID="rotatorImagesList" RotatorType="Buttons" Width="100%"
    Height="150px" WrapFrames="false" OnItemClick="rotatorImagesList_SelectImage"
    OnClientItemClicking="rotatorImagesList_OnClientItemClicking">
    <ItemTemplate>
        <div>
            <asp:CheckBox ID="chkSel" runat="server" Checked='<%#Eval("isSelected")==DBNull.Value?false:Eval("isSelected") %>'
                onclick="chkClick(this)" />
            <asp:ImageButton ID="btnDel" runat="server" OnClientClick="CancelItemClick(this)"
                CssClass="deletebutton" ImageUrl="~/App_Themes/Office2007/Grid/Cancel.gif"></asp:ImageButton>
        </div>
        <div>
            <telerik:RadBinaryImage EnableTheming="false" runat="server" ID="binaryImageThumbnail"
                Width="103px" Height="103px" ResizeMode="Fit" DataValue='<%# DataBinder.Eval(Container.DataItem,"ThumbnailData") %>'
                BorderColor="Black" BorderStyle="Solid" onClick="ImageClick(this)" />
        </div>
        <div>
            <asp:HiddenField ID="hiddenFieldPhotoRIDContainer" runat="server" Value='<%# DataBinder.Eval(Container.DataItem,"NCO_RID") %>' />
            <asp:HiddenField ID="hiddenFieldIsDeleted" runat="server" Value='<%# DataBinder.Eval(Container.DataItem,"isDeleted") %>' />
        </div>
    </ItemTemplate>
</telerik:RadRotator>

I only want to "Click" on the item when user clicks on the image, since at this time, I run the rotatorImagesList_SelectImage in which I do some server code. otherwise I do not want a postback to run the rotatorImagesList_SelectImage event.

I cancel ItemClick when I click the btnDel, since I will be deleting this image. this works fine.

but when I cancel click when the checkbox is clicked, the Checkbox can not be "checked".

here is my Javascript:
var currIndex;
var isDeleting;
var allowClick;
 
function pageLoad() {
 
    isDeleting = false;
    allowClick = false;
}
 
function CancelItemClick(sender, eventArgs) {
 
    currIndex = getIndexFromId(sender.id);
    allowClick = true;
    isDeleting = true;
}
 
function ImageClick(sender) {
 
    currIndex = getIndexFromId(sender.id);
    isDeleting = false;
    allowClick = true;
}
 
function chkClick(sender) {
    currIndex = getIndexFromId(sender.id);
    isDeleting = false;
    allowClick = false;
 
}
 
function rotatorImagesList_OnClientItemClicking(sender, eventArgs) {
    if (allowClick == true) {
 
        var hfVal = document.getElementById(sender.get_id() + "_i" + currIndex + "_" + "hiddenFieldPhotoRIDContainer").value;
 
        if (isDeleting == true) {
            __doPostBack("btnDel", hfVal);
            eventArgs.set_cancel(true);
        }
 
    }
    else {
        eventArgs.set_cancel(true);
    }
}
 
function getIndexFromId(string) {
    var matches = string.match(/_i([0-9]+)/);
    return matches[1];
 
}


Any Suggestions?

Thanks.
Slav
Telerik team
 answered on 31 Oct 2012
1 answer
46 views
Hi,

I have been working with RAD Scheduler, Its providing option to create Appointments.

 Is there any way to create Tasks from RADScheduler?

Regards,
Saravanan M
Kalina
Telerik team
 answered on 31 Oct 2012
1 answer
58 views
Is there a way to Expand all Nodes of a "LoadOnDemand" RadTreeList with a Button-Click or similar event?

If I use the ExpandAllItems it simply takes away the (+) Signs (i.e. it tries to expand but does not call the ChildItemsDataBind-Method).
Any Ideas?


Our customer most often only needs to view some path of the tree, which would load on demand more applicable, but sometimes want's to view all nodes or use the ExcelExport Function to Export the whole tree.

Maria Ilieva
Telerik team
 answered on 31 Oct 2012
34 answers
1.5K+ views
The new RadFileExplorer is a wonderful new addition to the Telerik lineup, and once the few remaining minor bugs are worked out it will really be a great control.  For a majority of scenarios where all you need to do is list raw directories and files, and pick one, it works great.  Both as a stand-alone as well as a part of one of the Editor's dialogs.  Part of the beauty of the control is its simplicity.  However, there are no doubt some more complicated situations where the built-in functionality falls short.

This thread is not about bashing the RadFileExplorer.  It is about describing scenarios in which the need arose for a custom-built way of navigating & selecting files because it simply wasn't possible with the current RadFileExplorer.  In doing so, Telerik can make the decision about whether or not to add functionality to tackle some of these scenarios.  If possible, suggest a solution to the problem in terms of a "feature request".

And with that, I'll start things off...

The problem I ran into was that there is no way for the folders in the tree or grid to be "labeled" with anything other than the actual directory or file name.  I'm actually quite certain that this must be a common scenario.  In a specific case for a sports website we've built, the database allows for multiple teams to be setup for a given season, and each team has its own images directory created using the ID of that team.  So the directory structure on the disk is something like /images/teams/1000/ (which belongs to "Team A") and /images/teams/1001/ (which belongs to "Team B").  The problem with this is that the average user only knows of their team by its name and not its ID, and this is particularly true when a user wants to borrow an image from another team (they definitely won't know the ID, they'd have to look it up).

So, here's a "Feature Request":  Have the abilty to create a custom FileSystemContentProvider where each directory can have both a path as well as a label - and the label is what shows up in the tree / grid but it uses the path for navigating around.

Another situation, related to the one above, is something that we're realizing now after having gone live with our product for a few years.  We didn't decide to group the team folders on the file system according to the season they participated - the directory structure is simply /images/teams/team ID.  So, we've learned that not only is it important to be able to label a directory but it's equally important in our case to be able to put a directory into a context (parent node) which makes sense.  In the terms of the FileExplorer, we needed the tree to look like this: season 1 -> team A, season 1 -> team B, season 2 -> team C, and so on.  However, the "season" node wouldn't actually correspond to any actual directory, it is simply used as a logical grouping of other directories.

Feature Request:  Have the ability to create a custom FileSystemContentProvider where a "directory" can actually be a node in the tree which does not represent a physical folder.

My last situation for this post has to do with usability.  My target audience in terms of technical capabilities is the below-average computer/web user, and since I'm a bit of a control freak I prefer to control what these people are doing so they can't mess things up too badly.  So, when it comes to an ImageManager I pre-create several folders for the user to keep their images organized, and then only allow for the user to upload into the folder that makes the most sense given the context of what they're doing.  So, the user is presented with, say, five folders in the tree of the RadFileExplorer; all of which are available to pick images to use, but only one of which allows for them to upload.  While having the upload button enable/disable depending on the currently selected folder is an improvement from the past, there still is no way to provide a visual clue in the tree of folders as to the read/write permissions available for each.

Feature Request:  Have the ability to specifiy an icon (or css class) to be used for a folder when it is displayed in the tree (and perhaps the grid as well) that indicates whether or not that folder has write permissions or any other special attributes.

So, again, I'm not trying to bash the RadFileExplorer control since it does work great in a number of other, more simple (normal) scenarios.  The only reason I start this thread is because I've been around Telerik long enough to know that they're still working on the RadDoAllMyWorkForMe control and take pride in delivering more than expected.  That, and given that I was able to make my own using the same components as the RadFileExplorer makes me think it could one day be included in the control.

Please add your own scenarios where you had to build your own control and maybe they could be included in vNext of the RadFileExplorer.
Vessy
Telerik team
 answered on 31 Oct 2012
2 answers
85 views
Hello,

I have grid in which I have populate the data for two dates , Now I want to show the future date data in gray color and todays date  data in white color at runtime(Server side). or any how.
How should I do this Please give me suggestion.

like this grid rows
_______________________________________
|                   Header row                                       |
_______________________________________
|           Todays date data in white                         |
_______________________________________
|           Future date data in gray color                   |
_______________________________________
|           Future date data in gray color                   |
_______________________________________
|           Future date data in gray color                   |
_______________________________________
Amit
Top achievements
Rank 1
 answered on 31 Oct 2012
3 answers
89 views
I populate a SPRadGrid with a BCS external list , i would like update row , but this functionnalitie doesn't work.  

Delete, and edit mode is OK. 
I haven't any error message. 
Could you help me , Could you help me , i need to know,  what's happening when i clik on "update" ?

thanks. 
Tsvetoslav
Telerik team
 answered on 31 Oct 2012
5 answers
54 views
Hi,

I have been searching for an integration example with HTMLCharts inside the RadRotator but I don't see any.  I'm not sure if this feature is available or not, if not what other options do I have or any alternative methods?

Thanks,

VV
Marin Bratanov
Telerik team
 answered on 31 Oct 2012
5 answers
168 views
I have created custom skin, based on "Sunset". Then I discovered, that my RadAjaxLoadingPanel disappeared, because there where no CSS class for it in new skin. I used Ajax.css from directory, where Telerik is installed. But I am not sure this file is good enough. And maybe something else is disappeared too. Is it possible to create Ajax.css (and maybe other missed files too) during skin creation? Is any solution for this problem exists? Regards. Michal.

Galin
Telerik team
 answered on 31 Oct 2012
7 answers
181 views
I am getting an error Rendering Control with ScriptManager.  I recently added Q1 2010 upgrade to my VS 2010.
I put the ScriptManager in a Master Page now when I open any other aspx page I get the following
[A]Telerik.Web.UI.RadScriptManager cannot be cast to [B] Telerik.Web.UI.RadScriptManager.  Type A originates from Telerik.Web.UI, Version 2010.1.309.20, .....at location <local machine path>\Project Assemblies\venh7src01\Telerik.Web.UI.dll.  Type B originates from Telerik.Web.UI, Version 2010.1.309.35, .....at location <local machine path>\Project Assemblies\b1r6yiza01\telerik.web.ui.dll

 If I open the master page then open the aspx page I don't get the error but when i open just the aspx page I get the error.
Ok so now I see what the problem is but how do I fix it?  How did I do this? TIA
Genady Sergeev
Telerik team
 answered on 31 Oct 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
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
Bronze
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?