Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
85 views
I'm dynamically creating a RadDock with a RadEditor as it's content.

When clicking on the image manager, it's rendering strangely in that I can only see part of the image manager, most of the control is not visible including the borders and buttons.

If I drop an editor that's not dynamically created on the same page.  The image manager shows up correctly, even when called from the dynamically created editor.

How can I correct this?
George
Telerik team
 answered on 06 Mar 2008
2 answers
114 views

Hi,

 I am evaluating the RADGrid.  I need to be able to pass the FILTERED results from the grid to another page. Is there a way to acces the FILTERED data in the Grid and save it into a session (or anything else) and read it on another page?

 Thanks,

Jakub

Sebastian
Telerik team
 answered on 06 Mar 2008
1 answer
104 views

Hello,

 I have a Prometheus grid with AutoGeneratedDeleteColumn and I am wondering if there is a direct way to attach rad window or alert popup on the delete button click event, so when a user clicks delete to get alert message.  

Thanks,
Ivo

Sebastian
Telerik team
 answered on 06 Mar 2008
0 answers
123 views

I have a treeview that shows nodes according to a users role.  if the user is not in the correct role I set visible = false on the node they should not see.  However if a node has several children and all children are set to visible = false, the actual rendered HTML still includes an empty <UL> where they would have been.  This causes a gap in the display.

I have come up with a workaround for anyone experiencing the same problem. You need to hook the treeview pre render as follows;

    protected void RadTreeView1_PreRender(object sender, EventArgs e)  
    {  
        // Note that although we set nodes that should not be displayed to visible = false 
        // Telerik still displays the <UL> for an empty section, we have to actually remove the nodes   
        // from the collection in order to display correctly.  
        // We use GetAllNodes for this as it returns every node in the tree and we count backwards  
        // so as not to upset the collection when items are removed.  
        for (int i = ((RadTreeView)sender).GetAllNodes().Count - 1; i >= 0 ; i--)  
        {  
            if (((RadTreeView)sender).GetAllNodes()[i].Visible == false)  
            {  
                ((RadTreeView)sender).GetAllNodes()[i].Remove();  
            }  
        }  
    } 

This removes the nodes from the collection and displays correctly.

Darren
Darren Hall
Top achievements
Rank 1
 asked on 06 Mar 2008
9 answers
300 views
Hello,

This is in regards to the latest change you have made to the editor that allowed it to enter a single directory by default in the file managers.

It does as advertised and opens the directory in my application but when I just choose "Upload" and upload an image it actually places it in the root of the web application and not in the folder it has opened by default.

If I instead click the item that allows me to navigate up a folder and then double click the folder to go back to where it put me by default and then upload an image it goes into the expected folder.

string

[] paths = new string[] {
    "~/Uploads/
};

radEditor.ImageManager.UploadPaths = paths;

radEditor.ImageManager.DeletePaths = paths;

radEditor.ImageManager.ViewPaths = paths;


So my question is what am I doing wrong?

Eirik
Top achievements
Rank 1
 answered on 06 Mar 2008
1 answer
146 views
Is there a better way to do this?

I have IconUrl="blank.gif" but it still keeps the 16x16 box spacing for the icon even though its "blank".  IconUrl="" leaves the default icon.

I want the text flush left and no icon for some windows.  Any ideas?
Georgi Tunev
Telerik team
 answered on 06 Mar 2008
1 answer
79 views
I get this error while refreshing the Scheduler from Resource View to any other view or within resource view while changing dates etc. I have my EnableViewState="false" for the scheduler.

And this error does not come up everytime. It comes randomly and don't know why? What properties should I set to prevent this error?

Could not find ResourceType selected for grouping. Please, check that the GroupBy attribute is properly set and a ResourceType with the same name exists.] Telerik.Web.UI.RadScheduler.get_GroupingResources() +637 Telerik.Web.UI.RadScheduler.get_ActiveView() +171 Telerik.Web.UI.RadScheduler.CreateChildControls(Boolean bindFromDataSource) +90 Telerik.Web.UI.RadScheduler.CreateChildControls() +9 System.Web.UI.Control.EnsureChildControls() +87 System.Web.UI.Control.FindControl(String id, Int32 pathOffset) +21 System.Web.UI.Control.FindControl(String id, Int32 pathOffset) +289 System.Web.UI.Control.FindControl(String id, Int32 pathOffset) +289 System.Web.UI.Control.FindControl(String id, Int32 pathOffset) +289 System.Web.UI.Page.FindControl(String id) +40 System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad) +654
T. Tsonev
Telerik team
 answered on 06 Mar 2008
1 answer
150 views
EDIT-- My bad.  I'd overridden the HtmlTextWriter method in base page class , to return a XHtmlTextWriter (recommended to fix a search-agent/url-rewriting problem), which was wrecking the rendering of the editors.
Never mind :-P


A bit embarrassing to ask.. but, how do you clear saved settings/config of the editor on client?

I presume it's stored in a cookie..  I've cleared cookies, (and cache/tem files) every which way I can, in IE and Firefox.  Both browsers continue to render the editor with previous settings; expanded size, to be exact. 
(IE7/FF on Vista)  Does editor store cookies somewhere else?

Also.. I don't see the "RadEditorGlobalSerializeCookie" property for the Prometheus editor.  Is there a like-setting?

Thanks
David
Rumen
Telerik team
 answered on 06 Mar 2008
0 answers
55 views

I am using Radscheduler for my webpart in MOSS2007.But height of item is not correct .EX : Appointment have
Start Time : 10 : 00 AM
End Time  : 10 : 00 PM
    When show this appointments in Radscheduler, End Time of this appointment view not correct. it stop at 9 : 00 PM. Thanks for reply :)

The
Top achievements
Rank 1
 asked on 06 Mar 2008
2 answers
189 views
Hello,
I'm using the prometheus radeditor and have created a custom dialog usercontrol to go with it which has been added to the toolbar.  The only problem is, I don't know how to go about applying my css (residing in external files) to this dialog since there's no <head> to put them in.  Any suggestions?
Thanks!
David
Recursor
Top achievements
Rank 1
 answered on 05 Mar 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?