Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
98 views
Hey

We are using RadGrid for example containg  persons data, firstname, lastname, social securitynr. etc. all in a specific column.

The search is a backend search where we present a limited number of "hits"

So if we do this for the moment a search on "John Doe", it will be exucution on search on "John" say 3000 records followed by a search
on "John" + "Doe" say 50 hits.

Is it possible to avoid (disable) the implicit search which occurs every time we are tabbing away (leaving) from a filter field ?

We would like to implement a search triggered ex. enter.

Regards

Finn Møller Hansen



Iana Tsolova
Telerik team
 answered on 06 May 2011
1 answer
35 views
I've noticed that if I have an area of my webform, for example a <div runat="Server"> as the target of a RadAjaxManager update (the Div will be updated), then any controls that I put inside this div can not post back in the normal sense: they can not cause any changes to happen on the page outside of the Div.

For example if I have a button that changes a label's text, and I put the button inside a server side DIV that is the target of a RadAjaxManager, then clicking on that button will never change the text of the label.

I'm just wondering if this is expected behavior, and if there is some best practice way to work around this?
Iana Tsolova
Telerik team
 answered on 06 May 2011
2 answers
139 views
Hello,

I have the following problem with RadComboBoxes and Internet Explorer 8:

On a form I have about 12 RadComboBoxes, Skin Windows7.

When I open this form, the form loads almost completely but the form remains in a unresponsive state. It is not possible to do anything on the form. The cursor shape shows as an hourglass.  At the same time, the iexplorer process consumes near 100% processor time. IE8 Javascript profiler says that a script of an embedded Telerik JavaScript resource needs a lot of time.

After about 10s the form is usable and user can make input click on buttons, etc..

The problem remains even the combo boxes are not bound or filled with any items.
When I replace the RadComboBoxes with ASP:DropDownList controls the problem disappears.

We want to use the RadComboBoxes, because we need LoadOnDemand, AutoComplete and virtual scrolling.

With IE6, IE7 and Firefox 3.x, 4 there is no such problem at all.

The version of the Telerik.Web.UI dll is 2010.2.929.35.

Is this a known issue? Do we need a more current version of Telerik controls? Is there a workaround?

All hints and solutions are welcome.

Regards

Rolf Cerff

Rolf Cerff
Top achievements
Rank 1
 answered on 06 May 2011
2 answers
175 views
This may seem like a strange request but here goes.  I want to be able to customise the editor to allow a user to choose a pre-defined style.  For example "Paragraph Red".  I am sure this is pretty simple and the behaviour i would expect would be the HTML to look something like this:

<p class="Paragraph Red">This is some test text</p>

However, what i want to do is allow the user to choose "Paragraph Red" but the generated HTML to add a style tag to the selected element with the style information from the predefined style.  E.g.

<p style="color: red">This is some test text</p>

My reason for doing this is i want to build a user friendly interface for generating our HTML newsletters.  Unfortunately a lot of mail clients (especially the web based ones) require inline styles to be used for the output to be rendered correctly.
Dave
Top achievements
Rank 1
 answered on 06 May 2011
1 answer
48 views
Hi team,

The issue is when I config RadCompression with:

<add name="RadCompression" type="Telerik.Web.UI.RadCompression"/>
<add name="CompressionModule" type="CompressionModule"/>
The RadMenu in page not work (not recognize css and javascript)

Can you help me to fix it?

 

Cori
Top achievements
Rank 2
 answered on 06 May 2011
1 answer
90 views
I am using  RadGrid1_ItemCommand() to capture the buttons in my RadGrid and use it to trigger some additional functions. 

protected void RadGrid1_ItemCommand(object source, GridCommandEventArgs e)
  {
      if (e.CommandName == "Select")
      {
          btn1AuseLink_Command(e);
      }
      else if (e.CommandName == "Print")
      {
          btn1AusePrint_Command(e);
      }
      else if (e.CommandName == "Page")
      {
          if (e.CommandArgument == "Prev")
          {
              LoadFreeTextBox1A();
          }
          else if (e.CommandArgument == "Next")
          {
              LoadFreeTextBox1A();
          }
          else if (e.CommandArgument == "First")
          {
              LoadFreeTextBox1A();
          }
          else if (e.CommandArgument == "Last")
          {
              LoadFreeTextBox1A();
          }
      }
      else if (e.CommandName == "ChangePageSize")
      {
          SpeechRecords.SessionHandler.DispRow = (((GridPageSizeChangedEventArgs)(e)).NewPageSize).ToString();
      }
  }

My problem is that the Functions are called before the Navigation buttons move the record.  Is there a function I can use to trigger a function after the navigation buttons have moved to the new record?

Iana Tsolova
Telerik team
 answered on 06 May 2011
1 answer
61 views
Hello, I have a tooltip which will get embeded by mouse over event.

tooltip has a close icon. it displays white background to it. I wish to make it transparent. Changed css acordingly but not making any change out there.

tooltip code:
<telerik:RadToolTipManager ID="ttm_CSMD_Backlog_By_Status_FL" runat="server" EnableShadow="true"
    Animation="Resize"  Height="70" Width="75" OnAjaxUpdate="OnAjaxUpdate" HideEvent="ManualClose" 
    Position="BottomCenter" RelativeTo="Element" OffsetY="0" OnClientResponseEnd="OnClientResponseEnd">
</telerik:RadToolTipManager>
css
.rtCloseButton 
    
        margin-top: 12px!important
        background-color:transparent;
    }
Cori
Top achievements
Rank 2
 answered on 06 May 2011
1 answer
259 views

I have a RadGrid that does sorting, but only for the current page. This particular grid has a year's worth of data divided into rows of 7 (52 pages * 7 = 365 days), but when I click on the first column (a date column named ReportDate) to sort the data, the sort is only applied against the current page's data! At first I thought maybe this was related to how date values are sometimes treated as strings, but that doesn't seem to be the case.

Here's a snippet of the grid's markup:


<telerik:RadGrid ID="RadGrid_StaffProductivitySummary" runat="server" AutoGenerateColumns="False"
    PageSize="7" Width="1185px" Height="500px" GridLines="None" 
    VirtualItemCount="365" Skin="Windows7" HorizontalAlign="Center" enablerowhoverstyle="true">
    <ItemStyle HorizontalAlign="Center" BorderWidth="0px"/>
    <MasterTableView horizontalalign="Center" gridlines="None" AllowPaging="True" AllowCustomPaging="true" PageSize="7" AllowSorting="true"
        commanditemdisplay="Top" >
        <SortExpressions>
            <telerik:GridSortExpression FieldName="ReportDateSort" SortOrder="Descending" />
        </SortExpressions>
        <CommandItemSettings ExportToPdfText="Export to Pdf" 
            ShowAddNewRecordButton="False"></CommandItemSettings>
        <Columns>
            <telerik:GridDateTimeColumn DataField="ReportDate" SortExpression="ReportDateSort"
                UniqueName="ReportDate" HeaderText="" PickerType="None" DataFormatString="{0:dd-MMM-yyyy}"
                HeaderStyle-Width="75px" HeaderStyle-Font-Bold="true">
            </telerik:GridDateTimeColumn>
            <telerik:GridTemplateColumn UniqueName="IncomingFaxesDaily" DataField="IncomingFaxesDaily"
                InitializeTemplatesFirst="false">
                <HeaderStyle Width="200px"/>
                <HeaderTemplate>
                    <table id="faxHeaderTable" cellspacing="1" cellpadding="3">
                        <tr>
                            <td colspan="4" align="center" style="background-color: #D8E6F1;"><b>Daily Fax Summary</b>
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 25%;"><b>Incoming</b></td>
                            <td style="width: 25%;"><b>Processed</b></td>
                            <td style="width: 25%;"><b>Not Processed</b></td>
                            <td style="width: 25%;"><b>Deleted</b></td>
                        </tr>
                    </table>
                </HeaderTemplate>
                <ItemTemplate>
                    <table id="faxItemTable" cellspacing="1" cellpadding="1" width="100%" style="text-align:center;" border="0">
                        <tr>
                            <td style="width: 25%;"><%# DataBinder.Eval(Container.DataItem, "IncomingFaxesDaily") %></td>
                            <td style="width: 25%;"><%# DataBinder.Eval(Container.DataItem, "FaxesProcessedDaily") %></td>
                            <td style="width: 25%;"><%# DataBinder.Eval(Container.DataItem, "FaxesNotProcessedDaily") %></td>
                            <td style="width: 25%;"><%# DataBinder.Eval(Container.DataItem, "FaxesDeletedDaily") %></td>
                        </tr>
                    </table>
                </ItemTemplate>
            </telerik:GridTemplateColumn>          
        </Columns>
        <EditFormSettings>
            <EditColumn UniqueName="EditCommandColumn1">
            </EditColumn>
        </EditFormSettings>
        <ItemStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
            Font-Underline="False" HorizontalAlign="Center" Wrap="True" VerticalAlign="Middle" />
        <AlternatingItemStyle Font-Bold="False" Font-Italic="False" Font-Overline="False"
            Font-Strikeout="False" Font-Underline="False" HorizontalAlign="Center" Wrap="True" />
        <EditItemStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
            Font-Underline="False" HorizontalAlign="Center" Wrap="True" />
        <PagerStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
            Font-Underline="False" HorizontalAlign="Center" VerticalAlign="Middle" Wrap="True" />
        <HeaderStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
            Font-Underline="False" HorizontalAlign="Center" Wrap="True" VerticalAlign="Bottom" />
    </MasterTableView>
    <HeaderStyle BorderStyle="None" />
    <EditItemStyle BackColor="#FFFF99" Font-Bold="False" Font-Italic="False" 
        Font-Overline="False" Font-Strikeout="False" Font-Underline="False" 
        Wrap="True" />
</telerik:RadGrid>

I'm currently using the standard sorting (no overriding of the default sorting behavior by capturing the SortCommand event), though I've tried it both ways. The data source is populated in the NeedDataSource event handler and this is working fine (I even tried re-applying the Sort Expression here, but to no avail). Currently, I have modified the data source resultset to return the same date in two columns, ReportDate and ReportDateSort. I originally just used ReportDate for both the DataField and SortExpression values, but then thought maybe I needed a separate sorting column in case the format of the data (perhaps as a string) was causing problems, so I added ReportDateSort fort his purpose.

None of these different options have worked thus far. No matter which page I'm on within the data source, the sort only applies to that page.

Any help appreciated!

Thanks,

Jon
Iana Tsolova
Telerik team
 answered on 06 May 2011
4 answers
80 views
Hi there,

In my application popups are dynamicly created and managed by a windowmanager. Currently my WindowManager is on a UpdatePanel which updates the whole manager when a Window is added.

How can I use the WindowManager and only update a single Window at the time it's added?
Svetlina Anati
Telerik team
 answered on 06 May 2011
1 answer
53 views
Hi,

I am using radgrid retrieving record from xml. i am using paging for this grid. when i clicking page numbers it is firing ItemCommand. but buttons are not firing in ItemCommand?

Please check the attached image.let me know how to resolve this issue.

Thanks,
Dhamu.
Iana Tsolova
Telerik team
 answered on 06 May 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?