Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
111 views

I have a number of RdToolTips within 2 RadListView's on a page.

When i drag one element from one RadListView to the other RadListView the RadToolTips keep showing up on mouse hover (as expected on hover).

How can i in Javascript disable all the RadToolTips on the page when OnItemDragStarted client event for RadListView. Thus stopping the RadToolTips from showing up upon hover only when im dragging an element from one RadListView to another.

Any help would be greatly apreciated.

Svetlina Anati
Telerik team
 answered on 23 Feb 2012
7 answers
212 views
I'm binding a rad grid with a sql data source and it's working fine except for my gridcheckbox column. What type does the db column have to be for it to bind automatically. I've tried bit, and nvarchar with true/false?
Casey
Top achievements
Rank 1
 answered on 23 Feb 2012
1 answer
108 views
I'm taking a list of directions and merging it with another list of directions and adding those directions to a panel bar to step through them using a Previous Next button.

the first set of directions are built Client side, the second set comes from the server. The are merged client side.

the Server side directions start out in the panel bar.

the I take the directions out of the panel bar, Clear the panel bar, Build the Client Side Directions into an array, then take the Server side directions and add them to the array, iterate over the array and add each item(step) back to the panel bar.

At this point, The Server side directions are Disabled, i can't focus on them, i can click on them and get the expected outcome other than the highlight, and list position state persistance. (if the list is large the focus doesn't bring the list into view)

I've traced it back to clearing the panel Bar, if I don't clear it.. all the items work as expected. when I clear the panel bar I get the disabled Panel Bar items.

is there a better way to do this?


Peter
Telerik team
 answered on 23 Feb 2012
1 answer
416 views

I have a RadGrid that needs to have dynamic DataSource. The grid will have an A to Z index, where only names started by selected alphabeth is displayed.

When the grid is first loaded, the datasource is by default:

<asp:LinqDataSource ID="ldsMember" ContextTypeName="RedBuckDataContext" TableName="RB_Members" OrderBy="FIFOType" runat="server" />

It loads fine, I can edit, insert and delete columns with no problems.

When an A-Z linkbutton is clicked, the grid's datasource is changed:

                using (RedBuckDataContext rbdc = new RedBuckDataContext())
                {
                    var member = (from m in rbdc.RB_Members
                                  where m.Name.StartsWith(lbAlp.CommandArgument)
                                  select m);

                    rgMember.DataSource = member.ToList();
                }

        rgMember.DataSourceID = null;
        rgMember.DataBind();

The grid displays only data starated with the selected alphabeth, which is good!

The problem is, when I click "Edit" to modify the data, the grid does not display anything. The rows displayed were gone. It is like the datasource has been resetted.

Can anyone please help me on this?

Cheers,

Andry

Tsvetina
Telerik team
 answered on 23 Feb 2012
4 answers
114 views
Hi,

I would like to know if pagination of long magazine articles is possible in RAD editor. Where pages splits it coud say "Read Netx>>>"
Thank you,
-khan
Rumen
Telerik team
 answered on 23 Feb 2012
2 answers
209 views
Hi,

When I click a node in my treeview and if that node has NO child nodes, NodeClick event is firing.. Not sure why!!
Strange thing is when I copy exact same code to a newly created project, its working fine..


I am using .NET Framework3.5 with C#


Any ideas?
Silver
Top achievements
Rank 1
 answered on 23 Feb 2012
1 answer
72 views
Hi,

We have a user-selectable resolution drop down that ranges from 50-5 minutes. We are Rebinding to the scheduler per the documentation  - and all work fine except the 5 minute option.

When MinutesPerRow=5 and the user drags/drops a time slot, the mouse cursor and the time block are disconnected - a vertical offset between the two is seen, with over 200 pixels between them (I am on a big monitor), where the mouse cursor appears as a 4 way x, and the time slot in the drag operation is moving in unison with the mouse, but appears far above the cursor. We have activities where 5 minute time blocks are quite common - hoping there is a solution wherein we can make this work.
Peter
Telerik team
 answered on 23 Feb 2012
0 answers
105 views
Is it possible to have the RadDateTimePicker only display the time portion as needed? We have DateTimes which may or may not have a time portion. If no time portion is present, I'd like to not display the default time.

Also, when the user selects a date from the calendar, I'd like to not have the default time be displayed.

Finally, if the user is typing in a date and does not enter a time, I'd like to not have the default time be displayed; as well, if they start to type past a date, I'd like to allow the time portion to be entered.

For the first part, I've bee trying to do this by toggling the visibility of the TimeView (eg. RadDateTimePicker1.TimeView.Visibility = false ) in the code behind, but that doesn't seem to have any effect.
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
 asked on 23 Feb 2012
1 answer
118 views
Hi All,

I am using a fixed width RibbonBar in my application. Looks like setting the width of the RibbonBar causes it to show resize handle. I am looking for a way to hide the resize handle and to disable resizing functionality. Any help in this regard is highly appreciated. 

Thanks in advance,
Prasad 
Bozhidar
Telerik team
 answered on 23 Feb 2012
5 answers
133 views

I am using the version 2011.3.1305.35 of the RadGrid and experiencing some strange behavior when the grid is right clicked. Occasionally when a user right clicks the gird to bring up a context menu the row that was right clicked will be selected in addition to any rows that were previously selected. The other times it just displays the context menu without selecting the rows. It seems to be intermittent and I cannot consistently reproduce results. I do not want the additional rows to be selected. Is there any way to trap how a row became selected? The domEvent property of the onrowselecting event args does not look like it has what I need.

 
Here is how i have the grid configured and the code that displays the context menu:

<telerik:RadGrid ID="tGrid" runat="server" AllowPaging="True" AllowCustomPaging="true" PageSize="500"
                AllowSorting="True" AutoGenerateColumns="False" CellSpacing="0"
                OnNeedDataSource="tGrid_NeedDataSource" AllowMultiRowSelection="true"
 OnItemCreated="tGrid_ItemCreated" >
                <PagerStyle AlwaysVisible="True" Position="Top"/>
                
                <MasterTableView Width="100%" DataKeyNames="schedID" ClientDataKeyNames="schedID">
                    <CommandItemSettings ExportToPdfText="Export to PDF"></CommandItemSettings>
                    <RowIndicatorColumn Visible="True" FilterControlAltText="Filter RowIndicator column"></RowIndicatorColumn>                   
                    <ExpandCollapseColumn Visible="True" FilterControlAltText="Filter ExpandColumn column"></ExpandCollapseColumn>
                    <Columns>
                        ...
                    </Columns>
 
                    <EditFormSettings>
                        <EditColumn FilterControlAltText="Filter EditCommandColumn column">
                        </EditColumn>
                    </EditFormSettings>
                </MasterTableView>
                <ClientSettings EnableRowHoverStyle="true">
                    <Selecting AllowRowSelect="True" />
                    <ClientEvents OnGridCreated="GridCreated"
                                  OnRowContextMenu="RowContextMenu" OnRowDblClick="tGrid_RowDblClick" />
                    <Scrolling AllowScroll="true" UseStaticHeaders="true" />
                </ClientSettings>                          
                <FilterMenu EnableImageSprites="false"></FilterMenu>               
            </telerik:RadGrid>

 

function RowContextMenu(sender, eventArgs)
{
    var contextmenu = $find("<%=DisplayContextMenu.ClientID %>");
     
    //get_domEvent returns a reference to the DOM event that caused the clicking
    var domEvent = eventArgs.get_domEvent();
 
    //If we're in an input field or a link, just ignore this request for a context menu
    if (domEvent.target.tagName == "INPUT" || domEvent.target.tagName == "A")
        return;
                   
    contextmenu.show(domEvent);
     
    domEvent.cancelBubble = true;
    domEvent.returnValue = false;
 
    if (domEvent.stopPropagation)
    {
        domEvent.stopPropagation();
        domEvent.preventDefault();
    }
 
    if(sender.get_id() == "<%= tGrid.ClientID %>")
        rightClickedRowId = eventArgs.getDataKeyValue("schedID")                
}


Thanks Dave

Tsvetoslav
Telerik team
 answered on 23 Feb 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?