Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
110 views
Hi

   I am using rad tree to load more then 1000 nodes on demand, during this time instead of displaying node with ajax image , I want to display Loading panel which will cover entire page so user cannot click any where else during this time, I dont see any option in tree to use loadingPanel instead.
Can you please help me out on this ?

Best Regards
Rizwan Bashir
Rakesh Gupta
Top achievements
Rank 2
 answered on 27 Jul 2011
5 answers
190 views



Well, it is not easy to explain the problem so I think in this case image is better than words. Please see attachment.

Thanks
HANK
elena
Top achievements
Rank 1
 answered on 27 Jul 2011
1 answer
53 views
Is it possible to edit a RadGrid inplace, but create a separate popup template for adding new records?
Princy
Top achievements
Rank 2
 answered on 27 Jul 2011
2 answers
101 views


Is it possible to have a radgrid inside one of the cells of a regular radgrid?

Kind of like this.

Name      Email        Phone       [new grid here]


Name      Email        Phone       [new grid here]


Name      Email        Phone       [new grid here]


Name      Email        Phone       [new grid here]


Name      Email        Phone       [new grid here]

I don't want to click anything to make the child grid appear below. I want it to be in a certain cell on each row always visible. Make sense?

Is this possible?  Is there a demo technique of this anywhere?
Shinu
Top achievements
Rank 2
 answered on 27 Jul 2011
1 answer
96 views
Hey,

When I'm setting my page body tag to dir="rtl" its adding extra spaces to radgrid control.

Thanks for help.
Shinu
Top achievements
Rank 2
 answered on 27 Jul 2011
3 answers
153 views
Hi , 
I  have a parent page from which i need to open a rad window where i save/update data. On saving/closing the rad window i need the rad grid in parent to refresh . Grid does not refresh until i do a post back on the page .
Following is the code i am using , 

In Master Page :
  <telerik:RadAjaxManager ID="mgr" runat="server" EnableAJAX="true" OnAjaxRequest="mgr_AjaxRequest"> 
            </telerik:RadAjaxManager>
            <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel2" runat="server" Skin="Vista"
                BackgroundPosition="Center" EnableEmbeddedSkins="true" />
            <asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">
            </asp:ContentPlaceHolder>
In Parent Page (.aspx)
 <script type="text/javascript">
            function GetRadWindow() {
                var oWindow = null;
                if (window.radWindow) oWindow = window.radWindow;
                else if (window.frameElement.radWindow) oWindow = window.frameElement.radWindow;
                return oWindow;
            }
            function refreshGrid() {                
                    $find("<%= RadAjaxManager.GetCurrent(this).ClientID %>").ajaxRequest("Rebind");  
                                      
            }      
</script>
In Parent Page (.cs)


 protected void Page_Load(object sender, EventArgs e)
    {
        #region AJAX Settings        
        RadAjaxManager mgr = RadAjaxManager.GetCurrent(Page);
        
        mgr.AjaxSettings.Clear();       
        mgr.AjaxRequest += new RadAjaxControl.AjaxRequestDelegate(mgr_AjaxRequest);
        mgr.AjaxSettings.AddAjaxSetting(btnSearch, pnlContent);
        mgr.AjaxSettings.AddAjaxSetting(btnSearch, rgcarrrier, (RadAjaxLoadingPanel)(this.Page.Master as MasterPage).FindControl("RadAjaxLoadingPanel2"));
        mgr.AjaxSettings.AddAjaxSetting(rgcarrrier, pnlContent);
        //mgr.AjaxSettings.AddAjaxSetting(RadWindowManager1, rgcarrrier);
        mgr.AjaxSettings.AddAjaxSetting(btnDelete, pnlContent);
        mgr.AjaxSettings.AddAjaxSetting(btnDelete, rgcarrrier, (RadAjaxLoadingPanel)(this.Page.Master as MasterPage).FindControl("RadAjaxLoadingPanel2"));
        mgr.AjaxSettings.AddAjaxSetting(rgcarrrier, rgcarrrier, (RadAjaxLoadingPanel)(this.Page.Master as MasterPage).FindControl("RadAjaxLoadingPanel2"));        
        #endregion


}




  protected void mgr_AjaxRequest(object sender, AjaxRequestEventArgs e)
    {
        if (e.Argument == "Rebind")
        {         
                
                rgcarrrier.MasterTableView.SortExpressions.Clear();
                rgcarrrier.MasterTableView.GroupByExpressions.Clear();
                rgcarrrier.Rebind();                           
           
            
        }
        
    }


In Rad Window (.aspx)
<script type="text/javascript">       
      
        function GetRadWindow() {
            var oWindow = null;
            if (window.radWindow) oWindow = window.radWindow;
            else if (window.frameElement.radWindow) oWindow = window.frameElement.radWindow;
            return oWindow;
        }
        function cancelAndClose() {
            var oWindow = GetRadWindow();
            oWindow.argument = null;
                        oWindow.close();
                        oWindow.BrowserWindow.refreshGrid();  
            return false;
        }    
          
    </script>

In Rad Window (.cs)
 protected void Page_Load(object sender, EventArgs e)
    {
        #region Ajax Settings
        RadAjaxManager mgr = RadAjaxManager.GetCurrent(Page);
        mgr.AjaxSettings.Clear();
        #endregion
}
 protected void btnClose_Click(object sender, EventArgs e)
    {
        ClientScript.RegisterStartupScript(Page.GetType(), "mykey", "cancelAndClose();", true);
    }
    protected void btnSave_Click(object sender, EventArgs e)
    {
     (Page.IsValid)
        {
            //when save
            {
                ClientScript.RegisterStartupScript(Page.GetType(), "mykey", "cancelAndClose();", true);
}
//when Update
{
 ClientScript.RegisterStartupScript(Page.GetType(), "mykey", "cancelAndClose();", true);
}
}


where did i go wrong ?
The grid does not refresh ..
mahesh
Top achievements
Rank 1
 answered on 27 Jul 2011
3 answers
385 views
I'm trying to figure out how to set the focus from outside of the grid to a particular radnumerictextbox editor cell in the grid (the whole radgrid is in edit mode) from client side using javascript. it says there is no method called focus() on the grid

<script type="text/javascript"
                    function gotoGrid() { 
                            var grid = $find('MainContent_GeneralControl_MyFormView_MyRadGrid'); 
                            if (grid != null) { 
                                grid.set_focus(); // this says there is no such method 
                            } 
                        } 
                </script> 
 

this code is being fired from an onblur event in a radnumerictextbox
Daniel Aquere
Top achievements
Rank 2
 answered on 27 Jul 2011
2 answers
168 views

I have a Radgrid with Radcombobox , radnumericbox and radtextbox  all have the same onfocus and onblur event assigned to it . I want to get the cellindex on the focus event  and  on eaech cellindex I want to do different processing ?

          if i click a column I can get it as below and display it in a textbox .

function ColumnClick(sender, eventArgs) {
        var text = "";
        text = eventArgs.get_gridColumn().get_element().cellIndex;
        document.getElementById("TextBox2").value = text;
    }

          I want the same for radnumeric control in template in the focus event .

Please kindly help us .

Daniel Aquere
Top achievements
Rank 2
 answered on 27 Jul 2011
6 answers
614 views
Hello,
          I put a text "attach files" for Localized-Select in RadAsyncUpload. The text is cut off on the button. Is there a way to increase the size of the button in RadAsyncUpload?

Thanks,
Bharani
Jonx
Top achievements
Rank 2
 answered on 27 Jul 2011
2 answers
84 views
Hi,

I need to customize the "Add" button of RadUpload by changing the text to "Attach Additional Files". After I set localization-add="Attach Additional Files", the button text is changed, but only partial text is shown because the button width is not changed. I searched documentation, and didn't find other settings needed when using localization-add. Do I miss anything?

The current code for RadUpload is:
<telerik:RadUpload ID="RadUpload1" runat="server" InitialFileInputsCount="3" localization-add="Attach Additional Files" MaxFileInputsCount="5" />

Thanks!
Ray
Top achievements
Rank 1
 answered on 26 Jul 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Jesse
Top achievements
Rank 2
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Jesse
Top achievements
Rank 2
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?