Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
191 views
Hi

In the editor is there a way to cancel key presses? I've tried a couple of things (onkeyup return false etc). But the key pressed still gets into the text?

Thanks
David
Rumen
Telerik team
 answered on 09 Aug 2017
0 answers
115 views

Hi everyone,

I have a problem when I use the "Stacked" attribute of Chart. I have 2 series, and I would like to stack them horizontally.

When the value of the first serie is greater or equal than 80, then proportion are no longer respected (see screenshots).

On the first screenshot, the first serie has a value of 79, the second serie 21.

On the second screenshot, the first serie has a value of 80, the second serie 20. And here is my problem.

My chart is created in server side. Here is a part of code :

SeriesItem itemPro = new SeriesItem(80);
SeriesItem itemPrivacy = new SeriesItem(20);
chartEngine.PlotArea.Series[0].Items.Add(itemPro);
chartEngine.PlotArea.Series[1].Items.Add(itemPrivacy);
 
(chartEngine.PlotArea.Series[0] as ColumnSeries).Stacked = true;

 

Any help would be appreciated.

Loïc
Top achievements
Rank 1
 asked on 09 Aug 2017
0 answers
163 views

We are getting the below error when the focus is moved out of the grid. The telerik rad grid which we are using has got around 45 columns. In the row edit mode, it has got text boxes and drop downs binded to it.

The telerik version which we are using is v4.0.30319 and Visual Studio version is 2015.

If the number of grid columns is around 37, we are not getting any issue.

Please advise us on how to fix this

Unhandled exception at line 16180, column 31 in http://localhost:54740/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=;;System.Web.Extensions,+Version=4.0.0.0,+Culture=neutral,+PublicKeyToken=31bf3856ad364e35:en-US:c577adfd-7619-4e5f-98eb-f0d5d1eb5766:ea597d4b:b25378d2;Telerik.Web.UI,+Version=2013.3.1114.40,+Culture=neutral,+PublicKeyToken=121fae78165ba3d4:en-US:8d3dfe81-f887-4a80-ad14-8e882b52e5e6:16e4e7cd:f7645509:24ee1bba:e330518b:2003d0b8:88144a7a:1e771326:c8618e41:ed16cbdc:f46195d3:6b3f73b3:b7778d6c:e085fe68:58366029:ccd65cf8:7165f74:92fe8ea0:fa31b949:874f8ea2:19620875:490a9d4e

0x800a138f - JavaScript runtime error: Unable to get property 'getElementsByTagName' of undefined or null reference

Adarsh
Top achievements
Rank 1
 asked on 09 Aug 2017
1 answer
215 views

Hi Team,

I have a usercontrol having Loding Panel:

<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" OnAjaxRequest="RadAjaxManager1_AjaxRequest"
    EnableAJAX="true">
    <AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="RadAjaxManager1">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="grdSummary" LoadingPanelID="ralp1" />
                <telerik:AjaxUpdatedControl ControlID="pnlEditor" LoadingPanelID="ralp1" />
            </UpdatedControls>
        </telerik:AjaxSetting>
    </AjaxSettings>
</telerik:RadAjaxManager>

<asp:Panel runat="server" ID="pnlEditor" CssClass="editor">

<asp:Button ID="cmdSave" CssClass="GeneralButton" runat="server" Text="Save/Update"
                                    OnClientClick="clearErrors(); if(!Validate())return false; updateChanges(); return false;" />

</asp:Panel>

 

<telerik:RadGrid ID="grdSummary" runat="server" AutoGenerateColumns="false"

        Skin="Default" GridLines="None" AllowAutomaticUpdates="false"
        ShowStatusBar="true" OnNeedDataSource="grdTargetSummary_NeedDataSource" OnDataBound="grdTargetSummary_DataBound"
        OnItemDataBound="grdTargetSummary_ItemDataBound">
        <MasterTableView DataKeyNames="TrgtID" ClientKeyDataNames="TrgtID">
            <Columns>....

In Aspx page, I am having below code as well as the above usercontrol

<td>
  <asp:TextBox ID="txtDate" runat="server" CssClass="Calender1" />
    <div id="dateWarning" class="ErrorText">
    </div>
    <ajaxToolkit:CalendarExtender ID="txtDate_CalendarExtender" runat="server"
    Enabled="True" TargetControlID="txtDate" />
 </td>

When I select date then the LoadingPanel will visible indefinitely. It happens in EDGE Browser only.

Earlier I had 2009 Telerik.web.ui dll but now I have upgraded to 2017 but still same issue occurs.

Please help me on this.

Thanks in advance.

 

Eyup
Telerik team
 answered on 09 Aug 2017
0 answers
184 views

Hello,

 

Iam using Rad DatePicker contis and its OndateSelected event is not working / not firing. I wanted to hide control on date change and the event is not being fired. Here is my control and its attributes.

 <telerik:RadDatePicker AutoPostBack="true"   OnSelectedDateChanged="webLink_SelectedDateChanged" 
                ID="webLink" runat="server" ShowPopupOnFocus="false" EnableShadows="false"  Visible="true"
                Width="200px">
            <clientevents OnDateSelected="DateSelected" />                      
                  <Calendar ID="Calendar1" runat="server" EnableKeyboardNavigation="true" EnableMultiSelect="false" />
                    <DatePopupButton CssClass="adjustdate" ImageUrl="../../images/calendar.png" HoverImageUrl="../../images/calendar.png"
                    Visible="true"   ToolTip ="<%$ Resources: Timetable, CALENDAR_TOOLTIP %>" Style="display:inline-block"  />
        </telerik:RadDatePicker>   </span> 

 

function DateSelected(sender, e) {
                $("#ctl00_ContentPlaceHolder1_webLink_dateInput").hide();
                $("#ctl00_ContentPlaceHolder1_webLink_dateInput").parent().parent().attr('style', 'display:none;');
            }

t
Top achievements
Rank 1
 asked on 09 Aug 2017
0 answers
82 views

i want to add item template ( edit & delete) in grid  

if if press edit button the edit panel appear to edit the selected row 

thanks 

Muhammad
Top achievements
Rank 1
 asked on 08 Aug 2017
0 answers
103 views
Hello,

I have a radcombo box with checkboxes enabled.  When a user checks an item some server side action is carried out which results in a radgrid being rebound.
This works ok except that combo collapses every time the user changes the status of the checkboxes.  Is there any way I can stop this from happen?
Thanks,

Andy.
Developer
Top achievements
Rank 1
 asked on 08 Aug 2017
0 answers
146 views

Is it possible to have a Horizontal scroll bar under the grid header as well as at the bottom of the grid?

I have attached a screenshot of my grid.

The two columns on the left are frozen.

Ideally I would like the scrollbar to only appear for the columns that are not frozen

Suzan
Top achievements
Rank 1
 asked on 08 Aug 2017
1 answer
162 views

Greetings, we're dynamically generating the columns and GridColumnGroups of a RadGrid in codebehind. At the point where we're adding a new column group to the MasterTableView of the RadGrid, we're establishing a specified GridColumnGroup HeaderText and Name (as a token). Then in the RadGrid ItemCreated event handler, we're detecting that the GridHeaderItem is being created...and then iterating over the TableCells in the GridHeaderItem to find the cell that starts with that token. . .and finally inserting a RadComboBox in the controls collection of that TableCell.

This worked flawlessly until the last Telerik update. Now all that is seen is the GridHeaderItem HeaderText/Name, instead of the RadComboBox. Any assistance would be greatly appreciated. Thanks!

Peter Milchev
Telerik team
 answered on 08 Aug 2017
5 answers
1.7K+ views

I have a radButton and in the OnClick method in code behind I am using it to update a bunch of SQL rows.

When a user clicks the button I need to be able to display a pop-up message asking to Confirm Yes/No and if the user clicks No, the OnClick method with the SQL update is no longer fired, only if the user clicks Yes it should fire. Basically if no then stop the postback.

How can this be done?

Silviu
Top achievements
Rank 1
 answered on 08 Aug 2017
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?