Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
457 views
I am using a ASP.NET Ajax telerik control 2013 release. Created a Rad Date picker with width of 100px. Textbox is appearing same width as 100px in page's default direction 'ltr'. But when I changed the page direction 'rtl' textbox width is shrinking.

Please see the attachment more clarification. help me to solve the issue.
Shinu
Top achievements
Rank 2
 answered on 24 Oct 2013
0 answers
44 views
Hi,

We are using the telerik controls in our web application. We have a page with panelbar and ajax manager for postbacks since user does not want to see the page post back.

We have totally 8 tabs. In each tab we have one rad grid. and in the tab 7 we have one grid with 7 columns(3labels and 4 textboxes item template).
We initially had pagination in all grids but the user does not want to use the pagination and required scrolling. So we disabled the paging and enabled the scrolling. Everything works fine in IE 10, Firefox, Chrome.

But some users using IE8 and xp. Here is the problem starts. When they open tab7, the AJAX loader starts but in few seconds the IE shows message "not responding".  After a long time, the process is completing. And further ajax request are also not responding and taking so long time. This is happening only in IE8.

We investigate further and created a seperate page and had only that grid without ajax. This page is opening faster as expected. But when we add ajax and panel bar that is the time problem starts.

Note: When we add paging to the grid (20rows) everything works fine

Because of this issue, we have forced to postpone our production release.

Can any one of the Telerik employee help us to fix this problem?

thanks,
sri
SRIKRISHNAN
Top achievements
Rank 1
 asked on 23 Oct 2013
2 answers
130 views
Dear all

For some strange reason the RadTreeView will not allow me to deselect the bottom node (as seen in picture).  I have tried to programmatically select the node and even setting a SelectedCssClass with transparent as background color and still the same result.  If any other node is clicked the selection reverts back to the same one.

I load the nodes programmatically using the following code ...
Private Sub PopulateNodes(ByVal nodes As Telerik.Web.UI.RadTreeNodeCollection, Optional parentid As Integer = Nothing)
    Dim objConn As New SqlConnection(Application("dbRO"))
    Dim tConn As New SqlConnection(Application("db"))
    Dim objCommand As New SqlCommand("SELECT ItemID,ItemDescription,ItemURL,ImageURL FROM tblROMenuItems sc WHERE Visible=1 ORDER BY ItemOrder", "ItemParent=@ParentID AND Visible=1 ORDER BY ItemOrder,ItemOrder2,ItemOrder3,ItemOrder4"), objConn)
    If Not (parentid = 0) Then objCommand.Parameters.Add("@ParentID", SqlDbType.Int).Value = parentid
    Dim da As New SqlDataAdapter(objCommand)
    Dim dt As New DataTable()
    da.Fill(dt)
    For Each dr As DataRow In dt.Rows
        Dim tn As New RadTreeNode
        Select Case dr("ItemID").ToString
            Case "52" 'separation lines
                tn.Enabled = False 'tn.SelectAction = TreeNodeSelectAction.None
        End Select
        tn.Value = dr("ItemID").ToString
        tn.ImageUrl = dr("ImageURL").ToString
        tn.Text = dr("ItemDescription").ToString
        tn.CssClass = IIf(parentid = 0, "rootNode", "childNode")
        tn.Target = dr("ItemURL").ToString
        nodes.Add(tn)
        PopulateNodes(tn.Nodes, dr("ItemID"))
    Next
End Sub

and the aspx call for the control
<asp:Panel BorderStyle="None" CssClass="Menu" HorizontalAlign="Left" ID="pnlModules" runat="server" ScrollBars="Auto" style="background-size: 100%; left: 0; position: relative; top: 0; width: 100%">
    <telerik:RadTreeView BorderStyle="None" ExpandAnimation-Duration="200" ID="TreeView1" RenderMode="Lightweight" runat="server" SelectedCssClass="selectedNode" ShowLineImages="False" SingleExpandPath="True" Width="100%" MaxDataBindDepth="10" />
</asp:Panel>

After this code executes then I have tried the TreeView1.SelectedNodes.Clear() .  Nothing works!

Any help with this matter would be most appreciated!

Neftali Figueroa
System Analyst
nfigueroa
Top achievements
Rank 1
 answered on 23 Oct 2013
2 answers
57 views
Hi,

I'm using RadContextMenu with the ContextMenuDocumentTarget and it works great because I can right click anywhere on the page to bring up the context menu.

However, is there an easy way I can keep using ContextMenuDocumentTarget but have it disabled on input controls like textboxes and text areas?

Basically, I want the default browser context menu to show up when right-clicking inside input controls, but every where else on the page, for the RadContextMenu to show. 

Thanks!
Sam
Top achievements
Rank 1
 answered on 23 Oct 2013
2 answers
225 views
We have an odd problem with RadMenu. Unfortunately I haven't access to the version info at the moment but let's assume that we are using the "latest" releases of Telerik tools, IE9 and Firefox. (Update: Telerik version 2013.2.717.40)

The web site has been running for years with a home grown menu system but now we have changed to RadMenu (as the first attempt to use Telerik tools). I works like a charm for most of the time but we have one very odd problem. Occasionally, RadMenu does not fire the Click event.

It seems as - when using IE9 -  RadMenu doesn't fire the Click event if a textbox has focus after a postback. Sounds odd, I know...  We are able to reproduce the problem on a page that has a textbox for search argument, a Search button and a resultant gridview. If we use that page in a way that causes the textbox to have focus after a postback, the problem is present.

What SHOULD happen (and did happen before upgrading to RadMenu):

  1. Enter whatever you want in the textbox
  2. Press Enter or click Search
  3. Get a resultant grid (or not, if no hit)
  4. Hovering over a root menu item will automatically expand a submeny
  5. Click a submenu item
  6. The new page will open.

With RadMenu, the following alternatives are present:

  • If the Search button is used, everything works as above. (the textbox doesn't have focus after popstback)
  • If a real result is presented (regardless of if Enter or Search is used), everything works as above. (the textbox doesn't have focus after postback)
  • If NO result is returned AND the Enter button was used, the textbox have focus after postback and the following happens:

  1. Enter something that will result in no hits
  2. Press Enter
  3. After postback, no result is presented and the input cursor is still in the textbox.
  4. Hovering over a root menu item will automatically expand a submenu
  5. The cursor in the textbox will be visible through the submenu if they occupy the same screen space.
  6. The first click on a submenu item will highlight that item but nothing more happens. No postback, nothing.
  7. Click another submenu item, or let  the submenu collapse and then expand again and click the same item once more.
  8. The new page will open.

So, from what I can see, the FIRST click on a submenu item doesn't work if a textbox has focus after a postback.
To add to the confusion: If I manually set focus to the textbox before using the menu, everything works as expected. And please note that this is just an example - the same problem is present on all pages that has a similar functionality.
And finally...browsing the same web site with Firefox is flawless, no problem at all...

Is this a known situation?
Gunnar
Top achievements
Rank 1
 answered on 23 Oct 2013
4 answers
137 views
Is there a way sort the pivot grid according to the values of a column? For example, in the filtering demo I would want to sort the "Line" rows based on the values in the "M-Class" column of the grid.
Erik
Top achievements
Rank 2
 answered on 23 Oct 2013
1 answer
123 views
Hi,

I just upgraded Telerik controls version in order to fix an issue with Telerik controls not working on IE10.

So, what I have right now is this package: \Telerik\RadControls for ASP.NET AJAX Q2 2013\Bin40\Telerik.Web.UI.dll

and this version: 2013.2.717.40

While Telerik controls are now working ok in IE10, a new problem has arisen in displaying RadButtons, which show now an undesired style or layout (I do not know what it is) as shown in the attached images.

I would like to know how to fix this issue.

Thanks for your time.

Danail Vasilev
Telerik team
 answered on 23 Oct 2013
3 answers
239 views
We have Telerik AJAX button on our website (goweb01.gotransit.com) but every time we press the button, the whole page refreshes and we see this error in the Javascript console:

  1. Uncaught TypeError: Cannot read property 'PageRequestManager' of undefined ScriptResource.axd?d=UkTnI2PyExQq6hvR3VWbSfDSDMXg_yRR5zl1UL_EoBvwCCFpJ7rBNnU4rublzU1P3GixscEIG8m-SM…:514
    1. (anonymous function)default.aspx:525

Contact us

We are here for you.
  • +1‒888‒365‒2779
  • +44‒20‒7291‒0580
  • +359‒2‒8099850
  • +49‒89‒2441642‒70
  • +61‒2‒8090‒1465
  • sales@telerik.com
TelerikPRODUCT FAMILIES
  • Hi, Derrick Lau

  • ABOUT US

Derrick
Top achievements
Rank 1
 answered on 23 Oct 2013
7 answers
146 views
I submitted a support ticket on this item, just wanted to post here as well in case anyone knows the answer.

When I attempt to use any of the Aysnc Upload demos that Telerik has using an IPAD with Retina Display running the latest version of IOS 6 - it fails, always. I cannot upload via the demos that Telerik has posted.

When I implement my own version in my custom application it will work when i first hit the page and for a little time after.
However, after some period of time (a few minutes) - it will stop uploading and will just sit there and blink at me.
It will not work after a page refresh.
The only way to get it working again is to leave the page, come back to the page and then it works for several minutes.


So to sum up: It NEVER works on Telerik demos but it  works for just a couple of minutes in my custom application before failing.

Any ideas? Anyone else have this issue?

Thanks,
~Patrick
Hristo Valyavicharski
Telerik team
 answered on 23 Oct 2013
1 answer
83 views
I have a rowclick event that puts the row into edit mode:

function RowClick(sender, eventArgs) {
sender.get_masterTableView().editItem(eventArgs.get_itemIndexHierarchical());
}

Now I want to modify it so that clicking the row a second time takes it out of edit mode and saves it - just as though you were clicking 'update'.

I also need to remove the update/cancel so that only clicking on the row toggles edit/update mode

Viktor Tachev
Telerik team
 answered on 23 Oct 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?