Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
148 views

Hi,

I have a RadEditor that is created at runtime. Its forecolor and background fill doesn't response.

How to get it work? Do I have to reference RadEditor to RadEditorContenArea.CSS?

Thanks,

D.



d-cpt
Top achievements
Rank 2
 answered on 12 Nov 2013
1 answer
72 views
Hi,
i have hover style style for my grid, enablerowhover= true. That works fine, i want this effect in edit mode also. Im using inPlace edit, how to have the effect on editmode rows.?
Princy
Top achievements
Rank 2
 answered on 12 Nov 2013
1 answer
185 views
1) Is it possible to change the color of a line chart depending on the value?
e.g If the value is less than a threshold value it is green. Once the line passes the threshold the color should be red.

2) Is it possible to show a tooltip between the PointMarks. My X-axis is time and depending on the hover location i want to show an image on the tooltip.


Thanks
Danail Vasilev
Telerik team
 answered on 12 Nov 2013
3 answers
112 views
Hi ,

How to create GridFooterTemplate programmatically for autogenerate column is true?  

For the below type of aspx code

<GroupFooterTemplate>
                          Total Refund Amount:
                          <asp:Label runat="server" ID="lblTotalSum" Text='<%# Eval("RefundAmount") %>'></asp:Label>
                           Total Count:
                          <asp:Label runat="server" ID="Label1" Text='<%# Eval("Id") %>'></asp:Label>
                      </GroupFooterTemplate>

Best Regards,
Satz
Satz
Top achievements
Rank 1
 answered on 12 Nov 2013
1 answer
87 views
Hi,
I am using the radscheduler with WCF service and MVC.When i load the bulk of appointment data at once my rad scheduler got hang up.
Please help me.

Thanks 
Gaurav Rana
Shinu
Top achievements
Rank 2
 answered on 12 Nov 2013
1 answer
95 views
Hi,
I have a Radgrid with many columns. I have set AllowSorting=true , but the template columns are not sorting. Why? 
Princy
Top achievements
Rank 2
 answered on 12 Nov 2013
4 answers
202 views
When I try to group by a GridAutoCompleteColumn (dragging the column header in the grouping header) I get this error.
Don't know if is a known bug/limitation of that type of column or there is something messed in my implementation.

Expression cannot be null or empty
 
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
 
Exception Details: Telerik.Web.UI.GridGroupByException: Expression cannot be null or empty
 
Source Error:
 
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
 
Stack Trace:
 
 
[GridGroupByException: Expression cannot be null or empty]
   Telerik.Web.UI.GridGroupByExpression.SetExpression(String expression) +134
   Telerik.Web.UI.GridGroupByExpression..ctor(GridColumn column) +213
   Telerik.Web.UI.RadGrid.RaisePostBackEvent(String eventArgument) +7253
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3804
Massimiliano
Top achievements
Rank 1
 answered on 12 Nov 2013
4 answers
204 views
Hi everyone

I have a HTMLChart that gets populated via the database, based on a drop down.

It works fine, it populates and sets the pie chart, but the legend doesn't update. For example, if the first selection has 2 values, I get two legends, but when I then I get a selection with 4 values, it stays 2 values in the legend? Also, I have set the DataFormatString, but it stays with 4 decimals for the yValue?

<telerik:RadHtmlChart ID="uxPieChart" runat="server">
    <PlotArea>
        <Series>
            <telerik:PieSeries StartAngle="90">
                <LabelsAppearance Position="Circle" DataFormatString="{0:C}" />
                <TooltipsAppearance DataFormatString="{0:C}" />
            </telerik:PieSeries>
        </Series>
    </PlotArea>
    <ChartTitle Text=""/>
</telerik:RadHtmlChart>
uxPieChart.PlotArea.Series.Clear();               
 
int fundID = int.Parse(uxFundList.SelectedValue);
 
DataTable dt = Fund.BudgetBreakDown(fundID);
 
PieSeries pieSeries = new PieSeries();
SeriesItem item;
 
foreach (DataRow budgetRow in dt.Rows)
{
    item = new SeriesItem();
    item.YValue = Decimal.Parse(budgetRow["Amount"].ToString());
    item.Name = budgetRow["Header"].ToString();
    pieSeries.Items.Add(item);
}
 
uxPieChart.PlotArea.Series.Add(pieSeries);
Any ideas?

Thank you

[EDIT] It was due to 0 Values coming through from the DB, you couldn't see it on the chart, but it created a legend. Sorted it out now.
Jako
Top achievements
Rank 1
 answered on 12 Nov 2013
2 answers
147 views
Hello,

First of all, I'm not good at English. I'm sorry for that.
I have a TreeList and I used the OnItemSelected and OnItemDeselected client event.
In this event, how can i know user is selected the header checkbox column or row checkbox column?
I try the whole day but I still can't find it.
Anyone, please help me!.

Thanks & Regards,
Sundee
Shinu
Top achievements
Rank 2
 answered on 12 Nov 2013
2 answers
85 views
i am trying to get the text that i have typed into my radcombobox.

The combobox is defined as :

cmb = New RadComboBox
      cmb.ID = "cmbSearch"
      cmb.ShowDropDownOnTextboxClick = False
      cmb.MarkFirstMatch = True
      cmb.DataTextField = "TextField"
      cmb.DataValueField = "ValueField"
      cmb.ShowToggleImage = False
      ' cmb.AutoPostBack = True
 
      cmb.Attributes("onkeyup") = "handleKeyPress();"
 
      If Not Page.IsPostBack Then
          cmb.DataSource = _recipe.getAllStockItems(_security.UserID, _security.DivisionId)
          ViewState("cmbDataSource") = cmb.DataSource
          cmb.DataBind()
      End If
      Master.Menubar.Add(cmb)


now, every time i type something into the box, the 'handleKeyPress' javascript function runs - as you can see in the above code.


this javascript function is defined as:

function handleKeyPress()
{
    var combo = $find('<%=cmb.ClientID%>');
     
    //  alrt('error');
    document.getElementById('<%=hidAutoComplete.ClientID%>').value = combo._filterText;
    document.getElementById('<%=hidAutoComplete.ClientID%>').blur();
 //   alrt('error');
    <%=Page.ClientScript.GetPostBackEventReference(hidAutoComplete, "Change")%>
 
 
}


this is almost ok.
The point that is confusing me is that the 'combo._filterText' gives me my text that i have typed, and this would look like it works.
e.g:
the radcombobox has an item 'david'. i type in 'da' and the radcomobobx autocompletes it to 'david' but combo._filtertext gives me 'da'.
this is correct and how i would expect it to work.

now, if i typed 'daa' (which doesn't exist in the combobox), the combobox stops me from adding this extra 'a' and will autocomplete it to 'david'.
this is also correct. unfortunately, and this is the problem, 'combo._filtertext' shows 'daa'.

is it possible to get just 'da'. that is, only the text i have entered, and that i am allowed to enter?
David
Top achievements
Rank 1
 answered on 12 Nov 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?