Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
96 views
Hi everyone,
I hope you can help me with this issue I'm having with the AsyncUploader it is simply not showing up in the browser I tried using it in another project and it worked fine I have this  feeling that it has something to do with my CSS, does this make any sense?
oh and another thing I also trying to use RadCalender now it is visible alright but not functioning as it should, when I try to pick a date nothing happens instead the view changes to the top of the page and just to make it clear I'm using RadGrid and it works fine.
please bare with me i'm new to this.
Thanks in advance :)
Plamen
Telerik team
 answered on 22 Apr 2013
1 answer
88 views
Hello, I have a RadGrid to display a list of items.

Columns:
Client Name | Invoice | Item description

What I'm trying to accomplish is to filter the second RadComboBox data, when the first one is used (filter).
For instance, when customer John Smith is selected as a filter, I'd like to rebind the RadComboBox "Invoice" to show only the invoices of John Smith. As of today, it rebinds, but uses the full dataset, so it shows all invoices.

Data is in a Dataset in a session variable.
Client Name and Invoice each have a RadComboBox setup as a FilterTemplate.
RadGrid is using the "NeedDataSource" event to bind.
On RadGrid's ItemCreated event (when item created is a GridFilteringItem), I find and call RadComboBox's DataBind, using the dataset as DataSource.

Is there a way to do that (without having to run RadComboBoxes as standalone objects)?

Thank you.
Mosart

Andrey
Telerik team
 answered on 22 Apr 2013
2 answers
627 views
I'm currently working on a C# asp.net website that populates Telerik RadComboBoxes with a treeView from a database on_load.

I have a form that has 15+ ComboBoxes and when I select values from those ComboBoxes those ComboBox selections must be used as filter to search through a large table in my database. A gridView will display the returned data.

I have used the same format of code throughout the rest of my project and it works perfectly, But when I select an item from my "Location" DropDownBox and select a CHILD node to search through my database I get the error 'Input string was not in a correct format' and I'm guessing its because i am using null values

here is my Location.cs Class

region Properties
 
    [Key]
    public int LocationID { get; se; }
    [Column("Location")]
    public string LocationName { get; set; }
    private int? _ParentLocationID;
    [Column]
    public int? ParentLocationID
    {
        get
        {
            return _ParentLocationID;
        }
        set
        {
            if (value == 0)
            {
                _ParentLocationID = null;
            }
            else
            {
                _ParentLocationID = value;
            }
        }
    }
 
    [Column]
    public int SiteID { get; set; }
    [Column]
    public bool Active { get; set; }
 
region Method
 
    public static IEnumerable<Location> LoadActiveLocations(int siteID)
    {
        iThNkContext db = new iThNkContext();
 
        var LocationList = (from l in db.Locations
                                where(l.SiteID == siteID && l.Active == true)
                                orderby l.LocationID
                                select l).ToList();
 
        return LocationList;
    }

And here is the code I am using in my .aspx file

RadTreeView trvLocation = (RadTreeView)cboLocation.Controls[2].FindControl("trvLocation");
         if (trvLocation.SelectedValue != "")
         {
            var locationID = Convert.ToInt32(trvLocation.SelectedValue);  //Error
            predicates.Add(p => p.LocationID == locationID);
        }

On the //Error line is where I am getting the 'Input string was not in the correct format' error, any suggestions please. I cant understand why I am having this problem or how to get values from child nodes.

thank you in advance


Goat_
Top achievements
Rank 1
 answered on 22 Apr 2013
3 answers
292 views
How can we determine the hierarchy level and child item count in a treelist?
Shinu
Top achievements
Rank 2
 answered on 22 Apr 2013
1 answer
175 views

Hello Community,

 

i have a question about the custom attributes.

For example, I want to bind an Item with 3 attributes. A Text, Value and a Custom Attribute.

The Data come from a Datatable. I need to do this Server Side.

The custom attribute don't need to be visible.
It's just a second ID.


I tried this:

Define

        Dim dtBank As DataTable = Allgemeines.GETBank()

        If dtBank.Rows.Count > 0 Then

            rcbBankID.DataSource = dtBank

            rcbBankID.DataBind()

'Maybe this is totaly wrong

            For Each drBank As DataRow In dtBank.Rows

                rcbBankID1.Attributes.Add("BLZ", drBank("BLZ"))

            Next

        End If

 

Use                      

        Dim strTest As String = rcbBankID.SelectedItem.Attributes("BLZ").ToString


I hope you understand me.

Thank you for your Help
Daniel
Kate
Telerik team
 answered on 22 Apr 2013
3 answers
100 views
Hi all,

having a bit some problems with radgris:

1 - cant put column size correct.
2- When scrolleble its true the grid goes hogh wire.
3 - and cant put the grid ocuping all de div.

can anybody help, i have fields of a max of 4 number lenght and it gores like it was 256.
Pavlina
Telerik team
 answered on 22 Apr 2013
1 answer
139 views
Hi,

I have an existing site that has a bunch of dropdownlists in it that don't work in IE10..

They work fine in Chrome/FF/Safari/IE8/IE7..

When I click on the dropdown "triangle" in the dev console I get the error:
SCRIPT5007: Unable to get property 'documentElement' of undefined or null reference 
Telerik.Web.UI.WebResource.axd, line 166 character 2

The Telerik.Web.UI.dll shows the following details in the Windows file properties window:

File Version : 2011.3.1115.40
Product Version : 2011.3.1115.40

I was told that updating to a later version can break other functionality and will potentially require a lengthy coding investment to get things working..

Is there anything I can do with this version to get around this problem in IE10..

Thanks

Thanks
Hristo Valyavicharski
Telerik team
 answered on 22 Apr 2013
1 answer
143 views
Hi, I am looking for some performance improvement techniques that can be used for telerik grid for mvc.
please suggest some videos/blogs.
Petur Subev
Telerik team
 answered on 22 Apr 2013
1 answer
74 views
How to get following chart series in telerik radchart
Missing User
 answered on 22 Apr 2013
1 answer
64 views
Hello,

I am using RadGuage trail version for demo purpose.

Actually I am looking How this will help me in my application.

I have seen there is no effect of Size in Minor Ticks and Major TIcks.

Please look the Attachment which I have just make one application.

There is three atrributes in Major Ticks and Minor Ticks.

Color, Width and Size.

Color and Width take  effect but there is no effect of size on image preview.

Can you provide me demo for this ?

Thank you.
Danail Vasilev
Telerik team
 answered on 22 Apr 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?