Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
341 views
Hello, i have been searching a while about this issue. I'm trying to scroll my page when i expand a row in my RadGrid (I don't want to scroll the Grid). I want the newly opened row to appear on the top of the web page.
I have HierarchyExpanded, but this triggers when i click on the row, not when the data is flully loaded.
I'm currently working on it but i am not an expert in javascript so i can't get this to work.
I already looked at http://www.telerik.com/help/aspnet-ajax/grid-scroll-to-selected-item.html but doesn't seem to work.
(My grid allow multiple selection, so i need to keep a reference to the last opened row.)
Anything i could do? Tips? Thanks.
Sophie
Top achievements
Rank 2
 answered on 18 Jan 2013
1 answer
76 views
hello, i try to use RadAjaxLoadingPanel , but rad grid column filters down't work . here is my code samples
p.s im using user control

<telerik:RadScriptManager ID="RadScriptManager1" runat="server">
</telerik:RadScriptManager>
 
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="ACMSGrid">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="ACMSGrid" LoadingPanelID="RadAjaxLoadingPanel1" />
                </UpdatedControls>
            </telerik:AjaxSetting>
      
        </AjaxSettings>
    </telerik:RadAjaxManager>
    
 <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" />
  
<%--OnPreRender="ACMSGrid_PreRender"--%>
<telerik:RadGrid ID="ACMSGrid" runat="server" OnNeedDataSource="ACMSGrid_NeedDataSource"
    AllowFilteringByColumn="True" AllowPaging="True" OnItemDataBound="ACMSGrid_ItemDataBound"
    AllowSorting="True" CellSpacing="0" EnableLinqExpressions="false"
   OnPreRender="ACMSGrid_PreRender"
    GridLines="None" AutoGenerateColumns="False">
    <MasterTableView AllowFilteringByColumn="True">
        <CommandItemSettings ExportToPdfText="Export to PDF"></CommandItemSettings>
 
        <RowIndicatorColumn Visible="True" FilterControlAltText="Filter RowIndicator column">
            <HeaderStyle Width="20px"></HeaderStyle>
        </RowIndicatorColumn>
 
        <ExpandCollapseColumn Visible="True" FilterControlAltText="Filter ExpandColumn column">
            <HeaderStyle Width="20px"></HeaderStyle>
        </ExpandCollapseColumn>
 
        <EditFormSettings>
            <EditColumn FilterControlAltText="Filter EditCommandColumn column">
            </EditColumn>
        </EditFormSettings>
        <Columns>
            <telerik:GridBoundColumn DataField="ACMS_Number" HeaderText="ნომერი"
                SortExpression="ACMS_Number" UniqueName="ACMS_Number" FilterControlWidth="40px"
                AutoPostBackOnFilter="False" CurrentFilterFunction="Contains"
                FilterDelay="1000" ShowFilterIcon="false">
            </telerik:GridBoundColumn>
 
            <telerik:GridDateTimeColumn DataField="ACMS_Date" SortExpression="ACMS_Date" HeaderText="თარიღი"
                UniqueName="ACMS_Date" CurrentFilterFunction="Contains" DataFormatString="{0:dd.MM.yyyy}"
                AutoPostBackOnFilter="True" FilterDelay="4000" ShowFilterIcon="false">
            </telerik:GridDateTimeColumn>
 
            <telerik:GridHyperLinkColumn AllowFiltering="false" DataTextFormatString="pdf '{0}'"
                DataNavigateUrlFields="id" UniqueName="id" DataNavigateUrlFormatString="~/common/ACMS_get_doc.aspx?id={0}"
                HeaderText="დოკუმენტი" DataTextField="id">
            </telerik:GridHyperLinkColumn>
 
            <telerik:GridBoundColumn DataField="ACMS_Type" HeaderText="ტიპი" HeaderStyle-Width="350px"
                SortExpression="ACMS_Type" UniqueName="ACMS_Type">
                <FilterTemplate>
                    <telerik:RadComboBox runat="server" ID="FilterCombo" DataSourceID="SqlDataSource3"
                        DataValueField="ACMS_Type" DataTextField="ACMS_Type" AutoPostBack="true"  AppendDataBoundItems="true"
                        SelectedValue='<%# ((GridItem)Container).OwnerTableView.GetColumn("ACMS_Type").CurrentFilterValue %>'
                        OnSelectedIndexChanged="FilterCombo_SelectedIndexChanged">
                            <Items>
                                  <telerik:RadComboBoxItem Text="" />
                                
                            </Items>
                    </telerik:RadComboBox>
 
              
 
      <asp:Button ID="btnShowAll" runat="server" OnClick="btnShowAll_Click" Text="ფილტრის გასუფთავება" />
              
                </FilterTemplate>
            </telerik:GridBoundColumn>
        </Columns>
 
    </MasterTableView>
    <ClientSettings>
        <Resizing AllowRowResize="True" EnableRealTimeResize="True" ResizeGridOnColumnResize="True"
            AllowColumnResize="True"></Resizing>
 
    </ClientSettings>
    <HeaderStyle Width="250px"></HeaderStyle>
    <FilterMenu EnableImageSprites="False"></FilterMenu>
</telerik:RadGrid>
 
<asp:SqlDataSource ID="SqlDataSource3" ConnectionString="<%$ ConnectionStrings:db_conn %>"
    ProviderName="System.Data.SqlClient" SelectCommand="SELECT  ACMS_type FROM itdc_ACMS_type"
    runat="server"></asp:SqlDataSource>

and here is codebehind

protected void Page_Load(object sender, EventArgs e)
   {
 
       acms get_data = new acms();
       ACMSGrid.DataSource = get_data.get_ACMS();
       ACMSGrid.DataBind();
   }
 
   protected void ACMSGrid_NeedDataSource(object source, GridNeedDataSourceEventArgs e)
   {
       acms get_data = new acms();
       ACMSGrid.DataSource = get_data.get_ACMS();
       ACMSGrid.DataBind();
   }
 
   protected void ACMSGrid_ItemDataBound(object sender, GridItemEventArgs e)
   {
       if (e.Item is GridDataItem)
       {
           GridDataItem item = (GridDataItem)e.Item;
           HyperLink hyplnk = (HyperLink)item["id"].Controls[0];
           hyplnk.ImageUrl = "~/m/i/pdf.gif";
       }
   }
 
 
 
   protected void FilterCombo_SelectedIndexChanged(object o, RadComboBoxSelectedIndexChangedEventArgs e)
   {
       string filterExpression;
       filterExpression = "([ACMS_type] = '" + e.Value + "')";
       ACMSGrid.MasterTableView.FilterExpression = filterExpression;
       ACMSGrid.MasterTableView.Rebind();
   }
   protected void ACMSGrid_PreRender(object sender, System.EventArgs e)
   {
 
 
       foreach (GridFilteringItem filterItem in ACMSGrid.MasterTableView.GetItems(GridItemType.FilteringItem))
       {
           RadComboBox dropdown = (RadComboBox)filterItem.FindControl("FilterCombo");
 
           //Response.Write(dropdown.SelectedValue);
           if (dropdown.SelectedValue == "All")
           {
               RefreshCombos();
           }
           else
           {
 
           }
       }
   }
 
   protected void RefreshCombos()
   {
        
       ACMSGrid.MasterTableView.FilterExpression = string.Empty;
 
       ACMSGrid.MasterTableView.Rebind();
   }
 
   protected void btnShowAll_Click(object sender, EventArgs e)
   {
       ACMSGrid.MasterTableView.FilterExpression = string.Empty;
 
       foreach (GridColumn column in ACMSGrid.MasterTableView.RenderColumns)
       {
           if (column is GridBoundColumn)
           {
               GridBoundColumn boundColumn = column as GridBoundColumn;
               boundColumn.CurrentFilterValue = string.Empty;
           }
       }
 
       ACMSGrid.MasterTableView.Rebind();
 
   }

Pavlina
Telerik team
 answered on 18 Jan 2013
16 answers
206 views
I'm working with the rad editor and have found that a link such as this:
<a href="#Download">Download Source</a>

will sometimes get changed to this:
<a target="_blank" re_target="null" href="#Download">Download Source</a>

I have no idea what is causing this to happen, but we work with the rad editor extensively and have found that about one out of every hundred documents containing links will randomly generate the above target and re_target properties. This causes all of the links to open in new windows.

I want to know if anyone has insight on this issue or even knows what causes it. This error is seemingly random and I have NOT been able to replicate it with hundreds of attempts. We create a large amount of different documents with the SAME links and some of them get these values generated for them.

One thing I did notice is that when switching from HTML view with the generated properties to PREVIEW and then back to HTML would most of the time clear the properties as if they were never there.

Any help is appreciated, thanks.
Laird Rixford
Top achievements
Rank 1
 answered on 18 Jan 2013
1 answer
133 views
This issue is specific to IE 9 and does not happen in Chrome and Firefox,
Occasionally It happens once in a while in Opera.

There is a master page "M" with a AJAX script manager control. 
In the content page a RadTabStrip control is used within the UpdatePanel. 

 Below is the declaration:  
<telerik:RadTabStrip ID="tlRetentionStrip" runat="server" SelectedIndex="0"
                  Skin="WebBlue" MultiPageID="tlMultiPage">
                  <Tabs>
                      <telerik:RadTab runat="server" Text="Queue Details" PageViewID="tlPageQueueDetails"
                          Selected="True" Owner="tlRetentionStrip">
                      </telerik:RadTab>
                      <telerik:RadTab runat="server" Text="Schedule: What does it run?" PageViewID="tlPageSchedule"
                          Owner="tlRetentionStrip">
                      </telerik:RadTab>
                      <telerik:RadTab runat="server" Text="Lead Filters" PageViewID="tlPageFilters" Owner="tlRetentionStrip">
                      </telerik:RadTab>
                  </Tabs>
              </telerik:RadTabStrip>

When the page is viewed in IE9, it has two issues
  1. It displays the tabs as bulleted list  (not always but often)
  2. It displays the Tab contents one below another.

Chrome.jpg:  Shows the correct view where the first tab shows the contents of onyl the first tab.
IE9.jpg: After displaying the contents of the first tab, the contents of the other tabs are shown below
Nencho
Telerik team
 answered on 18 Jan 2013
5 answers
100 views
We upgraded out radcombobox component to the latest version (2012.2.724.40) last week from version 2009.3.1314.20.  And today I tested with version 2012.2.912.40.
We have comboboxes in a repeater which itself is loaded dynamically when needed. When a postback occurs and the values in the comboboxes are changed the values are retained after a postback, when the values aren't changed selectedvalue returns "" (string.empty). When I replace the old telerik dll's it works fine, the latest break this.

Our problem is simular to this problem: http://www.telerik.com/community/forums/aspnet-ajax/combobox/selectedvalue-lost-on-postback-in-dynamically-added-user-controls.aspx
Hristo Valyavicharski
Telerik team
 answered on 18 Jan 2013
1 answer
36 views
Wanted to do some miner tweaks to the integrated Metrotouch skin using the online stylebuilder but realised it wasent avalible. is there any download link avalible for this skin?
MasterChiefMasterChef
Top achievements
Rank 2
 answered on 18 Jan 2013
2 answers
93 views

 Hello,

We have a blocking problem since the latest version of telerik.

To locate the problem, we have implemented two projects: WindowsFormsApplication1 and RadControlsWebApp1. (to download projects use : [ link])

The bug is reproduced as follows:

è Launch Application RadControlesWebApp1 and run the project

è The page contains just a radComboBox (img 1)

 

è Launch and run the project WindowsFormsApplication1 (img 2)

è WindowsFormsApplication1  is an application  WebForm with a COM component

è Enter the url  http://localhost:49573/  and launch  the webForm : This error appears: javascript: void (0);  (img3)

This problem is blocking. It was debugged but could not find the solution.

Our company owns the license telerik(RadControls for Asp.Net Ajax)

Thank you for your help.

 

Hamza GADI
Sage France

Gadi
Top achievements
Rank 1
 answered on 18 Jan 2013
1 answer
104 views
I am currently using DNN 5.3 and have a page that includes the Telerik Rad Editor when uploading a document, image or media file using the FileManager etc.  within the Telerik RadEditor the files are indexed in the DNN content Database (Files Table).  I would like to know if there is a setting to turn off this indexing in the TelerikEditorProvider (or any other area in DNN) as it is not required for our application.

If there is not a setting, can someone recommend another way to turn off this indexing that will not break the Radeditor in DNN?
Rumen
Telerik team
 answered on 18 Jan 2013
3 answers
59 views
Hello,

I am new to Telerik...so, my apologies if this question is too silly... Can we use Dock functionalities that we see in the demo on version 2011.1.315.35? We are trying to develop this inside of a page hosted by Sitecore Content Editor and this is the version that Sitecore uses. I cannot upgrade to the latest Telerik version without breaking Sitecore...

Thanks!
Mariella.
Slav
Telerik team
 answered on 18 Jan 2013
1 answer
26 views
Hello, I am attempting to open then select a file without using a mouse in IE 10.

Can you please instruct me how it is done via keyboard only?

Thank you!
Plamen
Telerik team
 answered on 18 Jan 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?