Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
136 views

I have multiple charts in initially hidden iframe, so i forced to redraw them because of ​known issue.

It seems to me that this slows load quite a bit. Is there anything that can improve the situation?

 Here is the code

  var myIframe = $get("<%= ifSummary.ClientID %>");
  myIframe.contentWindow.redrawChart();

function redrawChart() {
               kendo.drawing.util.TextMetrics.current._cache = new kendo.drawing.util.LRUCache(1000);
               $find("<%=rcImpacts.ClientID%>").get_kendoWidget().redraw();
               $find("<%=pieValueAdded.ClientID%>").get_kendoWidget().redraw();
               $find("<%=rchInvestments.ClientID%>").get_kendoWidget().redraw();
               $find("<%=rhcWages.ClientID%>").get_kendoWidget().redraw();
           }

 

David
Top achievements
Rank 1
Iron
Iron
Veteran
 answered on 03 Nov 2015
3 answers
83 views
Hi
I have Telerik Ajax license can I download and use Kendo UI controls with same license or do I need to look for new license.
Thanks
Mike
Telerik team
 answered on 03 Nov 2015
7 answers
535 views
In the example below, when _brlCustomer.ShippingMethod = "", the ddlShippingMethod.SelectedValue appears to be getting set to the cached value from the previously viewed customer record. So if the previous customer had ShippingMethod = "GROUND" then adding a new customer subsequently is setting the SelectedValue = "GROUND" instead of SelectedValue = "".
How do I prevent this?

ASPX markup...

  <telerik:RadDropDownList ID="ddlShippingMethod" runat="server" Width="300" DropDownHeight="200" />

VB code behind...

        ddlShippingMethod.DataSource = ShippingMethodMaster.GetShippingMethodMasters(_ServerName, _DatabaseName)
        ddlShippingMethod.DataTextField = "ServiceDescription"
        ddlShippingMethod.DataValueField = "ShippingMethod"
        ddlShippingMethod.SelectedValue = _brlCustomer.ShippingMethod
        ddlShippingMethod.DataBind()
Nencho
Telerik team
 answered on 03 Nov 2015
5 answers
211 views

Hello

I am validating a RadDatePicker control using a RequiredFieldValidator and a ValidatorCalloutExtender.

The control is being validated successfully but the ValidatorCalloutExtender is not showing/popping up when the input date is invalid/empty. It also doesn't highlight the RadDateTime input box yellow when its empty/invalid.

Any ideas why this would be failing to display when other widgets (regular TextBoxes, etc.) have their ValidatorCalloutExtender's working?

<telerik:RadDatePicker ID="Expiry" runat="server" ClientIDMode="Static"> ... </telerik:RadDatePicker>
<asp:RequiredFieldValidator ID="rfvExpiry" runat="server" ErrorMessage="Expiry is a required field" SetFocusOnError="true"
    ControlToValidate="Expiry" Text="*"  ClientIDMode="Static" />
<ajaxtoolkit:ValidatorCalloutExtender ID="vcerfvExpiry" runat="Server" TargetControlID="rfvExpiry" Width="350px" HighlightCssClass="highlight"
    WarningIconImageUrl="warning.gif" CloseImageUrl="close.gif" />

Maria Ilieva
Telerik team
 answered on 03 Nov 2015
8 answers
198 views

 

Hello all, 

 I'm using Telerik.Web.UI and Telerik.Web.Design with version no - 2015.2.623.40 in my application. I am using it at two different pages , one in a master page and one in a usercontrol. I had added the required configuration in the web.config file.

When I am clicking on Find and Replace icon on one of the page using the master page, it is showing an error as Web.Config registration Missing!  The Telerik dialogs require a HTTP handler registration in web.Config. But I'm not able to see this error when I'm using it in a page which is accessing the usercontrol.

 I am not able to find the possible issue with this behaviour. Could you please suggest.

 

Thanks,

 

Ianko
Telerik team
 answered on 03 Nov 2015
1 answer
66 views

Unable to download .pdf   convert RadHtmlchart  from the Weblocations.

 Please Help me

 

Thanks

Niranjan

Marin Bratanov
Telerik team
 answered on 03 Nov 2015
5 answers
578 views
I have create method in master page and bind in radmenu control:
Here is the Code  that I get the table from session and bind
 
public void ShowMenuItems()
    {
        try
        {
            if (common.myStr(Session["MenuData"]) != "")
            {
                DataTable ds = (DataTable)Session["MenuData"];
                if (ds != null)
                {
                    if (ds.Rows.Count > 0)
                    {
                        for (int ii = 0; ii < ds.Rows.Count; ii++)
                        {
                            if (common.myInt(ds.Rows[ii]["ParentId"]) == 0)
                            {
                                ds.Rows[ii]["ParentId"] = DBNull.Value;
                                ds.AcceptChanges();
                            }
                        }
                        ds.DefaultView.Sort = "";
                        ds.DefaultView.RowFilter = "ModuleId =" + common.myInt(Session["ModuleId"]);
                        ds.DefaultView.Sort = "Sequence Asc";

                        if (ds.DefaultView.Count > 0)
                        {
                            RadMenu1.DataSource = ds.DefaultView;
                            //Establish hierarchy:
                            RadMenu1.DataFieldID = "PageId";
                            RadMenu1.DataFieldParentID = "ParentId";

                            //Set Text, Value, and NavigateUrl:  
                            RadMenu1.DataTextField = "PageName";
                            RadMenu1.DataValueField = "PageId";
                            RadMenu1.DataNavigateUrlField = "PageUrl";
                            RadMenu1.DataBind();
                        }
                    }
                }
            }
        }
        catch (Exception Ex)
        {
            objException.HandleExceptionWithMethod(Ex, "ShowMenuItems");
        }
    }
And following Error Occur in ourt database exception log table

(ShowMenuItems)This constraint cannot be enabled as not all values have corresponding parent values.
Please why this error come

Please help me I am helpless

Thanks


Nencho
Telerik team
 answered on 03 Nov 2015
1 answer
79 views

How to convert RadHtmlChart and download to the client machine through google chrome.

 

Thanks 

Niranjan

 

 

Marin Bratanov
Telerik team
 answered on 03 Nov 2015
1 answer
119 views

How to Export to the Pdf ,word & csv

 

me tried and able to convert to pdf format 

and struct in downloading the file

 

Actually i am converting into .svg and then .pdf by using inkscape.

 

Please Help me in Asp.net Application

 

Thanks & Regards

Niranjan

Marin Bratanov
Telerik team
 answered on 03 Nov 2015
1 answer
76 views

Hi,

  Please find attached 2 screenshots, which illustrate my issue. I am using Radhtmlchart with Area Series. If I have less than 4 data points on X-axis (as you seen in screenshot 1), it does not fill the area with color. It only shows points of data on that date. But if the data points on X-axis are 4 or more (As you seen in screenshot 2), then it fills the entire area with color. I need the area filled even if X-axis has only 1 point. I am using Stock Layout. Can you please help me with this? Is there some limitation?

Danail Vasilev
Telerik team
 answered on 03 Nov 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?