Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
93 views
Hi,

For a client I need to build an overlapped Gantt Chart, looking like this one at DevExpress. Would that be possible with Telerik RadChart too? Since the client is already using Telerik RadControls in their (ASP.NET) application, that would be preferable...

Thanks!
Greetz,
Stefan Kamphuis
Stefan Kamphuis
Top achievements
Rank 2
 answered on 08 Oct 2010
7 answers
387 views
I am presently working on a project of migrating from telerik controls for asp.net to asp.net ajax. I am facing a lot of issues, on how to access the radcontrols specially radwindow and radgrid using javascript. One of the main ones is,

window.RadOpen(url, radwindowID);

It always throws an error here saying it is 'undefined'..never saw any threads on this issue, so posting it on the forum.
Please let me know what has to be done.

Thank you in advance

Regards
Yash
Cori
Top achievements
Rank 2
 answered on 08 Oct 2010
1 answer
79 views
I am attempting to implement the Grid / Google-like filtering example described here. However in my approach instead of clearing the MasterTableView columns in Page_Load and replacing them with the inherited GridBoundColumns I'm attempting to declare them in the designer source as follows:

<%@ Register TagPrefix="telerikCustom" Namespace="Project.Views.UserControl.CustomFilter" %>
<telerik:RadGrid ID="RADFilterContractList" runat="server"
        AutoGenerateColumns="False"
        AllowFilteringByColumn="True"       
        AllowPaging="True"
        AllowSorting="True"
        Skin="Hay"
        OnColumnCreating="RADFilterContractList_ColumnCreating"
        OnItemCommand="RADFilterContractList_ItemCommand"
        OnNeedDataSource="RADFilterContractList_NeedDataSource" GridLines="None">
    <PagerStyle Mode="NumericPages" />
    <MasterTableView Width="100%" GroupLoadMode="Client">
    <GroupByExpressions>
        <telerik:GridGroupByExpression>
            <SelectFields>
                <telerik:GridGroupByField
                FieldName="Priority"
                HeaderText="Priority"/>
            </SelectFields>
            <GroupByFields>
                <telerik:GridGroupByField
                FieldName="Priority"
                SortOrder="Descending" />
            </GroupByFields>
        </telerik:GridGroupByExpression>
    </GroupByExpressions>
        <Columns>
            <telerik:GridTemplateColumn UniqueName="ActionHeaderColumn" SortExpression="Action">
                <ItemTemplate>
                    <asp:LinkButton runat="server" ID="lnkContractAction" Text='<%# Eval("ContractId") %>' OnClick="OnContractSelected"
                    OnClientClick='<%# "return onContractSelected(" + Eval("ContractId") + ");" %>' />
                </ItemTemplate>
            </telerik:GridTemplateColumn>
            <telerik:GridTemplateColumn HeaderText="Assigned To" >
                <ItemTemplate>caadmin</ItemTemplate>
            </telerik:GridTemplateColumn>
            <telerikCustom:ContractListCustomFilter DataField="ContractId" HeaderText="Contract Id (Dev use)" />
            <telerikCustom:ContractListCustomFilter DataField="ContractOrderNumber" HeaderText="Contract Order Number" />
            <telerikCustom:ContractListCustomFilter DataField="Customer" HeaderText="Customer" ReadOnly="true" />                           
            <telerikCustom:ContractListCustomFilter DataField="MarketState" HeaderText="State" />
            <telerikCustom:ContractListCustomFilter DataField="ContractStatus" HeaderText="Contract Status" />
            <telerikCustom:ContractListCustomFilter DataField="Price" HeaderText="Price" />
            <telerikCustom:ContractListCustomFilter DataField="MarginPerKwh" HeaderText="Margin Per Kwh" ReadOnly="true" />                   
            <telerikCustom:ContractListCustomFilter DataField="TermInMonths" HeaderText="Term (in Months)" />
            <telerikCustom:ContractListCustomFilter DataField="StartDate" HeaderText="Start Date" />
            <telerikCustom:ContractListCustomFilter DataField="TermUsageInMWh" HeaderText="Term Usage (in MWhs)" />
            <telerikCustom:ContractListCustomFilter DataField="SalesRep" HeaderText="Sales Rep" />
            <telerikCustom:ContractListCustomFilter DataField="LastNote" HeaderText="Notes" />
            <telerikCustom:ContractListCustomFilter DataField="Priority" HeaderText="Priority" />
        </Columns>
    </MasterTableView>
    </telerik:RadGrid>
It works great when I do it in the code-behind of the custom control however I feel declaring it in the .ascx page is much cleaner.
EDevLuna
Top achievements
Rank 1
 answered on 08 Oct 2010
1 answer
96 views
i would the user to upload a file using the uploader.... assuming my current server that runs the application is 23.45.8.79
i would like the uploaded file to be transferred to 23.45.8.73...is this possible.

uploading and saving the file to 8.79 is easy, how about uploading to 8.73 with the application uploader located in 8.79

thank you
Genady Sergeev
Telerik team
 answered on 08 Oct 2010
1 answer
111 views
We are getting following serialization errors after changing SessionState mode as "SQLServer" .

"cannot serialize dialog parameters.Please refresh the editor page"
"Error Message - Invalid character in a Base 64 string".

Does Rad Spell provide any method or setting to support same.Kindly let me know as soon as possible.

Thanks
Sonia Dhamija



Rumen
Telerik team
 answered on 08 Oct 2010
3 answers
261 views
I've got a tabstrip with tabs and subtabs.  Some of these tabs/subtabs are disabled or invisible.  What I'm trying to do is get the next and previous active tab/subtab with reference to the currently selected tab/subtab (if the rightmost tab in a "subtabstrip" is selected then I need to get the next "main" tab).  I think this is fairly simple but I'm missing something.  Is there some sample code I can look at?
Helen
Telerik team
 answered on 08 Oct 2010
2 answers
153 views
Hi,

For some reason, the controls that are located inside the dynamically created docks are not posting back.

I am adding the whole controls as triggers:
private void CreateSaveStateTrigger(RadDock dock, string childControlId)
        {
             
            dock.AutoPostBack = true;
            dock.CommandsAutoPostBack = true;         
 
            AsyncPostBackTrigger saveStateTrigger = new AsyncPostBackTrigger();
            saveStateTrigger.ControlID = dock.ID;
            saveStateTrigger.EventName = "DockPositionChanged";
            UpdatePanel1.Triggers.Add(saveStateTrigger);
 
            saveStateTrigger = new AsyncPostBackTrigger();
            saveStateTrigger.ControlID = dock.ID;
            saveStateTrigger.EventName = "Command";
            UpdatePanel1.Triggers.Add(saveStateTrigger);
 
 
 
            saveStateTrigger = new AsyncPostBackTrigger();
            saveStateTrigger.ControlID = childControlId;
            UpdatePanel1.Triggers.Add(saveStateTrigger);
        }

Can anyone suggest any solutions?

Thank you.
Pero
Telerik team
 answered on 08 Oct 2010
0 answers
109 views
Please help me understand the difference between the two.
The MVC extensions are free, but the RadControls are not.  What's the difference???
Mike
Top achievements
Rank 1
 asked on 08 Oct 2010
1 answer
89 views
Hello,

We have the following issue with RadControls 2010.2 SP1 (I noticed in the changelog that nothing changed in SP2 in RadTreeView, and also we are suffering from a similar issue since RadControls 2009.3, which is what has kept us using 2009.2 until now):

Once we create a RadTreeView inside <div dir="rtl"> (or use dir="rtl" property of RadTreeView), the entire tree view and its context menus are right-to-left as expected; however, on IE6 the context menus do not look as well as they do in left-to-right: for example the icons do not have a different background color (no matter what skin we use).
And we have a larger problem (also on IE6): if I create two different context menus, and right-click on one and then on the other for a couple of times, all the context menu items get out of the context menu box.

It all works just great on IE6 if we use 2009.2, so we cannot upgrade to any newer version.

There's simple ASP.NET code to reproduce it:
<div dir="rtl">
<asp:ScriptManager runat="server"></asp:ScriptManager>
<telerik:RadTreeView runat="server">
<Nodes>
<telerik:RadTreeNode Text="Root" ContextMenuID="RootNodeMenu">
<Nodes>
<telerik:RadTreeNode Text="Child" ContextMenuID="TreeMenu" />
</Nodes>
</telerik:RadTreeNode>
</Nodes>
<ContextMenus>
<telerik:RadTreeViewContextMenu ID="TreeMenu">
<Items>
<telerik:RadMenuItem Text="ChildMenuItem" />
</Items>
</telerik:RadTreeViewContextMenu>
<telerik:RadTreeViewContextMenu ID="RootNodeMenu">
<Items>
<telerik:RadMenuItem Text="RootMenuItem"/>
</Items>
</telerik:RadTreeViewContextMenu>
</ContextMenus>
</telerik:RadTreeView>
</div>

Please advice.

Thanks!
Kamen Bundev
Telerik team
 answered on 08 Oct 2010
2 answers
166 views
Hello,

I have a horizontal RadMenu.  When a submenu drops down,  there is an empty column that preceeds the submenu item text.  I am using a custom skin ( derived from the Default skin).   I guess this area was used to display an icon. 

The attached jpg displays the menu.
I would like to either remove this area ( which is a gray background) or change the column background to match the website.

Since this is a dropdown on a horizontal menu,  would I be modifying the rmVertical classes ( even tho it is a horizontal root menu)?

Thanks,
bruce
bruce
Top achievements
Rank 1
 answered on 08 Oct 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
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
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
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
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?