Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
74 views
in IE, Safari and Chrome, the delete and backspace keys can be used to clear out data, especially bad data
in Firefox and Opera those keys are disabled
<telerik:RadDateInput id="del1" DateFormat="d" Width="92px" Height="18px" Font-Size="X-Small" Font-Names="Verdana" BorderWidth="1px" runat="server" >
    <ClientEvents OnKeyPress="del_keypress" />
    <ClientEvents OnError="date_input_error" />  
</telerik:RadDateInput>
the scripts
function del_keypress(sender, eventArgs) {
    var whichCode = eventArgs.get_keyCode();
    if ((whichCode != 13) && ((whichCode < 47) || (whichCode > 57)))
        eventArgs.set_cancel(true);
}
 
function date_input_error(sender,args) {
    alert("Invalid Delivery Date");
    sender.set_value('');
    sender.focus();
}
Edward
Top achievements
Rank 1
 answered on 13 Aug 2012
2 answers
108 views
Hi  All,

We are not used the built in Edit and Delete function given by the telerik, in hierarchical grid. But we need to capture the values in the child table(<telerik:GridTableView> ), Before delete or edit we need to load the data in to our own form. To do that how can we get the cell values in a selected row in a child table(child grid).

Development Team. 
Håkan
Top achievements
Rank 1
 answered on 13 Aug 2012
1 answer
60 views
Hello. I have a problem that occurs after filling detailtable of RadGrid  in the mode of ServerOnDemand. In the event handler RadGrid_DetailTableDataBind is filled detailtable. My RadGrid  contained in ContentPage. After filling detailtable occur scroll offset of ContentPage to 0. Property AllowScroll  of RadGrid is false. Property SaveScrollPosition does not help save position scrolling on page. I suspect that some JavaScript in our big project setting scrollTop of page to 0. I've seen demo project demolink and would the same save scroller. 
Which function of your JavaScript code is saved position of scrolling page? And which 
function of your JavaScript code  is sets position of scrolling for page?

Marin
Telerik team
 answered on 13 Aug 2012
1 answer
95 views
Hi,

I am using Telerik Rad Charts controls for ASP.net i need to create combine charts
chart1 (Column,Line and Bubble) and chart2 (Area,Line and Bubble) like as attached images.
Also i have attched chart images for your reference. I want to konw how to create the charts like as the images and if it is possible to get any working sample it would be a great help for me.

Can you any one help on this.
Regards,
Kannan S
Peshito
Telerik team
 answered on 13 Aug 2012
1 answer
196 views
Hi,

I am using Telerik Rad Charts controls for ASP.net i need to create combine charts
chart1 (Column,Line and Bubble) and chart2 (Area,Line and Bubble) like as attached images.
Also i have attched chart images for your reference. I want to konw how to create the charts like as the images and if it is possible to get any working sample it would be a great help for me.

Can you any one help on this.
Regards,
Kannan S



Peshito
Telerik team
 answered on 13 Aug 2012
1 answer
129 views
How i pass the parameter in onclientclick error come ,

<asp:HyperLink runat="server" ID="lnkAddressID" Text='<%# DataBinder.Eval(Container.DataItem, "Address_Location_Name")%>'
                                                                                                OnClientClick="EditAddress('<%# DataBinder.Eval(Container.DataItem, "AddressID")%>')"></asp:HyperLink>



Thanks Advance,
Mohamed.
Radoslav
Telerik team
 answered on 13 Aug 2012
2 answers
104 views
Hey Guys,

I have a grid where I hide/show certain columns dynamically. Everything works fine until I set AllowScroll="true", then all the columns go out of whack completely, as can be seen in the attached images. I've tried quiet a few things to get the grid to play nice, but any suggestions are welcome.

Regards
Ross

 
<telerik:RadGrid ID="m_radgrdLevel1" runat="server" AllowPaging="True" AllowSorting="True"
    GridLines="None" BorderWidth="1px" Height="325px" Style="margin-left: 10px; margin-right: 10px;
    margin-top: 5px; margin-bottom: 5px; width: 98%" OnItemCommand="m_radgrdLevel1_ItemCommand"
    OnItemDataBound="m_radgrdLevel1_ItemDataBound" CellSpacing="0" OnSortCommand="m_radgrdLevel1_SortCommand">
    <filtermenu enableimagesprites="False">
    </filtermenu>
    <pagerstyle visible="False" />
    <clientsettings allowexpandcollapse="True">
        <ClientEvents OnColumnClick="ClickAlert" OnScroll="HandleScrolling"  />
        <Scrolling AllowScroll="true" UseStaticHeaders="true" SaveScrollPosition="true" />
 
    </clientsettings>
    <mastertableview allowmulticolumnsorting="True" autogeneratecolumns="False" datakeynames="CodeNumber,CodeSystem"
        grouploadmode="Server" hierarchyloadmode="ServerOnDemand" >
        <CommandItemSettings ExportToPdfText="Export to PDF"></CommandItemSettings>
        <RowIndicatorColumn Visible="True" FilterControlAltText="Filter RowIndicator column">
        </RowIndicatorColumn>
        <ExpandCollapseColumn Visible="True" FilterControlAltText="Filter ExpandColumn column">
        </ExpandCollapseColumn>
        <Columns>
            <telerik:GridTemplateColumn UniqueName="CheckboxColumn">
                <ItemTemplate>
                    <asp:CheckBox AutoPostBack="true" ID="chkDoc" runat="server" Checked="false" Enabled="true"
                        OnCheckedChanged="chkDoc_CheckedChanged" />
                    <ItemStyle Width="4%" />
                    <HeaderStyle Width="4%" />
                </ItemTemplate>
            </telerik:GridTemplateColumn>
            <telerik:GridButtonColumn CommandName="Redirect" DataTextField="CodeNumber" HeaderText="ID"
                FilterControlAltText="Filter column column" UniqueName="LinkButtonColumn">
                <ItemStyle Width="10%"/>
                <HeaderStyle Width="10%" />
            </telerik:GridButtonColumn>
            <telerik:GridBoundColumn DataField="CodeNumber" HeaderText="ID" UniqueName="CodeNumber">
                <ItemStyle Width="10%"/>
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="CodeDescription" HeaderText="Name" UniqueName="CodeName">
                <ItemStyle Width="45%" />
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="Status" HeaderText="Status" UniqueName="CodeStatus">
                <ItemStyle Width="8%" />
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="Active" HeaderText="Active">
                <ItemStyle Width="8%" />
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="CodeSystem" HeaderText="Code System">
                <ItemStyle Width="20%" />
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="TargetType" HeaderText="Target Type" UniqueName="TargetType" visible="false">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="HasChildren" UniqueName="HasChildren" Visible="false">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="QAType" UniqueName="QAType" Visible="false">
            </telerik:GridBoundColumn>
        </Columns>
 
                                                    </MasterTableView>
                                                </telerik:RadGrid>
Galin
Telerik team
 answered on 13 Aug 2012
1 answer
82 views

I have two ComboBox comboA and comboB in Grid and initial comboB is disable.
comboB  need to be enabled when comboA has a selected value?
How can I do that without loop through each cell?
Shinu
Top achievements
Rank 2
 answered on 13 Aug 2012
1 answer
308 views
Is there  a way to show RadProgressArea as popup mode?
Princy
Top achievements
Rank 2
 answered on 13 Aug 2012
2 answers
236 views
How to generate an auto-increased number for every record as first column in RadGrid?
Jin
Top achievements
Rank 1
 answered on 13 Aug 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?