Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
158 views
hi ,
i am trying to write code for rad grid drag and drop feature, I have two grids and i want to drag and drop rows from both grids.
In demo's it is given that client and server side code is to be written for implementing this feature.
But I want to write whole code on client side , in javascript , is it possible to do ?
Daniel
Telerik team
 answered on 16 Dec 2011
1 answer
88 views
does Telrik  asp.net conotrls support html5 specification ?
if yes what version ?
if no what is workaround to support other browser such as safari ?
Princy
Top achievements
Rank 2
 answered on 16 Dec 2011
0 answers
72 views
I have this issue. I am using rad ajax manager on a page and also it has textboxes.

every time that part of the page callback or make asynchronous calls to the database. its value got duplicated.

I am using telerik 2010.3.1317.35

Here is the layout

<asp:Content ID="Content1" ContentPlaceHolderID="c" runat="server">
 <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" OnAjaxRequest="RadAjaxManager1_AjaxRequest"
        UpdatePanelsRenderMode="Inline" ClientEvents-OnRequestStart="ClearNameMsg">

 <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="RadAjaxManager1">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="subdomainWrapper" LoadingPanelID="CtrlLoadingPnl"
                        UpdatePanelRenderMode="Inline" />
                    <telerik:AjaxUpdatedControl ControlID="DateRg" />                 
                    
                    <telerik:AjaxUpdatedControl ControlID="customDomainWrapper" LoadingPanelID="CtrlLoadingPnl"
                        UpdatePanelRenderMode="Inline" />                    
                </UpdatedControls>
            </telerik:AjaxSetting>
         
  </telerik:RadAjaxManager>

     <div id="subdomainWrapper" runat="server">
                <label>Default Domain</label>
                <ajaxToolkit:FilteredTextBoxExtender ID="EventNameUrlFilter" runat="server" TargetControlID="SubDomainTxt" FilterType="LowercaseLetters,UppercaseLetters,Numbers"></ajaxToolkit:FilteredTextBoxExtender>
                <div class="wrap">
                    <span>http://</span>
                    <asp:TextBox ID="SubDomainTxt" runat="server" ValidationGroup="DefineEventStep1" MaxLength="15"
                        OnBlur="ValidateUrl()" OnKeyPress="UrlKeyPress()" CssClass="http-input" TabIndex="2"></asp:TextBox>
                    <span>.eventsnap.com.sg</span>
                </div>            
            </div>

scripts here
   function ValidateUrl() {
                  if (typeof (Page_Validators) == "undefined") return;
                  var reqVal = document.getElementById("<%=SubDomainRFV.ClientID %>");
                  var regVal = document.getElementById("<%=SubDomainTxtREV.ClientID %>");
                  var urlMsg = "<%=SubDomainValidateStatusLbl.ClientID %>";

                  ValidatorValidate(reqVal);
                  if (!reqVal.isvalid) {
                      cleanStatusMsg(urlMsg);
                      return;
                  }
                  ValidatorValidate(regVal);
                  if (!regVal.isvalid) {
                      cleanStatusMsg(urlMsg);
                      var UrlTxt = document.getElementById("<%=SubDomainTxt.ClientID %>");
                      UrlTxt.style.color = "Red";
                      return;
                  }
                  var ajaxManager = $find("<%= RadAjaxManager1.ClientID %>");
                  ajaxManager.ajaxRequest('SubDomain');
                  return false;
              }

Code behind
   protected void RadAjaxManager1_AjaxRequest(object sender, Telerik.Web.UI.AjaxRequestEventArgs e)
       {
     }


any thoughts on this.

Thanks
Manuel
Top achievements
Rank 1
 asked on 16 Dec 2011
1 answer
36 views
1. I have a dynamically (code behind) created grid.
2. The user clicks a button (they do not see a grid on the page.. ) to create a report.
3. Code behind dynamically creates the grid and binds it to a datasource (need datasource).
4. Then the code configures the dynamic grid for exporting to excel...
5.  Then we call the ExportToExcel() function.

what I need is a on screen display letting them know to wait while I load their records into excel...  It seems the exportToExcel kills (response.end??) the page processing..

Example code...
RadGrid grid = new RadGrid();
       grid.NeedDataSource += new GridNeedDataSourceEventHandler(grid_NeedDataSource);
       grid.ID = "RadGrid" + counter.ToString();
 
       grid.AllowSorting = true;
 
       grid.ExportSettings.ExportOnlyData = true;
       grid.ExportSettings.IgnorePaging = true;
       grid.ExportSettings.OpenInNewWindow = true;
       Page.Controls.Add(grid);
       grid.MasterTableView.ExportToExcel();
       lblMessage.Text= "please wait.. i am creating your excel workbook...";
Princy
Top achievements
Rank 2
 answered on 16 Dec 2011
1 answer
96 views
I am unable to get MasterTable.get_selectedItems()[i]._itemIndexHierarchical. Instead an empty string is returned. How to get the Row index of the Selected row of RadGrid?
Below is my script:

function RowSelected()
{  
    var grid = $find("<%=CandidatesGrid.ClientID %>");
    
var MasterTable = grid.get_masterTableView();
    var IDArray = new Array(MasterTable.get_selectedItems().length);
    
for (var i = 0; i < MasterTable.get_selectedItems().length; i++)
    {
     alert(MasterTable.get_selectedItems()[i]);
     IDArray[i] = MasterTable.get_selectedItems()[i]._itemIndexHierarchical;
    }
    __doPostBack( "ctl00_ContentPlaceHolder_CandidatesGrid", IDArray );
}
Shinu
Top achievements
Rank 2
 answered on 16 Dec 2011
1 answer
90 views
Hi,

I am trying to create a custom skin for my Combo boxes and I was wondering if its possible to position the arrow key in Combo Box control to the left of the input box. Any help would be appreciated.

I have the Q2 2011 version of RadControls for ASP.NET AJAX installed.

Thanks;
Princy
Top achievements
Rank 2
 answered on 16 Dec 2011
1 answer
65 views

Hi,

Radopen was working correctly with IE6,7 and 8, BUT it is not working with IE9.
i am using 2010.2.929.35 dll version of Telerik . Is this version compatible with IE9 or i need t to upgrade it?
I read in other posts that i can use - meta tag like <meta http-equiv="X-UA-Compatible" content="IE=8" />, is this the
only solution for this?

my js script is looking like this (it is on master page and i make call to it from content pages)

function newWin(url, title, height, width, modal, onClose) {

            var win = radopen(url);
            win.set_height(height);
            win.set_width(width);
            win.set_title(title);
            if (modal == true)
                win.set_modal(true);
            win.center();
            if (onClose != undefined)
                win.add_close(onClose);
            return win;
        }

I will expect your answer for solution of this
Shinu
Top achievements
Rank 2
 answered on 16 Dec 2011
2 answers
189 views
Hello,

I have a grid that uses paging [AllowPaging="true" AllowCustomPaging="true"] so that I can load a page at a time from my database. I would like to also display a horizontal scroll bar around the grid, but the scroll bar is displaying on the outside of my paging bar. This means that my paging bar is inside of the scrolling section, unlike your example linked below.

How can I get the scroll bar around my grid like your example? I'm assuming I may need to do something a little different since I'm using custom paging.
http://demos.telerik.com/aspnet-ajax/grid/examples/generalfeatures/frozencolumns/defaultcs.aspx

I dont need frozen columns, but only the ability to add the scroll bar with paging bar at the outside. 

Thanks!!

Shinu
Top achievements
Rank 2
 answered on 16 Dec 2011
1 answer
133 views

 

Hi
I have a page with RadGrid on it and defined CommandItemTemplate with RadToolBar.
Toolbar has RadToolBarDropDown item. The problem is I need to add items to DropDownItem in code-behind.
Please advice how to do that.
Thanks
Vladimir
Shinu
Top achievements
Rank 2
 answered on 16 Dec 2011
1 answer
97 views
Is the hierarchical export of the RadGridView (Excel/CSV/PDF) available in Telerik ASP.NET Ajax?

Thanks,   
Princy
Top achievements
Rank 2
 answered on 16 Dec 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?