Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
87 views
We used RadEditor in MOSS for one reason: format code block.

After installing it in 2010 and activating it, the only feature I can find that is not present is Format Code Block. Has anyone figured out how to enable it?
James Legan
Top achievements
Rank 1
 answered on 20 Jan 2011
3 answers
93 views
Hi

I have a usercontrol which is embedded in a Sitefinity 3.7 page.
This control is basically a Wizard which uses a RadMultipage.
I'm using RadAjaxManager to do a partial page update on the RadMultipage.

When the user gets to Step 3 of the wizard I want the following Google Conversion code to run.

    <!-- Google Code for enquiry Conversion Page -->
    <script type="text/javascript">
        /* <![CDATA[ */
        var google_conversion_id = 987110327;
        var google_conversion_language = "en";
        var google_conversion_format = "3";
        var google_conversion_color = "ffffff";
        var google_conversion_label = "_hkaCNm8sgIQt7fY1gM";
        var google_conversion_value = 0;
        /* ]]> */
    </script>
    <script type="text/javascript" src="http://www.googleadservices.com/pagead/conversion.js">
    </script>
    <noscript>
    <div style="display:inline;">
    <img height="1" width="1" style="border-style:none;" alt="" src="http://www.googleadservices.com/pagead/conversion/987110327/?label=_hkaCNm8sgIQt7fY1gM&amp;guid=ON&amp;script=0"/>
    </div>
    </noscript>

Can't find a way to get the Google Script to run at this point/partial page update.

Any ideas/input greatly appreciated.

Regards

Martin
Martin
Top achievements
Rank 1
 answered on 20 Jan 2011
2 answers
94 views
Hi there,

I have two RadDocks in two separate table cells, both with TitlebarTemplates; they are using Telerik's "out of the box" styling, with .png faded backgrounds.

I've encountered an issue whereupon resizing the browser window from high width (~1920px) down to about ~800px causes the three cells of the table row to "break" and the height of the table row increases, and the background fade is no longer applied neatly.

I have traced the problem to the em tag that encapsulates the title: it has a style set, in my case, width="850px". This means that when the browser is resized, the width is kept and the "break" occurs. If you refresh the page (at the smaller browser window width), the TitlebarTemplate is redrawn correctly (e.g. the background fade is displayed correctly), which leads me to believe that some JS is used (at least on load) to calculate the width. However, the same JS does not work on resizing the width to a smaller value.

I am unable (I think) to style this via CSS as the style is applied to the element itself, e.g. the deepest element in the HTML doc. I've tried the override keyword with no success.

Does a workaround exist for this?

Thank you,

Mike K.
Mike
Top achievements
Rank 1
 answered on 20 Jan 2011
1 answer
41 views
Sir,
    I have an aspx page with asp scriptmanager,asp updatepanel and radajaxmanager. I am getting an error 'A control is already associated with this element'. When I remove the update panel it's working fine. But I need update panel. Pls help me ASAP.

Thanks in advance
Anju S Chandran
Maria Ilieva
Telerik team
 answered on 20 Jan 2011
2 answers
202 views
Hi

I have a problem, I need to enabled or disabled RadAsyncUpload control in edit mode, but, if the user clicked over the control in disabled mode this show the window to select a file. How I enable or disabled the control?
This is my code:

<telerik:GridDropDownColumn DataField="fuente_cap" DataSourceID="xml_fuente_cap"
     HeaderText="Fuente" UniqueName="fuente_cap" ListTextField="value"
     ListValueField="ID"  FilterControlAltText="Filter fuente_cap column">
   <ItemStyle Width="100px" Font-Size="Small" />
   <HeaderStyle Width="100px" Font-Size="X-Small" Font-Bold="True" />
</telerik:GridDropDownColumn>
<telerik:GridBoundColumn DataField="ruta_cap" HeaderText="Ruta" UniqueName="ruta_cap"
     FilterControlAltText="Filter ruta_cap column" FilterControlWidth="180px">
   <ItemStyle Width="200px" Font-Size="Small" />
   <HeaderStyle Width="200px" Font-Size="X-Small" Font-Bold="True" />
</telerik:GridBoundColumn>
<telerik:GridTemplateColumn DataField="ruta_cap" HeaderText="ShapeFile" UniqueName="rutaShp"
      Visible="False" FilterControlAltText="Filter rutaShp column">
   <EditItemTemplate>
     <telerik:RadAsyncUpload ID="RadAsyncUpload1" runat="server" MaxFileInputsCount="4"
          TargetFolder="/mapas" AllowedFileExtensions="dbf,shp,prj,shx" Skin="Office2007">
        <Localization Remove="Eliminar" Select="Buscar" />
     </telerik:RadAsyncUpload>
   </EditItemTemplate>
</telerik:GridTemplateColumn>

protected void RadGrid1_ItemCreated(object sender, Telerik.Web.UI.GridItemEventArgs e)
{
   if (e.Item is GridEditFormItem && e.Item.IsInEditMode)
   {
      GridEditFormItem editItem = (GridEditFormItem)e.Item;
      RadComboBox listFuente = (RadComboBox)editItem["fuente_cap"].Controls[0];
      listFuente.PreRender += new EventHandler(listFuente_PreRender);
      listFuente.AutoPostBack = true;
   }
}
 
void listFuente_PreRender(object sender, EventArgs e)
{
   RadComboBox list = (RadComboBox)sender;
   GridEditFormItem editItem = (GridEditFormItem)list.NamingContainer;
   if (list.SelectedValue.Equals("SHP"))
   {
      editItem["ruta_cap"].Enabled = false;
      editItem["rutaShp"].Enabled = true;
   }
   else
   {
      editItem["ruta_cap"].Enabled = true;
      editItem["rutaShp"].Enabled = false;
   }
}
Marcelo
Top achievements
Rank 1
 answered on 20 Jan 2011
1 answer
62 views
Hi,

I am having an issue with the group by functionality. I have a default grouping at startup. I am grouping by 2 columns at startup. But now i cannot group by more than 2 columns at a time . But if i have remove the startup grouping, I am able to use Grouping functionality in normal fashion.

Regards,
Niraj Khose.
Pavlina
Telerik team
 answered on 20 Jan 2011
1 answer
101 views
Hi
     In my application i have a radmenu in my master page...
the problem is when i try to pop up a radwindow in my application , the radmenu is still displayed in front of the radwindow...
please give me a solution to make the radmenu displayed only for the masterpage....
Peter
Telerik team
 answered on 20 Jan 2011
3 answers
81 views
How i can change the tooltip of behaviors buttons?
Svetlina Anati
Telerik team
 answered on 20 Jan 2011
2 answers
169 views
I am trying to add default item 'All' to my RadComboBox. It is adding at the end and also it doesn't select this default item. What could be the problem? Are there any other ways to do it? 

function OnClientItemsRequested(sender, eventArgs) {  
     
var combo = $find("<%= RadComboBox1.ClientID %>");  
     
var intextput = "All";  
     
var comboItem = new Telerik.Web.UI.RadComboBoxItem();  
      comboItem
.set_text(intextput);  
      comboItem
.set_value("");  
      combo
.trackChanges();  
 
      combo
.get_items().add(comboItem);  
      comboItem
.select();  
      combo
.commitChanges();  
      comboItem
.scrollIntoView();  
   
}  
 
 
<telerik:RadComboBox runat="server" ID="RadComboBox1"   
     
EnableLoadOnDemand="true"   
     
OnClientItemsRequested="OnClientItemsRequested">  
     
<WebServiceSettings Method="GetMyData" Path="http://localhost:1606/Service1.svc" />  
   
</telerik:RadComboBox> 
 
I also tried with the following option. It adds the 'All' but it doesn't append the values from the database.


 <telerik:RadComboBox runat="server" ID="RadComboBox1"   
     
EnableLoadOnDemand="true"
   
      AppendDataBoundItems="true"
>
 
     
<WebServiceSettings Method="GetMyData" Path="http://localhost:1606/Service1.svc" />
 
       <Items>
             <telerik:RadComboBoxItem runat="server" Text="All" Value=""/>
       </Items> 
   
</telerik:RadComboBox>
 
nav100
Top achievements
Rank 1
 answered on 20 Jan 2011
4 answers
163 views
Hello!
When I try to export grid to pdf, on some page it throws the following exception:
System.SystemException: At least one of minimum, optimum, or maximum IPD must be specified on table.
  at Telerik.Web.Apoc.ApocDriver.FireApocError(String message)
  at Telerik.Web.Apoc.Fo.Flow.Table.SetIPD(Boolean bHasProportionalUnits, Int32 maxAllocIPD)
  at Telerik.Web.Apoc.Fo.Flow.Table.CalcFixedColumnWidths(Int32 maxAllocationWidth)
  at Telerik.Web.Apoc.Fo.Flow.Table.Layout(Area area)
  at Telerik.Web.Apoc.Fo.Flow.Block.Layout(Area area)
  at Telerik.Web.Apoc.Fo.Flow.TableCell.Layout(Area area)
  at Telerik.Web.Apoc.Fo.Flow.TableRow.Layout(Area area)
  at Telerik.Web.Apoc.Fo.Flow.AbstractTableBody.Layout(Area area)
  at Telerik.Web.Apoc.Fo.Flow.Table.Layout(Area area)
  at Telerik.Web.Apoc.Fo.Flow.Block.Layout(Area area)
  at Telerik.Web.Apoc.Fo.Flow.Flow.Layout(Area area, Region region)
  at Telerik.Web.Apoc.Fo.Flow.Flow.Layout(Area area)
  at Telerik.Web.Apoc.Fo.Pagination.PageSequence.Format(AreaTree areaTree)
  at Telerik.Web.Apoc.StreamRenderer.Render(PageSequence pageSequence)
  at Telerik.Web.Apoc.Fo.FOTreeBuilder.EndElement()
  at Telerik.Web.Apoc.Fo.FOTreeBuilder.Parse(XmlReader reader)
Andy
Top achievements
Rank 1
 answered on 20 Jan 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
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?