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

Hi,

I need some help with your RadGrid.  I have a RadGrid with the option AutoGenerateColumns="True".  It has many columns from a Datasource that dynamically fills the Grid.  This DataSource returns a Datatable with many columns.  There is a table called orders and the other tables called city and product.  The select statement contains a combination of these tables in order to take the names of the city and the product for each order.   

My problem is: I want to edit a row with all CRUD operations using some ComboBoxes for some Columns in order to change the city or the product of an order using comboboxes. 

could you help me How can I achieve this?

Thanks

Juan Viteri

Jayesh Goyani
Top achievements
Rank 2
 answered on 18 Mar 2012
0 answers
105 views

See attached image. How do I get the line from the tab strip to the end of the page view? If i set a top border, then it runs across the active tab.

Thanks!

(EDIT) Never mind i found it. ShowBaseLine Property does it.



Kim
Top achievements
Rank 1
 asked on 17 Mar 2012
1 answer
88 views
Hello All,

I am new to the editor and couldn't find anything when searching. My application is located like so:

http://localhost/CMS/

but I want the ViewPath to pick up the directory:

http://localhost/Images

If I try and use Page.ResolveUrl with a relative Url to that location, I get an error saying "Cannot use a leading .. to exit above the top directory." 

Is there another way I should be doing this?

Thanks.
Allan
Top achievements
Rank 1
 answered on 17 Mar 2012
2 answers
125 views

Is it possible to create group column totals for every column without having to specify individual columns? My grid is actually a pivot table and my columns are generated dynamically by a sql statement that is created by drop down menus. There are 55 different combinations so I don’t want to have to program each individual column. My thought was to specify the group by’s and auto total the rest of the columns. For instance in this example, http://img843.imageshack.us/img843/3719/groupsql.jpg I would specify group by city and sex and the rest of the columns will total automatically. Any ideas will help. Thanks in advance.

Chris
Top achievements
Rank 1
 answered on 17 Mar 2012
16 answers
1.1K+ views
Hello all,

I am trying to imitate the demo shown here:
http://demos.telerik.com/aspnet-ajax/grid/examples/hierarchy/nestedviewtemplate/defaultcs.aspx

However, I see that a SQLDataSource control is used to do the databinding, in particular to the Graph, as this is heart of what
I wish to replicate.  Is there a way to do the same thing without using the SQL DataSource or have the control there but bind it programmatically.  The online documentation says it's possible but I haven't seen any examples.  If so, a code example would do me a world of good.  For example, how would the SQLDataSource control be set up if it were programmatically used?  How would you access this SQLDataSourceControl from code to programmatically assign the datasource the desired collection?

Thanks for you help,
Josh


 
Merritt
Top achievements
Rank 1
 answered on 16 Mar 2012
6 answers
207 views
Hi Telerik,

I have read a 2008 thread somewhere in which Rumen has said that it was not possible at that time to combine a custom dropdown within the default toolbar of RadEditor or any other custom toolbar for that matter.

Is this still the case at present - March 2012 ?

If it still is, are there any plans to change this?

It would really be helpful that you can combine, because it somewhat defeats the purpose of customizability.

Do  you have any suggested workarounds?

Thanks!
Virgil Rodriguez
Top achievements
Rank 1
 answered on 16 Mar 2012
2 answers
107 views
Hello,

I am experiencing a problem where the CrossFade animation type does not work if you've created your RadRotator control programmatically, as opposed to decalring it in your markup.  When the control is created programmatically, the CrossFade always reverts to a standard Fade instead.

Can anyone confirm this as an issue?  Telerik.Web.UI.dll version is 2011.1.413.35.

Thanks,

Chris
Chris Badger
Top achievements
Rank 1
 answered on 16 Mar 2012
5 answers
103 views

I have large amount of data and I’m trying out the example found here:  http://demos.telerik.com/clientbinding3/

I managed to get it working with my data and filtering works, but I can’t seem to get it to change the pages. It also doesn’t update the “Time to get data” or “Time to update Grid”.

I’m wondering if it’s not getting the “ClientBindingExample.js”, because if I comment the javascript out of my ASPX file, it still loads the grid fine.

Is there something I could be missing?  I’m sure it has to be easy, but I don't see it. :(

Thanks!

Richard
Top achievements
Rank 1
 answered on 16 Mar 2012
3 answers
156 views
Hello,

While working on a Grid we integrated in one of our pages, I noticed how the sorting was not working properly. When trying to sort, the column gets marked as sorted (either asc or desc), but the actual items in the grid do not get sorted at all, they stay in the exact same order as they were before.

Trying to figure out what the problem was, I seem to have gotten the problem down to its core: the EntityDataSource bound via the RadGrid_NeedDataSource event handler.

Code:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="test.aspx.cs" Inherits="test" MasterPageFile="~/Site.master" Theme="EventDrive" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
 
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
 
<telerik:RadScriptManager ID="RadScriptManager" runat="server" />
 
<telerik:RadGrid ID="RadGrid1" OnNeedDataSource="RadGrid_NeedDataSource"
        runat="server" AllowPaging="True" AllowSorting="True">
</telerik:RadGrid>
 
<asp:EntityDataSource ID="edsED" runat="server" ConnectionString="name=EventdriveEntities"
DefaultContainerName="EventdriveEntities" EntitySetName="Person" AutoSort="true" />
 
</asp:Content>

Code Behind:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Telerik.Web.UI;
 
public partial class test : System.Web.UI.Page
{
    protected void RadGrid_NeedDataSource(object sender, GridNeedDataSourceEventArgs e)
    {
        edsED.Where = "it.EventID = 2324"; //fetch EventID here.
        RadGrid1.DataSource = edsED;
    }
}

Is this a known issue? Is there anything I can do to resolve this problem?

Any help would be more than welcome!


Thanks,

Glenn
Richard
Top achievements
Rank 1
 answered on 16 Mar 2012
11 answers
152 views
Hi,
we are facing problem with file upload in IE8 & IE7 and there is no problem with IE9 & other browsers.
We are using Telerik.web.UI.dll file version - 2011.1.413.40   RadUpload. The problem is that when we select button to upload the file browser not open and in selection box cursor is blinking only i.e. not possible to browse file.
Our requirement is to work fine for IE7 to IE9. So please suggest me if any settings are require if code issue then let me know.

Thanks
Jaichand
Peter Filipov
Telerik team
 answered on 16 Mar 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?