Telerik Forums
UI for ASP.NET AJAX Forum
14 answers
284 views
SOS!
I suddenly bumped into weird problem. When I click export button (pdf, excel) on my grid - I am getting this:



Everything works properly in other browsers and in IE9...

Ralf
Top achievements
Rank 1
 answered on 17 Apr 2013
1 answer
137 views
Hello

I am working on radtreeview control. I am new to telerik controls
I am having a problem, see if you guys can help me on it.

I am trying to set default static root for the categories, I have database table name called categories, has iID and iParent columns that make relation of parent and child. 

I want to achieve treeview like this.

Root
|-child1
|-child2
|-child3
   |-child3a
   |-child3b
|-child4
|-child5
|-child6

but i am gettign all child1 to child 6 at root line including root.

here is the code

            SqlConnection conn = new SqlConnection(Global.SQLConnectionString);
            conn.Open();

            string sqlString;
            //sqlString = "SELECT * FROM [MediaLibraryCategories]";
            sqlString = "Select iID,Title,iParent From Categories Union All Select '0','root', -1 Order By Sort";

            SqlCommand Cmd = new SqlCommand(sqlString, conn);
            try
            {
                SqlDataReader Dr = Cmd.ExecuteReader();

                RadTreeView1.DataFieldID = "iID";
                RadTreeView1.DataFieldParentID = "iParent";
                RadTreeView1.DataTextField = "Title";
                RadTreeView1.DataValueField = "iID";

                RadTreeView1.DataSource = Dr;
                RadTreeView1.DataBind();
            }

with Union All, 0  is the iID, root is the title, and -1 is the iParent
other data are like this..

iID, Title, iParent
1    child1  0
2    child2  0
3    child3  0
4    child4  0

5    child5  0

6    child6  0

7   child3a 3
8   child3b 3

Union All

0 Root -1


Thanks,
Kate
Telerik team
 answered on 17 Apr 2013
1 answer
101 views
Hi guys,

We noticed that the client-side clone() method for a SchedulerAppointment does not seem to clone the recurrence rule.

The definition of the function as we see it in your build 2013.1.220.45 is (minified)

clone:function(){var h=new b.SchedulerAppointment();
h._id=this._id;
h._subject=this._subject;
h._description=this._description;
h._start=this._start;
h._end=this._end;
h._toolTip=this._toolTip;
h._internalID=this._internalID;
h._visible=this._visible;
h._recurrenceState=this._recurrenceState;
h._recurrenceParentID=this._recurrenceParentID;
h._contextMenuID=this._contextMenuID;
h._resources=this.get_resources().clone();
h._attributes=this.get_attributes().clone();
if(this.get_reminders){h._reminders=this.get_reminders().clone();
}for(var i in this){if(h[i]===g&&!i.startsWith("_")){h[i]=c(this[i]);
}}return h;
}

I would have expected a line something like:

h.set_recurrenceRule(this.get_recurrenceRule());

Is there a reason why the recurrence rule isn't cloned?

Cheers,
Sam




Plamen
Telerik team
 answered on 17 Apr 2013
1 answer
118 views
I have a ribbon bar and some javascript that handles resizing the width of the page.

My ribbon bar as a number of groups on it and it will automatically collapse the groups starting from the right hand side, normally this is not a problem and it all works well, except if the last group is a template, it will just remove the complete group!!

What would be nice is having the ability to assign a collapse order on the groups, so that groups with an order of 1 are collapsed before those with an order of 2 etc.... 

Or is there some way that i can do this now ? That is, some way other than code it completely by hand in my resize function
Ivan Zhekov
Telerik team
 answered on 17 Apr 2013
1 answer
72 views
Hi,

I know that the documentation says that for resource grouped views you need to do a postback to get the necessary html. I tried to code around this shortcoming by populating the view with all the available resources and then hide/show the columns for the resources that the user does not want to see.

This works until the user decides to drag or resize an appointment, then I receive javascript errors. Would there be any way I can get this to work? If needed I can create a sample that demonstrates this use case.
Plamen
Telerik team
 answered on 17 Apr 2013
2 answers
83 views
I am currently using Q3 2012

Is it OK to upgrade to Q1 2013 SP1?

Early on I saw a lot of posts regarding issues with buttons, masters pages, etc. 
Before Q1 2013 I was upgrading as soon as the upgrade was available. I am a little more cautious now.
I could really use the new features of async upload like pause and resume provided they work and I do not have to make too many changes to an existing project. 

Marty
moegal
Top achievements
Rank 1
 answered on 17 Apr 2013
2 answers
213 views
Hi Guys!
I have a big problem and i need some body help.
I have a radComboBox load with a concatenated string.
the filter doesn't work within i type a not number 0. i'm waiting some reply to solve my problem. thank's a lot.
protected void loadComboBox() 
{
    try 
    {
        Random rdCombo = new Random();
        this.ComboTest.Items.Clear();
        this.ComboTest.Items.Insert(0, new Telerik.Web.UI.RadComboBoxItem("", ""));
        for(int i = 0; i < 120; i++)
        {
            this.ComboTest.Items.Insert((i + 1), new Telerik.Web.UI.RadComboBoxItem("000" + rdCombo.Next(120) + " - " + "Descrizione " + (i + 1), Convert.ToString((i + 1))));
        }
        this.ComboTest.Filter = Telerik.Web.UI.RadComboBoxFilter.Contains;
        this.ComboTest.Sort = Telerik.Web.UI.RadComboBoxSort.Ascending;
    }
    catch(Exception ex)
    {
        throw ex;
    }
}
Clyde
Top achievements
Rank 1
 answered on 17 Apr 2013
2 answers
197 views
Hi All,

I have Grid with country column here i need to apply filter for this column and also i need to make that filter as Combo Box.
How to bind data for that but not static data.How to implement this?

Thanks in Advance..!
Shinu
Top achievements
Rank 2
 answered on 17 Apr 2013
1 answer
107 views

I am testing the RadDock control out for my company. Are there any demos in which the control is not "ajaxafied". I am incorporating the control into a legacy system having a requirement that all commands use the postback model without any ajax ability. The reason being is we have     <xhtmlConformance mode="Legacy" /> in the web.config , This kills the pagerequestmanager, if there is a work around having this on that would be great, but I havent found one yet. So, I guess I need one of two things


ONE

RadDock which doesnt require the radscript manager using a postback model instead of an AJAX model


OR


TWO

A work around for having the xhtmlConfromance mode set to legacy. 

Dobromir
Telerik team
 answered on 17 Apr 2013
1 answer
194 views
I have read the forums and removed all assemblies , cleared cache and all other thins but I am getting this error still:

RadGrid - RadGrid1System.InvalidCastException: [A]Telerik.Web.UI.RadGrid cannot be cast to
[B]Telerik.Web.UI.RadGrid. Type A originates from 'Telerik.Web.UI, Version=2013.1.403.40,
Culture=neutral, PublicKeyToken=121fae78165ba3d4' in the context 'LoadNeither' at location
'C:\Users\simon.SOUTHGATE\AppData\Local\Microsoft\VisualStudio\11.0\ProjectAssemblies\mxvuxvpg01\Telerik.Web.UI.dll'.
Type B originates from 'Telerik.Web.UI, Version=2013.1.403.40, Culture=neutral, PublicKeyToken=121fae78165ba3d4'
in the context 'LoadNeither' at location 'C:\Users\simon.SOUTHGATE\AppData\Local\Microsoft\VisualStudio\11.0\ProjectAssemblies\b1apdsv701\telerik.web.ui.dll'.
at Telerik.Web.Design.RadGridDesigner.GetDesignTimeHtml(DesignerRegionCollection regions) at System.Web.UI.Design.ControlDesigner.GetViewRendering(ControlDesigner designer)

Can anyone help please!!!!
Eyup
Telerik team
 answered on 17 Apr 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?