Telerik Forums
UI for ASP.NET AJAX Forum
8 answers
504 views
Hy fellas,

I need to add a button to a gridview like an insert or delete button. This button will be called "Copy and Paste" and whenever I click this button the same line of the gridview (with the same data) will be added as a new record to the gridview. How can I achive this?

Thanks a lot
Eyup
Telerik team
 answered on 22 Jun 2016
2 answers
145 views

Hi, I have a RadFilter that I am trying to add an expression to on the form load. The idea is that when someone clicks a hyperlink on a different page, they are redirected to a different page and the radfilter is set up for them with the data they clicked (in this specific case, it would Select Amends and put in the appropriate value.

I just want to mention that this code works exactly how I need it to when It is inside of a button click event on the page that gets redirected to.

The following is called in my page_load:

        pnlSearch.Visible = False
        pnlAdvanced.Visible = True

        Dim amendsByExpression = New RadFilterContainsFilterExpression("Amends")
        amendsByExpression.Value = Session("Search_Text")
        rfAdvancedSearch.RootGroup.AddExpression(amendsByExpression)
        rfAdvancedSearch.FireApplyCommand()

 

Why does the code above work when its encapsulated inside of a linkbutton click event, but not in the page load? How can I make it work in the Page Load?

Eyup
Telerik team
 answered on 22 Jun 2016
1 answer
288 views

Hello,

I would like to use the RadNumericTextBox as a way to change the quantity of items in a cart.

How can pass the OrderItemId to the back-end C# for logic to happen?

 

<telerik:RadNumericTextBox OnTextChanged="QuantityChanged"  runat="server" Width="30" MinValue="1"
                                 Visible='<%# AllowEditQuantity(Eval("Item.ProdType"), Eval("Show.EventType")) %>'
                                 Value='<%# decimal.Parse(Eval("Item.Quantity").ToString())%>'
                                 CommandArgument='<%#Eval("Item.OrderItemId") %>'>
                                 <ClientEvents OnValueChanged="squareValue"/>
                                <NumberFormat DecimalDigits="0" />
                             </telerik:RadNumericTextBox>

 

Viktor Tachev
Telerik team
 answered on 22 Jun 2016
1 answer
176 views

Is there a way to move the drop down arrow in a RadGrid GridBoundColumn from the first position to the last position in the row? I don't even see where that is generated in the RadGrid code.

Here is the code

<telerik:RadGrid Skin="CustomSkin" EnableEmbeddedSkins="False" ID="dgSearchUsers"
runat="server" EnableAJAX="True" AllowFilteringByColumn="False" AllowSorting="True"
OnNeedDataSource="dgSearchUsers_NeedDataSource" AutoGenerateColumns="False">
<MasterTableView DataKeyNames="UserId" HierarchyLoadMode="Client" AllowPaging="True" PageSize="25">
<PagerStyle HorizontalAlign="Center" CssClass="grdPagerStyle" Mode="NextPrevAndNumeric" >
</PagerStyle>
<DetailTables>
<telerik:GridTableView AutoGenerateColumns="false" DataKeyNames="PlayerId" Name="PlayerDetails"
Width="96%" AllowPaging="False" AllowFilteringByColumn="false">
<ParentTableRelation>
<telerik:GridRelationFields DetailKeyField="UserId" MasterKeyField="UserId"></telerik:GridRelationFields>
</ParentTableRelation>
<Columns>
<telerik:GridBoundColumn HeaderText="Player First Name" DataField="PlayerFirstName"
UniqueName="PlayerFirstName">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn HeaderText="Player Last Name" DataField="PlayerLastName"
UniqueName="PlayerLastName">
</telerik:GridBoundColumn>
</Columns>
</telerik:GridTableView>
</DetailTables>
<Columns>
<telerik:GridTemplateColumn HeaderText="" UniqueName="Select" AllowFiltering="False">
<ItemTemplate>
<asp:CheckBox ID="chkSelect" runat="server" Checked='<%# DataBinder.Eval(Container.DataItem,"IsSelected")%>'>
</asp:CheckBox>
</ItemTemplate>
</telerik:GridTemplateColumn>
<telerik:GridBoundColumn HeaderText="User First Name" DataField="UserFirstName" UniqueName="UserFirstName">
<ItemStyle HorizontalAlign="Left" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn HeaderText="User Last Name" DataField="UserLastName" UniqueName="UserLastName">
<ItemStyle HorizontalAlign="Left" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn HeaderText="User Name" DataField="UserName" UniqueName="UserName">
<ItemStyle HorizontalAlign="Left" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn HeaderText="Email" DataField="Email" UniqueName="Email">
<ItemStyle HorizontalAlign="Left" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn Display="false" HeaderText="UserId" DataField="UserId" UniqueName="UserId">

</telerik:GridBoundColumn>
</Columns>
</MasterTableView>
<HeaderStyle Width="200px" />
<GroupingSettings CaseSensitive="false" />
<ClientSettings AllowExpandCollapse="True">
<Resizing EnableRealTimeResize="false" AllowColumnResize="false"></Resizing>
</ClientSettings>
</telerik:RadGrid>

 

Eyup
Telerik team
 answered on 22 Jun 2016
1 answer
224 views
I am making an SVG map with mouseover on provinces showing reports and visualized data. One of it was a Donut Chart, this is not a big deal of data we're loading so I think this is not the cause and the overall experience is not laggy so I think it is by design by Telerik for it to have 1 sec delay before load transition animation. I need to display the donut chart faster without delay because of the nature of my project without turning off the transition animation. Is it possible?
Stamo Gochev
Telerik team
 answered on 22 Jun 2016
2 answers
715 views
Greetings,

I have a problem in the following code:

<telerik:GridTemplateColumn>
    <ItemTemplate>
        <asp:HiddenField ID="HiddenFieldIdParticipant" runat="server" Value='<%#Eval("idUtilisateur")%>' />
    </ItemTemplate>
</telerik:GridTemplateColumn>


code behind:

HiddenField HiddenFieldIdParticipant = GridDisplayOldRDV.FindControl("HiddenFieldIdParticipant") as HiddenField;


This is not working i don't get anything in my hiddenfield
Does anyone know why ?
Thx in advance!
ali haririan
Top achievements
Rank 1
 answered on 21 Jun 2016
1 answer
154 views

Hi,

We've used default skin, we've requirement to change its default arrow image with search image. Currently same classes are applied on all comboboxes when we change arrow image class than these changes are affected on all comboboxes. We need to change arrow image only in one combobox by using its default skin. How we change that like showing in attached snapshot? Any example would be appreciated.

 

Thanks

Peter Milchev
Telerik team
 answered on 21 Jun 2016
1 answer
206 views
How could I hide RadEditor toolbar by custom button clicked and show RadEditor toolbar by RadEditor clicked, when EditType is set to "Inline".
Ianko
Telerik team
 answered on 21 Jun 2016
1 answer
89 views

Hi, I'm trying to highlight a week on mouse over (and not a single day, as it is now), and I would do it with javascript.

But it seems that RadDatePicker and Calendar does not provide the OnMouseOver method. Suggestions?

 

 

Konstantin Dikov
Telerik team
 answered on 21 Jun 2016
1 answer
122 views

Hello, I'm using a telerik RadScheduler control to create appointments in the application. Everything works fine except deleting a single entry from recurring appointment. The deleted entry keeps displaying on the control, the EXDATE property does contain dates that I delete but they are not hiding from the UI. The telerik version I have is as follows:

Runtime version: v4.0.30319
Version: 2015.2.623.45

Is this a reported issue? How should I resolve it? Please suggest.

Ibad
Top achievements
Rank 1
 answered on 21 Jun 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?