Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
77 views

I want to create a TreeList with the EditForm below the tree.  Is that possible?  Can anyone provide an example?  I am still trying to get used to the Telerik Controls, and I am new to ASP.net (not .net in general).  I would prefer an example in VB.net, but C# would be fine too, I can translate. 

Viktor Tachev
Telerik team
 answered on 06 Jul 2016
2 answers
185 views

Hi,
I have a simple problem with a GridCalculatedColumn where i want to display the concatenation of a string and a int .
I dont have to filter or anything on it. I just need so text before the int value.

<telerik:GridCalculatedColumn UniqueName="c1" DataFields="myString, myInt"  DataType="System.String" Expression="{0}{1}"></telerik:GridCalculatedColumn>

myString And myInt are from a linq data source.
 I have try the : Expression="{0}Convert({1},'System.String')"

 

If you have any idea on how to do that without having to use databinding event or a Template Item.

 

Pierre
Top achievements
Rank 1
 answered on 06 Jul 2016
1 answer
141 views

Hello,

is it somehow possible to prevent that more than one root task can be created or only certain tasks can be deleted? My problem is that inside my gantt chart the root task represents some kind of project planning and all the child tasks are the different tasks of this project planning. So I want to prevent that the user can delete this root task or create other root tasks by drag and drop etc. This is a problem because I can only cancel e.g. the OnTaskDelete-event with some kind of data validation but the OnTaskUpdate events are fired before the OnTaskDelete-event. As a  consequence incorrect data is stored inside the updated tasks (e.g. the false OrderId), because the deletion of the root task is cancelled.

I really hope you can help me. Thank you very much.

Kind regards,

Felix

 

Felix
Top achievements
Rank 1
 answered on 06 Jul 2016
2 answers
187 views
I have a RadGrid with dynamically populated rows that updates frequently using Rebind, NeedDataSource, and a DataTable.  This functions very well, until I try to select rows in my grid.  The short explanation is that every time the DataSource on the RadGrid changes, selected rows are reset and do not persist.  I've been ripping my hair out trying to get around this, but I've had no success.  Here are some scenarios I've tried.

-Rebind, NeedDataSource, new DataTable - Selected rows do not persist
-Rebind, NeedDataSource, modify an existing DataTable - Selected rows do not persist
-Remove Rebind and NeedDataSource, manually modify an existing DataTable - Grid does not update
-Remove Rebind and NeedDataSource, manually modify an existing DataTable, set DataSource and call DataBind - Selected rows do not persist
-Rebind, NeedDataSource, manually track row selections and set the GridDataItem.Selected property after setting the DataSource - Selected rows do not persist

So the conclusions I've come to is that selected rows are reset whenever the DataSource property is changed, a RadGrid will not update unless the DataSource property is changed, and the GridDataItem.Selected set property does not do what I would expect it to do.

Is there any way to accomplish this, or am I completely out of luck?  Thanks!
Luis
Top achievements
Rank 1
 answered on 05 Jul 2016
3 answers
190 views

Hi,

I want reorder rows in javascipt, move some rows up to first. I don't want to use Drag and Drop row.

Ideally, I have some sort expression and I want to to move some rows which contain value in expression up to first.

Is it possible to do this in javascript ?

Many thanks,

Quang Anh

Maria Ilieva
Telerik team
 answered on 05 Jul 2016
2 answers
429 views

I have bootstrap 3.3.6 in my .NET project and Telerik 2016.2.607.45 and have put a RadDatePIcker on my page. I have set the skin to Bootstrap, but the calendar icon is only half appearing. Are there any thoughts as to why this might be occurring?

When I look at the Developer Tools it appears to be linked to the box-sizing: border-box css property in bootstrap.min.css, as when I untick this the calendar appears correctly, but then the rest of the page's structure changes.

David
Top achievements
Rank 2
 answered on 05 Jul 2016
2 answers
143 views

hello, i have a pivot grid in an asp.net web app. I have configured de localization using the resx files this way:

in app_globalresources i have the translated files 

RadPivotGrid.Main.es-ES.resx

RadPivotGrid.Main.es-MX.resx

and the original RadPivotGrid.Main.resx

in the pivot grid i have this configuration: 

     <telerik:RadPivotGrid ID="RadPivotGrid1" runat="server" OnNeedDataSource="RadPivotGrid1_NeedDataSource" OnPreRender="RadPivotGrid1_PreRender"
                    AllowSorting="true"  EnableConfigurationPanel="true" Height="545px" OnPivotGridCellExporting="RadPivotGrid1_PivotGridCellExporting" 
                     OnCellDataBound="RadPivotGrid1_CellDataBound"   OnFieldCreated="RadPivotGrid1_FieldCreated" Culture="es-ES"  >

in the code behind i also include this line :  RadPivotGrid1.Culture = System.Globalization.CultureInfo.CurrentCulture;

 

(the current culture in my PC is es-MX and it is the same in the server

after publish for deploy i have inside the bin folder 2 more folders named es-ES and es-MX inside that folder there are one dll named this way: Presentation.resources.dll  (presentatio is a application layer)

 

when i deploy the app to the server the texts in the pivot grid remain in english, i only can se the spanish text in compilation time.

 

what i need to do to make this to show the text in spanish?

 

 

Maria Ilieva
Telerik team
 answered on 05 Jul 2016
1 answer
102 views

I've attached a mega menu example in the pictures below where the only thing I changed between the "Good" and the "Bad" was the "Display Intranet Sites in Compatibility Mode".

Basically when compatibility mode gets in the way the display of the menu gets completely messed up.  Has anyone else had this problem / fixed it?  The menu is part of a master page - which seems to drive the problem somewhat too - the master page was the generated single menu one that Telerik supplies. 

The solution – according to the web – is to force IE to display using the latest engine (EDGE) by doing the following with the web.config:

<system.webServer>
    <httpProtocol>
      <customHeaders>
        <add name="X-UA-Compatible" value="IE=Edge" />
      </customHeaders>
    </httpProtocol>
</system.webServer>

Or you can do the following in each page:

<head>
   <meta http-equiv="X-UA-Compatible" content="IE=Edge" />
</head>

Unfortunately in the environment I'm in â€“ neither of those solutions accomplishes the objective – the application stays in compatibility mode either way – at least when a master page is involved.

I've noticed that the radGrid gets messed up to - the columns don't resize correctly.  Plus the fonts get messed up somewhat when compatibility mode is engaged. 

 

HELP!!!

Thanks,
Cory Aston

 

Marin Bratanov
Telerik team
 answered on 05 Jul 2016
1 answer
141 views

Hi,

 I have a RadGrid with batch edit. Edititemtemplate has drodownlist that needs to have different values based on the datakey value of the row. 

I have tried: 1. Grid Prerender, but cannot access dropdown at row level

                    2. Grid Item databound, cannot access edititemtemplate dropdown

 

Please suggest any ideas

 

Thanks

 

Maria Ilieva
Telerik team
 answered on 05 Jul 2016
20 answers
1.5K+ views
Hello,

I use Radwindow to display notes. There are 4 text fields and 4 buttons to display specific note in radwindow. Everything works fine until I change notes and open popup RadWindow to display saved note. RadWindow shows the old note. So i need to refresh window every time.

So, I have a problem to refresh RadWindow every time it opens. I can not use property ReloadOnShow, because I pass query parameters and telerik adds his own parameters at the end and it leads to error when I try to get query patameters throught Reqest["parameterName"]. I event tried to destroy window every time it closes, but no effect. Then I tried to create new radWindow(throught javascript) every time it opens and destroy after close, but somehow the data is still not refreshed. Then I desided to reload window every time it opens using radWindow.Reload(), but it led me to unexpected effect. I even disabled viewstate and again no effect.

What is the best practice to open radWindow and refresh everytime it opens?
Satish
Top achievements
Rank 1
 answered on 05 Jul 2016
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?