Telerik Forums
UI for ASP.NET AJAX Forum
9 answers
144 views
We have an issue with the editor in Google Chrome. When the editor gets loaded the cursor does not look like it is in the editor box. If you click in the box then the cursor is there and you can start typing but you get a blank line at the top that you cannot remove. Our clients are complaining about this :)

It does not do this in Firefox. If you do the above and then switch to html view you see "<p>text</p>". If you do the same in FireFox you see nothing in html view. Ironically if you switch to html mode in Google first and then switch back that does not happen. 

How can we fix this so our clients are not unhappy?

DogBizPro
Top achievements
Rank 1
 answered on 12 Jun 2014
2 answers
77 views
Hi Danail,

When a chart has no data present it would be nice if the chart had a built in way to display a custom message indicating no data.  Obviously you can detect this from the code behind and then display the message over the top of the chart but a built in mechanism would be nice.  Even nicer would be some way to have a nice grayed out chart along with the text.

Could that be added to the feature request list please?

Regards

Jon
Jon
Top achievements
Rank 1
 answered on 12 Jun 2014
4 answers
147 views
Hello

We have a User Control (.Net, c#) that uses RadComboBox with MarkFirstCharacter=true and Filter="Contains".
When we started typing in the box, it would filter out using the characters as we type them.
It used to work in IE9 and IE10.  But now with IE11, it has stopped working. 
It only uses the first character.  We can see that it has found all instances of items that use that character but as soon as we type the second character, it stops filtering.  It works in Compatibility mode and also in Firefox.

Any ideas?

Thank you
Raka
Raka
Top achievements
Rank 1
 answered on 12 Jun 2014
6 answers
125 views
I am attempting to iterate through a RadGrid and check the values of the checkbox inside a template column.

So far what I have is the following: 

Protected Sub btnAssignToLocation_Click(ByVal sender As Object, ByVal e As System.Web.UI.ImageClickEventArgs) Handles btnAssignToLocation.Click
  
            Try
                For Each myRow As GridDataItem In myGrid.Items
                    Dim myID As String = myRow("ProductID").Text
                    Dim myInLocation As CheckBox = CType(myRow.FindControl("cbLocationUsed"), CheckBox)
                    If Not myInLocation Is Nothing Then
                        If myInLocation.Checked Then
                            MyData.ProcNonQuery("myQuery", "@LocID", lcLocation.LocationID, "@ID", myID)
                        Else
                            MyData.ProcNonQuery("myQuery", "@LocID", lcLocation.LocationID, "@ID", myID)
                        End If
                        PolicyPDFCache.ClearLocationCache(lcLocation.LocationID)
                    End If
                Next
            Catch ex As Exception
                     'my error code
  
            End Try
End Sub

I get the error, "Reference to a non-shared member requires an object reference." On the line For Each myRow As GridDataItem In myGrid.Items. I have googled this, but come up with 0 results that either worked or made sense for me/my project. I am not quite sure how to get rid of this. I am pretty certain I am doing the iteration correctly. I have referenced a few posts on the Telerik forums as well as StackOverflow.
Alexander
Top achievements
Rank 1
 answered on 12 Jun 2014
3 answers
179 views
 Hi all,

I have a problem in displaying the calendar control inside collapsible control after i upgrade the telerik controls . The current version i am using is 2013.3.1324.35.See attached screenshot for the problem.

Before upgrading the Telerik control , i had 2009.1.527.35 . That time calendar control was displaying correctly under collapsible control. Pls help me on this.

Thanks in advance

Thanks
Raj
Shinu
Top achievements
Rank 2
 answered on 12 Jun 2014
2 answers
329 views
I have a checkbox defined as

<telerik:RadButton ID="checkbox1" runat="server" Text="testing" ButtonType ="ToggleButton" ToggleType="CheckBox" OnClientClicked="checkbox1_ClientClicked"></telerik:RadButton>

What I want to do in the ClientClicked event is only check the box (and uncheck a different checkbox) when the user selects OK. Everything else seems to work fine but even though the last thing I do in the "ok" case is .set_checked(false) the box remains checked. Here is the javascript:

            function checkbox1_ClientClicked(sender, eventArgs) {
                var checkbox1 = $find('<%=checkbox1.ClientID%>');
                function CallbackFn(arg) {
                    if (arg) {
                        var checkbox1 = $find('<%=checkbox1.ClientID%>');  // I know I probably don't need this, just being safe
                        var checkbox2 = $find('<%=checkbox2.ClientID%>');
                        checkbox1.set_checked(true);
                        checkbox2.set_checked(false);
                    }
                    else {
                        checkbox1.set_checked(false);
                    }
                }
                if (checkbox1.get_checked()) {
                    return radconfirm("warning text", CallbackFn, 330, 150, null, "title");
                }
            }

I've also tried the ClientCheckedChanged and ClientCheckedChanging events with similar results. What obvious, basic thing am I missing? 8^)
Harry
Top achievements
Rank 1
 answered on 12 Jun 2014
3 answers
240 views
Is there any way to have radgrid Hierarchy data table expand arrow ONLY shows when there are child data records there? DO NOT show if no child data.

So the user don't have to click the arrow to open the child data if no child data exists.

Thanks,


Princy
Top achievements
Rank 2
 answered on 12 Jun 2014
1 answer
54 views
I've got radgrid control which is inside a user ascx file. I'm doing this because I should use radgrid in mvc(so there is no other way - is should wrap it in user control)


<%@ Control Language="C#" AutoEventWireup="true" Inherits="MvcBeaWeb.ProductsShowTile" CodeFile="ProductsShowTile.ascx.cs" %><br><%@ Import Namespace="MvcBeaWeb" %><br><%@ Register Assembly="Telerik.Web.UI" TagPrefix="telerik" Namespace="Telerik.Web.UI" %><br><%@ Register TagPrefix="qsf" Namespace="Telerik.QuickStart" %><br><br><br><form id="form_TilesShow" runat="server"><br><br><telerik:RadScriptManager ID="RadScriptManager1" runat="server" ><br></telerik:RadScriptManager><br>  <br>     <telerik:RadAjaxPanel runat="server" ID="RadAjaxPanelTilesShow" LoadingPanelID="RadAjaxLoadingPanelTilesShow"<br>         HorizontalAlign="Center"   Width="472px" ><br><br>         <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"><br>        <AjaxSettings><br>            <telerik:AjaxSetting AjaxControlID="radGrid1"><br>                <UpdatedControls><br>                    <telerik:AjaxUpdatedControl ControlID="radGrid1" /><br>                </UpdatedControls><br>            </telerik:AjaxSetting><br>        </AjaxSettings><br>    </telerik:RadAjaxManager><br>         <div class="mainHolder"><br>                 <div class="qsf-ib tileListHolder">        <br>                      <telerik:RadGrid runat="server" OnNeedDataSource="RadGrid1_NeedDataSource" ID="RadGrid1" AutoGenerateColumns="false" AllowPaging="True" PageSize="3" OnPageIndexChanged="RadGrid2PageIndexChanged"  ><br>                          <PagerStyle Mode="NextPrevAndNumeric" Position="TopAndBottom" PageSizeControlType="RadComboBox"></PagerStyle><br>                             <MasterTableView><br>                                <Columns><br>                                      <telerik:GridBoundColumn DataField="ArticlegroupID" HeaderText="idddd" UniqueName="groupID">                           <br>                                      </telerik:GridBoundColumn><br>                                 <br>                                       <telerik:GridBoundColumn DataField="SpecialWord" HeaderText="ProductDescription" UniqueName="ProductDescr" ><br>                                       </telerik:GridBoundColumn>  <br>                                       <telerik:GridImageColumn DataType="System.String" DataImageUrlFields="ImageFile"<br>                                            AlternateText="Customer image" <br>                                            ImageAlign="Middle" ImageHeight="100px" ImageWidth="82px" HeaderText="Image Column"><br>                                       </telerik:GridImageColumn>   <br>                                </Columns><br>                             </MasterTableView><br>                     <br>                          <br><br>                      </telerik:RadGrid>    <br>                     <br>                                              <br>                 </div><br>         </div><br>     </telerik:RadAjaxPanel> <br>    <br></form>



As I want to use paging  I have set allow pagin to true; In my ascx.cs file I only have Onneeddata source function in which I bind the datasource of the grid. The strangest thing is that it showas me - 3 items of 4/ page1 but nothing happens when I click the second page. There is not even a javascript error  


nam
espace MvcBeaWeb<br>{<br>    public partial class ProductsShowTile: System.Web.Mvc.ViewUserControl<br>    {<br>        protected void RadGrid1_NeedDataSource(object sender, Telerik.Web.UI.GridNeedDataSourceEventArgs e)<br>    {<br>           <br><br>            RadGrid p_RadIconProducts = this.FindControl("RadGrid1") as RadGrid;<br><br>            List<WebServiceBeaMenu> radTileIcon = new List<WebServiceBeaMenu>();<br>            radTileIcon = MvcBeaDAL.WebServiceBea.GetArticle(p_menuID, p_articlegroupID, p_id).ToList();<br>            p_RadIconProducts.DataSource = radTileIcon;<br>      <br>    }<br>


I'm starting to wonder if I would be able to use paging in mvc as here in mvc there is no postback and I would be happy if you advise me how to overcome this probklem




Radoslav
Telerik team
 answered on 12 Jun 2014
2 answers
149 views
I have a wrapper class over RadDatePicker.
public class DatePicker : Telerik.Web.UI.RadDatePicker
{
    public DatePicker()
        : base()
    {
        //
        // Some code her
        //
    }
}
Now, I have my own implementation here. I want to use the event's like DateInput-ClientEvents-OnBlur:
<tele:DateTimePicker id="date" runat="server" autopostback="true" DateInput-ClientEvents-OnBlur="alert('Ding');"/>

But, I couldn't get it working. Not getting what did I miss.
Thanks.
IO
Gun
Top achievements
Rank 1
 answered on 12 Jun 2014
2 answers
79 views
Hi guys,

I've an aspx web form with a radAjaxManager, which handles some autopostback input and refreshes a custom ascx

In the ascx there is some hiddenField which is setted server side, depending on aspx' input values, and some javascript

I want to execute some javascript function depending on the hiddenField value, so I'm checking it in a js pageLoad event

The problem is, despite the fact html values are updated (I can see it with firebug), the pageLoad sees always the same value

If I do something simple as alert($(hiddenField).val()) I see always the original, entire-page-loaded value, and not the ajax updated value

What's wrong? Some clue?

Thank you,

Martino
Martino
Top achievements
Rank 1
 answered on 12 Jun 2014
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?