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

I am using telerik radGrid for binding the data. I am using telerik:GridDropDownColumn so that in edit template I can update few columns.
I have two dropdowns displaying weeks("ddlWeeks" & ddlTotalWeeks) (text format: 1- 10/11/2013,2-10/12/2013...., values are: 1,2..). Second one is a text box which can be filled by user. Now when any date selected from dropdown "ddlWeeks", I am getting its values say "2" and adding it to textbox value say "2". So sum is "4", and now I want to select date in dropdown "ddlTotalWeeks" which is in same format as that of "ddlWeeks". how can select value in dropdown "ddlTotalWeeks", selected value should be sum of "ddlWeeks.SelectedValue+textboxdays".
I want to use 'ddlWeeks" on change client side event (it is working fine). On this event I want to set dropdownTotalWeeks values. Main problem how I can set the value in client side code telerik:GridDropDownColumn.
sarbjit
Top achievements
Rank 1
 asked on 16 Apr 2013
1 answer
161 views
Hi Team,

Is it possible to Get the Bowtie Chart using Telerik controls,

If possible please Guide me from Basics.
find the attachment for reference.

Thanks in advance.

MasterChiefMasterChef
Top achievements
Rank 2
 answered on 16 Apr 2013
10 answers
213 views
Hi,

I have one requirement. I want to highlight the days which has schedule events on RadScheduler's navigation panel. Could you give me some comments? Is there any event which I could use on navigation panel drop icon click?

Alex
Boyan Dimitrov
Telerik team
 answered on 16 Apr 2013
5 answers
426 views
Hi,

I'm using a radgrid with custom paging & custom sorting. Custom sorting by clicking on headers works fine except that when I right click on the header and use the context menu to sort columns, it sorts them with natural sort and does not invoke my OnSortCommand server side callback. 

<telerik:RadGrid ID="SearchResultGrid"
        AllowPaging="True" AllowCustomPaging="true" EnableViewState="True" AllowFilteringByColumn="False"
        AllowSorting="true" AllowNaturalSort="false" AllowCustomSorting="true" OnSortCommand="SearchResultGrid_OnSort"
        AutoGenerateColumns="False" runat="server" PageSize="20"
        EnableLinqExpressions="false" EnableAJAX="false" ItemStyle-Wrap="false" AlternatingItemStyle-Wrap="false" ...>
    <HeaderContextMenu OnItemClick="HeaderContextMenu_ItemClick" OnItemCreated="HeaderContextMenu_ItemCreated"
            OnPreRender="HeaderContextMenu_PreRender">
        <CollapseAnimation Duration="200" Type="OutQuint" />
    </HeaderContextMenu>
    ...

How can I make the header context menu sorting use custom sorting?
Rob
Top achievements
Rank 1
 answered on 16 Apr 2013
1 answer
95 views
Hi,

I have created a menu with menu items and further sub menu items under them.

Example:

   
<telerik:RadMenu ID="RadMenu1" runat="server" EnableRoundedCorners="true" EnableShadows="true"   >
<Items>
        <telerik:RadMenuItem Text="File" AccessKey="F" >
        <Items>
               <telerik:RadMenuItem ImageUrl="~/Images/Address1.bmp" Text="Add"   />
               <telerik:RadMenuItem ImageUrl="~/Menu/Images/12open.gif" Text="Open" />
        </Items>
        </telerik:RadMenuItem>
        <telerik:RadMenuItem Text="Edit" AccessKey="E">
        <Items>
              <telerik:RadMenuItem ImageUrl="~/Menu/Images/11new.gif" Text="Cut" />
              <telerik:RadMenuItem ImageUrl="~/Menu/Images/12open.gif" Text="Copy" />
         </Items>
         </telerik:RadMenuItem>
</Items>
</telerik:RadMenu>

I would like to add OnClientItemClicked only for the sub menu items like Add, Open, Cut and Copy but not for the main menu items like File and Edit. When I add the OnClientItemClicked to the RadMenu, it disables the properties of the menu. Any help will be appreciated.

Thanks,
Meera


Boyan Dimitrov
Telerik team
 answered on 16 Apr 2013
1 answer
73 views
I can't use "<qsf:.... />" in my webpage.
<%@ Register TagPrefix="qsf" Namespace="Telerik.QuickStart" %>
help me.
MasterChiefMasterChef
Top achievements
Rank 2
 answered on 16 Apr 2013
9 answers
127 views
I upgraded a project to Q12013 and the first thing I noticed is my RadTreeView nodes are now displaying in blue where before they were black.  I can iterate through all nodes and change them to black but is there anywhere to set this globally?
Andrew Dorfman
Top achievements
Rank 1
 answered on 16 Apr 2013
5 answers
131 views
Hi,
  I just saw the new updates to RadAsynUpload Component. I love it. The only addition I wish to make to it is to call my own upload mechanism. Here is the case:

1) User Uploads 1 or many files.
2) Calls my own upload mechanism.
3) Use the progress bar for 1 or many files from Telerik. 
2) As the file completes I want to add additional fields like description and Date.
3) Finally save the data to sql server.

Any help would greatly be appreciated.

Thanks,
Amin
Plamen
Telerik team
 answered on 16 Apr 2013
2 answers
86 views
Hi,

I'm having a problem with hierarchical datagrid using EntityDataSource .  Hopefully its something very obvious that I've done wrong with this but I can't seem to find the issue so far. 

I have used this demo as the basis for a hierarchical grid below and substituted in my own EntityDataSource datasources as required.
http://demos.telerik.com/aspnet-ajax/grid/examples/hierarchy/declarativerelations/defaultcs.aspx

Also I've been looking at this
http://www.telerik.com/help/aspnet-ajax/grid-binding-to-declarative-datasource-controls.html

The two entity datasources are effectively doctors referrals and any associated attached files.  The referrals table is linked to the attachments table by foreign key (0,1 to many).  The basic flow of operation should be that a referral can be created without any attachments.  Attachments can be added to a referral at time of creation or at a later point. 

Each attachment has a Referralid field which relates to the id field of the Referral table.

So based on this the master table should be.

                <MasterTableView DataSourceID="EntityDataSourceReferrals" DataKeyNames="ID" AllowMultiColumnSorting="True">

The detailsview table should be related based on the below, Mastertable id is related to the REFERRALID of the attachment table (detailsview).

                            <ParentTableRelation>
                                <telerik:GridRelationFields DetailKeyField="REFERRALID" MasterKeyField="ID">
                                </telerik:GridRelationFields>
                            </ParentTableRelation>

When I run the below code I get a result where the referrals show all attachments instead of showing only those attached to the referrals  .

(Incorrect as Referral 1 has one attachment, referral 2 has no attachments)
Referral 1
 ...............=> Attachment (Referralid 1)
Referral  2
............... => Attachment (Referralid 1)

Whereas the correct result should be

Referral 1
 ...............=> Attachment (Referralid 1)
Referral  2
............... => No attachments

Any pointers as to where I'm going wrong here would be welcome.

Thanks.

<%@ Page Language="c#" CodeBehind="testdetailsview.aspx.cs" Inherits="mWebPortal.test"%>
  
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
    <head>
        <title>Declarative relations in hierarchical ASP.NET Grid | RadGrid Demo</title>
    </head>
    <body>
        <form id="form1a" runat="server">
            <telerik:RadScriptManager runat="server" ID="RadScriptManager1" />
            <telerik:RadSkinManager ID="QsfSkinManager" runat="server" ShowChooser="true" />
            <telerik:RadFormDecorator ID="QsfFromDecorator" runat="server" DecoratedControls="All" EnableRoundedCorners="false" />
            <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
                <AjaxSettings>
                    <telerik:AjaxSetting AjaxControlID="RadGrid1">
                        <UpdatedControls>
                            <telerik:AjaxUpdatedControl ControlID="RadGrid1"></telerik:AjaxUpdatedControl>
                        </UpdatedControls>
                    </telerik:AjaxSetting>
                </AjaxSettings>
            </telerik:RadAjaxManager>
            <telerik:RadGrid ID="RadGrid1" ShowStatusBar="True"
                             DataSourceID="EntityDataSourceReferrals" runat="server" PageSize="7"
                             AllowSorting="True" AllowPaging="True" GridLines="None" CellSpacing="0">
                <PagerStyle Mode="NumericPages"></PagerStyle>
                <MasterTableView DataSourceID="EntityDataSourceReferrals" DataKeyNames="ID" AllowMultiColumnSorting="True">
                    <DetailTables>
                        <telerik:GridTableView DataKeyNames="REFERRALID" DataSourceID="EntityDataSourceRefAttachments" Width="100%"
                                               runat="server">
                            <ParentTableRelation>
                                <telerik:GridRelationFields DetailKeyField="REFERRALID" MasterKeyField="ID">
                                </telerik:GridRelationFields>
                            </ParentTableRelation>
                        </telerik:GridTableView>
                    </DetailTables>
                </MasterTableView>
            </telerik:RadGrid>
            <asp:EntityDataSource ID="EntityDataSourceReferrals" runat="server"
                ConnectionString="name=RefEntities"
                DefaultContainerName="RefEntities"
                EnableFlattening="False"
                EntitySetName="Referrals">
            </asp:EntityDataSource>
            <asp:EntityDataSource ID="EntityDataSourceRefAttachments" runat="server"
                ConnectionString="name=RefEntities"
                DefaultContainerName="RefEntities"
                EnableFlattening="False"
                EntitySetName="ReferralAttachments"
                AutoGenerateWhereClause="True">
            </asp:EntityDataSource>
        </form>
    </body>
</html>
Michael
Top achievements
Rank 1
 answered on 16 Apr 2013
4 answers
142 views
I want to use RadSpell inside of my RadGrid.  When in "edit mode" I want it to spell check a GridBoundColumn.

Is there an example of that anywhere?
Hossein
Top achievements
Rank 1
Iron
 answered on 16 Apr 2013
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?