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

Are we going to have this kind of stuff in the future?

http://www.componentart.com/webui/demos/ajax/technique4/

I am not using their controls, but I am wondering if we will have performance improvements like this? It is quite significant and if I am not mistaken, ours is like the "technique 1" demo on their site (using update panel).
Vlad
Telerik team
 answered on 08 Apr 2008
0 answers
169 views
Hello All,
  I have been through the documentation as more times then i can count at this point. I found a nice tutorial on using a new radwindow to provide a server side argument through query strings here. And I have also been using the Hierarchical functionality of RadGrid in Prometheus demonstrated here.  In order to support a many to many relationship while using the Hierarchy Grid I am using the following code to overwrite the default Add New Record in the details table GridView.
<CommandItemTemplate> 
                               
                                                 <asp:LinkButton ID="btnEditSelected" runat="server" OnClientClick="myCreateRow()" ><img style="border:0px;vertical-align:middle;" alt="" src="../../DataEditing/Img/Edit.gif" />Associate Regulation With More Product Tests</asp:LinkButton> 
                             </CommandItemTemplate> 

 Using this code I can effectively pop open a new window, however I am having the hardest time figuring out how to reference the parent_rows selected index value which I currently believe I need in order to get the parentsID value. I have tried many iterations of the following code
 function myCreateRow() 
    {     
        alert("Trying Code"); 
         var oManager = GetRadWindowManager(); 
        var oGrid = $find("<%=RadGrid2.ClientID%>");         
        var firstDataItem = oGrid.get_detailTables()[0].get_parentRow().index; 
        alert(firstDataItem); 
        var cell = oGrid.get_masterTableView().getCellByColumnUniqueName(firstDataItem, "productID"); 
 
        alert(cell); 
      
        var oWnd = oManager.getWindowByName( "radAddRecord" ); 
        oWnd.setUrl( "popupRegtoProd.aspx?RegReqID=" + cell ); 
        oWnd.setSize(800, 400); 
        oWnd.show(); 
             
         
    } 
     

whatever is the required magic I can't seem to obtain the proper value from the productID column selected row.  Eventually I abandoned this approach and started trying to use the client events internal to Parent RadGrid in order to store the value for later use.

<ClientSettings> 
        <ClientEvents  OnHierarchyExpanding="HierarchyExpanding" /> 
</ClientSettings> 
 
 
function HierarchyExpanding(sender, eventArgs) 
 {  
     // alert("Row: " + eventArgs.get_itemIndexHierarchical() + " is being expanded"); 
     alert("attempting"); 
     var expandMe = eventArgs.get_itemIndexHierarchical() ; 
      
     $find("<%= RadGrid2.MasterTableView.ClientID %>").expandItem(expandMe); 
      
 } 

this is when I started to lose my nerve as for some reason the OnHierarchyExpanding has stoped working in Promethues!?  If I change the even to OnRowClick the event fires and I am able to get the row number that I need, however this event is not the OnHierarchyExpanding event which is the client side event that I need to make certain that I send the proper parentID to the new RadWindow.  On top of all the different routes listed above (believe me each one actually in this form post represents about 42 different iterations) I also tried changing the HierachyLoadMode around in the details GridView but that didn't seem to make any difference.  Does the matter in this case? Please help.... this is painful.  Hope someone knows how to fix this.  Thanks in advance for taking the time to read this. 

Wow at the end of all this I reread your post on hierachies and discovered that my problem was not using the HierarchyLoadMode="Client" in both the MasterTableView and the details table GridView.  Geez you guys are quick to respond, I got the answer before i even finshed my post.  If you are experiencing similar frustrations check out the post here. Again the magic is in the HierarchyLoadMode="client" on both the MasterTableView AND the detailstables GridView

Best, Andrew
geekreef
Top achievements
Rank 1
 asked on 08 Apr 2008
0 answers
63 views
delete this post
Jomey
Top achievements
Rank 1
 asked on 07 Apr 2008
0 answers
111 views
Never mind, thanks anyway
Angela
Top achievements
Rank 1
 asked on 07 Apr 2008
4 answers
184 views
hi,

i am test-migrating our application to your controls when i noticed that all objects's value in the splitter-radpane are not passed on update command inside a formview. when i place all of those objects outside the splitter, everything works ok.  please help.

 
 <EditItemTemplate> 
        <div class="css_pager">  
            <div style="float: left; margin-left: 5px">  
                <asp:DropDownList ID="NOTEMODE_dd" runat="server" AutoPostBack="true" Font-Size="x-Small" 
                    OnSelectedIndexChanged="EDITVIEW_OnChanged" SelectedValue='<%# Bind("SRESPFLG")%>'>  
                    <asp:ListItem Value="" Text="View as HTML" /> 
                    <asp:ListItem Value="E" Text="Edit as HTML" /> 
                    <asp:ListItem Value="V" Text="View as Text" /> 
                    <asp:ListItem Value="T" Text="Edit as Text" /> 
                    <asp:ListItem Value="H" Text="Hide" /> 
                </asp:DropDownList> 
            </div> 
            <div style="float: right; margin-right: 10px">  
                <asp:Label ID="TOPMSG_lbl" runat="server" Font-Size="x-Small" Text="<%# GetDateInfo() %>"></asp:Label> 
            </div> 
        </div> 
        <telerik:RadComboBox ID="COMPANY_cmb" runat="server" SelectedValue='<%# Bind("CO_ID") >' Height="180px" 
            ShowDropDownOnTextboxClick="false" DataTextField="NAME" DataValueField="ID" AllowCustomText="True" 
            HighlightTemplatedItems="true" MarkFirstMatch="true" EnableLoadOnDemand="True" 
            EnableVirtualScrolling="true" OnSelectedIndexChanged="COMPANY_IndexChanged" OnItemsRequested="COMPANY_ItemsRequested" 
            AutoPostBack="true">  
        </telerik:RadComboBox> 
        <telerik:RadSplitter ID="RadSplitter1" runat="server" Height="330" Width="100%">  
            <telerik:RadPane ID="MiddlePane" runat="server">  
                middle pane  
            </telerik:RadPane> 
            <telerik:RadSplitBar ID="RadSplitBar2" runat="server"></telerik:RadSplitBar> 
            <telerik:RadPane ID="EndPane" runat="server" Width="22" Scrolling="None">  
            <!-- selection will fetch the right values of binded objects --> 
            <!-- updates fail when combobox COMPANY_cmb is here or any binded objects --> 
            <!-- will return null as the value of the binded fields -->   
            </telerik:RadPane> 
        </telerik:RadSplitter> 
    </EditItemTemplate> 
Tsvetie
Telerik team
 answered on 07 Apr 2008
3 answers
230 views

I am using the RadToolTipManager to display tooltips for grid rows. the tooltip title is not same for all the rows.
If the RadToolTipManager.Title is set then tooltip title is same for all the target controls.
RadToolTipManager.TargetControls.Add() function takes only controlID and tootip.
no overloaded fucntion takes the tooltip tile.

How can RadToolTipManager show different tooltip title's  for target controls?
I don't want to use ajax update panel callbacks for the same due to performance reasons.

Svetlina Anati
Telerik team
 answered on 07 Apr 2008
4 answers
131 views
I was wondering if there was a way to modify the area in which it will shift docks when you are moving one.  It seems as though you have to move the one you are dragging almost completely below a dock before it highlights the position below it.  I was hoping to be able to modify it so it shifts and highlights when you move more than half way below the dock you are hovering over.

Thank you again.
Dan
Dan
Top achievements
Rank 1
 answered on 07 Apr 2008
2 answers
72 views
I have a user control with multiple tabs for the grid edit mode.
When i click on edit my tab controls take very long to load.

They are first displayed as text in different rows and after a few seconds they display as tabs.
Any adnice why this might be happening?
newbie
Top achievements
Rank 1
 answered on 07 Apr 2008
3 answers
205 views
Hi,

i am opening radwindow as a modal popup. i have two frames in this page.this radwindow is opened by a page on right side frame.this frame is disabled when the popup is opened. but the other frame which is on left side is still active and enabled. i would like to disable all the frames on this page when i open this modal popup. Could you please give me some suggestions as to how i can do this.

thanks..
 
Georgi Tunev
Telerik team
 answered on 07 Apr 2008
3 answers
206 views
Hi,

Is there a way to execute server code (C#) when a user (double) clicks on a appointment on the radscheduler? 
BTW, the scheduler in this case is used to display data only (no edits, update, etc).

Thanks,

John
T. Tsonev
Telerik team
 answered on 07 Apr 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?