Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
72 views
Hi,

Is it possible to do inline edits? On all fields?

http://www.yvoschaap.com/index.php/weblog/ajax_inline_instant_update_text_20

For all the forms, currently I have 2 different views, one for edit and one for viewing only. this causes almost 2wice the work. I would love it if telerik controls can have inline edits. Basically, it should look like you are viewing the values, but when you click on it, it should either turn into a textbox or the appropriate control.


Thanks.
Marin
Telerik team
 answered on 26 Oct 2010
1 answer
223 views
hi guys,
I have a grid with paging mode "NextPrevAndNumeric".

The numeric and page-size-selecting work fine, however, the Next and Prev buttons doesn't work. The page refreshes but data remain the same as before.

here is my code: (dataSource is set in .cs file)

<telerik:RadGrid runat="server" id="fr_grid"
    AutoGenerateColumns = "False" GridLines="None"
    Width="99%" Height="360px" HorizontalAlign="Right" Font-Size="Small"
    AllowPaging="True" AllowSorting="True" Visible="True"
    OnDataBound="grid_data_bound" PageSize="10"
    OnItemDataBound="fr_grid_ItemDataBound">
                         
   <HeaderStyle CssClass="fr_grid_header"/>
   <ItemStyle CssClass="fr_grid_row" />
   <AlternatingItemStyle CssClass="fr_grid_alt_row" />
   <SelectedItemStyle CssClass="fr_grid_selected_row" />
   <MasterTableView Width="100%" TableLayout="auto" />
   <PagerStyle Mode="NextPrevAndNumeric" AlwaysVisible="true" />
   <ClientSettings>
    <Selecting AllowRowSelect="True"></Selecting>
    <Scrolling AllowScroll="True" SaveScrollPosition="True" ScrollHeight="350px"></Scrolling>
   </ClientSettings>
</telerik:RadGrid>
Marin
Telerik team
 answered on 26 Oct 2010
1 answer
80 views
Hello, I am trying to get the value for a hidden column in the client-side OnRowSelected event.  I cannot figure out how to do this or if it is even possible.  I AM able to get the cell values for columns that are being displayed.  Please advise.

Thanks,
--nick
Princy
Top achievements
Rank 2
 answered on 26 Oct 2010
1 answer
139 views
Hello,

How do I programmatically select a row?

Thank you

Regards
Raj
Princy
Top achievements
Rank 2
 answered on 26 Oct 2010
1 answer
48 views
is is possible to declaratively set the pagesize of a child grid?

I have the parent grid defined with page size =  5, and the child grid (DetailTable) is defaulting to also have a page size = 5, but I'd like to have it have a different page size. 

Is that possible?
Debbie
Top achievements
Rank 1
 answered on 26 Oct 2010
3 answers
223 views
Hi

I want to be sure that I cannot do this:
Align the right border of the tooltip with my element (in example below Element=link).

              link
#### tooltip #####


The thing is that my tooltip is variable in length dependent on the content. So it could be 200 or 400 pixels for example.

              link
#### lots of text in tooltip #####


But since the link is on the right side of the window, it goes partially hidden.

The good solution would be to have a new position="RightAlign".

Let me know,
Francois
Francois
Top achievements
Rank 1
 answered on 26 Oct 2010
2 answers
74 views
Firefox Firebug with YSlow will report on main pages but YSlow doesn't catch windows.

Any ideas for how we can do that?

Thanks!
TonyG
Top achievements
Rank 1
 answered on 26 Oct 2010
1 answer
35 views
I need to turn off the borders on the end of the menu control.  I have a graphic background that makes the menu appear to stretch from one side of the browser to the other.  The menu sits on the graphic and looks good except that the menu border is on the ends and breaks up the graphic.  I want to keep the top and bottom borders just not the sides.

Thanx,

Eric
Cori
Top achievements
Rank 2
 answered on 25 Oct 2010
1 answer
91 views
Hi,
    I have a problem in my application where i have used Tabstrip control in UserControl and i have used this UserControl in my aspx page. Please find the code below.


--%><telerik:RadMultiPage ID="RadMultiPage1" runat="server" Width="922px" Height="268px"></telerik:RadMultiPage><%--
    --%><telerik:RadTabStrip ID="RadTabStrip1" runat="server" Height="43px"
        Orientation="HorizontalBottom" EnableEmbeddedSkins="False" Skin="Marquee" Width="922px"
        MultiPageID="RadMultiPage1" 
        OnClientMouseOver="SelectMyTab" ClickSelectedTab="True" OnClientMouseOut="UnSelectMyTab(event)"
        OnClientTabSelected="OnSelected" CausesValidation="False">
    </telerik:RadTabStrip>
    <script language="javascript" type ="text/javascript">
//       function ClientMouseOverHandler(sender, eventArgs)
//       {
//        var tabStrip = sender;
//        var tab = eventArgs.Tab;
//        var browserEvents = eventArgs.EventObject;
//        alert("You have just moved over the " + tab.Text + " tabs in the " + tabStrip.ID + " tabstrip");
//        alert("Mouse coordinates: " + browserEvents.clientX + ":" + browserEvents.clientY); 
//       }
        function SelectMyTab(obj, args)           
        {           
            alert("OnMouseOver");
            args.Tab.Select();   
        }
          
        function UnSelectMyTab(e)           
        {     
            var tabStrip = <%= RadTabStrip1.ClientID%>;   
            var z=<%= RadTabStrip1.ClientID%>.SelectedTab;    
           //alert(z.Text);  
            var selectedtab;     
            //Find the element which the mouse is over     
            var destElement = e.relatedTarget || e.toElement;  
            //Check if that element is part of the tabstrip   
            while (destElement)     
            {     
                if (destElement.parentNode == tabStrip.DomElement)     
                {     
                    return;     
                }     
                destElement = destElement.parentNode;     
            }     
        
          
        function OnSelected(sender, eventArgs)  
        {  
             alert("OnSelected");
             var currentTab = <%= RadTabStrip1.ClientID %>.SelectedTab;  
             return false;  
        }  
    </script>


My requirement is Tab should get activated in Mousemove. Butt tabs are working proper in OnClick event. But it is not working in MouseOver event.

Please help me.

Thanks in Advance

 

 

 

Cori
Top achievements
Rank 2
 answered on 25 Oct 2010
4 answers
120 views
I am trying to unselect the current selected item of the RadPanelBar inside the code. I set the RadPanelBar selected item to false but the highlighted grey color is still appearing. It seems to me that RadPanelBar does not get updated via ajax.I am assuming. In asp.net, I wrap the control with asp:updatepanel and in the code do Update(); and Bind();

Does any know how I do this with Telerik? ..or please let me know if my approach is incorrect. Thanks for any feedbacks.

-----------------sample code--------------------------
//Get RadPanelBar

RadPanelBar

 

radpanelbar= (RadPanelBar) folderExplorer.FindControl("RadPanelBar1");
//Unselected so that the highlighted color will disappear

 

 

radpanelbar.SelectedItem = false;

 

 

radpanelbar.DataBind();

 

Pablo
Top achievements
Rank 1
 answered on 25 Oct 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?