Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
493 views
Customized with new column and hide percentage column in hover of gantt chart and introduced new column 
Peter Milchev
Telerik team
 answered on 19 Jun 2017
0 answers
153 views

the site on IIS 8.5 which is working fine while browsed wit .

http://localhost:80

But when accessed with domain name the resources are not loaded 

Please find attached screenshot for same

Please help

Supriya
Top achievements
Rank 1
 asked on 19 Jun 2017
13 answers
966 views
I'm using the ASP.NET AJAX RadGrid, with the EnableHeaderContextMenu="true" setting. My grid has several columns, some of which are hidden by default using Display="false". Using the header context menu, I can hide and show columns on the client-side, which works great, with one glaring exception: columns that start out hidden are not able to be shown! Checking the box for a default-hidden column appears to do nothing. Upon doing a postback (by changing page or something), the column appears. Is there a fix for this?

EDIT: Additionally, the documentation says that you can edit column widths using COLGROUP.COL.WIDTH. That's the rendered HTML tag names, but what properties does that pull from?

EDIT2: I just noticed something interesting regarding my original question: The columns actually are appearing, they just have 0 minimum width, so that they're 0 wide if the window is narrow enough to require horizontal scrolling. I seem to be continuously plagued by issues with column width. I'm currently using TableLayout=Auto, and not setting any width on any columns, apart from setting the FilterControlWidth to be smaller than normal on some of the small columns.



Thanks!
Eyup
Telerik team
 answered on 19 Jun 2017
0 answers
228 views

Hi,

 We are using RadEditor Export PDF functionality.

  Export to PDF getting Javascript Error "Error while executing filter ConvertFontToSpanFilter - InvalidCharacterError: Failed to execute 'setAttribute' on      'Element': 'font-family:arial,' is not a valid attribute name.

We tried to Disable ConvertFontToSpanFilter Filter. Then PDF is not downloaded and getting below Error

System.ArgumentException: String cannot be of zero length. Parameter name: oldValue at System.String.ReplaceInternal(String oldValue, String newValue) at System.String.Replace(String oldValue, String newValue) at System.Text.RegularExpressions.RegexReplacement.Replace(MatchEvaluator evaluator, Regex regex, String input, Int32 count, Int32 startat) at System.Text.RegularExpressions.Regex.Replace(String input, MatchEvaluator evaluator) at Telerik.Web.UI.Editor.Export.ApocPdfGenerator.ValidateContentForExport(String content) at Telerik.Web.UI.Editor.Export.RadEditorExportTemplate.GenerateXmlStirng(String pageTitle, String content) at Telerik.Web.UI.Editor.Export.RadEditorExportTemplate.InitializeXmlContent() at Telerik.Web.UI.Editor.Export.RadEditorExportTemplate.Export() at

Subhash
Top achievements
Rank 1
 asked on 19 Jun 2017
3 answers
597 views

i have a problem in uploading files via RadAsyncUpload when i open the page that contains the telerik upload controls

the following error rises -->

RadAsyncUpload does not have permission to write files in the TemporaryFolder. In Medium Trust scenarios, the TemporaryFolder should be a subfolder of the Application Path.

 

in localhost working fine but in my website does not work ,

so i contacted to the host provider and asked to set full permission to App_Data an the Target folder and sub folders so they set the permission and still i get the above error ,

then i set UseApplicationPoolImpersonation to True and impersonate to true in web.config but still no hope same error,

what can i do to fix this error 

note: before the host provider update iis to 10 the upload was working.

 

 

Saeed
Top achievements
Rank 1
 answered on 17 Jun 2017
2 answers
266 views
Hi,
 I am looking for Inline document viewer in Web applications.I have a requirement to show all the documents(doc,docx,.rtf,xls,ppt..etc) in the browser as inline document like (Scribd).Does Telrik has kind of viewer in your product line.

Thanks,
ryan
Top achievements
Rank 1
 answered on 17 Jun 2017
0 answers
143 views

I am using the Panelbar for navigation. The Panelbar expands when a category button is clicked. When a child item is selected in the Panelbar and navigate to page, the Panelbar collapses. The Panelbar should stay open until another item on the same level is selected. The user must reopen the menu item to select another item from the same level. In my case two levels collapse, back to original setting when web site opened. 

The menu looks like this:

Major Category 1 (Always expanded)

  Item 1

  item 2

  Item 3

Major Category 2

  Minor Category 1

    Item 1   Selecting any of these items will collapse everything back to Major Category 2

    Item 2

    Item 3

 Minor Category 2

    Item 1    Selecting any of these items will collapse everything back to Major Category 2

    Item 2

We have these settings:

ExpandMode="MultipleExpandedItems"  This is selected because we have the most used items expanded all the time and then less used items in major categories with sub categories then child items.

Prevent collapse does not let the panel ever collapse once it has been opened

What setting do we use so the panelbar will remain expanded until another item on the same level is expanded?

We are using ASP.NET with Ajax  version: 2011.2.712.40

Bob
Top achievements
Rank 1
 asked on 16 Jun 2017
0 answers
169 views
Hi!
We try to use RadEditor in our site pages, where group of students able to edit same data. We need to implement some concurrency mechanism. We need to be sure, that previously edited data will be used for next editing and that user will know if someone already changed some Editor data during current user editing.
Is there exists some standard realization or best practices for such workflow?

Now we try to make it using client events in two steps:
1. Update data from server on start editing
It used OnFocus event, disable control and calls server-side checking of conflicts, then enable it after update control data from server.
2. Update data at server on finish editing
It used OnBlur event and send data to server for update
We already have problems with such realization. For example, on page loading we have OnFocus event fired by each Control (it's standard RadEditor behaviour) and it causes additional not necessary requests to server.
What would be a solution for this cases?
Oleksiy
Top achievements
Rank 1
 asked on 16 Jun 2017
1 answer
98 views
I am using a RadGrid UseStaticHeaders = true option.  Can I have the headers static and the footers not static?  I am using Telerik "v4.0.30319".
Eddie
Top achievements
Rank 1
 answered on 16 Jun 2017
0 answers
122 views

Have data as follows:

Column:  PrimaryKey: (Int32) ResourceId - not null

Column: (Int32?) : ParentId - can be null.

So top level ParentId fields for ResourceId's will be null.

<SelfHierarchySettings KeyName="ResourceId" ParentKeyName="ParentId" />

Do I have to use a NeedDataSource? Why?

Spent hours trying to get a seemingly simple 5 minute exercise to get a self-referencing grid to work.  Paging is off.  Googled and Stack-Overflow for hours - nobody has had this problem?  Help Please ?

Thanks..

<telerik:RadGrid ID="RGHWTreeView" runat="server" DataSourceID="EDS_BARHW" Width="100%"
                        AllowSorting="True" ShowStatusBar="True" ShowFooter="True" ShowGroupPanel="True" AutoGenerateColumns="False" AllowPaging="False"
                        OnItemInserted="theGrid_ItemInserted" OnItemUpdated="theGrid_ItemUpdated" OnItemDeleted="theGrid_ItemDeleted" OnPreRender="theGrid_PreRender"
                        OnItemCreated="theGrid_ItemCreated" OnItemDataBound="theGrid_ItemDataBound" OnItemCommand="theGrid_ItemCommand"
                        AllowAutomaticDeletes="True" AllowAutomaticInserts="True" AllowAutomaticUpdates="True" AutoGenerateHierarchy="False"
                        CellSpacing="0" GridLines="None" EnableHeaderContextMenu="True" OnDeleteCommand="theGrid_DeleteCommand" OnEditCommand="theGrid_EditCommand" OnInsertCommand="theGrid_InsertCommand">
                        <ClientSettings AllowColumnsReorder="True" AllowDragToGroup="True" ReorderColumnsOnClient="True" EnableRowHoverStyle="True" AllowColumnHide="True" AllowKeyboardNavigation="True" AllowRowHide="True" ColumnsReorderMethod="Reorder">
                            <DataBinding EnableCaching="False"></DataBinding>
                            <Selecting AllowRowSelect="True" />
                            <Scrolling AllowScroll="True" UseStaticHeaders="True" ScrollHeight="420px" />
                            <Resizing AllowColumnResize="True" AllowRowResize="True"></Resizing>
                            <Animation AllowColumnReorderAnimation="True"></Animation>
                        </ClientSettings>
                        <MasterTableView DataSourceID="EDS_BARHW" DataKeyNames="ResourceId,ParentId,Owner" CssClass="w3-tiny" Name="Hardware Detail: " Caption="HW Tree Detail"
                            AllowMultiColumnSorting="True" EnableHeaderContextAggregatesMenu="True" EnableHeaderContextFilterMenu="False"
                            CommandItemDisplay="Top" EditMode="EditForms" AllowFilteringByColumn="False"
                            AllowSorting="True" ShowHeadersWhenNoRecords="True" AllowPaging="False" PageSize="20">
                            <SelfHierarchySettings KeyName="ResourceId" ParentKeyName="ParentId" />
                            <CommandItemSettings AddNewRecordText="New Hardware Resource"
                                ShowExportToCsvButton="True" ShowExportToExcelButton="True" ShowExportToWordButton="True" ShowAddNewRecordButton="True"></CommandItemSettings>
                            <RowIndicatorColumn FilterControlAltText="Filter RowIndicator column" Visible="True"></RowIndicatorColumn>
                            <ExpandCollapseColumn FilterControlAltText="Filter ExpandColumn column"></ExpandCollapseColumn>
                            <Columns>
Digger
Top achievements
Rank 1
 asked on 16 Jun 2017
Narrow your results
Selected tags
Tags
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?