Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
372 views

I have following code structute

 

<telerik:RadGrid    ID="xx">
    <MasterTableView CommandItemDisplay="Top" DataKeyNames="Key">
        <RowIndicatorColumn>
            <HeaderStyle Width="20px"></HeaderStyle>
        </RowIndicatorColumn>
        <CommandItemTemplate>
            <telerik:RadToolBar ID="yy" runat="server" AutoPostBack="true" Width="100%">
                <Items>
                    <telerik:RadToolBarButton  CommandName="InitInsert" ResourceName="Add" ImageUrl="~/App_Themes/Default/Add.gif" Text="Add" ></telerik:RadToolBarButton>
                </Items>
            </telerik:RadToolBar> ....................Cont....

 

How can I hide RadToolBarButton  using C# code ? how can I access this toolbar button if its inside Grid/MasterTable/Toolbar hirarchi

 

Ivan Danchev
Telerik team
 answered on 18 May 2016
4 answers
147 views

Has there been a change to the height of the command bar for the grid with the Material theme?  I did a test install and one of the issues that I have with it is that the command bar height seems to be the same as any content.  Before there was some padding or a margin to force some extra height to it.  I'm interested to hear if this is a bug or if there has been a change to the skin.

Regards

Jon

 

Galin
Telerik team
 answered on 18 May 2016
3 answers
218 views
I mean radgrid with IBindableTemplate .
Is there an example out there that shows how to add EditItemTemplate, and binding it,  in code?
I'm having a hard time finding examples of this.
Thanks.
Viktor Tachev
Telerik team
 answered on 18 May 2016
2 answers
1.1K+ views

Please see this page to demo some size issues.  Something in the popup form is causing the font size to increase. Make sure skin is set to Material.

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

Interestingly the buttons are set to inherit the font size, not sure why but the css inspection doesn't reveal what the source of the increased size is.

Regards

Jon

Danail Vasilev
Telerik team
 answered on 18 May 2016
1 answer
70 views

Hi, 

I have a project which allows upload of large files using drag and drop functionality and saves it to the file system. I use RadProgressArea to show the upload progress for these large files. When I drag and drop a huge video file in the drop zone, the radprogressarea starts displaying the progress, while the file is still uploading I drag another file to the drop zone. The RadProgressArea hangs and loses the first file which was uploading. It works good without any issue when I chose multiple large files and drag and drop in the drop zone at the same time.Can anyone let me know what I am missing?

(I am using Telerik for asp.Net version 2016.1.225.45)

Thanks

Vidya

Hristo Valyavicharski
Telerik team
 answered on 18 May 2016
1 answer
201 views

I'm currently going through updating an application that was using RadGrid.Net2 and RadChart.Net2, to be using the latest release of Telerik ASP.NET AJAX Grid and Chart controls.

So far I've encountered numerous issues with skinning of the Grid, and am now experiencing issues with some of the databinding and controls usage for the grid which I'm hoping you could advise on.

One of the failing instances of the RadGrid used to use the following code:-

<radG:RadGrid id="GridOutcomes" runat="server" AllowSorting="True" AllowPaging="True" AutoGenerateColumns="False" GridLines="None" Skin="Default" OnNeedDataSource="GridOutcomes_NeedDataSource" OnItemCommand="GridOutcomes_ItemCommand" OnItemDataBound="GridOutcomes_ItemDataBound" Visible="False">
<MasterTableView DataSourcePersistenceMode="NoPersistence">
<Columns>
<radG:GridBoundColumn DataField="ID" HeaderText="Case" UniqueName="columnId" Visible="False" />                                <radG:GridTemplateColumn DataField="GmcCode" HeaderText="GMC" UniqueName="columnGMC" SortExpression="GmcCode">                         <ItemStyle HorizontalAlign="Left" />
    <HeaderStyle HorizontalAlign="Left" />
       <ItemTemplate>
           <des:Button ID="ButtonDrillDown" runat="server" CssClass="linkButtonNoValidate showInPrint" CommandName="DrillDown" Text='<%#((string)Eval("GmcCode")) + "&nbsp;"%>' CausesValidation="false" />
       </ItemTemplate>
</radG:GridTemplateColumn>
<radG:GridBoundColumn DataField="FormattedName" HeaderText="Name" UniqueName="columnName" />
</MasterTableView>
<PagerStyle Mode="NextPrevAndNumeric" />
</radG:RadGrid>

With the Telerik DLLs updated, I've noticed that the 'DataSourcePersistenceMode' property is no longer valid for the MasterTableView.

Also, when the application runs, clicking on one of the row buttons which calls 'GridOutcomes_ItemCommand' no longer is able to extract the correct value from the grid, and the value returned is the Empty Cell Default Value.

01.protected void GridOutcomes_ItemCommand(object source, GridCommandEventArgs e)
02.{
03.    Logger.Write(User.Identity.Name + ": SearchPersonnel:GridOutcomes_ItemCommand", Defines.LoggingCategoryMain);
04. 
05.    switch(e.CommandName)
06.    {
07.        case "DrillDown":
08.            try
09.            {
10.                GridDataItem gridItem = e.Item as GridDataItem;
11.                TableCell cell = gridItem[GridOutcomes.Columns[(int)GridColumn.PersonnelId].UniqueName];
12. 
13.                int personnelId = 0;
14.                if(int.TryParse(cell.Text, out personnelId))
15.                {
16.                    ApplicationStore.Instance.SelectedPersonnel = new Personnel(new PersonnelRecord(), personnelId);

 

Could you please advise on what I should do to replace the missing DataSourcePersistenceMode property in order to retain the same functionality, and also could you please let me know if you have a guide on migrating from the .Net2 versions of the RadGrid and RadChart to the up to date releases since I'm guessing I'm going to find a lot of issues when I get to testing the chart control.

 

Thanks,

 

Jonathan

 

Viktor Tachev
Telerik team
 answered on 18 May 2016
1 answer
110 views

Hi,

 

Since there was no parent-folder for questions regarding group-panels I'll post it here.

 

I wanted to check if there is a way to programmatically clear the group-panel from the 'filters' that have been grouped in it?

I've got a simple function that clears the filters (column filters) when a button is pushed, but I'd like to clear the group-panel's items too.

 

Thanks!

Eyup
Telerik team
 answered on 18 May 2016
1 answer
96 views
How to Change Track Changes Html Tag or Custom Html Tag

example.
 <ins title="SingIn By Alex on ‎2016‎/0‎5/‎17‎ ‎16‎:‎06‎:‎25" class="reU6" author="Alex" command="Insert" timestamp="1463472385114">Test</ins>
Ianko
Telerik team
 answered on 18 May 2016
1 answer
94 views

I'd like to bind the OnClientNodeChecked event handler in an angular controller, so I can manipulate some values within the controller based on the value of the checked node. I tried

 

<telerik:RadTreeView .... OnClientNodeChecked="clientNodeChecked"...

 

and then inside my controller:

$scope.clientNodeChecked = function(treeView,e){

};

but it doesn't fire. Is this possible at all or do I need Kendo UI components to accomplish this? Thanks in advance

Plamen
Telerik team
 answered on 18 May 2016
1 answer
5.9K+ views

Hi,

I have downloaded and installed Trial version UI for ASP.NET AJAX. 

I have an ASP.Net website where I would like to integrate Telerik library.

But when I add reference to Telerik library from project's properties window, I got the error that "the website is already referencing the assembly 'Telerik.Web.UI'".
But I don't notice it anywhere in the installed references as you can verify by having look at attached screen shot.


Also, I am getting following kind of errors while building the website in "Output" Tab.


3>------ Rebuild All started: Project: Reports, Configuration: Release Any CPU ------
3>C:\Program Files\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(1819,5): warning MSB3245: Could not resolve this reference. Could not locate the assembly "Telerik.Reporting, Version=9.1.15.624, Culture=neutral, PublicKeyToken=a9d7983dfcc261be". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.
3>C:\Users\TVESA\Documents\Visual Studio 2015\Projects\TISS_Projects\RTBWeb\RTBWebApp\Reports\rptEmptyReport.resx(122,5): error MSB3103: Invalid Resx file. Type Telerik.Reporting.Drawing.Unit, Telerik.Reporting, Version=9.1.15.624, Culture=neutral, PublicKeyToken=a9d7983dfcc261be in the data at line 120, position 4 cannot be located. Line 122, position 5.



Last, I am getting following kind of errors while building the website in "Error List" Tab.

Error    CS0246    The type or namespace name 'Telerik' could not be found (are you missing a using directive or an assembly reference?)    (See attached screen shot)

I already copied all the required DLL files from C:\Program Files\Telerik\UI for ASP.NET AJAX Q2 2015\Bin35\ to BIN folder of my website.


I am using MS Visual Studio 2015 RC Community Edition with .Net 3.5 and IIS Express 8.0

I am stuck with these errors and warnings so it would be appreciated if you can provide me some solution to get the rid of these errors.

Magzhan
Top achievements
Rank 1
 answered on 18 May 2016
Narrow your results
Selected tags
Tags
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?