Radtextbox - Object doesn't support this property or method

4 posts, 0 answers
  1. Sunil
    Sunil avatar
    28 posts
    Member since:
    Feb 2011

    Posted 18 Apr 2011 Link to this post

    Hello Sir/Mam

    I'm using 4 radtextbox which are invisible(visible=false). OnClientItemClicking of contextmenu of form i'm tring to store radwindowbounds(x,y,height,width) into radtextbox--- but it show error as  Object doesn't support this property or method

    Code :-
    • Javascript Code
                function OnClientItemClicking(sender, eventArgs) {
               
                    $find("<%= x.ClientID %>").SetValue(GetRadWindow().getWindowBounds().x);
                    $find("<%= y.ClientID %>").SetValue(GetRadWindow().getWindowBounds().y);
                    $find("<%= width.ClientID %>").SetValue(GetRadWindow().getWindowBounds().width);
                    $find("<%= height.ClientID %>").SetValue(GetRadWindow().getWindowBounds().height);         
         
                }
                
    • ASP Code
     <telerik:RadTextBox ID="x" runat="server" visible="false"   />
     <telerik:RadTextBox ID="y" runat="server" visible="false"  />
     <telerik:RadTextBox ID="width" runat="server" visible="false"   />
     <telerik:RadTextBox ID="height" runat="server"  visible="trfalseue"  />

    <Telerik:RadContextMenu id="SavePersonalSetting"  runat="server"  OnClientItemClicking="OnClientItemClicking">
                 <Targets>
                        <Telerik:ContextMenuTagNameTarget TagName="form" />
                 </Targets>
                 <Items>
                     <Telerik:RadMenuItem Text="Save Personal Setting" Value="SPS" />
                </Items>
      </Telerik:RadContextMenu> 

    Please help in this regard ,Any help will be greatly appreciated..............


               

  2. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 20 Apr 2011 Link to this post

    Hi Sunil,

    I would suggest you to review the following online resources which elaborates on the RadInput Client-Side API:
    http://www.telerik.com/help/aspnet-ajax/input-client-side-basics.html
    http://www.telerik.com/help/aspnet-ajax/input-client-side-radtextbox.html

    Regards,
    Maria Ilieva
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

  3. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 20 Apr 2011 Link to this post

    Hi Sunil,

    I would suggest you to review the following online resources which elaborates on the RadInput Client-Side API:
    http://www.telerik.com/help/aspnet-ajax/input-client-side-basics.html
    http://www.telerik.com/help/aspnet-ajax/input-client-side-radtextbox.html

    Regards,
    Maria Ilieva
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

  4. Sunil
    Sunil avatar
    28 posts
    Member since:
    Feb 2011

    Posted 21 Apr 2011 Link to this post

    Thanks Maria.. I'l go through that
Back to Top