Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
188 views
Hi,
I've a little problem with with rad tab. On mouse over every tab change his dimension and appears a little white line on bottom of control. 
I think it's a css problem, but i'm unable to fix it. I've tried  to set .RadTabStrip.rtsLI, .RadTabStrip.rtsLink ect. but with no effects. 
In attachment there's a image with my problem.
Thanks
 
Alessio
Top achievements
Rank 1
 answered on 26 Jan 2010
1 answer
79 views
I want to display next/previous AND FirstPage & LastPage.

I tried adding PagerStyle-Mode="NextPrevAndNumeric"  &  <PagerStyle Mode="NextPrevAndNumeric"></PagerStyle>.
However, it only displays next/previous and numbers. Not the FirstPage/LastPage.

How can I get it to display those 2 FirstPage/LastPage icons as well?

thanks
Pavlina
Telerik team
 answered on 26 Jan 2010
11 answers
214 views
Hi all

The page I'm doing is a little complicated but I will try to explain what I need to achieve.
1. On the page there is an UpdatePanel ("upTimeRegs") with a RadGrid, where each row has an ID and a link.
2. When the mouse is over a link, a ToolTip ("ToolTipManager") should appear with contents based on the row's ID.
3. The content of the ToolTip is a user control ("ucTimeRegistrations") with another RadGrid ("RadGridTimeRegistrations") which has it's data bound in the NeedDataSource event handler
4. In the second RadGrid one of the columns is a RadComboBox. For each RadComboBox OnSelectedIndexChanged the main RadGrid should be updated

The problems I have:
1. The ToolTip is loaded fine the first time the mouse is over a link, but then when I hover a second link the content of the tooltip is not changed because the NeedDataSource event is not triggered.

2. The main RadGrid is not being updated when the selected index of a combobox is changed.

Here is some of the code I'm using:
protected void ToolTipManager_OnAjaxUpdate(object sender, ToolTipUpdateEventArgs args) 
{ 
    Control ctrl = Page.LoadControl("~/UserControls/ucTimeRegistrations.ascx"); 
    args.UpdatePanel.ContentTemplateContainer.Controls.Add(ctrl); 
    ucTimeRegistrations TimeRegistrations = (ucTimeRegistrations)ctrl; 
    TimeRegistrations.TaskID = Convert.ToInt32(args.Value); 
} 
 
 
 
public partial class ucTimeRegistrations : UserControl 
{ 
    public int TaskID; 
    protected void Page_Load(object sender, EventArgs e) 
    { 
    } 
 
    protected void RadGridTimeRegistrations_NeedDataSource(object  source, GridNeedDataSourceEventArgs e) 
    { 
        RadGTimeRegistrations.DataSource = TimeRegistrationHandler.GetTimeRegistrationsFromDB(TaskID); 
    } 
 
    protected void RadComboBoxActivity_SelectedIndexChanged(object sender, RadComboBoxSelectedIndexChangedEventArgs e) 
    { 
        RadComboBox rcbActivity = (RadComboBox)sender; 
        GridDataItem Row = (GridDataItem)rcbActivity.Parent.Parent; 
        if (Row != null) 
        { 
            int TimeRegistrationID = Convert.ToInt32(Row["TimeRegistrationID"].Text); 
            int ActivityID = Convert.ToInt32(e.Value); 
            TimeRegistrationHandler.UpdateTimeRegistration(TimeRegistrationID, ActivityID); 
                 
            UpdatePanel upTimeRegs = (UpdatePanel) FindControlRecursive(Page, "upTimeRegs");
            upTimeRegs.Update(); 
        } 
    }

    private Control FindControlRecursive(Control rootControl, string Id)
    {
        if (rootControl.ID == Id)
            return rootControl;
        foreach (Control childControl in rootControl.Controls)
        {
            Control foundControl = FindControlRecursive(childControl, Id);
            if (foundControl != null) return foundControl;
        }
        return null;
    }
} 
 


Thanks,
Stefan

Stefan Stanescu
Top achievements
Rank 1
 answered on 26 Jan 2010
2 answers
136 views
Hi!

We are translating the editor (v7.2.0.0 ) to swedish,danish,finnish and norwegian.

Swedish, Danish and Finnish all works fine when setting RadEditor.Language to "se", "da", "fi".

But when I try to set it to "no" for norwegian I get an javascript error
Line: 434
Error: 'localization_no' is undefined

Ive tried to set the language to "nn-NO" and "nb-NO" and also renamed the folder in localization but I still get an error.

Any ideas? I know we are using and old version of the editor but updating it is not possible due to some massive integrations we have done with the editor.

niclas ahlqvist
Top achievements
Rank 1
 answered on 26 Jan 2010
1 answer
137 views
I have a RadEditor in a ascx file, can somebody tell me how can I do in order to get clean the content field after an action like "Add"..

Any suggestions?

Regards
Rumen
Telerik team
 answered on 26 Jan 2010
6 answers
347 views
Hi all,

I'm a at the begining of the story with RadControls and Ajax, so I need a little bit of assistance please.

Problem:
I have an several RadAjaxPanels on control, all using one AjaxLoadingPanel.  Ok, should I simplify - I have 2 RadAjaxControls and when I  make callback on first one, and after that, while the first one is still making callback, I start the second one.
Result is that:
1. First callback is interupted and AjaxLoadingPanel disapiers, so it doesn't finish with executing code from CB
2. Second one does what it should but it doesn't show AjaxLoadingPanel html too

Question is why First one doesn't finishes hiss call back and why AjaxLoadingPanel HTML is gone?
I know that this might be trivial but it is making me a lot of problems at this stage, please let me know if I need to provide some code?

Regards,
Miger




Sebastian
Telerik team
 answered on 26 Jan 2010
1 answer
220 views
We're using Q2 2009 currently. We've got a DatePicker that is hidden when the screen is loaded, but by making a certain selection from a drop down list it will appear. The first time it appears, it is skinned properly. However, after hiding it again by making a different selection in the drop down and then doing a postback on the screen that changes the page view so the DatePicker one is hidden, it stops being skinned properly. The calendar icon says "Open the Calendar Popup" and when you click the link, the calendar opens without any skin applied to it. We've had this problem in the past and it was corrected with one of the updates, but now appears to be broken again. Are there any steps needed to fix this?

Thanks,
Adam
Dimo
Telerik team
 answered on 26 Jan 2010
1 answer
130 views
I'm having a heck of a time with this, and I hope maybe someone has a suggestion.

It's an intermittent problem, which is always hard to track down.  Sometimes, the RadEditor arrives at the client naked (no CSS), which greatly annoys my users (see image).  It's not just a matter of it not being pretty - it is useless.

This seems to happen most on folks coming in from farther away - our remote sites with DSL links, or 3G connections in our police cars.  I can't reproduce it at my desk at all, but I have a gig connection straight to the server.

It only seems to hit the RadEditor - I've never seen or had reported another Telerik component losing its skin.

Relevant code follows:

Editor declaration, in a UserControl that acts as the edit control for a RadGrid

      <telerik:RadEditor ID="fldNarrative" runat="server" Content='<%# Eval("Narrative") %>' StripFormattingOptions="MSWord" > 
        <Content /> 
      </telerik:RadEditor> 

Skin file from my theme

<telerik:RadEditor runat="server" Skin="Office2007" EnableEmbeddedSkins="true" EditModes="Design">  
  <ContextMenus> 
    <telerik:EditorContextMenu TagName="*">  
      <telerik:EditorTool Name="Cut" /> 
      <telerik:EditorTool Name="Copy" /> 
      <telerik:EditorTool Name="Paste" /> 
    </telerik:EditorContextMenu> 
  </ContextMenus> 
  <Tools> 
    <telerik:EditorToolGroup> 
      <telerik:EditorTool Name="FontName" /> 
      <telerik:EditorTool Name="RealFontSize" /> 
      <telerik:EditorTool Name="ForeColor" /> 
      <telerik:EditorTool Name="BackColor" /> 
    </telerik:EditorToolGroup> 
    <telerik:EditorToolGroup> 
      <telerik:EditorTool Name="Bold" /> 
      <telerik:EditorTool Name="Italic" /> 
      <telerik:EditorTool Name="Underline" /> 
      <telerik:EditorTool Name="Strikethrough" /> 
    </telerik:EditorToolGroup> 
    <telerik:EditorToolGroup> 
      <telerik:EditorTool Name="JustifyLeft" /> 
      <telerik:EditorTool Name="JustifyCenter" /> 
      <telerik:EditorTool Name="JustifyRight" /> 
    </telerik:EditorToolGroup> 
    <telerik:EditorToolGroup> 
      <telerik:EditorTool Name="AjaxSpellCheck" /> 
      <telerik:EditorTool Name="Undo" /> 
      <telerik:EditorTool Name="Redo" /> 
    </telerik:EditorToolGroup> 
  </Tools> 
</telerik:RadEditor> 

Can't think of anything else offhand.  I know it's a longshot, but if anyone knows what could be going on, I'd be MOST appreciative.

-Chris
Rumen
Telerik team
 answered on 26 Jan 2010
3 answers
155 views
When will Telerik be upgrading to the 1.4 Version of the JQuery library?
T. Tsonev
Telerik team
 answered on 26 Jan 2010
1 answer
195 views
Hi All,

Is there a way to only have certain columns resize and reorder? (or really, not have certain columns resize or reorder?)

I have a grid with a checkbox at the left most column, then another column that is say, ORDER #. These should be static in size and frozen. All other columns should be resizeable and reorderable. My code is below. Please, any suggestions would be GREATLY appreciated.

<ClientSettings > 
                     
                        <Scrolling AllowScroll="True" UseStaticHeaders="true" ScrollHeight="500px" FrozenColumnsCount="2" /> 
                        <Resizing  
                            AllowColumnResize="True" 
                            AllowRowResize = "false" 
                            ResizeGridOnColumnResize = "false" 
                            ClipCellContentOnResize = "true" 
                            EnableRealTimeResize = "false" /> 
 
                    </ClientSettings> 
Pavlina
Telerik team
 answered on 26 Jan 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?