Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
145 views
Hi There,

I learned from the following documentation page that there is a RadWordsProcessing feature that can be used to manipulate docx files.

http://www.telerik.com/help/aspnet-ajax/radwordsprocessing-getting-started.html

However, it is also mentioned that reference to the following dlls is required.

• Telerik.Windows.Documents.Core.dll
• Telerik.Windows.Documents.Flow.dll
• Telerik.Windows.Zip.dll

Can I check with you whether it is recommended to reference dll under the namespace 'Telerik.Windows' in ASP.NET projects?

Regards,
Ryan
Ianko
Telerik team
 answered on 08 Aug 2014
3 answers
341 views
I have a radtrrview. How can I get the entire treeview expanded on hover of the root node.
Aneliya Petkova
Telerik team
 answered on 08 Aug 2014
13 answers
955 views
Hi,

Is it possible to read barcode image using camera and get the decoded text?

Thanks,
Berk.
Gorge
Top achievements
Rank 1
 answered on 08 Aug 2014
3 answers
158 views
Hello Team,

I am working on Web Application. used FIlterTemplate in GridBoundColumn of RadGrid.

Placed RadButton in Filter template with Toggle type : "CustomToggle" and ButtonType : "ToggleButton".

In preRender Event of Radgrid, I found grid.mastertableview.FIlterExpression is Empty.

Please find below Script used OnClientToggleStateChanged :

<telerik:RadScriptBlock ID="RadScriptBlock2" runat="server">
<script type="text/javascript">
function ToggleStateChanged(sender, args) {
var tableView = $find("<%# ((GridItem)Container).OwnerTableView.ClientID %>");
if (args._currentToggleState._attributes.text == "All") {
  tableView.get_filterExpressions().clear();
}
else {
   tableView.filter("UserName", "<%= Context.User.Identity.GetUserName() %>", "EqualTo");                                                                                }
}
</script>
</telerik:RadScriptBlock>  

Can anyone help me out? stuck with a simple filter functionality.

Thanks and Regards,
Ruchi Patel







Eyup
Telerik team
 answered on 08 Aug 2014
10 answers
507 views
Hi,
I have RadTreeView with context menu. The code looks like this.
<telerik:RadTreeView ID="RadTreeView1" runat="server" Style="border: 1px solid #CBE7F5;" 
                 OnNodeExpand="RadTreeView1_NodeExpand"  
                 OnNodeClick="RadTreeView1_NodeClick"  
                 OnClientNodeClicking="OnClientNodeClicking"   
                 OnContextMenuItemClick="RadTreeView1_ContextMenuItemClick" 
                 OnClientContextMenuItemClicking="onClientContextMenuItemClicking" 
                 OnClientContextMenuShowing="onClientContextMenuShowing" 
                 > 
                 <ContextMenus> 
                   <telerik:RadTreeViewContextMenu ID="MainContextMenu" runat="server"
                        <Items> 
                            <telerik:RadMenuItem Value="CR" Text="Create Change Request" ></telerik:RadMenuItem>                             
                        </Items> 
                        <CollapseAnimation Type="none" /> 
                    </telerik:RadTreeViewContextMenu> 
                 </ContextMenus>                  
        </telerik:RadTreeView> 

in the contextmenuitemclick event I am accessing the node like this
 protected void RadTreeView1_ContextMenuItemClick(object sender, RadTreeViewContextMenuEventArgs e) 
    { 
        RadTreeNode clickedNode = e.Node; 

most of the times the returns a valid RadTreeNode, but after a few clicks or the page is left untouched for a while the e.Node returns null. I suspected Session timeout but it is not. Any ideas on how to resolve this or am I doing some thing wrong? please help.


Aneliya Petkova
Telerik team
 answered on 08 Aug 2014
1 answer
121 views
Can you please explain or provide an example of how to use custom images?

I am not referring to custom shapes, I would like to use an image such as a PNG as the shape, is this possible? I understand its possible with silverlight and wpf versions of the diagram but I'm using asp.net ajax

I can probably provide my images in the SVG format if that helps

Thanks
Slav
Telerik team
 answered on 08 Aug 2014
1 answer
135 views
I realize you can just go into IIS and extend the session, or you use javascript to keep the session alive, but I have been requested to find out if there is something within the telerik library specifically that can help with this - ideally something that works well with usergroups.  Again I am aware that it can be done without telerik.

If there is, we would like to know about it.

Thanks.
Ianko
Telerik team
 answered on 08 Aug 2014
4 answers
134 views
Hi,

the default of GroupingDirection in AgendaView is Horizontal, which is fine.
But in this case it ignores the ResourceHeaderTemplate.
Is there a way to change the look of it?

Manfred
ManniAT
Top achievements
Rank 2
 answered on 08 Aug 2014
1 answer
285 views
My data is exporting to Excel but the problem is the appearance of the Excel column widths.  Currently, the result is the columns are very narrow and concealing some of the data.  I have looked at the RadGrid documentation and demo and tried to follow it but I haven't seen, or comprehended, what would format the Excel column widths to fit the header column titles.  I have tried scrolling through all the properties for MasterTableView, RowIndicatorColumn, and a few others but didn't seem to see anything that offered help with this issue.  Is there a setting that would 'autosize' the width of the exported columns based on the content of the data in the HeaderText so that the user doesn't have to manually expand the columns before being able to view the contents?  Thanks for any suggestions.
Shinu
Top achievements
Rank 2
 answered on 08 Aug 2014
2 answers
220 views
So I have a RadGrid:

<telerik:RadGrid ID="RadGridPageDetails" runat="server" DataSourceID="dsReportPageDetail" AllowAutomaticUpdates="True" Width="100%" OnItemCommand="RadGridPageDetails_ItemCommand" OnItemDataBound="RadGridPageDetails_ItemDataBound"><br>
    <
MasterTableView AutoGenerateColumns="False" DataKeyNames="ReportPageID" DataSourceID="dsReportPageDetail">


A bunch of Gridbound columns like so:

<telerik:GridBoundColumn DataField="PageName" FilterControlAltText="Filter PageName column" HeaderText="Section Name" SortExpression="PageName" UniqueName="PageName">
    <ColumnValidationSettings>
        <ModelErrorMessage Text="" />
    </ColumnValidationSettings>
</
telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="PageTitle" FilterControlAltText="Filter PageTitle column" HeaderText="Section Title" SortExpression="PageTitle" UniqueName="PageTitle">
    <ColumnValidationSettings>
        <ModelErrorMessage Text="" />
    </ColumnValidationSettings>
</telerik:GridBoundColumn>

Here I Created a GripDropDownColumn inside that RadGrid:

<telerik:GridDropDownColumn DataField="PageOrientation" EnableEmptyListItem="true" EmptyListItemText="--Select--" EmptyListItemValue="" ListTextField="Value" ListValueField="Value" FilterControlAltText="Filter PageOrientation column" HeaderText="Page Orientation" UniqueName="PageOrientation">
<ColumnValidationSettings>
                      <ModelErrorMessage Text="" />
</ColumnValidationSettings>
</telerik:GridDropDownColumn>

And here I attempt to use codebehind to populate this griddropdowncolumn with the following values: Select, Landscape, Portrait. 

protected void RadGridPageDetails_ItemDataBound(object sender, GridItemEventArgs e)
        {
            if (e.Item is GridEditableItem && (e.Item as GridEditableItem).IsInEditMode)
            {
                GridEditableItem editedItem = e.Item as GridEditableItem;
                GridEditManager editMan = editedItem.EditManager;
 
                GridDropDownListColumnEditor editor = editMan.GetColumnEditor("PageOrientation") as GridDropDownListColumnEditor;
                DataTable dt = new DataTable();
                dt.Load(SQLCalls.GetDropdownListValues("Page Orientation")); //This pulls "Landscape" and "Portrait"
                editor.DataSource = dt;
                editor.DataSource = new string[] { "Landscape", "Portrait" };
            }
        }

Both of the datasources I've tried don't work, and I believe it's because I'm not setting ListText and ListValue correctly. Can someone help me fix this so it will work?

Also, when I am in edit mode, I want it to start off selecting the current value, instead of defaulting to "Select".


Shinu
Top achievements
Rank 2
 answered on 08 Aug 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?