Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
73 views
Hi, 

I'm using RadScheduler in a webpart and I the first time that load page, I get an Javascript error.

I try to register the scripts :

var scriptManager = ScriptManager.GetCurrent(Page);
            scriptManager.ScriptMode = ScriptMode.Debug;
            


            string telerikAssembly = typeof(RadScheduler).Assembly.FullName;
             ......
            scriptManager.Scripts.Add(new ScriptReference("Telerik.Web.UI.Scheduler.ContextMenu.RadScheduler.ContextMenu.js", telerikAssembly));
           
but The Telerik.Web.UI.Scheduler.ContextMenu.RadScheduler.ContextMenu.js was missing.

Any suggestion?

Thanks
Kalina
Telerik team
 answered on 20 Jan 2011
4 answers
268 views
Hi all.

My scenario is this:

I have a RadListBox inside of a RadSlidingPane inside of a RadSlidingZone inside of a RadPane inside of a RadSplitter. I dynamically populate the RadListBox with some RadListBoxItems on PageLoad. The RadPane has a default width, but is resizable. The items which are displayed in the RadListBox are shown to be wordwrapped when the RadSlidingPane slides open. The user would then like to be able to resize the drag the RadSlidingPane to a larger size and have the RadListBox's width expand in order to remove the word-wrapped words.

Using the example here: http://demos.telerik.com/aspnet-ajax/controls/examples/integration/gridandsplitterresizing/defaultcs.aspx?product=splitter#

I was able to capture the OnClientResize event, so I am in protected void RadAjaxManager1_AjaxRequest(object sender, AjaxRequestEventArgs e), but I do not understand how to resize the listbox's width so that it is the width of the sliding pane. Any thoughts?

Here is a picture of my situation: http://i.imgur.com/uZ58f.png

Thanks!

Sean
Sean
Top achievements
Rank 2
 answered on 20 Jan 2011
1 answer
62 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
79 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
75 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
32 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
183 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
51 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
80 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
67 views
How i can change the tooltip of behaviors buttons?
Svetlina Anati
Telerik team
 answered on 20 Jan 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?