Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
153 views
Hello,

  Here i have two questions :-

1.  How  to hide image button from properties, find the attachment

2.  On clicking on that image button i need to call javascript function,  here i am using

     OnClientCommandExecuting="changeImageManager"   its working when i click "imagebutton from tools" but its not working when i click on  "image manager properties" imagebutton.

Please answer me for these questions.
Ianko
Telerik team
 answered on 12 Jun 2014
5 answers
428 views
Hi,

Baed on http://demos.telerik.com/aspnet-ajax/editor/examples/validators/defaultcs.aspx, how can I hide the required filed validator of RadEditor immediately after filling the content and clicking out of it, without clicking on the "Submit" button? exactly like the required filed validators of other controls in the form.

Regards,
Bader
Satbir
Top achievements
Rank 1
 answered on 11 Jun 2014
1 answer
668 views
Hi, I have a template column titled 'FileID' and am trying to access it. Unfortunately whenever it comes across a template column, it will error out saying that FileID is not a column.

ASPX:

<telerik:GridTemplateColumn DataField="FileID" HeaderText="File / Link" HeaderStyle-Width="55px" SortExpression="FileID" HeaderStyle-ForeColor="White" AllowFiltering="false" ItemStyle-Width="20%" ItemStyle-Wrap="true" ShowSortIcon="false">
                            <ItemTemplate>
                                <asp:HyperLink ID="hlLink" runat="server" Target="_blank" Visible="false"></asp:HyperLink>
                            </ItemTemplate>
</telerik:GridTemplateColumn>

From this you can see that my GridTemplateColumn's DataField is named "FileID"

VB.NET:
For Each col In dg.Columns
                If (col.GetType() Is GetType(Telerik.Web.UI.GridBoundColumn)) Then
                    If col.HeaderText = ColumnName Then
                        If HideOrShow Then
                            dg.MasterTableView.GetColumn(col.DataField).Display = True
                        Else
                            dg.MasterTableView.GetColumn(col.DataField).Display = False
                        End If
                    End If
                Else
                    If (col.GetType() Is GetType(Telerik.Web.UI.GridTemplateColumn)) Then
                        If HideOrShow Then
                            dg.MasterTableView.GetColumn(col.DataField).Display = True
                        Else
                            dg.MasterTableView.GetColumn(col.DataField).Display = False
                        End If
                    End If
                End If
            Next

And this is what throws the error:  dg.MasterTableView.GetColumn(col.DataField).Display = True underneath the TemplateColumn part.

Did I not name the column correctly? I thought DataField was what I used, and it works on the rest of the BoundColumns. Can I get some pointers here?

Thanks!
Alexander
Top achievements
Rank 1
 answered on 11 Jun 2014
4 answers
141 views
Hello,

We've recently upgraded our Telerik asp.NET controls to v2014.1.403.40

We noticed that when browsing our pages in IE10 many different javascript errors are being thrown. Such as "Error: Unable to get property 'PageRequestManager' of undefined or null reference" We've done testing with IE11 and IE10 in compatibility mode and both are working properly. This problem is also affecting our screen layouts.

Let me know if you need more information to investigate this problem.
Thanks.
Michael
Top achievements
Rank 1
 answered on 11 Jun 2014
2 answers
203 views
Hi,

Is it possible to vertically align images so that they appear at the top of the ImageGallery display area?  We have images that vary in height, and would like to have the placement of where the images are displayed to be consistent.  Currently the position of the image shifts depending on which image is being viewed.  I'm assuming the default behaviour of the image gallery is to display the image centered both horizontally and vertically?

Thanks!
Amy
Top achievements
Rank 1
 answered on 11 Jun 2014
2 answers
298 views
Hi,
I am trying to export my radgrid to PDF.The file is exported fine but  radgrid in the pdf file has table and cells with dark black border. I tried several things in itemcreated and itemdatbound event but it is not changing border color or bordertype. Text color can be changed easily but not border color. Any help would be appreaciated. Please see attached image from pdf file. I would like to change cell border and table border.
Ruby
Top achievements
Rank 1
 answered on 11 Jun 2014
1 answer
100 views
Hi,

I have a HTMLChart containing 19 series(x:DateTime, y:Double) each containing approximately 240 values.
Each point have a tooltip that uses kendo.format to show the DateTime and the double.
Transition is set to false.
MinorGridLine is set to false.
MarkersAppearance size set to 2 and square type.
LineAppearance size set to 2.

It render fine in IE9 and +.
But I have to support IE8, the rendering is very slow and the popup about slow script is showing up.

Any way to improve performance or to render differently or partially the chart?

Thank you.
Xavier
Danail Vasilev
Telerik team
 answered on 11 Jun 2014
2 answers
77 views
Hi,

I'm using the RadGrid to populate a list of objects; Document.
I'll like to make every row editable, but currently only the last row has the GridDropDownColumn enabled.

Please help!.
Thanks!

<telerik:RadGrid ID="RadGridDocuments" runat="server" CellSpacing="-1" GridLines="Both"
                AutoGenerateColumns="false" OnItemDataBound="RadGridDocuments_ItemDataBound"
                OnPreRender="RadGridDocuments_PreRender">
                <ClientSettings AllowColumnsReorder="True" ReorderColumnsOnClient="True">
                    <Selecting AllowRowSelect="True" />
                </ClientSettings>
                <MasterTableView EditMode="InPlace">
                    <Columns>
                        <telerik:GridBoundColumn DataField="FileName" HeaderText="File Name" UniqueName="FileName"
                            ReadOnly="true">
                        </telerik:GridBoundColumn>
                        <telerik:GridDropDownColumn UniqueName="Type" HeaderText="Type" DataField="Type"
                            EmptyListItemText="--Choose an option--" EmptyListItemValue="">
                        </telerik:GridDropDownColumn>
                    </Columns>
                </MasterTableView>
            </telerik:RadGrid>

protected void ButtonAddDetails_Click(object sender, EventArgs e)
       {
             
           List<Document> docs = new List<Document>();
           foreach (UploadedFile f in RadAsyncUploadDocuments.UploadedFiles)
           {
               docs.Add(new Document(f));
           }
           RadGridDocuments.DataSource = docs;
           RadGridDocuments.DataBind();
       }
       protected void RadGridDocuments_ItemDataBound(object sender, Telerik.Web.UI.GridItemEventArgs e)
       {
           if (e.Item is GridEditableItem && e.Item.IsInEditMode)
           {
               GridEditableItem editedItem = e.Item as GridEditableItem;
               GridEditManager editMan = editedItem.EditManager;
               GridDropDownListColumnEditor editor = (GridDropDownListColumnEditor)(editMan.GetColumnEditor("Type"));
               //in case you have RadComboBox editor for the GridDropDownColumn (this is the default editor),  
               //you will need to use ComboBoxControl below instead of DropDownListControl   
               //and add RadComboBoxItems instead of ListItems to the Items collection of the editor
               editor.ComboBoxControl.Items.Add(new RadComboBoxItem("FAA Administrator's Order", "FAA Administrator's Order"));
               editor.ComboBoxControl.Items.Add(new RadComboBoxItem("Notice of Appeal", "Notice of Appeal"));
           }
       }
       protected void RadGridDocuments_PreRender(object sender, System.EventArgs e)
       {
           foreach (GridItem item in RadGridDocuments.MasterTableView.Items)
           {
               if (item is GridEditableItem)
               {
                   GridEditableItem editableItem = item as GridDataItem;
                   editableItem.Edit = true;
               }
           }
           RadGridDocuments.Rebind();
       }

public class Document
    {
        private UploadedFile file;
        private string type;
  
        public Document(UploadedFile file)
        {
            this.file = file;
            this.type = string.Empty;
        }
  
        public UploadedFile File
        {
            get
            {
                return this.file;
            }
        }
  
        public string FileName
        {
            get
            {
                return this.file.FileName;
            }
        }
  
        public string Type
        {
            get
            {
                return this.type;
            }
            set
            {
                this.type = value;
            }
        }
  
    }










Steve
Top achievements
Rank 1
 answered on 11 Jun 2014
0 answers
61 views
hi

Iam using Radchart for windows application

as shown in attached charts image , the Y Axis label values are not set at proper position.
also at some place there is more distance between top of bar and label value.

please help

thanks
kishor
Kishor
Top achievements
Rank 2
 asked on 11 Jun 2014
15 answers
316 views
After upgrading to version 2012.3.1205.40, the following code:

 

 

<tr style="vertical-align:middle; width:100%">

<td style="vertical-align:middle; width:100%">

<telerik:RadSplitter ID="trsCWCMPrimary" runat="server" BorderWidth="0" BorderSize="0" BorderStyle="None" Height="520px" LiveResize="true" Orientation="Vertical" ResizeMode="Proportional" Width="100%">

<telerik:RadPane ID="trpCWCMPrimaryTree" runat="server" Collapsed="false" Width="20%">

<telerik:RadTreeView ID="trtvCWCMPrimary" runat="server" CssClass="sfecua_chkrdo_dataLeftSmall" Height="99%" Width="100%" OnNodeClick="trtvCWCMPrimary_NodeClick" OnNodeCollapse="trtvCWCMPrimary_NodeCollapse" OnNodeExpand="trtvCWCMPrimary_NodeExpand" onclientnodeclicking="OnClientNodeClicking">

</telerik:RadTreeView>

</telerik:RadPane>

<telerik:RadSplitBar ID="trsbPrimarySecondary" runat="server" CollapseMode="Forward"></telerik:RadSplitBar>

<telerik:RadPane ID="trpCWCMSecondaryTableDetails" runat="server">

<div id="divCustomerMgmt" style="display:block; border:none;">

<iframe runat="server" src="./../CustWaitLoading.aspx" id="ifrmCWCMCustCustomerMgmt" name="ifrmCWCMCustCustomerMgmt" width="100%" height="100%" marginwidth="0" frameborder="0" scrolling="no">Customer Mgmt IFRAME</iframe>

</div>

<div id="divAccountMgmt" style="display:none; border:none;">

<iframe runat="server" src="./../CustWaitLoading.aspx" id="ifrmCWCMCustAccountMgmt" name="ifrmCWCMCustAccountMgmt" width="100%" height="100%" marginwidth="0" frameborder="0" scrolling="no">Account Mgmt IFRAME</iframe>

</div>

<div id="divBillingMgmt" style="display:none; border:none;">

<iframe runat="server" src="./../CustWaitLoading.aspx" id="ifrmCWCMCustBillingMgmt" name="ifrmCWCMCustBillingMgmt" width="100%" height="100%" marginwidth="0" frameborder="0" scrolling="no">Billing Mgmt IFRAME</iframe>

</div>

</telerik:RadPane>

</telerik:RadSplitter>

</td>

</tr>


No longer reacts as expected.

Previously, the RadTreeView in the left RadPane would be cut off (scroll bars appear) as the RadSplitBar was moved left.  The rendered controls (IFrames, etc) in the right RadPane would shrink as the RadSplitBar was moved right.  The behaviour I want.

NOW, the RadTreeView nodes, text bleeds over the RadSplitBar when initially rendered and when the RadSplitBar is moved left.  It's as though the right RadPane is sliding under the left RadPane.  The RadTreeView is visible superimposed over the contents of the right RadPane.

I have to revert to version 2012.3.1016.40.
Erik
Top achievements
Rank 2
 answered on 11 Jun 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?