Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
100 views
Dear Telerik Wizards,

How can I load the images in a datagrid using AJAX / RadAjax?

I have a large number of images in templatecolumns in a datagrid (up to 100 images) and it is really slow loading the whole grid because of the images.  I would like to display a loading panel for each image while they are loading to speed things up.  Is this possible?  Note that I want this to happen as soon as the page initially loads.

Alternatively, can I show a loading panel for the whole datagrid while it loads?  I can figure out using loading panels when triggered by a client event but I can't figure it out on loading from the start.

Please Help!

Thanks.
Nikolay Rusev
Telerik team
 answered on 14 Nov 2008
1 answer
95 views
Hi!

I have a problem on group by expression.

My expression is:

Dim expression As GridGroupByExpression = New GridGroupByExpression
            Dim gridGroupByField As GridGroupByField = New GridGroupByField

            'Add select fields (before the "Group By" clause)
            gridGroupByField = New GridGroupByField
            gridGroupByField.FieldName = "Modelo"
            gridGroupByField.HeaderText = "Modelo"
            gridGroupByField.HeaderValueSeparator = ": "
            gridGroupByField.FormatString = "<strong>{0}</strong>"
            expression.SelectFields.Add(gridGroupByField)

            gridGroupByField = New GridGroupByField
            gridGroupByField.FieldName = "TotalEnc"
            gridGroupByField.HeaderText = " Quantidade"
            gridGroupByField.HeaderValueSeparator = ": "
            gridGroupByField.FormatString = "<strong>{0}</strong>"
            gridGroupByField.Aggregate = GridAggregateFunction.Sum
            expression.SelectFields.Add(gridGroupByField)

            gridGroupByField = New GridGroupByField
            gridGroupByField.FieldName = "ValorEnc"
            gridGroupByField.HeaderText = " Total"
            gridGroupByField.HeaderValueSeparator = ": "
            gridGroupByField.FormatString = "<strong>{0:C}</strong>"
            gridGroupByField.Aggregate = GridAggregateFunction.Sum
            expression.SelectFields.Add(gridGroupByField)

            'Add a field for group-by (after the "Group By" clause)
            gridGroupByField = New GridGroupByField
            gridGroupByField.FieldName = "Modelo"
            gridGroupByField.FieldAlias = "ola"
            expression.GroupByFields.Add(gridGroupByField)

And in the result it shows:

Modelo: 5373Modelo Quantidade: 0Modelo Total: 0,00 €

How can i change the word Modelo by ; ???

Thanks!
Princy
Top achievements
Rank 2
 answered on 14 Nov 2008
5 answers
274 views

In my grid the headers are lining up with the columns below them.  What is even more interesting is when I set....

 GridLines="Both"  

If I grab ANY column and move it ever so slightly the columns and headers line up.

Here are my settings. Keep in mind I need to have Grouping, Multiple Sort, Column Resizing, and Scrolling set to TRUE!!

<telerik:RadGrid ID="RadGrid1"   
                 AllowMultiRowSelection="true"   
                 AllowSorting="true"   
                 AllowPaging="false"   
                 AutoGenerateColumns="False"   
                 AlternatingItemStyle-HorizontalAlign="Center"                     
                 ItemStyle-HorizontalAlign="Center" 
                 BackColor="#ffffff" 
                 EnableEmbeddedSkins="false"   
                 GridLines="Both"   
                 GroupingEnabled="true"                                                                    
                 Height="370px"   
                 OnSortCommand="RadGrid1_SortCommand" 
                 OnNeedDataSource="RadGrid1_NeedDataSource"   
                 OnItemDataBound="RadGrid1_ItemDataBound"   
                 OnItemCommand="RadGrid1_ItemCommand" 
                 ShowHeader="true"   
                 ShowGroupPanel="true"     
                 ShowStatusBar="true"                                                                  
                 Skin="MySkin"   
                 Width="99%"   
                 runat="server"

<MasterTableView DataKeyNames="ID" AllowMultiColumnSorting="True" Width="100%">                                
   <Columns> 
     <telerik:GridClientSelectColumn UniqueName="ClientSelectColumn" HeaderStyle-Width="50" /> 
     <telerik:GridBoundColumn SortExpression="ROWNUM" HeaderText="Priority" HeaderButtonType="TextButton" HeaderStyle-Width="50" ItemStyle-Width="50" DataField="ROWNUM" /> 
     <telerik:GridBoundColumn SortExpression="COMPANY_NAME" HeaderText="Company Name" HeaderButtonType="TextButton"  HeaderStyle-Width="150" ItemStyle-Width="150" ItemStyle-HorizontalAlign="Left" DataField="COMPANY_NAME"  />    
 </Columns>            
</MasterTableView>    
                          


<ClientSettings AllowColumnsReorder="true" AllowDragToGroup="True" ReorderColumnsOnClient="true" AllowRowHide="true">  
   <Scrolling AllowScroll="True" UseStaticHeaders="True" SaveScrollPosition="True"></Scrolling> 
   <Resizing  AllowColumnResize="True" AllowRowResize="False" EnableRealTimeResize="True" ResizeGridOnColumnResize="True"></Resizing> 
   <Selecting AllowRowSelect="True"></Selecting>                               
</ClientSettings> 

Any help you can give me would be great!

Notice the Skin I made is the exact same as your Hay with just a different header background image everything else is the same in the css.
Dimo
Telerik team
 answered on 14 Nov 2008
1 answer
80 views
Hi there,

Can anyone tell me if there is a corresponding property in the RadHtmlField control to enable enhanced editing.  We have an RadHtmlField editor on our SharePoint web part page to allow users to edit the page introduction.  When users try to insert a table using the editor, the borders of the table are not displayed.  According to the documentation, to enable a dashed border style for all tables in the design view of the editor you need to set EnableEnhancedEdit to true, however, this property is defined by the RadEditor class and the RadHtmlField inherits from Microsoft.SharePoint.WebControl.BaseFieldControl.  Any thoughts?

Thanks.

Paul
Stanimir
Telerik team
 answered on 14 Nov 2008
1 answer
86 views
Hello,

We noticed some minor issues which are no severe problem, but we at least want to communicate.

- Arrow keys cannot be used to select images in the image manager.

- We have some controls under the RadEditor. If we use the arrow keys oder mark text there, the inputs are also captured by the RadEditor.

- If a complete line is marked as a link, any text written behind the link is also part of the link.

Regards,
Markus
Stanimir
Telerik team
 answered on 14 Nov 2008
1 answer
105 views
Hello,

Our costumer wants to embed flash content in wiki pages. The code for the flash object was always removed, so I searched this forum and found several threads stating that it is not possible to embed flash content as the code is filtered by the server. In these threads it was also mentioned that this is standard behavior which also occurs using the standard moss editor. But our costumer tested it with the standard editor and it worked fine. So i guess it was fixed (Sp1?) and now I'm asking myself if it's also possible with the newest Rad Editor version.

Regards,
Markus
Stanimir
Telerik team
 answered on 14 Nov 2008
1 answer
86 views
Hi

Is it possible to prevent a sliding zone from collapsing unless the user clicks the collapse 'x'? I want to do something similar to ClickToOpen, so that when the user clicks the tab the pane slides out and stays out. They must then explicitly click the 'x' collapse button to close it. I do not want to automatically dock the pane (i.e. I still want the pane to overlay the underlying content).

I can prevent the collapse entirely by using OnClientBeforeCollapse and set_cancel(true), but I cant work out how I know whether the user clicked the 'x' or its a timed collapse.

Thanks
Russell Mason
Svetlina Anati
Telerik team
 answered on 14 Nov 2008
2 answers
133 views
Hi,

I've added my RadComboBox into a telerik:gridtemplatecolumn. When I go into edit mode my combobox is too big and width and height ways. I reduced the Height and Width property but it didn't effect the actual box only the scrolling of my item in my combobox. How can i reduce it's actual size without effecting the item scrolling?
Darren
Top achievements
Rank 2
 answered on 14 Nov 2008
1 answer
124 views
Is it possible to right align the numerical textbox when used in conjunction with RadInputManager?

Or is RadNumericTextBox the only way?
Missing User
 answered on 14 Nov 2008
1 answer
125 views
Ok, so I am running my site on IIS 7 which I know does not have the option for "Memory Optimization", but... why can I not garbage collect the memory after the upload?  The memory is NOT "live", but it is being comsumed still by the worker process, and does not seem to garbage collect for a very long time. With large uploads this becomes extremly problematic!

I have tried.

GC

 

.Collect(); <-- Does Nothing!

Please Help!

 

Atanas Korchev
Telerik team
 answered on 14 Nov 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?