Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
74 views
When I create tables using either the Template Manager or the table wizard, I am tracking my CPU usage and it is spiking to over 50%. It's only happening in the Q1 dll that was released on March 10. My HTML is listed below, when I try to edit the table in the RadEditor it spikes. I'm using the InsertTable and the Template Manager, if anyone needs my xml toolbar file or code, please let me know. I just need to know if anyone else has this problem and if yes, how is it fixed. Thanks.

<div style="font-family: 'arial'; color: black; font-size: 11px; font-weight: bold;"> 
<div style="font-family: 'arial'; color: #007dca; font-size: 11px; font-weight: bold;">[Fit Guide Detail - Fit By</div> 
[Garment ifnoramtion]</div> 
<p></p> 
<div style="font-family: 'arial'; color: #007dca; font-size: 11px; font-weight: bold;">[Fit Guide Detail]</div> 
<div style="font-family: 'arial'; color: black; font-size: 11px; font-weight: bold;">[Fit Guide Information Here]</div> 
<p></p> 
<div style="font-family: 'arial'; color: #007dca; font-size: 12px; font-weight: bold;">[Product Title Here]</div> 
<div style="font-family: 'arial'; color: black; font-size: 11px; font-weight: bold;">[Product Information Here]</div> 
<p></p> 
<div style="font-family: 'arial'; color: #007dca; font-size: 11px; font-weight: bold;">Tunic Details</div> 
<p > 
<table style="vertical-align: top;"> 
    <tbody> 
        <tr> 
            <td style="width: 250px; height: 5px; vertical-align: top; padding-top: 1px;"> 
            <ul style="margin-bottom: 0px; height: auto; vertical-align: top;"> 
                <li style="font-family: 'arial'; color: black; font-size: 11px; font-weight: bold;">Color Choices: </li> 
            </ul> 
            </td> 
            <td style="width: 350px; font-family: 'arial'; height: 5px; color: black; font-size: 11px; vertical-align: top;">asfasef</td> 
        </tr> 
        <tr> 
            <td style="width: 250px; height: 5px; vertical-align: top; padding-top: 1px;"> 
            <ul style="margin-bottom: 0px; height: auto; vertical-align: top;"> 
                <li style="font-family: 'arial'; color: black; font-size: 11px; font-weight: bold;">Collection </li> 
            </ul> 
            </td> 
            <td style="width: 350px; font-family: 'arial'; height: 5px; color: black; font-size: 11px; vertical-align: top;">asdfasasdfdf</td> 
        </tr> 
        <tr> 
            <td style="width: 250px; height: 5px; vertical-align: top; padding-top: 1px;"> 
            <ul style="margin-bottom: 0px; height: auto; vertical-align: top;"> 
                <li style="font-family: 'arial'; color: black; font-size: 11px; font-weight: bold;">Fabrication Fabrication </li> 
            </ul> 
            </td> 
            <td style="width: 350px; font-family: 'arial'; height: 5px; color: black; font-size: 11px; vertical-align: top;">asef</td> 
        </tr> 
    </tbody> 
</table> 
</p> 
<div style="font-family: 'arial'; color: #007dca; font-size: 11px; font-weight: bold;">Pants Details</div> 
<p > 
<table style="vertical-align: top;"> 
    <tbody> 
        <tr> 
            <td style="width: 250px; height: 5px; vertical-align: top; padding-top: 1px;"> 
            <ul style="margin-bottom: 0px; height: auto; vertical-align: top;"> 
                <li style="font-family: 'arial'; color: black; font-size: 11px; font-weight: bold;">Print: </li> 
            </ul> 
            </td> 
            <td style="width: 350px; font-family: 'arial'; height: 5px; color: black; font-size: 11px; vertical-align: top;"></td> 
        </tr> 
        <tr> 
            <td style="width: 250px; height: 5px; vertical-align: top; padding-top: 1px;"> 
            <ul style="margin-bottom: 0px; height: auto; vertical-align: top;"> 
                <li style="font-family: 'arial'; color: black; font-size: 11px; font-weight: bold;">Style: </li> 
            </ul> 
            </td> 
            <td style="width: 350px; font-family: 'arial'; height: 5px; color: black; font-size: 11px; vertical-align: top;"></td> 
        </tr> 
        <tr> 
            <td style="width: 250px; height: 5px; vertical-align: top; padding-top: 1px;"> 
            <ul style="margin-bottom: 0px; height: auto; vertical-align: top;"> 
                <li style="font-family: 'arial'; color: black; font-size: 11px; font-weight: bold;">Neckline: </li> 
            </ul> 
            </td> 
            <td style="width: 350px; font-family: 'arial'; height: 5px; color: black; font-size: 11px; vertical-align: top;"></td> 
        </tr> 
        <tr> 
            <td style="width: 250px; height: 5px; vertical-align: top; padding-top: 1px;"> 
            <ul style="margin-bottom: 0px; height: auto; vertical-align: top;"> 
                <li style="font-family: 'arial'; color: black; font-size: 11px; font-weight: bold;">Sleeves: </li> 
            </ul> 
            </td> 
            <td style="width: 350px; font-family: 'arial'; height: 5px; color: black; font-size: 11px; vertical-align: top;"></td> 
        </tr> 
        <tr> 
            <td style="width: 250px; height: 5px; vertical-align: top; padding-top: 1px;"> 
            <ul style="margin-bottom: 0px; height: auto; vertical-align: top;"> 
                <li style="font-family: 'arial'; color: black; font-size: 11px; font-weight: bold;">Design Features: </li> 
            </ul> 
            </td> 
            <td style="width: 350px; font-family: 'arial'; height: 5px; color: black; font-size: 11px; vertical-align: top;"></td> 
        </tr> 
    </tbody> 
</table> 
</p> 
<div style="font-family: 'arial'; color: #007dca; font-size: 11px; font-weight: bold;">Size, Contents &amp; Care</div> 
<p > 
<table style="vertical-align: top;"> 
    <tbody> 
        <tr> 
            <td style="width: 250px; height: 5px; vertical-align: top; padding-top: 1px;"> 
            <ul style="margin-bottom: 0px; height: auto; vertical-align: top;"> 
                <li style="font-family: 'arial'; color: black; font-size: 11px; font-weight: bold;">Waist: </li> 
            </ul> 
            </td> 
            <td style="width: 350px; font-family: 'arial'; height: 5px; color: black; font-size: 11px; vertical-align: top;"></td> 
        </tr> 
        <tr> 
            <td style="width: 250px; height: 5px; vertical-align: top; padding-top: 1px;"> 
            <ul style="margin-bottom: 0px; height: auto; vertical-align: top;"> 
                <li style="font-family: 'arial'; color: black; font-size: 11px; font-weight: bold;">Leg Type: </li> 
            </ul> 
            </td> 
            <td style="width: 350px; font-family: 'arial'; height: 5px; color: black; font-size: 11px; vertical-align: top;"></td> 
        </tr> 
        <tr> 
            <td style="width: 250px; height: 5px; vertical-align: top; padding-top: 1px;"> 
            <ul style="margin-bottom: 0px; height: auto; vertical-align: top;"> 
                <li style="font-family: 'arial'; color: black; font-size: 11px; font-weight: bold;">Length: </li> 
            </ul> 
            </td> 
            <td style="width: 350px; font-family: 'arial'; height: 5px; color: black; font-size: 11px; vertical-align: top;"></td> 
        </tr> 
        <tr> 
            <td style="width: 250px; height: 5px; vertical-align: top; padding-top: 1px;"> 
            <ul style="margin-bottom: 0px; height: auto; vertical-align: top;"> 
                <li style="font-family: 'arial'; color: black; font-size: 11px; font-weight: bold;">Hemline: </li> 
            </ul> 
            </td> 
            <td style="width: 350px; font-family: 'arial'; height: 5px; color: black; font-size: 11px; vertical-align: top;"></td> 
        </tr> 
        <tr> 
            <td style="width: 250px; height: 5px; vertical-align: top; padding-top: 1px;">&nbsp;</td> 
            <td style="width: 350px; font-family: 'arial'; height: 5px; color: black; font-size: 11px; vertical-align: top;">&nbsp;</td> 
        </tr> 
    </tbody> 
</table> 
</p> 
<div style="font-family: 'arial'; color: #007dca; font-size: 11px; font-weight: bold;">[Details4]</div> 
<p > 
<table style="vertical-align: top;"> 
    <tbody> 
        <tr> 
            <td style="width: 250px; height: 5px; vertical-align: top; padding-top: 1px;"> 
            <ul style="margin-bottom: 0px; height: auto; vertical-align: top;"> 
                <li style="font-family: 'arial'; color: black; font-size: 11px; font-weight: bold;">Size Choices: </li> 
            </ul> 
            </td> 
            <td style="width: 350px; font-family: 'arial'; height: 5px; color: black; font-size: 11px; vertical-align: top;"></td> 
        </tr> 
        <tr> 
            <td style="width: 250px; height: 5px; vertical-align: top; padding-top: 1px;"> 
            <ul style="margin-bottom: 0px; height: auto; vertical-align: top;"> 
                <li style="font-family: 'arial'; color: black; font-size: 11px; font-weight: bold;">Body Lenght: </li> 
            </ul> 
            </td> 
            <td style="width: 350px; font-family: 'arial'; height: 5px; color: black; font-size: 11px; vertical-align: top;"></td> 
        </tr> 
        <tr> 
            <td style="width: 250px; height: 5px; vertical-align: top; padding-top: 1px;"> 
            <ul style="margin-bottom: 0px; height: auto; vertical-align: top;"> 
                <li style="font-family: 'arial'; color: black; font-size: 11px; font-weight: bold;">Inseam: </li> 
            </ul> 
            </td> 
            <td style="width: 350px; font-family: 'arial'; height: 5px; color: black; font-size: 11px; vertical-align: top;"></td> 
        </tr> 
        <tr> 
            <td style="width: 250px; height: 5px; vertical-align: top; padding-top: 1px;"> 
            <ul style="margin-bottom: 0px; height: auto; vertical-align: top;"> 
                <li style="font-family: 'arial'; color: black; font-size: 11px; font-weight: bold;">Fit(Tunic) </li> 
            </ul> 
            </td> 
            <td style="width: 350px; font-family: 'arial'; height: 5px; color: black; font-size: 11px; vertical-align: top;"></td> 
        </tr> 
        <tr> 
            <td style="width: 250px; height: 5px; vertical-align: top; padding-top: 1px;"> 
            <ul style="margin-bottom: 0px; height: auto; vertical-align: top;"> 
                <li style="font-family: 'arial'; color: black; font-size: 11px; font-weight: bold;">Content: </li> 
            </ul> 
            </td> 
            <td style="width: 350px; font-family: 'arial'; height: 5px; color: black; font-size: 11px; vertical-align: top;"></td> 
        </tr> 
    </tbody> 
</table> 
</p> 

Alex
Top achievements
Rank 2
 answered on 25 Mar 2010
1 answer
64 views
What is the difference between OQL en SQL? When I use the SQL query provider I get an SQLServer compatible where clause with [ and ] around the fieldnames. I also see a RadFilterOqlExpressionFormatter but the documentation is very minimal.

Maybe someone can give me an example?

Mvg Andre Broers
Rosen
Telerik team
 answered on 25 Mar 2010
4 answers
621 views
On one of my pages I've got a databound RadComboBox holding 30 or so items.  It expands upward to the top of the window.  This is a problem because it passes through a RadMenu and for some reason passes behind the menu - so the third and fourth items in the list aren't selectable because the RadMenu is in front of them.

So, is there any way to do any of the following:
-Set the max length of the drop down, in pixels or number of items displayed or whatever else?
-Force the combobox to expand downward?
-Get the drop down to be in front of the radmenu instead of the other way around?
Ajay Gandhi
Top achievements
Rank 1
 answered on 25 Mar 2010
1 answer
132 views
Hi,
seems that in Q1/2010 release the number of images shown in image manager per page is limited to 10 or is corresponing with the page size of an underlying grid. Is it possible to customize the page size value in the image manager (e.g. to 50)?
Regards
Heinz
Dobromir
Telerik team
 answered on 25 Mar 2010
2 answers
119 views
Hi
I have a radgrid populated with data using a sqldatasource. Whenever I select the radgrid's filter menu, it opens up and moves the whole page down. But the filter works in filtering the data. Pls help me solve this problem.

Here is the aspx code:
   <telerik:RadGrid ID="RadGrid_DutyLog" runat="server" DataSourceID="SqlDataSource_DutyLog" 
        AutoGenerateColumns="False" AllowAutomaticDeletes="True" Skin="Black" AutoGenerateDeleteColumn="True" 
        AutoGenerateEditColumn="True" OnInsertCommand="RadGrid_Duty_InsertCommand" OnUpdateCommand="RadGrid_Duty_UpdateCommand" 
        Width="100%" AllowFilteringByColumn="True" AllowPaging="True" AllowSorting="True" 
        GridLines="None" Height="500px">  
 

Do I have to include any particular style  in css for the filter menu to drop down as it should be?
Amirtha S
Top achievements
Rank 1
 answered on 25 Mar 2010
1 answer
80 views
We have about 1.5 Million records in  the table. We have enabled Pagination in the grid expecting the system to display the records faster. However we noted that on every page click the grid takes lot of time to load. Can anyone provide some inputs on this...
Vlad
Telerik team
 answered on 25 Mar 2010
5 answers
167 views
I am using ASP.NET AJAX version 2008.2.1001.20. The image manager dialogs is crashing on most PC's. The dialog popups up but just before it renders it crashes. If I click the icon a second time the popup appears ok. 
There are other PC with simlar OS and browser where it works fine all the time.
PCS that crash are running windows XP SP3 and IE 8.0.
Rumen
Telerik team
 answered on 25 Mar 2010
2 answers
231 views
Is there a built-in option to create a hidden field in the editor? If not anyone has a code already created to do a custom dialog for this.

Any help is appreciated.

Thanks
Telerikuser
Top achievements
Rank 1
 answered on 25 Mar 2010
2 answers
207 views
I'm trying to set selected row on Page_Load. The correct Page, total page and row count but no selected row?
I have the following:
// aspx page
...
<telerik:RadGrid
        ID="grdList" runat="server"
        EnableViewState="false"
        Height="328px"
        AllowPaging="true"
        AllowCustomPaging="true"
        AllowSorting="true"
        AllowFilteringByColumn="true"
        AutoGenerateColumns="False"
        PageSize="12"
        Skin="WebBlue">
...
// aspx.cs code behind page called from Page_Load
...
// this.pageSize is 12
// qmd.Count is 172
// this.PageIndex is 9
// rowIndex is 11
grdList.DataSource = qmarkRows;
grdList.VirtualItemCount = qmd.Count;
grdList.PageSize = this.pageSize;
grdList.CurrentPageIndex = qmd.PageIndex;
grdList.DataBind();
grdList.MasterTableView.Items[rowIndex].Selected = true;
...

What am i doing wrong?
Murray
Top achievements
Rank 1
 answered on 25 Mar 2010
1 answer
154 views

I have a grid that displays a DateTime field.  The user has the ability to filter this DateTime field. I want to make sure the user enters only valid DateTime values (i.e. 1/1/2010).  So, how can I check the filter?  I wrote the following code in the grid ItemCommand event but I don't know how to complete it.  Can someone tell me which property to check so I can make sure that what the user entered is a valid date?

protected void gridMain_ItemCommand(object sender, GridCommandEventArgs e)  
{  
 
  if (e.Item is GridFilteringItem)  
  {  
      GridFilteringItem FilteringItem = e.Item as GridFilteringItem;  
 
      // what do I do now?    
   }  
 
}  
 
 
Foenix
Top achievements
Rank 1
 answered on 25 Mar 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?