Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
153 views
Hello all,

I'm learning to use the RadChart control and I'd like to ask how to dynamically get the name of the series item that generated the RadChart.Click event to use it as part of the series name for the next chart generated (ex. if the chart shows the sales volumes per month in an given year and the user clicks on the July column, the next chart should show the details for July and the series name would be "Sales details for July").

Any help would be really appreciated!
Ves
Telerik team
 answered on 03 Oct 2012
3 answers
88 views
Hi,
I am using Telerik RAD controls(RAD Combo, RAD TextBox ,RAD Tab etc) inside update panel.  It was working fine just a few days back. Now I am getting error "Microsoft JScript runtime error: Sys.ArgumentUndefinedException: Value cannot be undefined.
Parameter name: id" before page load. I am using VS2010, framework 4.0 with Win-XP. It is always occurring on a single page while others are working fine. I matched Telerik version from Web.config and in Reference added (not using GAC here). I'd also added AJAXToolkit dll and added in reference of project. I also tried with removing Update Panel but got same result.
Andrey
Telerik team
 answered on 03 Oct 2012
4 answers
118 views
Hi,

I have a custom column (who's inheriting from GridBoundColumn) who display an image related to the DataField. I override the method InitializeCell :

public override void InitializeCell(TableCell cell, int columnIndex, GridItem inItem)

when the page load for the first time, the parameter inItem.DataItem is not null and contains the object representing a row from the DataSource.

On the other side, in the PostBack, inItem.DataItem is null ! So I can't retrieve my data...

Is something wrong ?


Thank you !
Francis
Top achievements
Rank 1
 answered on 03 Oct 2012
5 answers
167 views
Hi,
I have a radgrid with a custom command bar (commanditemtemplate) with a few linkbuttons on it.
Also I have the radgrid ClientSettings AllowKeyboardNavigation="true" and KeyboardNavigationSettings AllowSubmitOnEnter="true"
When I move to the command bar with the TAB key  and select a linkbutton (or use the associated AccessKey to select it immedeately), then use the ENTER key to fire the button, instead the selected record is opened for editing.
How can I skip the SubmitOnEnter when I have the linkbutton selected?

I tried the code below, it gets fired when the enter key is pressed, but still the record is selected instead of the command fired.
Any ideas?

Thanx in advance,

Regards,
Frank
Telerik.Web.UI.RadGrid.prototype._canHandleKeyboardAction = function (e) {
                var keyCode = e.keyCode || e.charCode;
                if ((keyCode == 32 || keyCode == 13)
                && this.ClientSettings.KeyboardNavigationSettings.EnableKeyboardShortcuts) {
                    var target = Telerik.Web.UI.Grid.GetCurrentElement(e);
                    if (target.tagName.toLowerCase() == "a") {                        
                        return false;
                    }
                }
                return true;
            }

Antonio Stoilkov
Telerik team
 answered on 03 Oct 2012
5 answers
168 views
hello everybody
can i insert a row like "all day row" in this exemple
http://demos.telerik.com/aspnet-ajax/scheduler/examples/webservice/defaultcs.aspx.
sorry for my english. :D
thanks!

Princy
Top achievements
Rank 2
 answered on 03 Oct 2012
2 answers
110 views
how to rebind radgrid from codebehind in c#
Prab
Top achievements
Rank 1
 answered on 03 Oct 2012
1 answer
162 views
Please give me a suggestion like normal asp control have checkboxlist and radiobuttonlist . Is telerik having the same control like checkboxlist and radiobuttonlist control which is available in asp controls.
Princy
Top achievements
Rank 2
 answered on 03 Oct 2012
11 answers
298 views
I have a web form and would like to client validation and show pop up with validation error using alert box and would like to hightlight telerik radtextbox, combobox and textarea etc. Is there any example how to achieve this functionality? I am using telerik 2010 controls.

thank you.
Princy
Top achievements
Rank 2
 answered on 03 Oct 2012
0 answers
36 views
Hi 
I created a thread some days ago but it was never answered, it seems I might have marked it as "Answered" by mistake.

Here's the thread:
http://www.telerik.com/community/forums/aspnet-ajax/panelbar/adding-button-control-to-dynamically-created-radpanelbar.aspx#2305626
Eric
Top achievements
Rank 1
 asked on 02 Oct 2012
1 answer
100 views
I have a grid which is set to 100% height. The grid displays search results. When a user clicks on the "find" button, the results are loaded in the grid. In IE (9), the grid appears correctly. In Firefox (15), there is a vertical space of about 125px below the grid pager and the grid doesn't extend all the way down to the bottom of its container. If the user clicks on "search" a second time, the grid extends properly. I have attached two screen captures demonstrating what it looks like in ie (correct) and firefox (incorrect). I have added a panel with colored background as a container for the grid so you can see it appears to be the grid which is not extending and not the container. This effect occurs even if I do not include this panel. My markup is below.
<asp:Panel id="pnlSR" runat="Server" Height="100%" style="padding:5px; background-color:Red;">
                    <telerik:RadGrid id="rgSearchResults"
                            runat="server"
                            AutoGenerateColumns="False"
                            Skin="Simple"
                            Height="100%"
                            AllowPaging="True"
                            AllowSorting="True"
                            AllowCustomSorting="True"
                            AllowMultiRowSelection="True"
                            EnableLinqExpressions="false"
                            ShowStatusBar="True"
                            ShowGroupPanel="False"
                            PageSize="30"
                             
                    >
                        <MasterTableView 
                                    DataKeyNames="CVID"
                                    ClientDataKeyNames="CVID"
                                    Width="100%"
                                    TableLayout="Fixed"
                                    GroupLoadMode="Client"
                                    >
                             
                            <Columns>  
                                <telerik:GridClientSelectColumn UniqueName="ClientSelectColumn" Resizable="False" Visible="False">
                                    <HeaderStyle width="30px" HorizontalAlign="Center" CssClass="GridSelectColumnItem"></HeaderStyle>
                                    <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" CssClass="GridSelectColumnItem" ></ItemStyle>
                                </telerik:GridClientSelectColumn>
                                <telerik:GridImageColumn UniqueName="detailIcon" ImageWidth="16px" ImageUrl="~/global/images/icons/search.png" ImageAlign="Middle" AlternateText="View Visit Detail"  AllowSorting="False" AllowFiltering="false" Visible="False">
                                    <HeaderStyle width="30px" HorizontalAlign="Center"></HeaderStyle>
                                    <ItemStyle HorizontalAlign="Left" VerticalAlign="Middle" CssClass="HoverCursor"></ItemStyle>
                                </telerik:GridImageColumn>
                                <telerik:GridBoundColumn HeaderText="CVID" DataField="CVID" SortExpression="CVID">
                                    <HeaderStyle width="125px" HorizontalAlign="Left"></HeaderStyle>
                                    <ItemStyle HorizontalAlign="Left" VerticalAlign="Middle"></ItemStyle>
                                </telerik:GridBoundColumn>
                                <telerik:GridTemplateColumn UniqueName="SpacerColumn" AllowFiltering="false" SortExpression="" ></telerik:GridTemplateColumn>
                            </Columns>
                             
                            <CommandItemTemplate>
                                 
                            </CommandItemTemplate>
 
                            <PagerStyle Mode="NextPrevAndNumeric" AlwaysVisible="True"/>
                             
                        </MasterTableView>
                         
                        <ClientSettings AllowExpandCollapse="True" >
                            <Selecting AllowRowSelect="True" EnableDragToSelectRows="False"  />
                            <Scrolling AllowScroll="True" UseStaticHeaders="True" ScrollHeight="100%" />
                            <Resizing AllowColumnResize="False" EnableRealTimeResize="True" ResizeGridOnColumnResize="True"/>
                            <ClientEvents OnGridCreated="GridCreatedHandler_VFC" OnRowSelecting="CancelNonInputSelect" OnRowSelected="GridRowSelectedHandler_VFC" OnRowDeselected="GridRowDeselectedHandler_VFC"   />
                        </ClientSettings>
                         
                    </telerik:RadGrid>
 
                   
                     
                </asp:Panel>

Galin
Telerik team
 answered on 02 Oct 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?