Telerik Forums
UI for ASP.NET AJAX Forum
7 answers
204 views
Hi sir,
          We are using  button type radrotator sir....

Our need is images are showing in rad rotator by two rows sir...Normally It shows image single row only...

I have attach my screenshot file sir....

Please kindly check it and say how to use rotator in two rows nu sir....
 
I am waiting for your valuable answer sir.

Regards
Balaji.J
Niko
Telerik team
 answered on 14 Sep 2011
4 answers
117 views
Hello,

I've a RadGrid (RadGrid1 in example) that's Enclosed by a RadAjaxPanel and ASP Panel:
<telerik:RadAjaxPanel runat="server" ID="rapEntryPurchase" ClientEvents-OnRequestStart="onRequestStart" LoadingPanelID="RadAjaxLoadingPanel1" >
  //RadComboBox
  <telerik:RadAjaxPanel runat="server" ID="rapPurchase" ClientEvents-OnRequestStart="onRequestStart" LoadingPanelID="RadAjaxLoadingPanel1">
    <asp:Panel ID="pnlPurchase" runat="server" Width="100%" ScrollBars="Horizontal" BackColor="Blue">
      //RadGrid1
    </asp:Panel>
    <telerik:RadAjaxPanel runat="server" ID="rapPurchaseLines" ClientEvents-OnRequestStart="onRequestStart" LoadingPanelID="RadAjaxLoadingPanel1">
      <asp:Panel ID="pnlPurchaseLine" runat="server" Width="100%" ScrollBars="auto">
        //RadGrid2
      </asp:Panel>
    </telerik:RadAjaxPanel>
  </telerik:RadAjaxPanel>
<telerik:RadAjaxPanel>

When moving the mouse over the HeaderText of the RadGrid1, some space is added at the end of the ASP Panel. This happens only when the horizontal scrollbar is activate/showed.

Does anyone have a solution for this problem?

Regards, 
  Jos Meerkerk
Pavlina
Telerik team
 answered on 14 Sep 2011
7 answers
212 views
Hi,

I am using two series on a single radchart:
Series 1: Bar
Series 2: Line (for reference)

Code:
/// <summary>
    /// This function creates the refernce line series of RadChart
    /// </summary>
    /// <param name="averageDailyMtdGoal">Average of Daily Goals of the date</param>
    private void CreateReferenceLine(double y)
    {
        // Setting properties of refernce line series
        ChartSeries referenceSeries = radChart.Series[1];
        referenceSeries.Appearance.LineSeriesAppearance.PenStyle = System.Drawing.Drawing2D.DashStyle.Dash;
        referenceSeries.Appearance.LineSeriesAppearance.Width = 1;
        referenceSeries.Items.Add(new ChartSeriesItem(0, y));
        referenceSeries.Items.Add(new ChartSeriesItem(radChart.Series[0].Items.Count + 0.5, y));
        referenceSeries.DefaultLabelValue = averageDailyMtdGoal.ToString() + "%";
        referenceSeries.Appearance.LabelAppearance.Visible = true;
        referenceSeries.Appearance.FillStyle.MainColor = Color.Red;
    }

PFA snapshots of two cases:
Case 1: Snapshot ReferenceLine_Visible.png: when there are more than one bars, the reference line is visible, which is an expected functionality.
Case 2: Snapshot Reference line_Not visible.png: shows the case when there is only one bar on the x-axis. It does not show the reference line.

I want to show the reference line in both the cases. Please help.

Thanks & Regards,
Priyanka Sethi

Evgenia
Telerik team
 answered on 14 Sep 2011
5 answers
170 views
Hi,

I have a page set up with a RadGrid that is sometimes set to the correct width when the page loads, but it is sometimes a little skinnier than it should be. Any post back and sometimes even a full page refresh makes the grid come back with the skinnier width.

Our site's width is 960px, and if I remove that, the grid doesn't have the issue (it looks like if the grid's parent element is explicitly set, the grid figures out how wide it should be--in this case, it seems to be figuring it out incorrectly sometimes?).

Notes:
    *the grid should be set to, and sometimes is set to, 1076px, but it is mostly re-sized to 1047px (a loss of 29px -- perhaps the width of the td's with class rgExpandCol, that trigger the detail table to bind?)

    *the container div with class="RadGrid" is the element whose width is being set

Any help would be much appreciated.

Thanks,

John
John
Top achievements
Rank 1
 answered on 14 Sep 2011
1 answer
100 views
I'm trying to implement custom dialog to show a user-friendly window to insert form's elements in radEditor, but I'm unable to find a workaround for a known issue on "getSelectedElement()" method of the radEditor client API.
My telerik controls version is 2011.2.830.35
To recreate the issue use this code:

<telerik:RadEditor ID="RadEditor1" runat="server" >
    <ContextMenus>
        <telerik:EditorContextMenu TagName="INPUT">
            <telerik:EditorTool name="fieldModifica" Text="Modifica proprietà..." />
        </telerik:EditorContextMenu>
        <telerik:EditorContextMenu TagName="SELECT">
            <telerik:EditorTool name="selectModifica" Text="Modifica proprietà..." />
        </telerik:EditorContextMenu>    
    </ContextMenus>
    <Content>
        <select id="aSelect"><option value="first">first</option><option value="second">second</option></select><br />
        <input type="text" id="anInputBox" value="an input box"></input>
    </Content>
</telerik:RadEditor>
 
 
<script type="text/javascript">
//<![CDATA[
 
function ModifyFieldProperty(commandName, editor, args, tagname, fieldtype) {
    var elem = editor.getSelectedElement(); //returns the selected element.
    alert("elem.tagName: " + elem.tagName + " - tagname: " + tagname);
}
 
Telerik.Web.UI.Editor.CommandList["fieldModifica"] = function(commandName, editor, args) {
    ModifyFieldProperty(commandName, editor, args, "INPUT", "text");
};
 
Telerik.Web.UI.Editor.CommandList["selectModifica"] = function(commandName, editor, args) {
    ModifyFieldProperty(commandName, editor, args, "SELECT", "");
};
 
//]]>
</script>

If you try to right-click on the select or text box and choose the voice "Modifica proprietà..." in the context menu the code show you the correct value for "elem.tagName" in IE and Firefox, but it's ever "BODY" for Goggle Chrome (first issue).

Second issue: in firefox the select element is not clickable and so, it's impossible to show the custom context menu.

Third issue: in Google Chrome the select element is clickable but not show the context menu.

The browser version were I'm testing the code:

Chrome 13.0.782.220
Firefox 6.0.2
IE 9.0.8112.16421

There's a workaround for this issues?
Many thanks
Luigi Gaeta

Rumen
Telerik team
 answered on 14 Sep 2011
2 answers
98 views

I’m new to the RadControls for VS2010 and have been having a problem trying to get the client-side methods to exist. I upgraded an existing project through the Upgrade Wizard. I placed four copies of the ComboBox on the ASP page utilizing AJAX. The first three ComboBoxes are setup for cascading functionality. The first is populated through an Object Data Source. The next two are populated server side and this is working. The forth control is set up to be populated client side based on the selection of the first controls. The object exists in the client side script. The methods in the documentation are undefined. What am I missing in order to use the client-side methods? I don't think I need the Telerik.QuickStart but I gave it a try.


<%@ Register TagPrefix="qsf" Namespace="Telerik.QuickStart" %>

<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>

 

 

       <telerik:RadScriptManager ID="RadScriptManager" runat="server">

              </telerik:RadScriptManager>

 

<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">

       </telerik:RadAjaxManager>
.
.
.

 

<telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" Height="200px" Width="810px">

 

 

<telerik:RadComboBox ID="RadComboBox1" runat="server" Width="700px" AutoPostBack="False" Enabled="False"

       HighlightTemplatedItems="true" Skin="WebBlue" CausesValidation="False"

       DataTextField="ConfigID" DataValueField="ConfigID"

       EnableItemBindingExpressions="False">

       <HeaderTemplate>

              <table style="width: 100%; text-align: left;">

                     <tr>

                           <td style="width: 100px;">ConfigID</td>

                           <td style="width: 200px;">Title</td>

                           <td style="width: 300px;">Description</td>

                           <td style="width: 100px;">Date</td>

                           </tr>

                     </table>

              </HeaderTemplate>

       <ItemTemplate>

              <table style="width: 100%; text-align: left;">

                     <tr>

                           <td style="width: 100px;">ConfigID</td>

                           <td style="width: 200px;">Title</td>

                           <td style="width: 300px;">Description</td>

                           <td style="width: 100px;">Date</td>

                           </tr>

                     </table>

              </ItemTemplate>

    </telerik:RadComboBox>

    </telerik:RadAjaxPanel>

Paul
Top achievements
Rank 1
 answered on 14 Sep 2011
1 answer
130 views
... specifically, anythign to do with adding for compression as covered in this forum thread.

--
Stuart
Simon
Telerik team
 answered on 14 Sep 2011
1 answer
432 views
After replacing the MS ScriptManager with RadScriptManager in the page with EnableScriptCombine="true" I am getting a few js errors.
Getting "Sys is undefined" error for the below code

Sys.WebForms.PageRequestManager._initialize(

'ctl00$ScriptManager', document.getElementById('aspnetForm'));

 

and Telerik is undefined error in the below code

 

 

Telerik.Web.UI.RadSplitter._preInitialize(

"ctl00_MainContent_ctl00_m_UIRecruitmentSplitter");

I have gone through the many of the related forum posts and I double check the configuration as well. I am using the Telerik 2009.3.1503.35 version and .Net framework 3.5 with Classic app pool but could not get this resolved.

Through the help of Fiddler I came to know the error encountering,

 

HTTP Error 500.21 - Internal Server Error

Handler "Telerik.Web.UI.WebResource" has a bad module "ManagedPipelineHandler" in its module list

Let me know if I am missing something.

Here are list of posts I followed,
http://blogs.telerik.com/aspnetmvcteam/posts/08-07-18/web_resources_demystified_part_3_troubleshooting.aspx
http://www.telerik.com/help/aspnet-ajax/introduction-web-resources-troubleshooting.html
http://www.telerik.com/community/forums/aspnet-ajax/scriptmanager-and-stylesheetmanager/quot-sys-is-undefined-quot-when-i-am-using-script-manager-in-production-site-need-urgent-please.aspx

Simon
Telerik team
 answered on 14 Sep 2011
10 answers
2.0K+ views
Hi All...

can any1 help...i hav a form that loads another form in a radwindow...im trying to pass parameters from the form in the radwindow to the main form and then close the radwindow...how can i do this?
Princy
Top achievements
Rank 2
 answered on 14 Sep 2011
2 answers
92 views
Ok so the slowness if probably a bit my fault :)

...it's a UL with 136 LIs each containing a thumbnail

So it's super laggy

Any suggestions to speed it up?

Steve
sitefinitysteve
Top achievements
Rank 2
Iron
Iron
Veteran
 answered on 14 Sep 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?