Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
107 views
It's quite interessting.
I'm feeding the FontNames property with (editable) fontnames like "Arial,sans-serif" ( Editor.FontNames.Add() ).
Now we have encountered that fontnames with numbers like "Univers LT 45 Light,sans-serif" causes problems.
You can select it and everything seems fine.
But if you select HTML-View it disappears and looks like this: "<span>test</span>".
Remove the number ("Univers LT Light,sans-serif") and it works.

Luckily I found a workaround: 'Univers LT Light',sans-serif
Using single quotes around the name and it seems to work.

Is there another workaround/hack for this issue?
This only happens in Firefox (3.6.11), in IE it's fine.

Rumen
Telerik team
 answered on 12 Oct 2011
3 answers
140 views
The pop up is set to visible true on the button click. The size of the pop up has been explisitly set as shown below.
<telerik:RadWindowManager ID="RadWindowManager1" VisibleStatusbar="false" runat="server" Modal="True" Visible="False"
  
<Windows>
  
<telerik:RadWindow ID="RadWindow1" runat="server" style="display:none;" VisibleOnPageLoad="true"
  
NavigateUrl="PopUp_PDFParameters.aspx" OnClientShow="UseRadWindow">
  
</telerik:RadWindow>
  
</Windows>
  
</telerik:RadWindowManager>

However in Mozilla when the pop up appears on button click it appears to be stretched in size. This happens in case of Mozilla only and happens only the first time the pop up opens.

Also ,

I have found that  when we set the RadWindow’s property (VisibleTitlebar="false”) the issues gets solved.

This is working fine in IE 6,7 and 8 .
Let me know what can be the issue.

Marin Bratanov
Telerik team
 answered on 12 Oct 2011
1 answer
176 views
I am using Rad Controls (version 2001.1.413.35). I have a RadAjaxPanel that has an ASP panel control in it. This panel gets hidden/displayed when a check box is selected/unselected. In the panel I have a ASP label control that has a tool tip associated with it. The process of hiding the panel and displaying it again in the RadAjaxPanel makes the tool tip not work any longer. This makes sense since it disappears from the DOM. 

Anyone know the proper way to re-associate/re-activate the tool tip with the label control after the RadAjaxPanel updates? 

Thanks in advance,

Robert
Marin Bratanov
Telerik team
 answered on 12 Oct 2011
2 answers
108 views
Hi
I have used ComboBox control called stocksCombo  in Radgrid
In stocks ComboBox i have used another two ComboBoxes called ProductsCombo  and ItemsCombo in Header Templete
When i clicked the ProductsCombo or ItemsCombo these dropdown lists are hiding behind the stocksCombo control ,
 Is there any way to get these two combos(ProductCombo and ItemsCombo) in front of the StocksCombo

Regards
Kumar
kiran
Top achievements
Rank 1
 answered on 12 Oct 2011
1 answer
146 views
Hi,
I am using Rad Component Version 2011.2.906.35
I want to open window in parent from another window
But this code don't work at Fire Fox 7.0
And also work fine in IE 9
<script language ="javascript" type ="text/javascript" >  
    function GetRadWindow()     
        {     
            var oWindow = null;     
            if (window.radWindow)
                oWindow = window.RadWindow; //Will work in Moz in all cases, including clasic dialog     
            else if (window.frameElement.radWindow)
                oWindow = window.frameElement.radWindow;//IE (and Moz as well)     
            return oWindow;
        }
 
        function opwn_window_2() {
            var oBrowserWnd = GetRadWindow().BrowserWindow;
            oBrowserWnd.radopen("http://www.google.com", "RadWindow2");
             
        }
        </script>
Princy
Top achievements
Rank 2
 answered on 12 Oct 2011
5 answers
533 views

 Hi,
    I need some help with this issue, I am trying to bind a Radcombobox with an itemtemplate in Codebehind. I am binding it in codebehind in the Grids ItemDataBound event because I need to pass in the producttypeID from the grid to the Editform RadCombobox and then I can display the different products for that product Type in the combo box, but I am getting errors like 'attribute is set to null or not an object' ? Can someone please point out what to do so I can pass in the ObjectdataSource select parameters and display this correctly? your helps appreciated!

 Here is the code
ASPX:
  
 <telerik:RadComboBox ID="cboxProductsShipped" runat="server"   HighlightTemplatedItems="true" EnableLoadOnDemand="true"   Height="190px" Width="350px"
                                   >
                                    <ItemTemplate>
                                       <li class="col1">
                                            <%# DataBinder.Eval(Container.DataItem, "ProductName")%>
                                         </li>
                                         <li class="col2">
                                            <%# DataBinder.Eval(Container.DataItem, "Size")%>
                                         </li>
                                         <li class="col3">
                                            <%# DataBinder.Eval(Container.DataItem, "Quantity")%>
                                         </li>
                                    </ItemTemplate>
                                 </telerik:RadComboBox
  
  
 <asp:ObjectDataSource ID="ODSProducts" runat="server"
     TypeName="ProductBL" 
     DataObjectTypeName="DAL.Products"  
     SelectMethod="GetProductsByProductType"
   >
  </asp:ObjectDataSource>
  
  
C# 
  
protected void ProductsGrid_ItemDataBound(object sender, GridItemEventArgs e)
        {
            try
            {
                if (e.Item is GridEditFormItem && e.Item.IsInEditMode)
                {
                    GridEditFormItem editItem = (GridEditFormItem)e.Item;
                    RadComboBox cboxProducts = (RadComboBox)editItem.FindControl("cboxProductsShipped");
  
                    ODSProducts.SelectParameters.Add("producttype_id", ((Product)e.Item.DataItem).productType_id.ToString());
                    cboxProducts.DataSourceID = "ODSProducts";
                    cboxProducts.DataBind();
  
                
  
            }
            catch (Exception ex)
            {
                throw;
            }
        }
Mira
Telerik team
 answered on 12 Oct 2011
2 answers
120 views
Hi all.

This is an urgent requirement, so open to the community if there are any answers out there.

I have a hierarchical grid and based on this example http://demos.telerik.com/aspnet-ajax/controls/examples/integration/gridandwindow/defaultcs.aspx?product=grid

I have the following code to open a pop up modal Radwindow. Tjis is ion the Second level grid within the <DetailTables Tag.

                <CommandItemTemplate>
                    <a href="#" onclick="return ShowMessageScheduleEdit('<%# eval("Message_ID") %>');">
                        <img src="../App_Themes/Images/add_24.png" border="0" vspace="2" hspace="2"/>Add new Location / Schedule</a>
                </CommandItemTemplate>
 
JAVASCRIPT
 
                function ShowMessageScheduleEdit(Message_ID, MessageSchedule_ID) {
                    var oWnd = radopen("MessageScheduleEdit.aspx?Message_ID=" + Message_ID + "&MessageSchedule_ID=" + MessageSchedule_ID, "MessageScheduleEdit");
                    return false;
                }

The trouble is I cant get the value of Message_ID to be passed as a parameter. You will notice that I have 2 parameters in the Javascript, I cant pass the second value either.

Andy
Andy Green
Top achievements
Rank 2
 answered on 12 Oct 2011
1 answer
77 views
Dear Telerik Team,


Are there any chart like 'Radar chart' or 'Spiderweb chart'?


Thanks in advance,
Aewin.
Evgenia
Telerik team
 answered on 12 Oct 2011
3 answers
106 views
I wonder how to persist a PanelBar scrolling position if the PanelBar is placed into an UpdatePanel? I believe that should be out-of-the-box feature.
Kate
Telerik team
 answered on 12 Oct 2011
1 answer
95 views
Hi there,

I'm trying to spellcheck a textbox within a grid's commanditemtemplate.

<CommandItemTemplate>   
        <div id="divBottom" runat="server">
                <asp:Label ID="lblJustification" runat="server" Text="Justification: " />
                <telerik:RadTextBox ID="txtJustification" runat="server" TextMode="MultiLine" />
        </div>
</CommandItemTemplate>


Many thanks!
Patrick
Rumen
Telerik team
 answered on 12 Oct 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?