Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
58 views
Hello!!

The AjaxLoadingPanel Is visible normally from ie8.

But gif images of the loading panel stop from ie6

Help Me please...

(When continuously repeats sees and the loading image moving, the actual condition which stops happens.)
Daniel
Telerik team
 answered on 09 Mar 2010
4 answers
421 views
Hi,

The example on the website on how to use GridBinaryImageColumn to update an image in a radgrid does not have a "codebehind" equivalent. Would it be possible to post a simple example how to implement a "RadGrid1_UpdateCommand" where the changed image is stored? 

Thanks Peter
Peter
Top achievements
Rank 1
 answered on 08 Mar 2010
1 answer
110 views
I've read this: http://www.telerik.com/help/aspnet-ajax/grdhierarchicaldatabindingusingdetailtabledatabind.html
as well as other articles and posts, but haven't seen an example of this. I know that it works for a grid with no heirarchy.

Can I use a data table as the datasource for a detailtable?
E.g. under DetailTableDataBind

 

Dim

 

myDataTable As DataTable = New DataTable()

 

 

 

Dim

 

dc1 As New DataColumn

 

 

dc1.columnname= "xyz"

 

Dim

 

row1 As DataRow

 

row1 = myDataTable.NewRow

row1(0) =

"Testing"

 

 

 

 

myDataTable.Rows.Add(row1)

 

e.DetailTableView.DataSource = myDataTableUnderReview

Dean
Top achievements
Rank 1
 answered on 08 Mar 2010
1 answer
109 views
I am using the OnKeyPress Clientevent in my grid.  I want to perform a particular action when the user press the CTRL+ SHIFT+ A buttons.  When I place the eventArgs.get_keyCode() call in an alert box I get the value of 65 for Firefox but I get the value of 1 for Internet Explorer.  We just upgraded to the ASP.NET Ajax controls and both IE and Firefox returned 65 in the old controls.  Is there any way to get them to both return 65 again. 
Daniel
Telerik team
 answered on 08 Mar 2010
1 answer
129 views
(Hopefully) Quick problem:

    <form id="form1" runat="server"> 
    <div> 
        <telerik:RadScheduler ID="RS1" AllowEdit="false" 
            ShowHeader="false" FirstDayOfWeek="Monday" LastDayOfWeek="Sunday" ShowNavigationPane="false"  
            ShowViewTabs="false" SelectedView="WeekView" ShowFooter="false" ShowAllDayRow="false"  
            DataKeyField="ID" DataSubjectField="Subject" DataEndField="End" DataStartField="Start"  
            runat="server" WeekView-ColumnHeaderDateFormat="ddd" > 
        </telerik:RadScheduler> 
    </div> 
    </form> 

public partial class Test : System.Web.UI.Page 
{ 
    public class ItemSchedule 
    { 
        public string Subject; 
        public DateTime Start; 
        public DateTime End; 
        public string ID; 
        public ItemSchedule(string subject, DateTime start, DateTime end) 
        { 
            Subject = subject; 
            Start = start; 
            End = end; 
            ID = Guid.NewGuid().ToString(); 
        } 
    } 
    protected void Page_Load(object sender, EventArgs e) 
    { 
        List<ItemSchedule> items = new List<ItemSchedule>(); 
        items.Add(new ItemSchedule("test", DateTime.Now, DateTime.Now.AddHours(1))); 
        RS1.DataSource = items; 
    } 
} 

Error says: 

DataBinding: 'Test+ItemSchedule' does not contain a property with thename 'ID'.


I do have a public property with the name of ID in my class (despite it being supposedly optional according to http://www.telerik.com/help/aspnet-ajax/schedule_databinding.html) but I must be missing something...
If possible I'd like to not even have an ID, but otherwise...why doesn't this work?
Adam
Top achievements
Rank 1
 answered on 08 Mar 2010
2 answers
123 views
Hi

I need to have the values of two columns say FirstName and LastName of a data table containing information about employees show up as FirstName,LastName on the node text field in the Tree View while I bind the data set to the tree view. Is there a way to do that?
Thanks

Rishi
Top achievements
Rank 1
 answered on 08 Mar 2010
6 answers
243 views
I want to cancel a ajax request from a javascript function. I tried the following, did not work

    var requestInProgress;  
 
    function OnRequestStart(sender, args) {  
        requestInProgress = args.XMLHttpRequest;          
    }  
 
    function ResetRequest() {  
        requestInProgress.abort();  
    } 

i want to cancel the request and hide the loading panel from ResetRequest() function.
Please help

Regards
Arijit Chatterjee
Daniel
Telerik team
 answered on 08 Mar 2010
1 answer
101 views
Hi,

I'm trying to accomplish this with the Scheduler


The idea is to have the Timeline view for an entire month, and when click next month it will add that to the Timeline (showing 2 month)

The colors is only to verify if that person has available Time to schedule something, and I need to change the Time Column with Person Name Column.

Instead of beating my head in the wall over and over, I thought I could ask here if is there any way to accomplish this reusing the RadScheduler control, as I'm new to this control.


Thank you.
Peter
Telerik team
 answered on 08 Mar 2010
1 answer
121 views
Hello,
i have different columns in a grid and i want use the inline editing for this grid. For all the column it works fine but only the templated column can not be edited. What must I implementing to edit this templated column? In this scenario i want to edit the name property in the grid.

with best regards
Meik Napierski

<telerik:GridTemplateColumn   
  ReadOnly="false" 
  DataField="Name"   
  HeaderText="Name" 
  AllowFiltering="false"   
  UniqueName="Name" 
  HeaderStyle-Width="100%"   
  SortExpression="Name">  
<ItemTemplate> 
  <img src='<%# Eval("ImageUrl") %>' alt="" style="vertical-align: middle; margin-right: 7px;" /> 
  <%# Eval("Name") %> 
</ItemTemplate> 
                                </telerik:GridTemplateColumn> 
Daniel
Telerik team
 answered on 08 Mar 2010
1 answer
96 views

Have a RadGrid with the Skin set to “Web20”  but the DataPicker on a GridDataTimeColumn does not show the header items like prev, next, month and year when I click on the calendar. “<< <   Month Year >  >>”   If I switch to “Vista” or "Windows7" it works fine.   Looks like same problem exists with "WebBlue".

 

<telerik:RadGrid ID="RadGrid1" runat="server" DataSourceID="LinqDataSource1"  Skin="Web20"

        GridLines="None" AllowAutomaticDeletes="True" AllowAutomaticInserts="True"

        AllowAutomaticUpdates="True" onitemcreated="RadGrid1_ItemCreated1" AllowSorting="True"

         AllowPaging="True" PageSize="15" Width="100%">

            <PagerStyle Mode="NextPrevAndNumeric"></PagerStyle>

 

 

<telerik:GridDateTimeColumn UniqueName="Date" PickerType="DatePicker" HeaderText="Date" DataField="Date" DataFormatString="{0:MM/dd/yyyy}" HeaderButtonType="TextButton">

      <ItemStyle Width="120px" />

</telerik:GridDateTimeColumn>

Sebastian
Telerik team
 answered on 08 Mar 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?