Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
128 views
I'm trying to upgrade Telerik and AjaxControlToolKit Controls. With this  Change I'm forced to use AjaxControlToolKitManager.I have defined ControlBundle in AjaxControlTool.Config referenced under Controlbundle of ToolKitScriptManager to minimize scripts generated . With this Change Drag and Drop of Telerik
RadGrid is not working . Can you please help me on this?. Please let me
know if you want more details?
Viktor Tachev
Telerik team
 answered on 01 Sep 2014
14 answers
827 views
Hi All
  I have a very strange issue, which occurs only in IE (all versions) and that too some times.
  I am using a Datepicker control, where we enter the date in the input field manually and then do a server post back, the issue  occurs randomly where the input date is not considered and it considers the previously entered date.
   
   We did a little client side debugging and found that this occurs when we enter the date manually and use a mouse to do a server postback, If we use the keyboard tab to do a server post back it this does not occurs.
   And even with mouse if we click any where in the page and then do a post back, this issue does not occurs.
  I guess this has to do with some internal telerik client side event, which is responsible for updating the datepicker, which does not fires at times.
 
   Surprisingly the error does not happens in Chrome, Firefox, Safari, Opera or any advanced browser.

/SANDIP
Angel Petrov
Telerik team
 answered on 01 Sep 2014
1 answer
202 views
This is probably painfully obvious, but what is the difference?
SANJAY
Top achievements
Rank 1
 answered on 31 Aug 2014
5 answers
167 views
Hi,

I want a Grid to behave somewhat like Excel where if the cell has numeric data, it should appear on the right of the cell and if contains a non-numeric data, it should appear on the left of the cell. Please let me know how to achieve this with the RadGrid Control.

Thanks.
Joel
Top achievements
Rank 1
 answered on 29 Aug 2014
4 answers
1.2K+ views
Hi Everyone, 

I need some help.  I'm building a radgrid with ascx control like this demo Edit Form Type . However, I made some changes where I'm using Entity Framework to store information back to the database.  I'm using the below code to capture the textbox and dropdownlist value and then passing them into my entity code.  

This is where I need some help.  Instead of capturing the textbox value directly, I want to create a property and apply some validation rule in the properties. Then I want to access these properties to get the values from the aspx.cs file. Instead of  string CostCenterName = (userControl.FindControl("txtCostCenterName") as RadTextBox).Text, I need to access the properties.

Code Behind on the .ascx.cs file
public string CostCenterName
        {
             
            get
            {
                return txtCostCenterName.Text;
            }
             
        }

Code Behind on .aspx.cs file
UserControl userControl = (UserControl)e.Item.FindControl(GridEditFormItem.EditFormUserControlID);
          int CostCenterNo = Int32.Parse((userControl.FindControl("txtCostCenterNo") as RadNumericTextBox).Text);
          string CostCenterName = (userControl.FindControl("txtCostCenterName") as RadTextBox).Text;
          int CostCenterType= Int32.Parse((userControl.FindControl("ddlCostCenterType") as RadDropDownList).SelectedValue);
          string UpdateBy = UserName;
          DateTime UpdateDateTime = DateTime.Now;
 
          var insertNew = new CostCenter
          {
              CostCenterNumber = CostCenterNo,
              CostCenterName = CostCenterName,
              CostCenterTypeID = CostCenterType,
              UpdateBy = UpdateBy,
              UpdateDateTime = UpdateDateTime
          };
          try
          {
              DbContext.AddToCostCenters(insertNew);
              DbContext.SaveChanges();
              SetMessage("Cost Center No " + CostCenterNo + " was added!");
          }
Anthony
Top achievements
Rank 1
 answered on 29 Aug 2014
1 answer
143 views
I have a WCF service that I build the list of nodes for a tree.  The service is in the same directory as the website which is using windows authentication.  Everything works fine locally, but when I put the code on a dev server running IIS 7, the tree loads as expected in Chrome, but with IE, I get "...method failed".  Watching the traffic with fiddler:

Locally with IE:
401 requests followed by 200 OK codes.

Request to Dev server with IE
When I expand the tree, there is the 401 request, which prompts for credentials again.  This DOES NOT happen in chrome.  I just see the call to the WCF method and it results in an http 200 OK.

Ive followed the examples in both the documentation and other sources:
http://www.telerik.com/help/aspnet-ajax/treeview-load-on-demand-wcf.html
http://www.slickit.ca/2009/02/wcf-using-iis-and-windows.html

but I am still getting the issue with IE v9 





BitShift
Top achievements
Rank 1
Veteran
 answered on 29 Aug 2014
1 answer
129 views
Hi, i want to edit the pager message at the bottom of grid to something like : showing 1-10 of 50 items in 50 pages. How to edit it? 
Princy
Top achievements
Rank 2
 answered on 29 Aug 2014
10 answers
795 views
Hello,

I have a field in my RadGrid where I want to be able to select multiple items. For example, field "Colors" will allow users to choose Red, Blue, Green, Yellow and/or Orange. Multiple selections allowed. How can this be implemented within RadGrid? I am aware of GridCheckBoxColumn but that only provides a single checkbox.

I'm open to using other selection controls, like combobox. 

Thank you.
Windhoek2010
Top achievements
Rank 1
 answered on 29 Aug 2014
1 answer
322 views
Hello,

I'm using a custom file browser provider which works fine. 

I have a tree with many folders and I override the folder icon in css :

.RadFileExplorer .rfeThumbnailView .rfeFile .rfeFileIcon.folder {
 ...
}

Now, I want to change the icon for a single folder (i.e. the recycle bin folder).

How can I do this ?
Shinu
Top achievements
Rank 2
 answered on 29 Aug 2014
3 answers
246 views

Hi Team,

I am using treelist. I am binding data to treelist and calling below method

<ClientSettings>
                            <ClientEvents OnItemDeselected="ReviewerAssignmentList_OnItemDeselected"  OnItemSelected="ReviewerAssignmentList_OnItemSelected"
                                 OnItemCreated="ReviewerAssignmentList_OnItemCreated" />
                            <Selecting AllowItemSelection="true" UseSelectColumnOnly="true" />
                            <Scrolling AllowScroll="true" ScrollHeight="431px" UseStaticHeaders="true" />
                        </ClientSettings>

Data is binded to treelist.

And in method ReviewerAssignmentList_OnItemCreated

function ReviewerAssignmentList_OnItemCreated(sender, args) {               
                alert('1');               
            }

It is not called method ReviewerAssignmentList_OnItemCreated, but If I click anywhere on page this method is called and displays alert.

Could any body help me on this, so that alert is displayed when rows are created.

Regards
Sandy
Princy
Top achievements
Rank 2
 answered on 29 Aug 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?