Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
99 views
When imageManager is opened from the editor and I then click the Edit Image the ImageEditor opens behind the Manager.  This issue just cropped up in the last few days.  The only z-indexes that I've overridden are the radmenu and radcombo.

Attached is a screen shot.

I am using the external dialog directory because of this issue ( http://www.telerik.com/community/forums/aspnet-ajax/image-editor/can-t-save-the-edited-image.aspx ) 

Andy
Rumen
Telerik team
 answered on 24 Jan 2013
1 answer
177 views
Hi !!

I am using RadEditor in which I have facilitated user to set background image of editor using page properties dialog box. Now the issue is I have to set an ImageManager which opens on clicking browse button of Page Properties as shown in attached image and then user is asked to either select the image from existing ones or upload his own. I don't want to show user which images are already exists in server. I just want when user clicks browse button, he should be able to select the image from his local machine and then the selected image will be set as background image of the RadEditor.

Is there any way to implement this? Awaiting for your valuable response..

Thank you,
Dev
Rumen
Telerik team
 answered on 24 Jan 2013
8 answers
280 views
Hi,

I have two issues:

I have a RadTreeview in which all nodes are loaded on deman using ExpandMode=Webservice. THis works well. ALso, when a Node is clicked, information is loaded to the content pane using an ajax request. 

Question 1: I want to implement single click expand for treenodes. I tried to achieve this using node.toggle() in the OnClientNodeClicked eventhandler of the treeview but it both expands and collapses again (probably interferring with the loadondemand stuff). How can I solve this? It works when the nodes children has already been loaded. It works when I remove the ajaxrequest in the end of the "OnClientNodeClicked" function...So it has to have something to do with updating the controls in the content pane. All controls are in the same RadAjaxPanel.

QUestion 2: WHen I have updated data in the content pane I press "Save" and perform post-back. In that postback (in a UserControl) I trigger an Event which the treeview pane receives. I updated the "SelectedNode.Text" value serverside and this works. Since it is possible that the selected nodes children have been modified I also need to refresh the child nodes. I tried to achieve this using serverside collapse and expand in the same method as in which I change the displaytext of the node but it does not work.The expanded=false works, it collapses the node, but expanded=true does not expand it...

Please help

Martin
Martin
Top achievements
Rank 1
 answered on 24 Jan 2013
1 answer
116 views
Found a quirk in MakeUrlsAbsolute. A malformed link can create an error ("Error while execting MakeUrlsAbsolute...")

A customer tried to create an email link, but formatted it incorrectly. Paste the following into html view on your editor demo, then switch to design mode and back to html view to trigger the error

<a href="http://www.somebody@test.com/">Somebody</a>
Rumen
Telerik team
 answered on 24 Jan 2013
1 answer
63 views
Hi i am using telerik rad ListBox ,everything working fine but in my case a person can select different no of item ,so the value based on the role of user.
so i just want to know that how can i restrict a user to add more than 'X' items from list.
(Example if user="Admin" maximum no ="4";) 
Thanks in advance

code is as 

<telerik:RadListBox runat="server" ID="rlbSourceWeeklyOff" Height="200px" Width="200px"
                                    AllowTransfer="true" TransferToID="rlbDestinationWeeklyOff" >
                                </telerik:RadListBox>
                                <telerik:RadListBox runat="server" ID="rlbDestinationWeeklyOff" Height="200px" Width="200px">
                                </telerik:RadListBox>
Peter Filipov
Telerik team
 answered on 24 Jan 2013
4 answers
114 views
I'm using  AsyncUpload drag and support functionality and came across a problem when using it. When the files get dragged to a location on the browser, I notice that the file name is different on temp folder location. For example, I have a file named "web logo.jpg". When it is uploaded, the file name becomes "1358784600604web logo.jpg". However, when I retrieve the file name in the code behind, it is correct.

Do you have any idea why this is happening?

Thanks..
Emrah
Top achievements
Rank 1
 answered on 24 Jan 2013
5 answers
628 views
Hi,

I am currently in the process of migrating a GridView to RadGrid. However, I seem to have hit a roadblock with this specific requirement.

Basically, the grid I am working with is actually an editor for the drop down list items for other pages in the site. One of the columns in this grid is, a radio button to specify whether this value should be the default option. i.e., When the <select> element is rendered, whether this row should have it's "selected" attribute set.

As you can figure out, only one row can have this set to true. So, whenever a radio button in this column is checked, the radio buttons in all the other rows need to get unchecked.

In GridView, we have implemented a custom class which inherits from BoundField to get this behavior. But, I can't add this column to RadGrid's columns collection :(
Vladimir Iliev
Telerik team
 answered on 24 Jan 2013
3 answers
1.0K+ views

Can you tell me how I can hide the First, Previous, Next, and Last pager buttons in a radgrid?

I am able to hide the Page Size related controls in the code behind by using this code:
            Label changePageSizeLabel = (Label)e.Item.FindControl("ChangePageSizeLabel");
            changePageSizeLabel.Visible = false;
            Button changePageSizeLinkButton = (Button)e.Item.FindControl("ChangePageSizeLinkButton");
            changePageSizeLinkButton.Visible = false;
            RadNumericTextBox changePageSizeText = (RadNumericTextBox)e.Item.FindControl("ChangePageSizeTextBox");
            changePageSizeText.Visible = false;

And I am able to hide the text that displays next to those buttons in the markup by using this code:
<PagerStyle Mode="NextPrevNumericAndAdvanced" CssClass="quotePager" Position="TopAndBottom"  HorizontalAlign="Center" 
                        FirstPageText="" PrevPageText="" NextPageText="" LastPageText="" />

But I cannot figure out how to hide the buttons mentioned above?
Is there an ID I can use for each of them to find them and set them to visible=false in the code-behind?
Is there an attribute I can use for each of them to set them in the pagerstyle element in the markup?
Thank you
Bill
Top achievements
Rank 1
 answered on 24 Jan 2013
1 answer
55 views
Hello,
I have added an Recurrence Editor in a RadDock. When I load the page at first, IE-9 goes to 'compatibility view'. When my RadDock is loaded, some text boxes in the recurrence editor looks like as shown in the attachment. Please note that I have a limitation, where I cant change the 'browser mode' of IE-9. If there are CSS which can fix this issue it will be very helpful. 
*This is a SharePoint project.
Plamen
Telerik team
 answered on 24 Jan 2013
3 answers
885 views
I want to be able to set an item to a currency or date format depending upon its name.

Something like the following, but for the ItemDataBound event, not the ColumnCreated event.

How would I be able to accomplish that?
protected void RadGrid1_ColumnCreated(object sender, Telerik.Web.UI.GridColumnCreatedEventArgs e)
    {
        if (e.Column is GridBoundColumn && (e.Column as GridBoundColumn).DataField == "Sales")
        {
            (e.Column as GridBoundColumn).DataFormatString = "{0:C}";
        }
    }
Bill
Top achievements
Rank 2
 answered on 24 Jan 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?