Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
108 views
Hi, I have a self-referencing hierarchy in RadGrid.
The items are showing correctly, and I am using advanced data-binding with NeedDataSource method and ServerOnDemand.
The problem becomes when I try to filter the data in the grid.
Then the data looses its hierarchy. 
But when I apply filter to the data (manually with Linq) before I Bind it to the grid all works fine.

Is there a way that instead to filter grid, I filter the data I am passing to the grid datasource in NeedDatasource method?

Thnaks
Andrey
Telerik team
 answered on 23 Sep 2011
1 answer
150 views
I add a RadCaptcha control with refresh and audio ability to my page, but when i click on refresh button, the audio link image is hidden.
Audio link will appear again with page postback.
Please help me to solve this issue.
Slav
Telerik team
 answered on 23 Sep 2011
2 answers
339 views
Hello,

I would like to save all the records of the shipped orders radgrid with rows drag and drop feature to the database. So, i created a LinkButton using CommandItemTemplate like this: 

ASPX:
<CommandItemTemplate>
<
asp:LinkButton ID="LinkButton1" CommandName="UpdateChanges" runat="server">Update all</asp:LinkButton>
</
CommandItemTemplate>


But, as i observed,  the embedded "export to excel button" i had created according to this example for saving all my records to an excel file was disappeared. How could i fix this problem;

P.S.

I used the following sample of code:

ASPX:
<CommandItemTemplate> 
    <asp:ImageButton ID="ExportToExcel" runat="server" OnClick="ExportToExcel_Click" /> 
</CommandItemTemplate> 


CS:
protected void ImageButton2_Click(object sender, ImageClickEventArgs e) 
    { 
        RadGrid1.ExportSettings.ExportOnlyData = true;
        RadGrid1.ExportSettings.IgnorePaging = true;
        RadGrid1.ExportSettings.OpenInNewWindow = true;
        RadGrid1.MasterTableView.ExportToExcel(); 
    } 

But i couldn't fire the events OnExcelMLExportRowCreated and OnExcelMLExportStylesCreated anymore.

Thank you very much.
George
Top achievements
Rank 1
 answered on 23 Sep 2011
0 answers
85 views
Hi Telerik Team,

I am unsure of where to post this feature request so I opted for this forum.. 

It would be really cool if you could capture a screenshot using a Telerik Add-On and then import it directly onto the web(ASP AJAX). From this point onward, we could use the Image Editor to make the appropriate changes. That's a really crucial thing in the Testing Industry for Software Testers to save massive time !

Thanks,
Kind Regards,
Navnit
Navnit
Top achievements
Rank 2
 asked on 23 Sep 2011
2 answers
165 views
Hi,

I need your help again, i have this object

public class Entry
{
     public string Company {get;set;}
     public Dictionary<Attribute,AttributeValue> Attributes {get;set;}
}
 
public class Attribute
{
     public int AttributeId {get;set;}
     public string AttributeName {get;set;}
}
 
 
public class AttributeValue
{
     public int Id {get;set;}
     public string ValueName {get;set;}
}

And what i want to do is to bind to a radgrid, so i can have this :

Company     |   AttributeName_1      |   AttributeName_2  |  ...... |  AttributeName_N
---------------------------------------------------------------------------------------------------
Company     |       ValueName        |   ValueName          | ........ |  ValueName     

I'm sure that this is possible, but i've been trying lots of ways, but still got no luck.

Thanks in advance
Iana Tsolova
Telerik team
 answered on 23 Sep 2011
3 answers
109 views
Hi ,
I want to access a div inside the content of the editor. What i have done is given below.

<telerik:RadEditor runat="server" ID="RadEditor1">
        <Tools>
            <telerik:EditorToolGroup>
                <telerik:EditorTool Name="DragAndDropContainer" Text="Drag and Drop a div"  />                 
            </telerik:EditorToolGroup>
        </Tools>
        <Content>
            <div id="dragable1" style="position: relative; width: 50px; height: 50px; background: none repeat scroll 0% 0% silver;
            border: 1px dashed red; left: 294px; top: 3px;" >
        </div>
        </Content>
    </telerik:RadEditor>

<script type="text/javascript">
        //<![CDATA[
        Telerik.Web.UI.Editor.CommandList["DragAndDropContainer"] = function(commandName, editor, args)
        {
            if (editor.getSelectionHtml() != "")
            {
                editor.fire("FontSize", {value : "4"}); //fire the FontSize command
                editor.fire("ForeColor", {value : "red"}); //fire the ForeColor command
            }
            else
            {         
            DragHandler.attach(document.getElementById('dragable1'));            
            }
        };

In this case document.getElementById('dragable1') returns null. Could anyone help how should i access this div.

Thanks,
Rashim
Rumen
Telerik team
 answered on 23 Sep 2011
1 answer
111 views
Hello,

I am working with the Rad Dock controls to implement a web app where you can create and have a bunch of rad docks  in three zones all containing different widgets, or the same widget but different views. But that does not matter too much for my two questions

First I am wondering is if it is possible to somehow have one Rad Dock span across multiple Rad Dock Zones. The dock zones are in a 3 column layout.  Can I have for example a dock from zone1 extend to zone2 or even to zone3, and still keep the normal flow and layout of the other docks. The zones use a vertical orientation.

What I am basically looking to do is change the width of the Dock, but have it not interrupt or cover any other Docks.

And my second question would be If there are other  ways  to get the client side objects for docks or zones.  Most of the examples  use
server side code snippets  like :
<%= RadDockingZone1.FindControl("Dock0").ClientID %> 
which I am unable to use due to some of the constraints on the application.  And the ID's of the Docks are dynamic because there is constant dock creation and deletion. So I was thinking maybe there is a way to get the client object via a css class or something to do with events ?

All of the docks are in Dock mode, so they can't be floated around.

Thanks in advance.

Slav
Telerik team
 answered on 23 Sep 2011
3 answers
124 views
Hi, I have enabled context menu & RadToolTip in the TreeView nodes. Once If hover my mouse and right click, I am getting both ToolTip and Context menu.How to control this. If I right click, have to close radToolTip and just display Context menu.

Thanks in advance.

Thanks,
Mulagundla


Princy
Top achievements
Rank 2
 answered on 23 Sep 2011
1 answer
105 views
Hello

I would like to install telerik radedit for SharePoint 2010 on top of my existing WCF site.
I assume that activating feature on the site level will replace all the out of the box editor by the telerik one in my page layouts.
Could you please confirm me that ? and could you also tell me if the content can be impacted. Will it be fully transparent for end-users ?

Thank in advance,
Rumen
Telerik team
 answered on 23 Sep 2011
1 answer
69 views
Hi,

I build a simple web application where I bind some data from database to radgrid. While in VS 2010 and run the application, everything is fine: I can sort, filter, group, everything is fine. Once I deploy the web application to IIS, the data is binded correctly to the radgrid but I cannot sort, filter ... anything!

Any ideas what might be the problem? I thought about IIS settings ... but couldn't find any issue there!

Thanks!
Princy
Top achievements
Rank 2
 answered on 23 Sep 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?