Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
223 views
How do I prevent disabled items from being transfered if the user chooses to "transfer all" items from one listbox to another. By the way, shouldn't this be the default behavior? Since disabled items cannot be selected and transferred individually, why should they be transferred if a user chooses to transfer all?
Albert Shenker
Top achievements
Rank 1
Veteran
Iron
 answered on 20 Oct 2009
1 answer
92 views
I assume you are familiar with Google Docs.  It's pretty nice, but I would like to see a but more, and you guys are just the geniuses to pull it off.

I've been considering some sort of document collaboration capability, and while users can download and edit files, I would like to see a document editor like a light version of Word that could be embedded in a web page, where users could then create a Doc or PDF file from that editor.

Is this something you all would consider?
Ivo
Telerik team
 answered on 20 Oct 2009
1 answer
71 views
Is it possible to simply load a usercontrol in a tooltip without using tooltipmanager? ie:
<rad:RadToolTip ID="radPreviousViewMainTT" runat="server" TargetControlID="lnkPreviousViewMain" 
                IsClientID="true" Sticky="true" Animation="none" Position="BottomCenter" RelativeTo="Element" 
                OffsetY="2" Height="400px" Width="300px" Skin="Default" Title="Previously Viewed Items" 
                ContentScrolling="Y" Style="z-index: -1;" AutoCloseDelay="10000" ManualClose="true"
                    <ucPviDdl:ucPreviousItems runat="server" ID="ucPVI" /> 
            </rad:RadToolTip> 
 
It seems the tooltip stops even appearing on hover once I did this.
Svetlina Anati
Telerik team
 answered on 20 Oct 2009
1 answer
182 views
I am having a radgrid with first column having "select" hyperlink. when I select a row, the corresponding details are displayed in a panel below which is hidden by default. The panel has whole lot of controls in it.

when I ajaxify the radgrid, and select a record, the panel is not getting displayed. I was able to raise a postback event and the debugger goes to the radgrid1_SelectedIndexChanged method where I display the panel. Everything is executed fine, but I dont see the panel and the controls. It must definetly because of ajaxpostback.

How can I solve this? below is the code I am using.

protected override void RaisePostBackEvent(IPostBackEventHandler source, string eventArgument)
{
 base
.RaisePostBackEvent(source, eventArgument);  

 
if (source == RadGrid1 && eventArgument.IndexOf("RowClicked") != -1)
 {
   GridDataItem item
= RadGrid1.Items[int.Parse(eventArgument.Split(':')[1])];
   Response
.Write(String.Format("CustomerID:{0}", item.GetDataKeyValue("CustomerID")));  
 }
}


the event is raised and the 

Protected

 

Sub radgrid1_SelectedIndexChanged (ByVal sender As Object, ByVal e As System.EventArgs)

 

 ''' display the controls and perform operations.
end sub.
Martin
Telerik team
 answered on 20 Oct 2009
3 answers
172 views
I am using the Telerik Grid with a filter template, which I used the following example to create.
http://demos.telerik.com/aspnet-ajax/grid/examples/programming/filtertemplate/defaultcs.aspx


Everything is working great with the filter except for one condition. There are times in my application where I would like a filter to be applied when the page loads. I tried to accomplish this with the following code.

 

        protected override void SetCurrentFilterValueToControl(TableCell cell)  
        {  
            if (!(this.CurrentFilterValue == ""))  
            {  
                RadComboBox rcBox = ((RadComboBox)cell.Controls[0]);  
                rcBox.Items.FindItemByText(this.CurrentFilterValue).Selected = true;  
 
                if (HttpContext.Current.Session["SelectedClassName"] != null)  
                {  
                    HttpContext.Current.Session.Remove("SelectedClassName");  
                    ((GridFilteringItem)(((RadComboBox)rcBox).Parent.Parent)).FireCommandEvent("Filter"new Pair("EqualTo"this.CurrentFilterValue));  
                }  
            }  
        } 

The CurrentFilterValue is set and the filter event is fired, but when the page loads I get an error right after the grid tries to databind which says "There was a problem extracting DataKeyValues from the DataSource. Please ensure that DataKeyNames are specified correctly and all fields specified exist in the DataSource." Is there a way to implement this functionality with filtering?

Pavlina
Telerik team
 answered on 20 Oct 2009
8 answers
243 views
Hi,

I'd just like to point out some presentation nastiness with RadListBox and multi-select.    Aside from the control hilighting the selected items, the browser is also highlighting item text which results in highlighting situations like the screen cap found at the link below:

http://www.marinko.ca/screencaps/CustomHilight.jpg

This is also an issue on your demo:
http://www.marinko.ca/screencaps/DemoHilight.jpg

Is there any way to prevent the browser from hilighting the item text above and beyond the control's own item highlight?
Riko
Top achievements
Rank 1
 answered on 20 Oct 2009
1 answer
102 views
I have a treeview that contains folders that can contain other folders and documents. The databinding is handled by a C# class that returns a dataview and it displays correctly. When I drag a folder or document to another folder, the source node appears after the destination node rather than beneath it. I need it to appear beneath. For example,

-Folder A
---Document X
-Folder B
---Folder C

When I drag X to B it winds up displaying like this:
-Folder A
-Folder B
---Folder C
-Document X

What I want is this:
-Folder A
-Folder B
---Folder C
---Document X

Here is my code:
        SourceNode.Owner.Nodes.Remove(SourceNode);  
        if (DestNode.Level == 0)  
        {  
            DestNode.Nodes.Insert(0, SourceNode);  
        }  
        else  
        {  
            switch (e.DropPosition)  
            {  
                case RadTreeViewDropPosition.Over:  
                case RadTreeViewDropPosition.Below:  
                    DestNode.InsertAfter(SourceNode);  
                    SourceNode.IsDescendantOf(DestNode);  
                    break;  
                case RadTreeViewDropPosition.Above:  
                    DestNode.InsertBefore(SourceNode);  
 
                    break;  
            }  
        }  
 

The line "SourceNode.IsDecendentOf(DestNode)" seems to have no effect.

Thanks for your help. YOu guys are awesome.
Yana
Telerik team
 answered on 20 Oct 2009
4 answers
114 views
Hi,

I am using Themes in my application. The Filter, Next, Previous, Move Last and Move First icons of Rad Grid shows border around these icons.

How to get rid of the border from these icons?

Thanks,
Pal
Tapinder
Top achievements
Rank 1
 answered on 20 Oct 2009
7 answers
160 views
We are using the TreeView control(ASP.NET AJAX Controls ver 2008.2 1001) in a interface that allows the user to drag and drop a link listed in a tree view on the left ( Available Links) to a tree view on the right (Goup Structure); illustrated in the attached screenshot.

If the user drag and drops the selected link i.e "05 KM Conference to the tree view on the right side and the cursor is not toward the top of the tree view, the drag and drop works just fine. However, if it is near the top, the drag and drop does nothing.

By using the IE Developer toolbar, we have been able to determine that there is a UL element with the class names "rtUL" and "rtLines" at the top of the empty tree view. This is highlighted with a blue border in the screen shot and you can see it highlighted in gray in the DOM structure listing the IE Developer toolbar. If the user drag drops the link from the tree view on the left and they attempt to release the drag and drop to the tree view on the right and the cursor is over this UL element (indicated by the red line on the screen shot), the drop does not occur. If they do it to any other area (indicated by the green line on the screen shot), it works.

So, it appears that this non-visible UL element interferes with the drag and drop function. It also appears that this UL element is part of the treeview rendering.

Any fix for this unwanted behavior?

Thanks in advance,

Keith E.

Yana
Telerik team
 answered on 20 Oct 2009
4 answers
122 views
Hello,

I wonder if it's possible to shift to the left the calendar using the css and how ?

Thanks.
Pierre-Antoine DOUCHET
Top achievements
Rank 1
 answered on 20 Oct 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?