Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
265 views
I have a RadGrid (Version 2013.2.611.45) in a .Net 4.5 project with several columns: string, numeric and date types. I am using NeedDataSource, SqlDataSource and custom sorting exactly like in the demo (http://demos.telerik.com/aspnet-ajax/grid/examples/generalfeatures/sorting/defaultcs.aspx). 

When I try to apply multi-column sorting: SortCommand fires just fine, the SortExpressions are properly set, but ONLY the fist selected column to sort is being sorted, even though the subsequent selected columns change their background color and their indicator arrow change as well.

Could someone advice?

Thanks,
JD
Jeff
Top achievements
Rank 1
 answered on 28 Oct 2015
1 answer
253 views

Hi

 I have a tree-view control which populates the data from database, On that tree-view I also have a context menu Now I want to make viable off of one menu on the context menu if the node is last node (means no more child node). Given bellow the is rad tree:

 

<telerik:RadTreeView ID="RadTreeView1" runat="server" Width="90%" >
                                                    <DataBindings>
                                                        <telerik:RadTreeNodeBinding Expanded="True" />
                                                    </DataBindings>
                                                   <ContextMenus>
                                                   <telerik:RadTreeViewContextMenu ID="MainContextMenu" runat="server">
                                                        <Items>
                                                            <telerik:RadMenuItem Value="CreateNewTeam" Text="Create New Team" ImageUrl="../../../../image/RadControls/Grid/Skins/Default/SinglePlus.gif"></telerik:RadMenuItem>
                                                            <telerik:RadMenuItem Value="AddUserUnderThisTeam" Text="Add User" ImageUrl="../../../../image/RadControls/Grid/Skins/Default/Insert.gif"></telerik:RadMenuItem>
                                                        </Items>
                                                    </telerik:RadTreeViewContextMenu>
                                                   </ContextMenus>
                                                </telerik:RadTreeView>

  

I want to disable AddUserUnderThisTeam if the node is the last node (no more child)

Can anyone help on this.

 

Regards

Santanu

Nencho
Telerik team
 answered on 28 Oct 2015
1 answer
153 views

Hi

I have put in place the DBContentProvider as per following link - http://www.telerik.com/support/code-library/connect-radfileexplorer-or-radeditor-to-a-sql-databse .

I can get the demo example shown in there working absolutely fine.  I put this into my application and while the postback upload method works ( with ImageManager.EnableAsyncUpload=false ), when set in AsyncMode it gets as far as uploading the file to temp directly, but then the "Upload" button in the dialog remains as disabled and never allows me to click it.

I am using the very latest version of the DLLs ( Telerik_UI_for_ASP.NET_AJAX_2015_3_1020_Dev_hotfix.zip ).  The DBContentProvider demo pages work fine with that.

With Fiddler, I can see a call being made to Telerik.Web.UI.WebResource.axd?type=rau and a response is made as follows:

 {"fileInfo":{"FileName":"​testfile.jpg","ContentType":"image/jpeg","ContentLength":146413,"DateJson":"2014-03-25T18:20:17.532Z","Index":0}, "metaData":"CS8S/Z0J/b2982DRxDin0BBslA7fI0cWMuWlPu4W3FmiPEsAWR/4iNPSediM81/ju6nCjgbBBl4x7K3JBvqbzisrT6LohPFoCytnaRo6CSbeerhhCjwXw42QKA9by33/7Yt4Z07spEc65GpCjpDI7muG/WyQE1L5+BBS4Ai9DWpOmwUeJT/KM/Zle2ETYBbAKMH2Q/gIBaVzmXo/Mx+iuktc03Dm6rk+J1dZscBrqDmg+6iDFCehh5I+dQb5gj8s32LSVE4qxnetDBvnUm2VHz6BfwXFHZATHA74lNyarPVqwO32X4BI+Ji9etWKWe9OD0Gwo27d3V5XLxXkDKaR1xmX1lncpx780EiB7G/Qc2nPBk+Tb/iyDl3jWXtkaNjFPZB30Jh43OwQQULzqrHVRbjbbdjfhYRD5hPJnUoYQSRL6Be6Fu8xN/WOJsK0wz9SXyl7znMFfNcjujCuhFkiTAVR6HBShN+K6/dE4FLsKMj3oKSuerpjRGVCFBKSuewdiIIAPTf0HLfvno6avil0kZU21dGG/LV48JVNRFVaFx5Q40HfikzrRR4Ayg3vPP6QNq+3nVxIxuuaH15I1ktL+g==" }​

I have checked permissions of that folder as best I can and ​tried giving full permissions for everything.   However it would seem to have enough permissions to write into the folder in the first place.  I have also tried debugging at all methods in my DBContentPRovider class, but it never gets in there.

 Any ideas?

 Thanks

 

Vessy
Telerik team
 answered on 28 Oct 2015
5 answers
268 views
hello there,

I have a combo which is filled with some text in latin chars. and combo works fine, searches fine in latin keyboards. but when user have lets say turkish keyboard search functionality messes up. in server side I replace these characters so sql queries are fine. but bombo itself cannot find right items, which is natural.

what I nd to do is somehow replace these characters, especially letter "I" with latin equalevent. meaning:

ı -> i
İ -> I


these 2 characters are really pain. I tried to use keypress event events and other samples in forum but all of these events not working for "replacing" character.

any suggestions ?

 
Bunyamin
Top achievements
Rank 1
 answered on 28 Oct 2015
16 answers
172 views

I think this is related to my post here:

http://www.telerik.com/forums/grid-columns-bleed-when-using-bootstrap-theme#PmG5fVVMPku7AAjDa7F2LA

But when using the bootstrap theme, when the pager is longer than the viewport it bleeds and extends past the grid.

See screenshot for what it looks like when there is enough room and when it bleeds.​

Pavlina
Telerik team
 answered on 28 Oct 2015
3 answers
401 views

Hi,

I have 3 questions actually. Dont know the idea of posting it in the same thread is good or not. Please suggest. Below are my questions :

1. ​How to change the background color of ​groups (not the ​group items) based upon groups type user is selecting. Please see screen shot (ColoredGroups.png).

2. I want to define the height or vertical distance of node / groups from the parent nodes or show it ​horiz​ontally but little below ​from parent node . Because of an obvious fact that the secretary of the CEO cannot be shown at the same level ​with other heads reporting to CEO in a real time Organization Chart. Please see LineHeight.png

3. PDF Export, I want to export the chart with titles and legends for groups and group items (customize PDF before exporting). Cannot export the html page using RadExport content because I am showing the RadOrgChart in RadSplitter center pane (fixed pane), left pane (sliding pane) has chart values (Titles and all) and right pane (also sliding pane) shows the tree of elements showing in the chart. I need to export only center page and its has only OrgChart nothing else. The left and right panes are sliding to proivde more space for the OrgChart to view (center pane).

I appreciate your kind help.

 

Thanks,

Jawwad

Dimitar
Telerik team
 answered on 28 Oct 2015
1 answer
81 views

Hi

If you load your demo using IE8 from the following URL:

http://demos.telerik.com/aspnet-ajax/splitter/examples/overview/defaultcs.aspx

You will notice a script error, the following:

 

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E)

Timestamp: Wed, 28 Oct 2015 11:43:32 UTC

Message: Script error
Line: 0
Char: 0
Code: 0
URI: http://aspnet-scripts.telerikstatic.com/ajaxz/2015.3.930/Splitter/RadSlidingZoneScripts.js

 

This is due to the following line in your script:

g.style.writingMode="vertical-rl";

Where "vertical-rl" is not a valid value in IE8.  If the script is delivered by CDN the error will show as per your site, and the control will still work as intended. However if you don't use CDN, the error occurs and stops all further scripts running, causing the site to stop working.  The site I am working is on a private network which will not have access to the CDN, can you provide a work around? Preferably not to download all the script files, manually fix the broken one, and point to the local versions, until you fix it in the next release.

Regards

Mark

Vessy
Telerik team
 answered on 28 Oct 2015
1 answer
142 views

Is there a code-behind example of how to apply conditional formatting inside of an ItemTemplate within a RadDataForm?

i.e. if the value of a label is "this", then I will format it to be red.

Konstantin Dikov
Telerik team
 answered on 28 Oct 2015
3 answers
693 views
Hi,
We recently move into Telerik.Web.UI Ver: 2013.2.611.35 to get some feature in 2013.2.611.35. After deploying this version we getting UniqueName cannot contain spaces in all rad grid. This issue was not there in our previous version 2011.2.915.35.
We know if we remove the space in the uniquename field in all gridview it will fix issue. But it will very difficult to fix all app, since we using rad grid more application.

Is there any other way around to fix this issue, since it seems some backward compatibility missing in the ver. 2013.2.611.35.
It would be highly appreciated if any one help on this.


Eyup
Telerik team
 answered on 28 Oct 2015
1 answer
142 views
in all examples use OData, XML, WCF, you can implement SqlDataReader to fill the component, if so could show an example?
Viktor Tachev
Telerik team
 answered on 28 Oct 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?