Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
225 views
Hello,
I have a grid with the GridDropDownColumn above :

<telerik:GridDropDownColumn HeaderStyle-Width="140" ItemStyle-Width="140" FooterStyle-Width="140"
              UniqueName="MCHAVER" DataField="MCHAVER" HeaderImageUrl="~/Skins/Gray/Grid/BursaMas.JPG" DropDownControlType="DropDownList"
                   ListTextField="Text" ListValueField="Key" AutoPostBackOnFilter="true"   />


I want to add AutoComplete  to this GridDropDownColumn.

How can i do it ?

Thanks,
Gerry
Gerry Polami
Top achievements
Rank 1
 answered on 20 Jun 2011
3 answers
127 views
Have a page with RadTabStrip and RadChart - localy it works fine, but when upload the page see some kind of AJAX errors, and no chart, whats the solution for that?
Ves
Telerik team
 answered on 20 Jun 2011
6 answers
97 views
Everything was working fine beforehand, we have upgraded our controls and they have stopped working. 

Once a window is closed, ajaxRequest is called client side.  I am certain of this I used firebug to step into the code.  However, it never connects with the server.  Does anyone know of any breaking changes that would cause this?  We upgraded our controls for one of our products (sorry thread says 2011 it's actually to 2010.3).
Tsvetina
Telerik team
 answered on 20 Jun 2011
3 answers
330 views
I have an issue where the contents and scrollbars overflow the pop-up window regardless of its height. It only overflows a couple of px, but its enough to be annoying. I attached a small image of what the window looks like.

Is there a way to fix this?

Tsvetina
Telerik team
 answered on 20 Jun 2011
7 answers
207 views
Hi,

We experience the following issue. We have RadEditor 5.7.1.

Steps to reproduce the error:

1. Open a Sharepoint publishing page in editmode
2. Scroll to the bottom of the text in the texteditor (make sure you have som text there from the start)
3. Place the cursor somewhere in the text (near the bottom)
4. The cursor now jumps to the top of the texteditor.

Thomas

Stanimir
Telerik team
 answered on 20 Jun 2011
1 answer
56 views
Hi,

I'm sure you have addressed this somewhere before, but I could not find it.

I am assigning a generic collection as the DataSource of a RadGrid control. The Items in the collection have one member which is also a generic collection which provide the children.

For Example:

public class WorkOrderDetails
{
    protected readonly IWorkOrder _workOrder;
    protected readonly List<ResourceRequirement> _resources = new List<ResourceRequirement>();
    public WorkOrderDetails(IWorkOrder wo)
    {
        _workOrder = wo;
        foreach (IWoResources res in wo.ResourcesChildren)
        {
            _resources.Add(new ResourceRequirement(res));
        }
    }
    public string WoNumber { get { return _workOrder.WoNumber; } }
    public string Title
    {
        get { return _workOrder.Description; }
    }
    public List<ResourceRequirement> Resources
    {
        get { return _resources; }
    }
}
public class ResourceRequirement
{
    private IResources _data;
    public ResourceRequirement(IResources res)
    {
        _data = res;
    }

      //
      // Summary
      //    The Unique ID of this ResourceRequiment (which is a "Skill").
      public string ID { get { return _data.ResourceId; } } 

    //
    // Summary:
    //     The property for the planned_hours column of the TabWare database wo_resources
    //     table.
    public decimal PlannedHours { get { return _data.PlannedHours; } }
    //
    // Summary:
    //     The property for the remaining_hours column of the TabWare database wo_resources
    //     table.
    public decimal RemainingHours { get { return _data.RemainingHours; } }
    //
    // Summary:
    //     The property for the workers column of the TabWare database wo_resources
    //     table.
    public int Workers { get { return _data.Workers; } }
}

The assignment looks something like this:

List<WorkOrderDetails> list = factory.GetWorkOrders();
RadGrid1.DataSource = list;

My goal is to display the Work Orders with the ResourceRequirement children grouped under each WorkOrderDetail line.
For Example:

WoNumber    Title
000010202    Repair light fixture
      ID             Planned Hrs           Remaining Hrs            Workers
      Electician      8.0                         8.0                            1
      Welder          8.0                         8.0                            1

I figured out how to get the headers defined, but I currently have no content showing up for the child rows. Here is my markup:

<telerik:RadGrid
    ID="rgPlannedWorkOrders" runat="server" 
    Width="480px" Height="392px"
    AutoGenerateColumns="False" AllowSorting="True"
    Skin="Sunset" GridLines="Vertical" CellSpacing="0" 
    AutoGenerateHierarchy="true">
    <ClientSettings>
        <Selecting AllowRowSelect="True" />
    </ClientSettings>
    <MasterTableView Width="100%"
        HierarchyDefaultExpanded="True" HierarchyLoadMode="ServerBind">
        <Columns>
            <telerik:GridBoundColumn DataField="WoNumber" 
                FilterControlAltText="Filter WoNumber column" HeaderText="WoNumber" 
                ReadOnly="True" SortExpression="WoNumber" UniqueName="WoNumber">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="Title" 
                FilterControlAltText="Filter Title column" HeaderText="Title" ReadOnly="True" 
                SortExpression="Title" UniqueName="Title">
            </telerik:GridBoundColumn>
        </Columns>
        <DetailTables>
            <telerik:GridTableView Name="SubLevel1" ShowHeadersWhenNoRecords="false"   AutoGenerateColumns="false">
                <%-- This level holds items of Type2 --%>
                <Columns>
                    <telerik:GridBoundColumn DataField="ID" 
                        FilterControlAltText="Filter ID column" HeaderText="ID" 
                        ReadOnly="True" SortExpression="ResourceId" UniqueName="ID">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="PlannedHours" DataType="System.Decimal"
                        FilterControlAltText="Filter PlannedHours column" HeaderText="Planned Hrs" ReadOnly="True" 
                        SortExpression="PlannedHours" UniqueName="PlannedHours">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="RemainingHours" DataType="System.Decimal"
                        FilterControlAltText="Filter RemainingHours column" HeaderText="Remaining Hrs" 
                        ReadOnly="True" SortExpression="RemainingHours" UniqueName="RemainingHours">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="Workers" DataType="System.Int32" 
                        FilterControlAltText="Filter Workers column" 
                        HeaderText="# Workers" ReadOnly="True" SortExpression="Workers" 
                        UniqueName="Workers">
                    </telerik:GridBoundColumn>
                </Columns>
            </telerik:GridTableView>
            </DetailTables>
        <EditFormSettings>
            <EditColumn FilterControlAltText="Filter EditCommandColumn column"></EditColumn>
        </EditFormSettings>
        <GroupHeaderItemStyle Height="32px" />
        <RowIndicatorColumn FilterControlAltText="Filter RowIndicator column"></RowIndicatorColumn>
        <ExpandCollapseColumn FilterControlAltText="Filter ExpandColumn column"></ExpandCollapseColumn>
    </MasterTableView>
    <GroupingSettings GroupContinuesFormatString="" GroupContinuedFormatString=""></GroupingSettings>
    <FilterMenu EnableImageSprites="False"></FilterMenu>
    <HeaderContextMenu CssClass="GridContextMenu GridContextMenu_Sunset"></HeaderContextMenu>
</telerik:RadGrid>


So, my question is: how do I tell the control to use the "Resources" property of the WorkOrderDetails item to fill the content of the second level of the heirarchy?

Marin
Telerik team
 answered on 20 Jun 2011
2 answers
91 views
HI Telerik Team,

I have button when clicked shows the Loading image on the Grid, which is correct and display rows accordingly...

If the same button is clicked by Enter button (from keyboard) the Loading image is not displayed but records are displayed correctly.

Please suggest solution for the above.

Code is as below:
<telerik:AjaxSetting AjaxControlID="button">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="RadGridRecords" LoadingPanelID="RadAjaxLoadingPanel2" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
sudhakar
Top achievements
Rank 1
 answered on 20 Jun 2011
1 answer
68 views
I have a grid that is hidden when the page initially loads.  So, the tab order is correct when the grid is hidden.  The user clicks or presses a button and the grid appears with the results.  Now the tab order is set to the first heading of the grid, which is correct.  Then it tabs through the grid.  But, after the grid instead of going to the menu on the page, it goes to some links on the bottom of the screen, then it goes to the browser URL, then the browser menu, which is not what I want to happen.  Is there a way to keep the tab order the same when the grid is hidden or not?  I'm not sure why it's going to the browser menu after the grid when it appears.

Thanks.
Radoslav
Telerik team
 answered on 20 Jun 2011
1 answer
71 views
I have a TreeList with Client-Side single-select turned on.  I am able to access the selected item in the PostBack, but want to be able to access the parent items (and their DataKeyValues) backwards through the top of the tree.  Is there a way to do this?
Marin
Telerik team
 answered on 20 Jun 2011
3 answers
600 views
Hi,

i am working on grid. 

<telerik:GridTemplateColumn UniqueName="display" HeaderText="Select">
<ItemTemplate>
<asp:ImageButton CommandName="select" runat="server"  ImageUrl="Images/geofence.png" OnClientClick= '<%# String.Format("javascript:EditItem();return false;",DataBinder.Eval(Container.DataItem,"LastName"))%>' />
</ItemTemplate>
</telerik:GridTemplateColumn>


 function EditItem() {
//want to get here clicked image button row index
}

i want to get clicked image button row index in Edititem().

plz help me

Regards,

Faisal
faisal
Top achievements
Rank 1
 answered on 20 Jun 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?