Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
156 views
We have been assigned the task of supporting a large web based application that was written by a third party using Telerik controls.

One of the controls that is has heavy usage is RadTextBoxWithCharCount.  I can't seem to find any reference to this on the Telerik site.  Is this a Telerik control or one that was added to the system by the developer?

Cliff
Radoslav
Telerik team
 answered on 04 Dec 2009
1 answer
74 views
Hi,

I override FileBrowserContentProvider's methods for customizing ImageProvider. The imagemanger works good when insert the image to Editor. But whole the imagemanager was disabled after i upload an image. Please see the attachment.

Just 3 functions ResolveDirectory, ResolveRootDirectoryAsTree, StoreFile were overrided

Thanks,
Thuc








Fiko
Telerik team
 answered on 04 Dec 2009
1 answer
118 views
On all of the grids in our application, we support filtering.  Filtering works as expected except when I have already filtered the grid and attempt to filter again.  The second filter returns the grid as unfiltered and the filter text disappears.  I can then filter, again, and the filter works.

Reading through this I can see that it may be difficult to understand the problem.  Let me try an example. 

Say I have a grid with two columns, ID and Name.  I apply a filter to ID of 1.  The grid filters, showing all ID's starting with 1 as expected.  I then apply a filter to ID of 2.  The full grid re-displays, unfiltered, and the filter box for ID is empty.  I can then apply the ID filter of 2 and the grid will filter as expected.
Mira
Telerik team
 answered on 04 Dec 2009
1 answer
80 views
Hi,

      I am using  telerik:RadGrid. Filter is not working after clicking on the edit button. In details, I am having 200 records and displaying in more than 10 pages in the grid. After filtering with some criteria i am getting less records based on the filter. We have option of editing the row by clicking on the edit button. After clicking on the edit button after filtering i am getting all the 200 records irrespective of the filter. Hope you can understan my problem.

     Please reply me ASAP as it is very urget for me to get rid of this.

Thanks 
Raj

   
Princy
Top achievements
Rank 2
 answered on 04 Dec 2009
3 answers
169 views
Hi All,

I have a Hierarchy RadGrdi, in master table i have some columns and in chield table i have some columns,

when i click export (excel, pdf,doc) i want to export both the master table and child table columns.

How can i do this. Please help me regarding this.
Pavlina
Telerik team
 answered on 04 Dec 2009
2 answers
203 views
I am attempting to update a grid's datasource with a JavaScript initiated AJAX request. The code "appears" to work - no errors and the RadAjaxLoadingPanel becomes visible but the grid does not update. Any ideas?

JavaScript:
function test(itemID, qty, dueDate)  
            {  
                var aryData = new Array();  
                aryData[0] = itemID;  
                aryData[1] = qty;  
                aryData[2] = dueDate;  
                  
                var ajaxManager = $find("<%= RadAjaxManagerNewWorkOrder.ClientID %>");  
                ajaxManager.ajaxRequest(aryData.join("|"));  
                  
                return false;  
            } 
Asp.Net
<telerik:RadAjaxManager ID="RadAjaxManagerNewWorkOrder" runat="server" OnAjaxRequest="RadAjaxManagerNewWorkOrder_AjaxRequest">  
 
<AjaxSettings> 
 
<telerik:AjaxSetting AjaxControlID="RadAjaxManagerNewWorkOrder">  
 
<UpdatedControls> 
 
<telerik:AjaxUpdatedControl ControlID="rgSelectedKits" LoadingPanelID="RadAjaxLoadingPanel1" /> 
 
</UpdatedControls> 
 
</telerik:AjaxSetting> 
 
</AjaxSettings> 
 
</telerik:RadAjaxManager> 
 
<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Skin="Default">  
 
</telerik:RadAjaxLoadingPanel> 
 
<telerik:RadScriptManager ID="RadScriptManager1" runat="server" EnableTheming="True">  
 
</telerik:RadScriptManager> 
 
 
<telerik:RadGrid ID="rgSelectedKits" runat="server" Skin="Web20" EnableLinqExpressions="true" AllowAutomaticUpdates="true"      
                AutoGenerateColumns="False" GridLines="None" AllowSorting="True" >    
                <MasterTableView>    
                <RowIndicatorColumn>    
                    <HeaderStyle Width="20px"></HeaderStyle>    
                </RowIndicatorColumn>    
    
                <ExpandCollapseColumn>    
                    <HeaderStyle Width="20px"></HeaderStyle>    
                </ExpandCollapseColumn>    
                    <Columns>    
                        <telerik:GridBoundColumn DataField="ItemID" Display="False"      
                            HeaderText="Item ID" UniqueName="ItemID">     
                        </telerik:GridBoundColumn>    
                        <telerik:GridBoundColumn DataField="ItemNumber" HeaderText="Item Number"      
                            UniqueName="ItemNumber">     
                        </telerik:GridBoundColumn>    
                        <telerik:GridBoundColumn DataField="ItemName" HeaderText="Item Name"      
                            UniqueName="ItemName">     
                        </telerik:GridBoundColumn>    
                        <telerik:GridBoundColumn DataField="Quantity" HeaderText="Quantity"      
                            UniqueName="Quantity">     
                        </telerik:GridBoundColumn>    
                        <telerik:GridBoundColumn DataField="DueDate" HeaderText="Due Date"      
                            UniqueName="DueDate">     
                        </telerik:GridBoundColumn>    
                    </Columns>    
                </MasterTableView>    
            </telerik:RadGrid>    
 
C#:
using System;  
using System.Collections;  
using System.Configuration;  
using System.Data;  
using System.Linq;  
using System.Web;  
using System.Web.Security;  
using System.Web.UI;  
using System.Web.UI.HtmlControls;  
using System.Web.UI.WebControls;  
using System.Web.UI.WebControls.WebParts;  
using System.Xml.Linq;  
using Telerik.Web.UI;  
using System.Collections.Generic;  
 
public partial class NewWorkOrder : System.Web.UI.Page  
{  
    protected void Page_Load(object sender, EventArgs e)  
    {  
        if (!IsPostBack)  
        {  
            rgSelectedKits.DataSource = new List<WorkOrderKit>();  
        }  
 
        rComboKits.LoadingMessage = "Locating Kit...";  
    }  
    protected void rComboKits_ItemsRequested(object o, RadComboBoxItemsRequestedEventArgs e)  
    {  
        if (!string.IsNullOrEmpty(e.Text))  
        {  
            SFAF_PODDataContext db = new SFAF_PODDataContext();  
            rComboKits.DataTextField = "itemnumber";  
            rComboKits.DataValueField = "itemid";  
 
            List<InvItem> results = (from items in db.InvItems  
                                     join kitIndicator in db.InvItemKitIndicators on items.itemid equals kitIndicator.itemid  
                                     where items.itemnumber.ToUpper().StartsWith(e.Text.ToUpper()) ||  
                                     items.itemtext.ToUpper().Contains(e.Text.ToUpper())  
                                     && items.custid == 1431  
                                     && kitIndicator.IsKit == true 
                                     select items).ToList();  
 
            rComboKits.DataSource = results;  
            rComboKits.DataBind();  
        }  
    }  
      
    public void RadAjaxManagerNewWorkOrder_AjaxRequest(object sender, AjaxRequestEventArgs e)  
    {  
        SFAF_PODDataContext db = new SFAF_PODDataContext();  
        List<String> lstData = e.Argument.Split('|').ToList();  
 
        int itemID = Convert.ToInt32(lstData[0]);  
        int qty = Convert.ToInt32(lstData[1]);  
 
        List<String> dates = lstData[2].Split('/').ToList();  
        int month = Convert.ToInt32(dates[0]);  
        int day = Convert.ToInt32(dates[1]);  
        int year = Convert.ToInt32(dates[2]);  
 
        InvItem item = db.InvItems.SingleOrDefault(items => items.itemid == itemID);  
 
        DateTime dueDate = new DateTime(year, month, day);  
        WorkOrderKit woKit = new WorkOrderKit(itemID, qty, item.itemnumber, item.itemtext, dueDate);  
 
        UpdateWoKitGrid(woKit);  
    }  
    private void UpdateWoKitGrid(WorkOrderKit woKit)  
    {  
        List<WorkOrderKit> currentGridKits = new List<WorkOrderKit>();  
 
        foreach (GridItem item in rgSelectedKits.Items)  
        {  
            currentGridKits.Add((WorkOrderKit)item.DataItem);  
        }  
 
        currentGridKits.Add(woKit);  
 
        rgSelectedKits.DataSource = currentGridKits;  
        rgSelectedKits.DataBind();  
    }  
}  
 
Jimmy Hill
Top achievements
Rank 1
 answered on 04 Dec 2009
18 answers
294 views
I have a user who is trying to use the document manager in the WYSIWYG... when he clicks on it, he gets a blank white box pop-up within nothing in it.

I can't duplicate the problem, even after logging in as him.  I've tried on multiple machines and can't recreate the issue.

I'm guessing this is caused by a security setting on his machine or firewall issue.

Can you tell me specifically what i need to tell his IT people to switch on to get this to work? i.e. is it Ajax?

The strange thing is that the editor part of it works fine, it's just the document manager and image manager that have issues.

Thanks,

Andy
Eirik
Top achievements
Rank 1
 answered on 04 Dec 2009
3 answers
193 views
Dear All,

I am working on a project with RadMenu and RadGrid. I will define the RadGrid structure programatically in Page_Init method. As long as I change the selected MenuItem, I would like to reload the RadGrid structure based on the configuration by looking into database with RadMenu SelectedValue. However, it doesn't work for me in Page_Init to get SelectedValue of RadMenu. Can anyone help?

Thanks.
Iana Tsolova
Telerik team
 answered on 04 Dec 2009
20 answers
743 views
I have a RadGrid and a RadToolTipManager.  On mouseover of the a link, I call a webservice to display a tooltip.

Everything works flawlessly on the first page.  However, when I go to page two of my radgrid, all the tooltips correspond to page 1.  No matter what page in my grid I go to, the tooltips all correspond to the items on page one. 

Any help is appreciated!

Thanks.
Svetlina Anati
Telerik team
 answered on 04 Dec 2009
1 answer
99 views
I have spent a fair amount of time wondering why the help CHM files did not show any content. After googling the issue, I discovered one of the forum posts tells about how you may need to click on the CHM file and select properties, and then select UNBLOCK for each CHM file.

http://www.telerik.com/community/forums/reporting/telerik-reporting/chm-help-file-broken.aspx

I would suggest it would be very helpful and probably save many a lot of time if a warning about this was added to a readme file to get included with the zipped CHM files.  Including the abouve mentioned forum link would be nice as well.

Thanks for a great product!!
Carl Taylor
Suwanee, GA
Ivo
Telerik team
 answered on 04 Dec 2009
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?