Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
32 views
Hi

We have MOSSEditor Webparts deployed in our MOSS environment. We have a need to programtically read the contents of all the MOSSRadEditors on the site. Please guide me on how to do that.

Thanks.
smitha
Top achievements
Rank 1
 asked on 24 Apr 2014
5 answers
376 views
Hello 

I'm currently working on a project that includes RadMenu. 
The functionality that I want is this: 

Only when I click on the item it will open and not by mouse hover. (Each tab separately). 

My ASPX code: 


01.<telerik:RadMenu ID="RadMenu1" Runat="server" ClickToOpen="True" OnClientMouseOver="OnClientMouseOverHandler" style="top: 0px; left: 0px; width: 414px; height: 40px">
02.                       <Items>
03.                           <telerik:RadMenuItem runat="server" Text="Root RadMenuItem1">
04.                               <ContentTemplate>
05.                                   <div id="NewsWrapper" class="Wrapper">
06.                                       sdfsdfsdfs
07. 
08.                                         <a class="moreLink" href="#">View all »</a>
09.                                   </div>
10.                               </ContentTemplate>
11.                           </telerik:RadMenuItem>
12.                           <telerik:RadMenuItem runat="server" Text="Root RadMenuItem2">
13.                              <ContentTemplate>
14.                                   <div id="Div1" class="Wrapper">
15.                                       sdfsdfsdfs
16. 
17.                                         <a class="moreLink" href="#">View all »</a>
18.                                   </div>
19.                               </ContentTemplate>
20.                           </telerik:RadMenuItem>
21.                           <telerik:RadMenuItem runat="server" Text="Root RadMenuItem3">
22.                              <ContentTemplate>
23.                                   <div id="Div2" class="Wrapper">
24.                                       sdfsdfsdfs
25. 
26.                                         <a class="moreLink" href="#">View all »</a>
27.                                   </div>
28.                               </ContentTemplate>
29.                           </telerik:RadMenuItem>
30.                       </Items>
31.                   </telerik:RadMenu>

JS code:

01.<script type="text/javascript">
02.       function OnClientMouseOverHandler(sender, eventArgs) {
03.           if (eventArgs.get_item().get_parent() == sender) {
04.               sender.set_clicked(false);
05.           }
06.       }
07. 
08.        
09.   </script>


My problem is that when one item is already opened, and I move the mouse away and back , and then click on it, it does not recognize that it is already opened, and opens again. 

How do I fix this? 

Pseudo code  like this: 
if radmenuitem.isOpen == true 
       radmenuitem.close


Thanks,

Daniel.
Boyan Dimitrov
Telerik team
 answered on 24 Apr 2014
1 answer
91 views
If you have a linked image in the editor and you replace the image by clicking it to select it, opening the image manager, and inserting a new image, the link is deleted. I am pretty sure that links used to be preserved when images are replaced. i remember instructing people on how to do this regularly in templates so they did not have to recreate all the links when updating their images.

We are experiencing this issue in version: 2014.1.403.40, but as you can see the issue is reproducible in your demo site as well. 

I've recorded a video using your demo site that demonstrates how to recreate this issue.

https://www.youtube.com/watch?v=PO9SMLFCVkc

Please let me know how we can correct this, or if it's a bug when it will be fixed.

-Mark
Ianko
Telerik team
 answered on 24 Apr 2014
1 answer
271 views
I have a home.aspx file which has a button. when click on this button i would like to do do a modal popup to call login.ascx (user control). i want to make this modal avaiable no matter what page you are on. So if you get timedout, the modal will popup at your current page and ask you to log back in again. so my structural is
primary master - child master - home - user control

i tried to look for a way to do this in telerik modalpopup but haven't found any. Do you guys have any sample like this? Thanks
Danail Vasilev
Telerik team
 answered on 24 Apr 2014
2 answers
119 views
Does Telerik have any thoughts/plans on introducing a Diagram control? I would love to abandon my diagram control that cost a fortune (and can't afford anymore) in favour of something from Telerik.
Rumen
Telerik team
 answered on 24 Apr 2014
5 answers
167 views
Is it possible to have more than one background color in a radgrid cell? - i.e. can the cell painting method be overridden?

The colors that might need to be used and the percentage of the cell width that each color would occupy would vary from cell to cell, so I can't use CSS to control it.

Thanks
Shinu
Top achievements
Rank 2
 answered on 24 Apr 2014
9 answers
59 views
Hi,

I want to customize filter-menu according to column.
there are 4 columns in my rad-grid and all that columns contains filter-menu , I want to customise all of them filter-menu.

issue is when i customize first column(filter-menu) using unique-id of column , changes apply to all filter-menu on rad-grid.
another issue is when i put customize code for more than one column, filter-menu drop-down stops working.

following code i used.....


    protected void RadGridUserActionLog_Init(object sender, System.EventArgs e)
        {
            foreach (GridColumn column in RadGridUserActionLog.Columns)
            {             
                if (column.UniqueName == "Date")
                {
                    GridFilterMenu menu = RadGridUserActionLog.FilterMenu;
                    int i = 0;

                    while (i < menu.Items.Count)
                    {
                        if (menu.Items[i].Text == "IsNull" || menu.Items[i].Text == "NotIsNull")
                        {
                            i++;
                        }
                        else
                        {
                            menu.Items.RemoveAt(i);
                        }
                    }                    
                }
                              

                if (column.UniqueName == "Username")
                {
                    GridFilterMenu defaultmenu = RadGridUserActionLog.FilterMenu;
                    int i = 0;

                    while (i < defaultmenu.Items.Count)
                    {
                        if (defaultmenu.Items[i].Text == "NoFilter" || defaultmenu.Items[i].Text == "EqualTo" || defaultmenu.Items[i].Text == "NotEqualTo" || defaultmenu.Items[i].Text == "GreaterThan" || defaultmenu.Items[i].Text == "LessThan" || defaultmenu.Items[i].Text == "GreaterThanOrEqualTo" || defaultmenu.Items[i].Text == "LessThanOrEqualTo")
                        {
                            i++;
                        }
                        else
                        {
                            defaultmenu.Items.RemoveAt(i);
                            
                        }
                        RadGridUserActionLog.FilterMenu.DataBind();
                    }
                }
             }          
        }

Pradip
Top achievements
Rank 1
 answered on 24 Apr 2014
1 answer
73 views
Hello,

Is there any way to set the default behavior for reloading the editor dialogs?
I know that you can set the "ReloadOnShow" property for the "DialogDefinition" class but i cant find a way to set it for the editor dialogs.

Thank you
Ianko
Telerik team
 answered on 24 Apr 2014
1 answer
185 views
Hi,
Anybody can help me how to make drag and drop cell inside grid view? I would like to publish my sample code. I appricate any help or any tutorial.

Script.
function AssignDragandDrop() {
                $telerik.$('.RmEmtpyRoom').each(function () {
                    $telerik.$(this).droppable({ drop: celldrop });
                });
                $telerik.$('.RmReservation').each(function () {
                    $telerik.$(this).draggable({ helper: 'clone' });
                });
            }
            function celldrop(e, a) {
                //var oWnd = radopen(null, "winMove");
                var targetCell = $telerik.$(this);
                var targetCellIndex = targetCell.context.cellIndex;
                var targetRow = targetCell.context.parentElement;
                var targetRowIndex = targetRow.rowIndex;
                var newdate = $find('<%=grdAvailability.ClientID%>').MasterTableView.get_columns()[targetCellIndex].get_uniqueName();
                var roomkey = $find('<%=grdAvailability.ClientID%>').MasterTableView.get_dataItems()[targetRowIndex].getDataKeyValue("RoomKey");
                var reservationkey = a.draggable.context.id.split('_')[1];
                var url = '../Reservation/Update/NewMoveReservation.aspx?RK=' + reservationkey + '&D=' + newdate + '&R=' + roomkey;

                ShowRadWindow('Move Reservation', url, 650, 650);
                //var oWnd = radopen('../Reservation/Update/NewMoveReservation.aspx?RK=' + reservationkey + '&D=' + newdate + '&R=' + roomkey, "winMove");

                //var oWnd = radopen('../Reservation/Test.aspx?RK=' + reservationkey + '&D=' + newdate + '&R=' + roomkey, "winMove");
            }
Viktor Tachev
Telerik team
 answered on 24 Apr 2014
4 answers
148 views
Hello,
I have a dropdown that contains time zones. I would like change the time zone of the radscheduler client side without doing a post back. Is this possible?

Thanks,
Ron
Plamen
Telerik team
 answered on 24 Apr 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
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
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?