Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
91 views
In IE 7 , the pop up window like the Image Manager, Media Manager are not show at the top of editor. It show at the bottom of the page.

But in firefox, it look ok. 
George
Telerik team
 answered on 24 Sep 2008
5 answers
140 views
I am working on a Sharepoint 2007 site which has the full  RadEditor for Sharepoint 5.1.0.0

When entering content and I hit <Return>, the radEditor inserts a <br /> instead of a <p> tag.
Is this possible to change and how would I do this?

A second question:
We have several RadEditor instances on the page and would like them to be different widths. How do i specify that the radEditor should use a different Config File? I presume it is the ConfigFile setting that specifies the width of the Editor?

thanks.

George
Telerik team
 answered on 24 Sep 2008
2 answers
115 views

I am trying to open up a RADWindow prompt from inside of a RADWindow modal, but it comes up behind the modal and can't be accessed.  I am using the following javascript code to open the prompt:

    <script type="text/javascript" language="javascript">  
        function GetRadWindow()  
        {  
         var oWindow = null;  
         if (window.radWindow)  
            oWindow = window.radWindow;       
         else if (window.frameElement.radWindow)  
           oWindow = window.frameElement.radWindow;     
         return oWindow;  
        }  
    </script> 

  GetRadWindow().BrowserWindow.radprompt(
'prompt', callBackfnc, 250, 100, null,'Title''defValue'); 

How can I make the model the owner of the prompt so that it appears over it?


Thanks,
--Richard

RDavis
Top achievements
Rank 1
 answered on 24 Sep 2008
2 answers
212 views



Hi there,

On a radGrid, I am getting an exception message that says Object must implement IConvertible! In(UserAccountGrid_ItemDeleted)When I try and delete an Item.

My rad grid has objectdatasource, It allows automaticdeletes but no autogenerated delete method rather I have my delete button made in a column.

I see this problem only when I add ID as my DataKeyName (DataKeyNames="ID,UName,DName") on the MasterTableView, My delete method works perfectly without the ID , Unfortunately I need ID for Other methods like “Replacing” an Item...

Now In my delete method I actually don’t need the ID. however It appears that If I have certain fields as datakeynames, my objectdatasource method has to implement those fields. for example If I had ColumnID as

my dataKeyName, My update delete, insert , select methods need to accept it as their parameter. It actually throws an exception saying so if they don't.

So I ended up just implementing it (faking it).

So my question is, IS this a known telerik issue?

Is there a different way to get the ID without making it my datakeyName?

Sintayehu
Top achievements
Rank 1
 answered on 24 Sep 2008
1 answer
156 views
My web page has several text boxes and combo boxes, all using the web20 skin.

Why is the font in the combo box much bigger than the fonts used in the text boxes ?
The actual height of the combo is also a lot bigger that a textbox, which looks very odd when the page is run.

Do I have to manually set the combo box font and height everytime I add one to a page so that it matches the default setting for the textboxes ?
Yana
Telerik team
 answered on 24 Sep 2008
7 answers
516 views
Hi,
    I am using a Telerik radgrid for asp.net ajax in a ascx page.I have register a JS function in the page load of the ascx where in i am not able to find the Master TableView of the radgrid in the function .The code in the JS function is as below .
 var radgrid = <%=radGrid1.ClientID%>;
i am not able to get the master table view for the radgrid. i even tried $get("<%=radGrid1.ClientID%>") but in vain.

Can anyone let me know the fix for the above issue.

Thanks,
Avik.
david
Top achievements
Rank 1
 answered on 24 Sep 2008
6 answers
271 views
Hi,

I'm trying to do something I thought would be quite simple and obvious, but it is turning out to be a bit more convoluted than I had initially anticipated.

I have a panel bar and I only want one group expanded at a time. Easy of course with:

ExpandMode="SingleExpandedItem" 

Now the bit where it has all got a bit more complicated than I think it should be, or am I doing something daft... I have two levels beneath the group level, so essentially three levels in total. I want to be able to expand and collapse the middle level in the same way the group level item functions. Now, I've read you can't do this with the SingleExpandedItem ExpandMode, so I have went client side as an article quoted as a work around for this issue on the old panelbar.

OnClientItemClicking="CollapseItem" 

<script type="text/javascript"
    function CollapseItem(sender, eventArgs) { 
        var item = eventArgs.get_item(); 
 
        if (item.get_expanded() == true) { 
            item.collapse(); 
            return false; 
        } 
    } 
</script>  

This appears to stop any level item collapsing, which confuses me! Have I got my logic in a twist or is there an easier way to achieve this that I have overlooked?

Edit: I tried replacing item.collapse() with item.disable() and this appears to work which indicates to me that the item.collapse() method is broken.





Paul
Telerik team
 answered on 24 Sep 2008
6 answers
168 views
Hi,
Couple of questions..

Within my calendar i am displaying 2 types of appt.
I need to change the appearance of these 2 types.

It is easy to change backcolor, forecolor etc, however..
when i change the backcolor, there is still a thin "title bar" visible. I want the appt block to be fully filled with my colour. (only want this for 1 of the appt types!)

Also, is it possible to display an icon in the appt (within the calendar view) similar to the recurrance icon, but my own icon ?
(Not within the appt edit window, but the actual calendar view of the appt)

Many Thanks
Mark :-)
Peter
Telerik team
 answered on 24 Sep 2008
1 answer
68 views
1) The documentation for RadDock client object specifies thet get_width returns an integer. This is not quite true as it returns a string width 'px' at the back. Would be nice if it would return an int.

2) Is there a way to add floating RadDocks to a page without involving a RadDockZone? What I do now is that I do a dock followed by a undock in order to display the floating RadDock. Is there a way to simply display these docks without docking them first. I tried set_visible, but that didn't do anything.

ScriptManager.RegisterStartupScript( 
        dock, 
        this.GetType(), 
        "AddDock"
        string.Format(@"function _addDock() {{
                                                Sys.Application.remove_load(_addDock);
                                                $find('{1}').dock($find('{0}'));
                                                $find('{0}').undock();
                                                $find('{0}').doPostBack('DockPositionChanged'); per = 1; dockids[dockids.length] = $find('{0}');
                                            }};
                                            Sys.Application.add_load(_addDock);", dock.ClientID, dockZone1.ClientID), 
        true); 

Sophy
Telerik team
 answered on 24 Sep 2008
1 answer
125 views
Hello

Is it possible to drag an object from a radgrid to a specific appointment in the scheduler. We are working on a shift schedule where we want to drag som staff to an specific appointment in the schedule?

/Anders Spetz
Simon
Telerik team
 answered on 24 Sep 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?