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

Both RadTextBox and RadDatePicker cannot be focused in FireFox when they are placed in a DIV which scrolls with JQuery JScrollPane.

Any suggestions?

BR, Marc
Antonio Stoilkov
Telerik team
 answered on 17 Jul 2012
0 answers
131 views
Hi Team,

I have an ajaxified page.

I am opening a pop up from the repeater (from a link in repeater).

In the popup I have one more repeater control. I have a link button in the repeater. When clicked on the button another pop up opens.

We can add some data and close the two popups and return to the parent page.

Now when I try to navigate away from the page by clicking a button, I am getting the error "Microsoft JScript runtime error: 'length' is null or not an object".

When I debug the javascript, I was taken to WebResource.axd file and showing the error as shown in the attachment.

This is happening only in IE and not in Chrome and Firefox.

Any one have solution?

Regards
Srinivas
Sri
Top achievements
Rank 1
 asked on 17 Jul 2012
3 answers
108 views
I have radupload it opens a dialog box to upload the file, file is seleted but it never uploads and attaches on the submital ..

code below..

<label for="resume">Upload Resume</label><BR>  <div 
class="clear" style="height: 8px"></div><BR>  <a href="#" 
id="upload">Select a PDF</a><span 
id="filename"></span><BR>        
<asp:FileUpload ID="FileRadUpload" runat="server" accept="application/pdf" 
style="visibility:hidden;height:0;"  
/><BR>        <asp:CustomValidator 
ID="Customvalidator1" runat="server" Display="Dynamic" 
ValidationGroup="Validate"<BR>            
ControlToValidate="FileRadUpload" 
ClientValidationFunction="validateRadUpload"<BR>            
CssClass="errormessage" 
SetFocusOnError="true"><BR>                
<span class="errormessage">Only PDF extension are 
allowed</span><BR>        
</asp:CustomValidator>  <BR>  <div 
class="clear"></div><BR> </div><!--/field--> <BR> <div 
class="field"><BR>  <label for="position">Desired 
Position:</label><BR>  <telerik:RadTextBox 
ID="PositionRadTextBox" runat="server" EmptyMessage="" TextMode="SingleLine" 
CssClass="gray-02"></telerik:RadTextBox><BR>        
<asp:RequiredFieldValidator ID="PositionRequiredfieldvalidator" 
runat="server" Display="Dynamic" CssClass="errormessage" 
ValidationGroup="ContactGroup" ControlToValidate="PositionRadTextBox" 
ErrorMessage="Enter 
position"></asp:RequiredFieldValidator> <BR> </div><BR> <div 
class="field"><BR>  <asp:Button ID="submit" runat="server" 
CssClass="submit" Text="Submit" OnClick="SubmitButton_Click" 
ValidationGroup="ContactGroup" /><BR> </div><BR>
Peter Filipov
Telerik team
 answered on 17 Jul 2012
1 answer
164 views
Hi all,

    I have a RadListBox, in that I need to access the  label control. Also I need to hide the same in a button click.How can I do this?

Please find the code

    <telerik:RadListBox runat="server" ID="RadList_1" Height="150px" Width="180px" CheckBoxes="true"
           ButtonSettings-ShowTransferAll="true" onitemdatabound="RadList_1_ItemDataBound">
                       <ItemTemplate>
                           <asp:Label ID="lblTest" runat="server" Text="Test"></asp:Label>
                       </ItemTemplate>                    
                   </telerik:RadListBox>


Thanks in advance.
Princy
Top achievements
Rank 2
 answered on 17 Jul 2012
1 answer
114 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
66 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
59 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
425 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
81 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
291 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
Narrow your results
Selected tags
Tags
+124 more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
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
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?