Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
198 views
Hi.

I am Creating radgrid dynamically with gridhyperlinkcolumns .I am able to create grid dynamically but when i export to excel the header is blank.Is there anyway to solve this issue.


Is there any option to disable the  rad grid skin while printing alone.....


Thanks
Dwarak.K
Daniel
Telerik team
 answered on 13 Jan 2010
1 answer
125 views
Hello,

I have implemented a Custom FileExplorer driver from a DB. The custom explorer allows a single file to be present in multiple directories. There is a issue with renaming the file though, as only the current directory is refreshed automatically. The other directories in which the file is present show the old name until a manual-client refresh is performed. I can gain access to all the path names but how would I call the refresh function?

Thank you,
Ryan
Fiko
Telerik team
 answered on 13 Jan 2010
5 answers
173 views
Hi all,

  I am using Telerik ASPNET AJAX 2008 Q2. The project works fine in IE7, but encounter Telerik is not defined in IE6. Anyone can help? Thx.
Rumen
Telerik team
 answered on 13 Jan 2010
1 answer
182 views
  We are populating a listbox with a list of customer applications (string values):

SqlDataReader

 

a = GetCustomerApplications.ExecuteReader();

 

 

this.RadApplicationsListBox.DataSource = a;

 

 

this.RadApplicationsListBox.DataBind();

  It appears any application with multiple spaces in the string will be stripped down to a single space.

example:
  value in the database:  "Test  Aplication"
 as displayed in list box:  "Test Aplication"

Has anyone come across this?  Or any other anomalies in the rendering of values in the listbox that we need to account for?

 

Kamen Bundev
Telerik team
 answered on 13 Jan 2010
3 answers
282 views
I have a RadGrid with a User Control (.ascx page) used as a pop up Insert/Edit form. I want to do some custom validation on the form but the javascript never runs. I looked at the source code of the page after it loaded and the script I wrote isn't even there. How can I make this work?

<script language="javascript" type="text/javascript">  
    function ValidateNumber(txt) {  
        alert("Entries must be numeric!");  
        } 
<asp:TextBox ID="txtHours4" onchange="ValidateNumber(this)"  runat="server"></asp:TextBox>
Martin
Telerik team
 answered on 13 Jan 2010
6 answers
257 views
I'm attempting to create resources via client-side code. I've tried several approaches and I'm not certain why they haven't worked.

First. I tried creating a web method that returned a Telerik.Web.UI.Resource object:

    [WebMethod] 
    public static Telerik.Web.UI.Resource GetResource() 
    { 
        Telerik.Web.UI.Resource r1 = new Telerik.Web.UI.Resource("Employee", "100", "Frank Sminth"); 
        return r1; 
    } 
 

and then using this method per the documentation:

 $("#AddResource").click(function() { 
                                var scheduler = $find("<%=RadScheduler1.ClientID %>"); 
                                if (scheduler == null) alert("No Control"); 
                                $.ajax({ 
                                    type: "POST", 
                                    url: "Default.aspx/GetResource", 
                                    data: "{}", 
                                    contentType: "application/json; charset=utf8", 
                                    dataType: "json", 
                                    success: function(r1) { 
                                        scheduler.SchedulerResourceCollection.add(r1); 
                                        scheduler.Rebind(); 
                                        alert("OK"); 
                                    } 
                                }); 
                            }); 

However, the alert is never executed and the resource doesn't appear.

I've also tried creating an entire collection of resources and passing them back:

    [WebMethod] 
    public static Telerik.Web.UI.ResourceCollection GetResource() 
    { 
        Telerik.Web.UI.ResourceCollection rc = new Telerik.Web.UI.ResourceCollection(); 
        Telerik.Web.UI.Resource r1 = new Telerik.Web.UI.Resource("Employee", "100", "Frank Sminth"); 
        rc.Add(r1); 
        return rc; 
    } 

And here is the JavaScript code to display the resource:
$("#AddResource").click(function() { 
                                var resource = new Telerik.Web.UI.SchedulerResource(); 
                                var scheduler = $find("<%=RadScheduler1.ClientID %>"); 
                                if (scheduler == null) alert("No Control"); 
                                $.ajax({ 
                                    type: "POST", 
                                    url: "Default.aspx/GetResource", 
                                    data: "{}", 
                                    contentType: "application/json; charset=utf8", 
                                    dataType: "json", 
                                    success: function(rc) { 
                                        scheduler.set_resources(rc); 
                                        alert("OK"); 
                                    } 
                                }); 
                              }); 

  But this isn't working either.

So, I'm looking for two things.  FIrst, an explanation on how to add a resource via client-side code.  And secondly, where can I find some good documentation for the client-side methods.  The help file that get's shipped with the controls is rather...thin,

Thanks much!

Mark Galbreath
Top achievements
Rank 2
 answered on 13 Jan 2010
1 answer
150 views
I would like attach a event to the textbox of the RadDateTimePricker in a EditItemTemplate by using jQuery.
There are two DateTimePicker, when I double click the textbox of the first picker, the value from the other picker should be copied..

Using the document ready event isn't possible, because the edit elements aren't available yet.
So my questions:
- Possible to use jQuery for that, or better from the server side?
- How to attach an event when the grid shows the elements later in the edit mode?
- How to find the elements?

Thanks
Eric
Yavor
Telerik team
 answered on 13 Jan 2010
2 answers
169 views
Does the RadTreeView control support search-as-you-type functionality?

Is there any easy way to implement it with something like the ListSearchExtender from the AjaxControlToolkit? 
Andrea
Top achievements
Rank 2
Iron
 answered on 13 Jan 2010
2 answers
415 views
How many records we can fill in radgrid without paging
also
I'm using radgrid without paging which is my core requirement,
and very often I got exception 'System.OutOfMemoryException', how could I fix it
Qamar uz Zaman Cheema
Top achievements
Rank 1
 answered on 13 Jan 2010
3 answers
179 views
hi
I am using rad editor for the first time so when I activated the feature "use rad editor to edit html field" then it modified all the html field.Is it possible to modify particular html field in list and not all of them according to my requirement?
Stanimir
Telerik team
 answered on 13 Jan 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?