Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
140 views

I'm trying to bind to a templated column with a radDropDownList control in it. I am using editmode=batch on the grid. So when editing no events are fired server side.

How do I go about binding to the dropdownlist when the grid is populated server side. I tried binding to the dropdownlist when the grid is built server side in the itemdatabound event but the e.Item.FindControl("radddlParameterId") does not find the control.

I want the grid to show text and then when edited switch to the populated dropdownlist that the user can select from.

Thanks,

Steve

Steve
Top achievements
Rank 1
 answered on 14 Apr 2016
3 answers
166 views
Dear Sirs

I ran into a nasty problem thats really annoying me. I setup a Rad Grid with various groupings.
I can now expand and collapse those groups and it gets remembered over postbacks.
Once i click into "edit" on an item, all collapsed / expanded groups revert to their original state (either all expanded or all collapsed)

Why isnt it keeping my collapse/expand state?

Thanks for the help

Chris
Eyup
Telerik team
 answered on 14 Apr 2016
9 answers
703 views

Hi,

I've looked at a few examples of performance improvement for grids that deal with lots (160K) records.  I haven't seen anything yet that looks at using the OFFSET/LIMIT functionality that you often see with web services.  Why is that?

It strikes me that if you can do it for web services then the standard grid should be able to cope with this,  performance would be dramatically improved.

Anyway if anyone has a good example of using a radgrid with OFFSET/LIMIT interfacing to a stored procedure I'd be very grateful to get a pointer to it!

Regards

Jon

Marin
Telerik team
 answered on 14 Apr 2016
6 answers
288 views
hello

I am loading an image in a radimage editor. I am resizing the image and I found that these operations are not reflected in the server side. Why it is like this? I want every change to be available on the server side. Suppose I load the image and rotate and resize it, I want these to be available on the server. Is this possible?

thanks
lovella
Vessy
Telerik team
 answered on 14 Apr 2016
3 answers
352 views

Hi

Just need some help converting a VB grid to C#.

Binding is to a datatable deserialised from JSON using NewtonSoft.Json library.

I have the following line in VB that works OK:

If e.Appointment.DataItem("UsageType") = 1 Then...

However the same line in C# 

if (e.Appointment.DataItem("UsageType") == 1) {

Errors with a red squiggle under DataItem with the following text:-

SchedulerEventArgs does not contain a definition for Dataitem and no extension method DataItem accepting a first argument of type SchedulerEventArgs could be found.

I have the following using statements:

using Telerik.Web.UI;
using Telerik.Web;
using System.Data;

 

Konstantin Dikov
Telerik team
 answered on 14 Apr 2016
1 answer
217 views

Hi,

I am having some issue with the RadDropDownTree.

After I select a node on the RadDropDownTree, the property rddt.SelectedText sometimes displays the rddt.EmbeddedTree.SelectedNode.Text multiple times.

Please see attached image.

 

Nencho
Telerik team
 answered on 14 Apr 2016
1 answer
372 views

Hi

I am using a RADBUTTON in the itemtemplate of Radlistview.

Kindly let me know how to add the click-event for that RADbutton on server-side and perform the below operations

1) While clicking the RADBUTTON, : Need to store the bookid of the selected item in the Session 

2) Then redirect to cartpage.aspx (After storing the id in the session)

Pls guide how to achieve this scenario

 

            <telerik:RadListView ID="RadListView1" runat="server" ItemPlaceholderID="ProductItemContainer"

                DataKeyNames="BookID"  OnNeedDataSource="RadListView1_NeedDataSource" >
                <LayoutTemplate>
                    <fieldset>
                           <table>
  <tr>
<td>
<asp:Panel ID="ProductItemContainer" runat="server">
</asp:Panel>                                
</td>

</tr>
</table>
</fieldset>
</LayoutTemplate>
<ItemTemplate>
<fieldset>

<table>
<tr>
<td class="productItem">
    <a href="default2.aspx?isbn=<%# Eval("BookID")%>">
<img src="<%# Eval("imageurl")%>" alt="#= BookName #" />
                                   </a>
</td>

</tr>
<tr>
<td>
 <%# Eval("BookName")%> 
</td>
</tr>
<tr>
<td>
<telerik:RadButton CommandName="Button1" ID="BtnAddtoCart" runat="server" Text="Add to Cart"></telerik:RadButton>
</td>
</tr>
</table>
</fieldset>
</ItemTemplate>
</telerik:RadListView>
      

 

Eyup
Telerik team
 answered on 14 Apr 2016
1 answer
74 views
Hi! I have a bar serie graph and linear serie graph in a rad html chart, the user can modify the values of the liner serie graph its possible I update by code the values of only linear bar but the radhhtml chart updatse both the graph and linear bar is possible only update the linear serie graph?
Danail Vasilev
Telerik team
 answered on 14 Apr 2016
4 answers
150 views

Hi, 

We found few issues related to Export to Excel ...

1. Group Totals are not appearing in Excel output. We have tested both ExcelML and BIff... Group Header and Grand total row appear in Excel but Group totals not appear. We have not set any GroupFooter template and expect simple total should appear.

2. We are getting Excel Sheets without formatting. Is there any easy way that Excel should get same formatting as it view like Winform grid.

     If not then what is the generic way to format it, as we are creating single Viewer for different grid based report - generated dynamically thru code and placed on Asp form.  

3.While adding Java script for handling Double click Event, we found a solution to use Client Side Event RowDbClick ... which pass args..
    in that ars._datakeyvalues.Id    (ClientKeyName)  ... now the problem is that we have same asp page used as viewer for different kind of grid based reports.
    each have different fields .... We can set ClientKeyNames thru code but how to make this Java script dynamic... 
    In one Report we have Id field, in Second report we have ProductId .... This makes difficult to pass different key thru clientside event..

 

 

 

 

devoas
Top achievements
Rank 1
 answered on 14 Apr 2016
1 answer
426 views

I use 2 SqlDataSource to my RadGrid. The GridAttachmentColumn get AttachmentData from SqlDataSource3 and the rest of the grid from SqlDataSource1

Byt the FileNameTextField and DataTextField gets the Imagename from SqlDataSource1. How get i all from SqlDataSource3 AttachmentDataField, FileNameTextField and DataTextField?

 

<telerik:GridAttachmentColumn SortExpression="ImageName" UploadControlType="RadAsyncUpload" DataSourceID="SqlDataSource3" MaxFileSize="20971520" AllowedFileExtensions="jpg,jpeg,png,gif"
    EditFormHeaderTextFormat="Ladda upp bild:" AttachmentDataField="ImageData" ButtonType="ImageButton" ImageUrl="../images/thumb/images.gif"
    AttachmentKeyFields="ID" FileNameTextField="ImageName" DataTextField="ImageName" UniqueName="ImageColumn" ItemStyle-HorizontalAlign="Center" HeaderStyle-Width="33px">
</telerik:GridAttachmentColumn>

 

Kostadin
Telerik team
 answered on 14 Apr 2016
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?