Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
139 views

Hi,
 I am getting telerik versioning exception in IE 10 browser. And i had attached the snapshot of that exception.So please help me.
       Telerik version  =  2014.1.225.40
Peter Filipov
Telerik team
 answered on 18 Apr 2014
1 answer
404 views
Hello Guys,

Right now I'm working with my clients to develop an Image viewer, using the components RadImageEditor and RadGrid. The RadGrid is implemented to be the thumbnail part of the viewer and each row is an image of the document, when its clicked loads the image.url to the Image Editor. I'm handling here documents so I want to make annotations, highlights, add text, rotate, crop, all the basic operations that an image viewer do. But I'm having some troubles. 1) The memory consumption its to high when each image is loaded, here its a script that change the route of the image with ajax, the image editor consumes more and more memory, there is an option to dispose the memory or maybe I'm loading wrong the images? 2)  The images are loaded fine in the beginning, and when you click each image I just change the image URL, also my images are in a share folder so all my access are fine, but when i try to do some operations of the Image Editor a java exception raises and the operations dialog are not loaded fine and don't work.

Do you have some tips to handle this better?

Thanks,
Javier
Vessy
Telerik team
 answered on 17 Apr 2014
3 answers
237 views
Hi,
Referring to the screencap http://upload.ximnet.com.my/huisheng/crop.png

Requirement: I want to let user crop a 300x300 thumbnail:

1. I have locked the width and height and hide the aspect ratio using JavaScript:

//This code sets the initial dimensions of the CropBox and the aspect ratio
       this._widthTxt.value = 300;
       this._heightTxt.value = 300;
       var ratio = 100 / 100; // (w/h)
       this._setCropBoxRatio(ratio);
       this._sizeRatio = ratio;
       this._updateCropBoxFromControls();


2. But if user drag the resize handler, they are still able to change the thumbnail size.
How do I lock the resize handler to prevent user from re-sizing when cropping?

3. What is the best way / correct way to load the thumbnail size from database?  Is it to use Ajax call in the ascx or there is a better method?

Thanks.

Vessy
Telerik team
 answered on 17 Apr 2014
4 answers
140 views
Is there any way to hide the pager control in a rad pivot grid.  I see that it is possible in normal grid but I am not sure how to do this in a pivot grid.

Thanks
Kalyani
Top achievements
Rank 1
 answered on 17 Apr 2014
28 answers
802 views
I have gone through a couple of examples to achieve this. I am unable to bind my combobox to a datasource. The combobox on dropdown doesn't display a list of values.
I have a RadGrid as follows:
_RadGrid1.MasterTableView.DataKeyNames = new string[] { this._PopRuleList.PopCapabilityRuleIdColumn.ColumnName };             _RadGrid1.Width = Unit.Percentage(98);             _RadGrid1.PageSize = 15;             _RadGrid1.AllowPaging = true;             _RadGrid1.PagerStyle.Mode = GridPagerMode.NextPrevAndNumeric;             _RadGrid1.AllowSorting = true;             _RadGrid1.AllowFilteringByColumn = _ShowFilter;             _RadGrid1.ShowStatusBar = _ShowFilter;             _RadGrid1.AutoGenerateColumns = false;             _RadGrid1.MasterTableView.NoMasterRecordsText = "There are no exceptions.";             _RadGrid1.Skin = "WebBlue";             _RadGrid1.MasterTableView.Width = Unit.Percentage(100);             _RadGrid1.ItemCommand += RadGrid1_ItemCommand;             _RadGrid1.ShowHeader = true;
	
	   string ColumnName = "Bandwidth";
            boundColumn = new GridBoundColumn();
            boundColumn.FilterTemplate = new MyTemplate(ColumnName, _RadGrid1);
            _RadGrid1.MasterTableView.Columns.Add(boundColumn);
            boundColumn.DataField = this._PopRuleList.BandwidthsColumn.ColumnName;
            boundColumn.AllowFiltering = true;
            boundColumn.HeaderText = "Bandwidth";
            boundColumn.UniqueName = "Bandwidth";
            boundColumn.HeaderStyle.Width = Unit.Pixel(25);

Also I have the following class:
class MyTemplate : ITemplate
{
    protected RadComboBox combo;
    private string colname;
    RadGrid radgrid;
    GlobalCrossing.IFO.ServerControls.Pops.CapabilitiesExceptionListCtrl ce = new GlobalCrossing.IFO.ServerControls.Pops.CapabilitiesExceptionListCtrl();
 
    public MyTemplate(string cName, RadGrid grid)
    {
        colname = cName;
        radgrid = grid;
    }
    public void InstantiateIn(System.Web.UI.Control container)
    {
        combo = new RadComboBox();
        combo.ID = "RadComboBoxControl";
        combo.DataBinding += new EventHandler(RadComboBoxControl_DataBinding);
        container.Controls.Add(combo);
        combo.AutoPostBack = true;
        combo.SelectedIndexChanged += new RadComboBoxSelectedIndexChangedEventHandler(RadComboBoxControl_SelectedIndexChanged);
    }
 
    public void RadComboBoxControl_DataBinding(object sender, EventArgs e)
    {
        RadComboBox combo = (RadComboBox)sender;
        GridFilteringItem container = (GridFilteringItem)combo.NamingContainer;
 
        combo.DataTextField = ce._PopRuleList.BandwidthsColumn.ColumnName;
        combo.DataValueField = ce._PopRuleList.BandwidthsColumn.ColumnName;
        combo.DefaultItem.Text = "All";
        combo.EnableAutomaticLoadOnDemand = true;
        combo.AllowCustomText = true;
        combo.DataSource = ce._PopRuleList;
    }
 
    void RadComboBoxControl_SelectedIndexChanged(object sender, RadComboBoxSelectedIndexChangedEventArgs e)
    {
        RadComboBox combo = sender as RadComboBox;
        string filterExpression;
        filterExpression = "([Bandwidth] LIKE '" + e.Value + "')";
        radgrid.MasterTableView.FilterExpression = filterExpression;
        radgrid.MasterTableView.Rebind();
    }
}
Please let me know how can I bind the RadComboBox so that it displays a list of values to select from.

Viktor Tachev
Telerik team
 answered on 17 Apr 2014
5 answers
163 views
I'm not sure where to post this, but is everything ok to install with 2013?  The telerik control panel only seemed to have support for 2012.  I'm using a little bit older dlls from q1 because we don't want to upgrade yet.
Ianko
Telerik team
 answered on 17 Apr 2014
2 answers
240 views
Hi, I'm using Telerik.Web.UI v. 2014.1.403.45
I have a chart in my page to display wind polar data.
The chart is binded to SqlServer data, and the query result data are displayed correctly (i.e. the chart is binded to the data source).
What is not working is the x-axis label data binding: i set the DataLabelsField field to have a textual value displayed, instead of the numeric one, but nothing happens, and the numeric data is not replaced.

                 <telerik:RadHtmlChart ID="radHtmlChart" runat="server" Width="1024px" Height="768px" Transitions="true">
                        <PlotArea>
                            <XAxis StartAngle="90" Reversed="true" Type="Category" Visible="true" DataLabelsField="TXT">
                            </XAxis>
                            <Series>
                                <telerik:PolarAreaSeries Name="WindData" DataAngleField="DEGR" DataRadiusField="NUM">
                                </telerik:PolarAreaSeries>
                            </Series>
                        </PlotArea>
                    </telerik:RadHtmlChart>



Danail Vasilev
Telerik team
 answered on 17 Apr 2014
5 answers
136 views
I have a master page that has a table in it and one row with 2 cells in the table.  The left cell is Navigation on the master page.  The right cell is the main content.  Is there a way I can put a loading panel ONLY on the navigation cell when the user clicks a web page to go to?  I've tried this already with the ajaxsetting - using the radpanelbar id and then I put the cell within a panel and use it to show the loading panel. That seems to not work. So is this even possible?  The loading panels work perfect on my content pages when I want to show the loading panel on the grid or the table where I have my search criteria entered. 
Kostadin
Telerik team
 answered on 17 Apr 2014
1 answer
135 views
Is there a way to remove the ability to rename and delete of the folders?  I only want to give the users the ability to rename a delete files but the folders to be set and not allowed to modify.
Vessy
Telerik team
 answered on 17 Apr 2014
13 answers
1.5K+ views
I have a combox box that I need to be required field.
I have 2 BUTTONS on page.
The first button "test" able to validate but second button doesnt!!Any help! Thanks,

<td valign="top">
<telerik:RadComboBox ID="cbSite" runat="server" EmptyMessage="Select" Height="200"
Width="200">
</telerik:RadComboBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" ControlToValidate="cbSite" 
runat="server" ErrorMessage="RequiredFieldValidator"></asp:RequiredFieldValidator>
<asp:Button ID="test" runat="server" Text="test" />
</td>
<td style="text-align: left">
</td>
<td valign="bottom">
<asp:Button ID="btnSubmit" runat="server" Text="Submit"  /><-- THIS DOESNT VALIDATE
</td>
Aneliya Petkova
Telerik team
 answered on 17 Apr 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
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?