Telerik Forums
UI for ASP.NET AJAX Forum
12 answers
263 views
Hi

I know you don't support the ipad, but i am trying to make a web application that is ipad browser friendly. The tooltip control is perfect for creating small menu  which when the user clicks (rather than hovers) produces a menu very similar to the built in control of the ipad.
It works perfectly in all areas except one.

At 100% zoom levels on the ipad when you tap/click the parent control the tooltip appears correctly positioned. However if you zoom in the browser  above 100% then the tooltip appears far away from where you have tapped / clicked
I have the positioning set to  relative to the mouse pointer.

I know that you don't support the ipad, but its clear that this touch screen browsing is going to be a big part of the future and it would be great if you could look at this small issue in your future realeases as this control works very well ont he ipad other than this.

thanks

Johnathan
Kamen Bundev
Telerik team
 answered on 23 Feb 2011
2 answers
99 views
Hi All

         I am using radgrid inside custom server control.Then am applying Vista Theme using RadSkinManager in my .aspx page(i mean my test page).From the forum post i come to know Vista theme don't have vertical Grid lines.How can i apply css for rad grid vertical grid lines for vista theme inside the custom server control.Any suggestions.It's urgent pls?..


Thank You
Saranya...
saranya
Top achievements
Rank 1
 answered on 23 Feb 2011
3 answers
158 views
I recently upgraded to 1215.

It looks like the combobox now uses single finger scrolling instead of two finger.

Is there a reason the treeview still uses two finger scrolling?

It would be great to choose single or two finger scrolling for controls that overflow.

Thanks

Trav
Kamen Bundev
Telerik team
 answered on 23 Feb 2011
3 answers
190 views
Hi,

First of all this topic is referenced with this topic http://www.telerik.com/community/forums/aspnet-ajax/grid/grid-edit-command-doesnt-work.aspx in a sense of the logic of the application.

So my question is...
I read the documentation and tested the demos, everything is working as expected but when i want to close or cancel the modal pop-up (lets say i don't wanna edit, update or insert anything) the modal pop-up get stuck and cant get to close/hide it.
I intended to handle de oncancel event in the radgrid but nothing, tested if it was a browser issue and in ie8, ff3.6 and chrome-latest still get the same result.
But here is the rare thing m binding with the publiC DataItem object and if i delete this bindings (currently getting "binded" in the page_load event of the usercontrol) everything just work as always, if a make a bind even just one it get stuck, do i forget to handle and a event?...

Users.aspx
<%@ Page Title="Users | Telerik Trial Testing" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Users.aspx.cs" Inherits="TelerikTrial.Users" %>
  
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <telerik:RadComboBox ID="App_List" runat="server" AutoPostBack="true" DataTextField="ApplicationName"
        DataValueField="LoweredApplicationName" OnSelectedIndexChanged="App_List_SelectedIndexChanged">
    </telerik:RadComboBox>
    <br />
    <telerik:RadAjaxManager runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="App_List">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="App_List" />
                    <telerik:AjaxUpdatedControl ControlID="User_List" LoadingPanelID="RadAjaxLoadingPanel1" />
                </UpdatedControls>
            </telerik:AjaxSetting>
            <telerik:AjaxSetting AjaxControlID="User_List">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="App_List" />
                    <telerik:AjaxUpdatedControl ControlID="User_List" LoadingPanelID="RadAjaxLoadingPanel1" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>
    <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" />
    <telerik:RadGrid ID="User_List" runat="server" AllowPaging="True"
        AutoGenerateColumns="False" GridLines="None"
        Skin="Windows7" OnPageIndexChanged="User_List_PageIndexChanged">
        <PagerStyle Mode="NextPrevAndNumeric"></PagerStyle>
        <MasterTableView EditMode="PopUp" CommandItemDisplay="Top" DataKeyNames="UserName">
            <EditFormSettings UserControlName="CustomEditControlForm.ascx" EditFormType="WebUserControl" InsertCaption="Add new user" CaptionFormatString="Edit User: {0}"
                CaptionDataField="UserName" PopUpSettings-Modal="true" />
            <Columns>
                <telerik:GridEditCommandColumn />
                <telerik:GridClientDeleteColumn />
                <telerik:GridBoundColumn DataField="UserName" ReadOnly="true" />
                <telerik:GridBoundColumn DataField="Email" />
                <telerik:GridBoundColumn DataField="LastLoginDate" ReadOnly="true" />
                <telerik:GridCheckBoxColumn DataField="IsLockedOut" />
            </Columns>
        </MasterTableView>
         <ClientSettings>
            <ClientEvents OnRowDblClick="RowDblClick" />
        </ClientSettings>
    </telerik:RadGrid>
</asp:Content>


CustomEditControlForm.ascx
<%@ Control Language="c#" Inherits="TelerikTrial.CustomEditControlForm"
    CodeFile="CustomEditControlForm.ascx.cs" %>
 
<asp:TextBox ID="TextBox1" runat="server">
</asp:TextBox>

CustomEditControlForm.ascx.cs
using System;
using System.Data;
using System.Collections;
using System.Web.UI;
using Telerik.Web.UI;
 
namespace TelerikTrial.CustomEditControlForm
{
    public partial class CustomEditControlForm : System.Web.UI.UserControl
    {
        private object _dataItem = null;
 
        public object DataItem
        {
            get
            {
                return this._dataItem;
            }
            set
            {
                this._dataItem = value;
            }
        }
         
        protected void Page_Load(object sender, System.EventArgs e)
        {
            // With just this binding the modal get stucks and the browser can't hide it...
            TextBox1.Text = DataBinder.Eval( This.Parent.NamingContainer, "DataItem.UserName").ToString();
        }
    }
}

Best Regards
Princy
Top achievements
Rank 2
 answered on 23 Feb 2011
4 answers
119 views
Hi,

I have just upgraded our application from the old Classic controls to ASP.NET Ajax and the behavior of all of our dropdowns changed as follows.  Whatever item is selected, when you click on the arrow to open the dropdown, the list automatically scrolls so that the selected item is at the very top.  The old version did not do that.  It's mildly annoying and our users may not be willing to put up with that.  Is there a setting I can change so that this doesn't happen?

Thanks,
Olga
Olga
Top achievements
Rank 1
 answered on 23 Feb 2011
10 answers
202 views
Such as in the examples in your help files: http://www.telerik.com/help/aspnet-ajax/images/DesignMode.png
msigman
Top achievements
Rank 2
 answered on 23 Feb 2011
2 answers
157 views
Hi,

I am seeing 2 loading panels when I have only specified one loading panel for one AjaxSetting: screenshot

The mark-up is:

<telerik:RadAjaxManagerProxy ID="DaveRadAjaxManagerProxy" runat="server">
    <AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="DaveRadTabStrip">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="DaveRadTabStrip" LoadingPanelID="DarRadAjaxLoadingPanel" />
            </UpdatedControls>
        </telerik:AjaxSetting>
    </AjaxSettings>
</telerik:RadAjaxManagerProxy>
 
<telerik:RadAjaxLoadingPanel ID="DarRadAjaxLoadingPanel"
                             Transparency="20" runat="server" Width="200px" Height="100px" BackgroundPosition="Right"
                             IsSticky="true" BackColor="Green">
    <img src='<%= Page.ClientScript.GetWebResourceUrl(typeof(RadAjaxLoadingPanel), "Telerik.Web.UI.Skins.Default.Ajax.loading.gif") %>' alt="Loading panel pic" />
</telerik:RadAjaxLoadingPanel>

The RadAjaxManager on the master page is simply:

<telerik:RadAjaxManager ID="DarRadAjaxManager" runat="server">               
</telerik:RadAjaxManager>

Does anyone know why I have more than one displaying?

Cheers
David
Top achievements
Rank 1
 answered on 23 Feb 2011
1 answer
73 views
I just added the Binary image column to my grid and all items are placed at the bottom of the row, I tried setting the Item-VerticalAlign to top but it didn't work. I am attaching a screen shot so you can see what I mean.

Thanks
Daniel
Telerik team
 answered on 22 Feb 2011
1 answer
135 views
Hello,

I am able to successfully modify the CSS style for the purpose of applying a background color to any weekday but not to a weekend.

Protected Sub RadScheduler1_TimeSlotCreated(ByVal sender As Object, ByVal e As Telerik.Web.UI.TimeSlotCreatedEventArgs) Handles RadScheduler1.TimeSlotCreated
      If (DateTime.Compare(e.TimeSlot.Start.[Date], RadScheduler1.SelectedDate) = 0) Then
          e.TimeSlot.CssClass = "SelectedDate"
      End If
      If e.TimeSlot.Start.[Date].DayOfWeek = DayOfWeek.Saturday Then
          e.TimeSlot.CssClass = "SelectedDate"
      End If
End Sub

The SelectedDate receives the CSS class "SelectedDate" unless it is a weekend. Furthermore, I cannot simply apply the CSS class to the weekend. I am using x. 2010.3.1317.40.

Thanks!
Norman
Top achievements
Rank 1
 answered on 22 Feb 2011
1 answer
151 views
 
I have come across an interesting situation and was hoping you could help me out.
 
I have a rad grid with a command item in the top which allows "insert a new record". In the vb.net code, I do a response.Redirect to the page where they can create a new record. This worked fine. However, after switching to vs2010 and .net 40 (I am using telerik 2010.1.309.40), this insert new record functionality does not redirect. I get the ajax circle for a few seconds on my grid, and then the circle disappears, leaving the grid as before, without my being redirected. When I drop a simple button on the form and do the redirect from there, it works fine.
 
Any idea what is going on?
 
Thanks
 
Daniel
Daniel
Top achievements
Rank 1
 answered on 22 Feb 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?