Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
245 views
Hi!

In my radGrid, i have an radnumeric textbox in each row...and i need  in client side, when the client focus the radnumeric, select the row....how i do that?

thanks,
Rogerick
Top achievements
Rank 1
 answered on 01 May 2009
6 answers
151 views
I am evaluating the Telerik Control Suite for ASP.NET (AJAX).
So far the usability has been outstanding! One thing is causing me grief, the initial view of the RadFileExplorer, the FileName Column is collapsed and the user won't be able to See it. I can expand the column manually, but I need the columns to show up when the control opens.

I have a UserFolder which contains only 2 other folders, each of these folders contains files.

thanks,
Carolus
Top achievements
Rank 1
 answered on 01 May 2009
8 answers
178 views
Hi guys,

Have you seen this, have you heard about this?
In the Editor, if I try to open the documentManager and the document count is high enough (close to 500 in my case) it simply renders the browser (IE 7) unresponsive.

Regards,
-DJ-
John Brownell
Top achievements
Rank 1
 answered on 01 May 2009
1 answer
84 views
I have a radsplitter that has a left pane with a menu, and a right pane that loads content based on what is clicked on the left menu and it is loaded from a table. It is supposed to fill the screen of the browser.

It loads full screen in IE, but in FF it only appears as about 1/4 inch on top. It is not being shrunk to 1/4 inch on top, but only the top 1/4 inch of the screen is being filled in, with a thin blue line at cutting it off.  This is my code:

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CUTE.aspx.cs" Inherits="ContentCentral.CUTE" %> 
 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> 
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">   
<html xmlns="http://www.w3.org/1999/xhtml">   
<head id="Head1" runat="server">   
    <title>CUTE - Content/Users/Transactions/Entitlements</title> 
    <style type="text/css"
       
     html, body, form   
    {   
        height: 100%;   
        margin: 0px;   
        padding: 0px;   
        overflow: hidden;   
    }   
 
       
    </style> 
</head> 
 
<body> 
    <form id="form1" runat="server"  > 
     <telerik:RadScriptManager ID="RadScriptManager1" runat="server" OutputCompression="AutoDetect"></telerik:RadScriptManager> 
     <telerik:RadAjaxPanel ID="radAjaxPanel1" LoadingPanelID="RadAjaxLoadingPanel1" runat="server"
    
    <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Height="75px" Width="75px" Transparency="10"
        <img alt="Loading..." src='<%= RadAjaxLoadingPanel.GetWebResourceUrl(Page, "Telerik.Web.UI.Skins.Default.Ajax.loading.gif") %>' 
            style="border: 0px;" /> 
    </telerik:RadAjaxLoadingPanel> 
 <div id="ParentDivElement" style="height: 100%;">  
        <telerik:RadSplitter ID"RadSplitter1" runat="server" Orientation="Vertical"   Skin="Office2007"   ResizeMode="AdjacentPane" width="100%"  
                VisibleDuringInit="false" Height="100%" LiveResize="true"
         <telerik:RadPane id="leftPane" runat="server"    width="22"   minwidth="22"
           <telerik:RadSlidingZone id="SlidingZone1" runat="server" width="22" clicktoopen="true" SkinID="Office2007" DockedPaneId="Menu" ExpandedPaneId="Menu" > 
            <telerik:RadSlidingPane id="Menu" title="CUTE" runat="server" width="200"  SkinID="Office2007" Scrolling="Both" EnableResize="false" > 
              <telerik:RadPanelBar ID="RadPanelBar1" runat="server" DataSourceID="panelGroups"  width="180" Height="80%" 
                AllowCollapseAllItems="True"  ExpandMode="SingleExpandedItem"    onclientitemclicked="itemClicked"   
                Skin="Office2007" DataFieldID="id" DataFieldParentID="ParentID"  
                DataTextField="Text"  DataValueField="NavigateURL" > 
                <CollapseAnimation Type="InOutExpo" Duration="100"></CollapseAnimation> 
              </telerik:RadPanelBar> 
            </telerik:RadSlidingPane> 
           </telerik:RadSlidingZone> 
          </telerik:RadPane> 
          <telerik:RadSplitBar id="Radsplitbar3" runat="server" collapsemode="Forward" EnableResize="false" /> 
          <telerik:RadPane id="contentPane" runat="server"  Scrolling="Both"  Height="100%"  >   
            
          </telerik:RadPane> 
         </telerik:RadSplitter> 
        
 </div>   
    <asp:SqlDataSource ID="panelGroups" runat="server"  
         ConnectionString="<%$ ConnectionStrings:CC2ConnectionString2 %>"  
          
          
          
              
             SelectCommand="SELECT id, parentID, text, value, navigateURL, active FROM CUTEPanelGroups WHERE (active = @Active) ORDER BY id"
        <SelectParameters> 
            <asp:Parameter DefaultValue="Y" Name="Active" Type="String" /> 
        </SelectParameters> 
     </asp:SqlDataSource> 
     </telerik:RadAjaxPanel> 
    </form> 
</body> 
 
 <script type="text/javascript"
     function itemClicked(sender, eventArgs) { 
         var item = eventArgs.get_item(); 
         var link = item.get_value(); 
         if (link != null) { 
             var splitter = $find("<%= RadSplitter1.ClientID %>"); 
             var pane = splitter.getPaneById("contentPane"); 
 
             var urlArgs = cbeGetURLArguments(); 
             var userName = urlArgs.NAME; 
             var sync = urlArgs.SYNC 
             
             var querystring = '?SYNC=' + sync + '&NAME=' + userName; 
             linklink = link + querystring; 
              
             pane.set_contentUrl(link); 
 
         } 
         var x = 1
     } 
     function cbeGetURLArguments() { 
         var idx = location.href.indexOf('?'); 
         var params = new Array(); 
         if (idx != -1) { 
             var pairs = location.href.substring(idx + 1, location.href.length).split('&'); 
             for (var i = 0; i < pairs.length; i++) { 
                 nameVal = pairs[i].split('='); 
                 params[i] = nameVal[1]; 
                 params[nameVal[0]] = nameVal[1]; 
             } 
         } 
         return params; 
     } 
          
               
 </script> 
</html> 
 


Svetlina Anati
Telerik team
 answered on 01 May 2009
3 answers
140 views
Not sure what I'm doing wrong here, any assistance would be appreciated.

<asp:FormView ID="NPProfile" runat="server"
 
    <ItemTemplate> 
        <table> 
            <tr> 
                <td> 
                    <href="#" onclick='function() { ShowGridEditForm(userID); };'><asp:Image ID="NPPhoto" runat="Server" /></a
                </td> 
            </tr> 
            <tr> 
                <td style="color: #60798F; font-family: Arial, Verdana; font-size: 12px;"
                    <%#Eval("FullName")%> 
                </td> 
            </tr> 
            <tr> 
                <td style="color: #60798F; font-family: Arial, Verdana; font-size: 12px;"
                    <%#Eval("PrimarySpecialty")%> 
                </td> 
            </tr> 
        </table> 
        <div style="margin: 0 0 10px 0"
            &nbsp;</div> 
    </ItemTemplate> 
</asp:FormView> 
 
                <script type="text/javascript"
                       function ShowGridEditForm(userID) { 
                           window.radopen("../npdetails.aspx?userid=" + <%=session("fnpID") %>, "GridSelectDialog"); 
                           return false; 
                       } 
           
                </script> 
                     
                   
 
                <telerik:RadWindowManager ID="RadWindowManager1" runat="server" Skin="Default"
                    <Windows> 
                        <telerik:RadWindow ID="GridSelectDialog" runat="server" Height="450px" Width="600px" 
                            ReloadOnShow="true" Modal="true" Skin="Web20" Behaviors="Close" /> 
                    </Windows> 
                </telerik:RadWindowManager> 

Fiko
Telerik team
 answered on 01 May 2009
2 answers
144 views
Hi,

How can I capture resize event of the raddock on client side? I see that there are events for position changing, dragging etc; but I had no luck with resizing.

This is an important issue for us and look forward to get your assistance.

Thanks.
Petio Petkov
Telerik team
 answered on 01 May 2009
3 answers
156 views
I've not used this or the grid control before. I am trying to control what is displayed in the grid of the file explorer as I do not want it to look directly at my files. I want to rename the files for the UI. How can I do this?

I'm working through the documentation for the grid but I can't find anything for this overall file control.
Fiko
Telerik team
 answered on 01 May 2009
1 answer
102 views
Hi,

I am using the upload control and the client side events are working fine bu when i try to save the details form server side, the selected files are uploading the selected files. Please find below my sample code.

foreach (UploadedFile file in RadUpload1.UploadedFiles)
{
       byte[] bytes = new byte[file.InputStream.Length];
       file.InputStream.Read(bytes, 0, file.ContentLength);
      dr["Resume1"] = bytes;
 }
I have included enctype="multipart/form-data" in my form tag eventhough it is not working.

Could anyone please help me since this is little bit urgent.

Many thanks in advance.

Best Regards,
Shankar. M
Veselin Vasilev
Telerik team
 answered on 01 May 2009
2 answers
81 views
Hi,

Could you please explain me what are all the basic steps i need to do to work with Edit Control, like Add assembly tag in web.config, add resource and Java script files to App_data within my project folder. Could you please explain me with some example will help me a lot. 

Awaiting for your reply.

Thanks in Advance.

Thanks and Regards,
Shankar. M
Shans
Top achievements
Rank 1
 answered on 01 May 2009
1 answer
93 views
I am loading a radodock from a database on Init, it all works fine until I save the layout, we are using cookies as the save basis for the layout not the database. It will remember the layout in the dock zone am loading it into but if I drag it into another zone it doesnt save. Im not surprised by it but how do I get it to save properly?

Here is my load code.

Protected Sub Page_Init(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Init
        Dim so As New System.Web.UI.Control
        Dim soRadDock As New RadDock
        RadDockZone3.Controls.Clear()
        soRadDock.Title = "Dynamic Service Order"
        soRadDock.ID = Guid.NewGuid().ToString()
        so = LoadControl("UserControls/ServiceOrders.ascx")
        soRadDock.ContentContainer.Controls.Add(so)
        RadDockZone3.Controls.Add(soRadDock)
    End Sub
Petio Petkov
Telerik team
 answered on 01 May 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
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
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?