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

I'm using the HTMLCharts for the first time and it looks quite nice. Thanks for your work!

But after playing around a little bit I found that the functionality of the labels is quite limited. For a customer we had to generate a pie-chart with currently 17 elements (going to grow). Now, there are tow issues with that:

  1. Without definig the colors of each element explicitly there are elements sharing the same color.
  2. the labels of the elements show only the numeric value (OK with some formatting, but still only the numeric value)

Now, the second point is a real problem, as the graphic should not only show the value/percentage but also the name of the element. In fact, the chart should show the percentage of each customer on the company's turnaround. Imagine 20-30 customers... you just cannot tell them apart in the graphics. It would be nice if you could customize the label of each element...

Or, maybe I'm completely wrong and this can be done already. If so, I'd be happy to get to know how.


Regards,
Andy
Svetlina Anati
Telerik team
 answered on 17 Jul 2012
1 answer
74 views
Hi all,

I have a radgird. When I sort the grid, I need to change the default back color. How can I do this? Please provide some suggestions.

Thanks in advance
Shinu
Top achievements
Rank 2
 answered on 17 Jul 2012
2 answers
62 views
Hi all,

In radgrid,how to change the icon of filter button? Please help.

Thanks in advance.
Janaki
Top achievements
Rank 1
 answered on 17 Jul 2012
5 answers
437 views
Hello,

I am using a Rad Grid control inside of a Rad Pane, Static Headers and Scrolling are enabled. I want it to resize with the rest of the browser window, but unfortunately it only uses about 10% of the Pane when I set any non-static height (it doesn't change anything if I use 10% or 100%). I have tried using the code found under the following URL:
http://www.telerik.com/community/code-library/aspnet-ajax/grid/setting-100-height-and-resize-on-container-resize-for-grid-with-scrolling-and-static-headers.aspx
as suggested in various threads regarding this topic, but it only makes my Grid too high when the page is first loaded (scroll-bar disappears at the end of the page when scrolling), and resizes it to use, again, about 10% of the overall site once the browser-window is resized.
Is there a possible solution for this?

Thanks in advance,
Robin
Galin
Telerik team
 answered on 17 Jul 2012
1 answer
86 views
Hi, I've installed the control panel, but it's not appearing in Start-Programs or the desktop, not even in add/remove software. So how can I make a shortcut to the desktop then?

Also, some other posts mentioned about company wide installation which is also good to have.
In addition, a version selector for control panel will be great to have feature, as the project may not be always with the latest version or found problem with the latest version and revert back.
Missing User
 answered on 17 Jul 2012
5 answers
318 views
I'm posting this to see if anyone has accomplished this.  I have been trying for a couple of days and am ready to give up.
I have a RadFileExplorer and have added a custom context menu item called Download.  This button action will Download a file or folder from the server to the client computer.  If the download is a folder I zip up the contents of that folder first and then present the download using Response.TransmitFile.  Pretty straight forward.  The problem comes that when you select a folder that is large the zip process may take a while.  I want to notify the client of the progress.  I am already using the RadProgressArea for the Upload control of the RadFileExplorer so I have AllowCustomProgress set to false in the web.config so that it won't show up when selecting the Download. 

Below is my code for the download click client event:

 

function extendedFileExplorer_onGridContextItemClicked(oGridMenu, args) {

 

 

var menuItemText = args.get_item().get_text();

 

switch (menuItemText) {

 

case "Download":

extendedFileExplorer_sendItemsPathsToServer();

 

break;

 

case "Share":

 

var fExplorer = $find("<%= RadFileExplorer1.ClientID %>");

 

var item = fExplorer.get_selectedItem();

 

var owindow = window.radopen("ShareResource.aspx?path=" + item.get_path(), "ShareResourceWindow");

 

return false;

 

break;

}

}

 

function extendedFileExplorer_sendItemsPathsToServer() {

 

var oExplorer = $find("<%= RadFileExplorer1.ClientID %>"); // Find the RadFileExplorer ;

 

var selectedItems = oExplorer.get_selectedItems(); // Retrieve the selected items ;

 

var selectedItemsPaths = extendedFileExplorer_combinePathsInAString(selectedItems); // Get the paths as a string in specific format ;

 

var hiddenField = $get("<%= ctlHiddenField.ClientID %>"); // Find the hiddenField

hiddenField.value = selectedItemsPaths;

__doPostBack(

 

"<%= btnDownload.UniqueID %>", ""); // Call the 'btnDownload_Click' function on the server ;

}

 

function extendedFileExplorer_combinePathsInAString(arrayOfSelectedItems) {

 

var itemPaths = new Array();

 

for (var i = 0; i < arrayOfSelectedItems.length; i++) {

 

// Pass all the selected paths ;

itemPaths.push(arrayOfSelectedItems[i].get_path());

}

 

// Return a string that contains the paths ;

 

return itemPaths.join("|");

}


So this fires off the btnDownload button click event on the server.  From there I am using the DotNetZip library which has tons of progress feedback events that I can access.  So I need to notify the client of some of those events like which file is compressing and total percentage completed.  Has anyone ever tried something like this and made it work?

Thanks,
Adam
Dobromir
Telerik team
 answered on 17 Jul 2012
1 answer
97 views
I have a page with a grid and when the datasource the grid is bound to has no rows, when the grid displays the filter boxes are not displayed.  A checkbox on the page where the grid is displayed can be checked by the user which then creates a new datasource that does have rows based on a different search criteria and the grid redisplays but the filter boxes are not shown and thus the grid rows cannot be filtered.  Is there a way to force the display of the filter boxes after the datasource is refreshed?
Shinu
Top achievements
Rank 2
 answered on 17 Jul 2012
1 answer
127 views
I have a RadDateTimePicker which in edit mode you may want to set text to nothing e.g. select the date string and press delete button on your keyboard. However the date is still present so i can't find out if user has deleted the text or not. How do i do that?

Basically i need to find out if RadDateTimePicker.Text = String.Empty and set the SqlParameter value to DbNull.Value

Thank you so much
Shinu
Top achievements
Rank 2
 answered on 17 Jul 2012
2 answers
75 views
I have an issue with formviews being nested inside the templatecolumn of a radGrid and the whole thing is wrapped in an updatepanel.
A dropdown list refreshes data inside the template columns on index changed, and performs a databind on each formview found in each row.
If the dataitemcount of the formview is 0 it goes to insert which works fine.

The problem is when changing the mode to insert on the formview, it will NOT go back to readonly mode even when there is data.  I'm getting double ups in the database from users thinking there's no data.  I'm getting no errors reported by the system.  It just won't pick up the dataitemcount going to 1.
I can force it to readonly in the script, but I can't get it to changemode using dataitemcount any more.

I'm doing the formview refresh using the following code contained in a dropdown_selectedindexchanged function.

        foreach (GridDataItem ri in RadGrid1.Items)
        {
            Label Label1 = (Label)ri.FindControl("Label1");
            Label1.Text = DropDownList2.SelectedItem.Text;
            FormView fw1 = (FormView)ri.FindControl("fw1");
            fw1.DataBind();

            if (fw1.DataItemCount> 0)
            {
                
            }
            else
            {
                fw1.ChangeMode(FormViewMode.Insert);
            }

UpdatePanel1.update();
}


any ideas how I can get it to change back??
Morgan
Top achievements
Rank 2
 answered on 17 Jul 2012
2 answers
429 views
I have a client asking to have an Export Excel button appear outside of the RadGrid. Is it possible in this scenerio for the button to call the RadGrid's built-in functionality of exporting to Excel? If so, how can I achieve this?

Thanks,

-Scott
Scott
Top achievements
Rank 1
 answered on 16 Jul 2012
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?