Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
191 views

Im having problems with my radgrid when i us groupbyexpression some images(filter,refresh etc..)

appears on the left column

is there any workaroud for this.

i have the link of my file (print screen) Radgrid with misalign images

 <telerik:RadGrid ID="RadGrid1" runat="server" AllowPaging="True"   

        GridLines="None" onitemcreated="RadGrid1_ItemCreated"   
        onpdfexporting="RadGrid1_PdfExporting" ShowFooter="True"    

        ShowGroupPanel="True" Aut

oGenerateColumns ="False"   

        oncolumncreated="RadGrid1_ColumnCreated" ondatabound="RadGrid1_DataBound"   
        onitemdatabound="RadGrid1_ItemDataBound"   
        oncolumncreating="RadGrid1_ColumnCreating"   
        onprerender="RadGrid1_PreRender">  
<HeaderContextMenu EnableTheming="True">  
<CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation>  
</HeaderContextMenu>  
 
        <ExportSettings>  
             
        </ExportSettings>  
<ClientSettings Resizing-AllowRowResize="true" Selecting-AllowRowSelect="true">  
<Resizing AllowRowResize="True"></Resizing>  
</ClientSettings>  
        <AlternatingItemStyle BackColor="#663300" />  
<MasterTableView   ShowFooter="true"  DataKeyNames="OrderID">  
    
<GroupByExpressions>  
    <telerik:GridGroupByExpression>  
         <GroupByFields>  
                <telerik:GridGroupByField FieldAlias="ShipPostalCode" FieldName="ShipPostalCode"   
                 HeaderText="ShipPostalCode"   />  
                    
                  
            </GroupByFields>  
            <SelectFields>  
                <telerik:GridGroupByField FieldAlias="ShipPostalCode" FieldName="ShipPostalCode"   
                 HeaderText="ShipPostalCode"  />  
            </SelectFields>  
    </telerik:GridGroupByExpression>  
<telerik:GridGroupByExpression><SelectFields>  
<telerik:GridGroupByField FieldName="ShipCountry" FieldAlias="ShipCountry"   
        FormatString="" HeaderText="Ship Country"></telerik:GridGroupByField>  
</SelectFields>  
<GroupByFields>  
<telerik:GridGroupByField FieldName="ShipCountry" FieldAlias="ShipCountry"   
        FormatString="" HeaderText="Ship Country"></telerik:GridGroupByField>  
</GroupByFields>  
</telerik:GridGroupByExpression>  
<telerik:GridGroupByExpression><SelectFields>  
<telerik:GridGroupByField FieldName="ShipCity" FieldAlias="ShipCity"   
        FormatString="" HeaderText="Ship City"></telerik:GridGroupByField>  
</SelectFields>  
<GroupByFields>  
<telerik:GridGroupByField FieldName="ShipCity" FieldAlias="ShipCity"   
        FormatString="" HeaderText="Ship City"></telerik:GridGroupByField>  
</GroupByFields>  
</telerik:GridGroupByExpression>  
 </GroupByExpressions>  
    
    <GroupByExpressions>  
        <telerik:GridGroupByExpression>  
             
            <GroupByFields>  
                <telerik:GridGroupByField FieldAlias="ShipCountry" FieldName="ShipCountry"   
                 HeaderText="Ship Country"   />  
             
                  
            </GroupByFields>  
            <SelectFields>  
                <telerik:GridGroupByField FieldAlias="ShipCountry" FieldName="ShipCountry"   
                 HeaderText="Ship Country"  />  
                   
            </SelectFields>  
              
        </telerik:GridGroupByExpression>  
<telerik:GridGroupByExpression><SelectFields>  
<telerik:GridGroupByField FieldName="ShipCity" FieldAlias="ShipCity" HeaderText="Ship City"></telerik:GridGroupByField>  
</SelectFields>  
<GroupByFields>  
<telerik:GridGroupByField FieldName="ShipCity" FieldAlias="ShipCity" HeaderText="Ship City"></telerik:GridGroupByField>  
</GroupByFields>  
</telerik:GridGroupByExpression>  
<telerik:GridGroupByExpression><SelectFields>  
<telerik:GridGroupByField FieldName="ShipPostalCode" FieldAlias="ShipPostalCode"   
        FormatString="" HeaderText="ShipPostalCode"></telerik:GridGroupByField>  
</SelectFields>  
<GroupByFields>  
<telerik:GridGroupByField FieldName="ShipPostalCode" FieldAlias="ShipPostalCode"   
        FormatString="" HeaderText="ShipPostalCode"></telerik:GridGroupByField>  
</GroupByFields>  
</telerik:GridGroupByExpression>  
    </GroupByExpressions>  
    
   <NestedViewTemplate>  
     
        <telerik:RadGrid ID="RadGrid2" runat ="server" DataSourceID="SqlDataSource1"   
        AutoGenerateColumns ="false" AllowPaging ="true" onitemcreated="RadGrid2_ItemCreated" >    
        <AlternatingItemStyle BackColor="White" />  
        <MasterTableView AllowPaging="true" DataKeyNames="OrderID">  
       <Columns>  
                    <telerik:GridBoundColumn DataField="OrderID" DataType="System.Int32" HeaderText="OrderID"  
                        ReadOnly="True" SortExpression="OrderID" UniqueName="OrderID">  
                    </telerik:GridBoundColumn>  
                    <telerik:GridBoundColumn DataField="OrderDate" DataType="System.DateTime" HeaderText="OrderDate"  
                        SortExpression="OrderDate" UniqueName="OrderDate" DataFormatString="{0:d}">  
                    </telerik:GridBoundColumn>  
                    <telerik:GridBoundColumn DataField="ShipCountry" HeaderText="ShipCountry" SortExpression="ShipCountry"  
                        UniqueName="ShipCountry">  
                    </telerik:GridBoundColumn>  
                </Columns>  
        <DetailTables>  
        <telerik:GridTableView runat="server" AutoGenerateColumns="false"  AllowSorting="true" AllowFilteringByColumn="true"   
            DataKeyNames="OrderID" DataSourceID="SqlDatasource1" >  
            <Columns>  
            <telerik:GridBoundColumn DataField="OrderID" DataType="System.Int32" HeaderText="OrderID"  
                        ReadOnly="True" SortExpression="OrderID" UniqueName="OrderID">  
                    </telerik:GridBoundColumn>  
                    <telerik:GridBoundColumn DataField="OrderDate" DataType="System.DateTime" HeaderText="OrderDate"  
                        SortExpression="OrderDate" UniqueName="OrderDate" DataFormatString="{0:d}">  
                    </telerik:GridBoundColumn>  
                    <telerik:GridBoundColumn DataField="ShipCountry" HeaderText="ShipCountry" SortExpression="ShipCountry"  
                        UniqueName="ShipCountry">  
                    </telerik:GridBoundColumn>  
            </Columns>  
            <RowIndicatorColumn Visible="True">  
                <HeaderStyle Width="20px" />  
            </RowIndicatorColumn>  
            <ExpandCollapseColumn>  
                <HeaderStyle Width="20px" />  
            </ExpandCollapseColumn>  
          
          
        </telerik:GridTableView>  
          
    </DetailTables>  
        </MasterTableView>        
            
         
        </telerik:RadGrid>  
              
       
           <telerik:RadChart ID="RadChart1" runat="server">  
           <PlotArea>  
            <EmptySeriesMessage Visible="True">  
                <Appearance Visible="True">  
                </Appearance>  
            </EmptySeriesMessage>  
        </PlotArea>  
        <ChartTitle>  
            <TextBlock Text="This is a Test">  
            </TextBlock>  
        </ChartTitle>  
          
          
    </telerik:RadChart>  
      
          
   </NestedViewTemplate>  
         
     
      
<RowIndicatorColumn>  
<HeaderStyle Width="20px"></HeaderStyle>  
</RowIndicatorColumn>  
<ExpandCollapseColumn Visible="True">  
<HeaderStyle Width="20px"></HeaderStyle>  
</ExpandCollapseColumn>  
<Columns>  
  <telerik:GridBoundColumn  DataField="OrderId" HeaderText="Order ID"  
      Display="true">  
  </telerik:GridBoundColumn>    
  <telerik:GridBoundColumn Aggregate="Count" DataField="ShipName" HeaderText="Ship Name"  
      FooterText="Total Ships: " Display="true">  
  </telerik:GridBoundColumn>     
     
   <telerik:GridBoundColumn Aggregate="Count" DataField="ShipCity" HeaderText="Ship City"  
      FooterText="Total Numnber in City: ">  
  </telerik:GridBoundColumn>      
    
    <telerik:GridBoundColumn Aggregate="Count" DataField="ShipCountry" HeaderText="Ship Country"  
      FooterText="Total Numnber in Coutry:" Display="false">  
  </telerik:GridBoundColumn>    
    
   <telerik:GridBoundColumn  DataField="Freight" HeaderText="Freight">  
  </telerik:GridBoundColumn>      
   <telerik:GridBoundColumn  DataField="OrderDate" HeaderText="OrderDate">  
  </telerik:GridBoundColumn>      
</Columns>  
   <GroupByExpressions>  
    <telerik:GridGroupByExpression>  
        <GroupByFields>  
               <telerik:GridGroupByField FieldAlias="ShipCity" FieldName="ShipCity"   
                 HeaderText="Ship City"   />  
        </GroupByFields>  
        <SelectFields>  
                   <telerik:GridGroupByField FieldAlias="ShipCity" FieldName="ShipCity"   
                 HeaderText="Ship City"   />  
        </SelectFields>  
    </telerik:GridGroupByExpression>  
     
<telerik:GridGroupByExpression><SelectFields>  
<telerik:GridGroupByField FieldName="ShipPostalCode" FieldAlias="ShipPostalCode" HeaderText="ShipPostalCode"></telerik:GridGroupByField>  
</SelectFields>  
<GroupByFields>  
<telerik:GridGroupByField FieldName="ShipPostalCode" FieldAlias="ShipPostalCode" HeaderText="ShipPostalCode"></telerik:GridGroupByField>  
</GroupByFields>  
</telerik:GridGroupByExpression>  
<telerik:GridGroupByExpression><SelectFields>  
<telerik:GridGroupByField FieldName="ShipCountry" FieldAlias="ShipCountry" FormatString="" HeaderText="Ship Country"></telerik:GridGroupByField>  
</SelectFields>  
<GroupByFields>  
<telerik:GridGroupByField FieldName="ShipCountry" FieldAlias="ShipCountry" FormatString="" HeaderText="Ship Country"></telerik:GridGroupByField>  
</GroupByFields>  
</telerik:GridGroupByExpression>  
     
   </GroupByExpressions>  
    
</MasterTableView>  
 
        <GroupingSettings GroupContinuedFormatString="" GroupContinuesFormatString=""   
            GroupSplitDisplayFormat="" GroupSplitFormat="" />  
 
<FilterMenu EnableTheming="True">  
<CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation>  
</FilterMenu>  
          
    </telerik:RadGrid> 
Sebastian
Telerik team
 answered on 04 Feb 2009
3 answers
134 views
Hi All,

I am using RadAjaxManger,RadAjaxMangerProxy,RadScriptManager,RadTabSctrip and RadMultiPage in my application.
I want to open the Panel on button click.
Panel content the asp control.
I don't want to use the radwindow for this case.

The panel should display below the button.

It should work like the 'ModalPopupExtender' of ajaxtoolkit work.

Is there any other way to do this?

Please help me.

Thanks





Roland
Top achievements
Rank 1
 answered on 04 Feb 2009
2 answers
116 views
I am using four RadComboBoxes in a form with other controls.  Using Visual Studio I set the RadComboBoxes to the front by using Visual Studios BringToFront toolbutton.  The last combobox I set of the four will come to the front, but the others will remain in back and the lists will be hidden by other controls in the form.  This is very annoying is there something else I should be doing.  This is in IE.
Chris
Top achievements
Rank 1
 answered on 04 Feb 2009
2 answers
73 views
I have some tabs set up to open different RadGrid. In The RadGrid i have a GridClientSelectColumn. The check boxes show up but the header box is not checking all of the sub boxes. Also when i submit the checkboxes they are not passing so it is effecting both things by having it in a radtab. I have this set up locally but i can put it online if you want to see it.

Thanks
 
chris
Top achievements
Rank 1
 answered on 04 Feb 2009
1 answer
119 views
My web app hosts files for individual uses in separate paths on the server.  These paths are not in the web app's subdirectory; they're located on attached storage via drive letters.  Is there anyway to set the ViewPaths to these directories?

When I do so as expressed in the online examples, I, of course, get an invalid virtual path exception.

Any pointers, or is this not possible?

Thanks,
Joshua
Rumen
Telerik team
 answered on 04 Feb 2009
4 answers
189 views
I've upgraded from Q2 2008 to the Q3 SP2 bits, and now the progress area is no longer being displayed (worked with no issues in Q2).

Tracing the web requests, I can see calls being made to the Telerik.RadUploadProgressHandler.ashx but the content returned is always:

var rawProgressData = {InProgress:false,ProgressCounters:false};

The OnClientProgressUpdating event also appears to no longer be called (which I'd assume is because the progress data is reporting the upload isn't in progress). The OnClientProgressStarted event however is being called. The file also completes it's upload.

I've been through the troubleshooting guides which unfortunately have not resolved the issue.

Telerik - please help... (this is the 3rd major breaking issue I've come across in the SP2 update which is starting to make me consider rolling back to the Q2 bits)
Yuriy Rogach
Top achievements
Rank 1
Iron
 answered on 04 Feb 2009
2 answers
96 views
Hi All,

My client doesn't want the 'Cancel' icon appearing when a user is editing a row in the grid. Is there a way to hide this?

Thanks.
W
Top achievements
Rank 1
 answered on 04 Feb 2009
3 answers
170 views
Hi,

I am getting the following error within the event log sometimes..,  any ideas would be great.. 
The error seems to occur sometimes, the general process is that I upload a file,  I do NOT get a progress bar, and then the error occurs,  other times the file upload works correctly with a progress bar being displayed and then no error.

Thanks

Exception information:
    Exception type: ArgumentException
    Exception message: Script control 'RadProgressManager1' is not a registered script control. Script controls must be registered using RegisterScriptControl() before calling RegisterScriptDescriptors().
Parameter name: scriptControl
Helen
Telerik team
 answered on 04 Feb 2009
1 answer
180 views
Hi,
I need your help.
I am using RadComboBoxes in the panel with the vertical scrollbar but when the RadComboBox is out of the screen (near the bottom of the panel), another vertical scrollbar asppears on the browser window (IE7) on page load. When panel content is scrolled down, it is enaugh only to hover over the RadComboBox and the additional scroll bar dissappears.
Do you know what seems to be the problem and how to prevent this additional scroll bar?

Thanks in advance.
Yana
Telerik team
 answered on 04 Feb 2009
5 answers
341 views
protected void SortCommand(object source, Telerik.Web.UI.GridSortCommandEventArgs e)
    {
     
        GridSortExpressionCollection ollection = new GridSortExpressionCollection();
       
        //ollection.AllowMultiColumnSorting=true;

        GridSortExpression S1=new GridSortExpression();
        S1.FieldName="ID";
        S1.SortOrder = GridSortOrder.Ascending;// SortDirection.Ascending;
        ollection.Add(S1);

        GridSortExpression S2=new GridSortExpression();
        S2.FieldName="Name";
        S2.SortOrder = GridSortOrder.Descending;
        ollection.Add(S2);
        ollection.AllowMultiColumnSorting=true;

        RadGrid1.MasterTableView.SortExpressions.AddSortExpression(ollection);     
       
    }

 Error      Argument '1': cannot convert from 'Telerik.Web.UI.GridSortExpressionCollection' to 'Telerik.Web.UI.GridSortExpression'    C:\Documents and Settings\DIP\My Documents\Visual Studio 2005\WebSites\sortGrid\Default.aspx.cs    105    68    C:\...\sortGrid\

I have set the RadGrid to be AllowmultipleSort=true....

What Am I doing wrong or missing?

Thanks,
DIP
Sebastian
Telerik team
 answered on 04 Feb 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?