Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
225 views
Hello,

recently i have been working with telerik controls , and while loading page we have an image which i have attached below(loader.gif),it will be displayed,but i want to display a loaderbar like radprogressbar in blue color how to do this ,please reply if u have any idea about this .

Regards,
Madhukar.
Princy
Top achievements
Rank 2
 answered on 27 Jan 2012
1 answer
90 views
I have a grid with a Master/Detail table, the detail table's formatting looks perfect when I'm in DEV (ie Visual Studio) but when I push it to our dev server the formatting of the detail isn't right (it's OK but not the best).

Any suggestion on how to fix this would be of great help.

Here's how it looks running directly from VS:

Here's how it looks running from the server
Tsvetina
Telerik team
 answered on 27 Jan 2012
1 answer
92 views
Hi,

I tried this in the DetailTableDataBind event handler

GridBoundColumn b = new GridBoundColumn();
e.DetailTableView.Columns.Add(b);
b.HeaderText = "test";

the column is successfully added, but as soon as a postback occurs, the new column disappears. But adding a column the exact same way to the MasterTableView works as intended.

I have also tried this:

protected void RadGrid1_PreRender(object sender, EventArgs e)
{
    foreach (GridDataItem item in RadGrid1.MasterTableView.Items)
    {
        if (item.Expanded)
        {
           dynamic data = new[] {
            new { ID = "1", Name ="Name11",ParentID = "0"},
            new { ID = "2", Name ="Name11",ParentID = "1"},
            new { ID = "3", Name ="Name11",ParentID = "2"},
            new { ID = "4", Name ="Name11",ParentID = "3"}
              };
  
       
  
            GridBoundColumn b = new GridBoundColumn();
            b.HeaderText = "test";
            b.DataField = "Name";
            item.ChildItem.NestedTableViews[0].Columns.Add(b);
            item.ChildItem.NestedTableViews[0].DataSource = data;
            item.ChildItem.NestedTableViews[0].DataBind();
        }
  
    }
}

Doing this works if I need to programmatically add columns to the first level of the hierarchy (you loop over each item in the MasterTableView and check whether or not each item is expanded or not), but how could you add columns to a detail grid at any level of the hierarchy?


I am having the same issue as an unanswered question in the second half of this thread (by Bruno):
http://www.telerik.com/community/forums/aspnet-ajax/grid/dynamically-add-columns-to-existing-radgrid.aspx

Thanks,
Donald
Jayesh Goyani
Top achievements
Rank 2
 answered on 27 Jan 2012
2 answers
106 views
Hi,
I am using a RadGrid that contains 5 columns. The first 3 columns in the grid are a GridBoundColumn, the fourth column is a GridDropDownColumn, and the fifth column is a GridEditCommandColumn. At runtime, when the grid is populated, the fourth column (the GridDropDownColumn) displays   instead of the expected data. If I change the fourth column from a GridDropDownColumn to a GridBoundColumn, the grid displays the proper data. This problem only occurs when I use the GridDropDownColumn. Is there something magical about the Grid*Bound*Column? IOWs, am I having this problem b/c the GridDropDownColumn is not a *bound* column?

I have found and reviewed the "forum log" GridDropdownColumn in RadGrid not working, which indicates that the solution to this problem is to install the latest version of the Telerick Ajax controls, but the version that I have installed (2011.2.712.40) is already higher than what is indicated in the "forum log".

I want to use the GridDropDownColumn so that when a user clicks the grid's edit button (GridEditCommandColumn), I can control which values they are allowed to enter via a dropdown list.

So the grid displays   in the GridDropDownColumn when it is populated. But when I click the edit button on the grid, the GridDropDownColumn then displays valid values, instead of  

Actually, to state what I just said more accurately, valid values only display in the GridDropDownColumn for that row on which I clicked the edit button and for every row that appears below the row that I am editing. But for the rows that appear above the one that I am editing, they still display   in the GridDropDownColumn.

How do I resolve this problem?
Antonio Stoilkov
Telerik team
 answered on 27 Jan 2012
1 answer
71 views
I'm in the process of switching over all references to the AJAX Control Toolkit to using your controls.  On one of my pages I use their TabContainer.  In my work I discovered that the RadTab control does not have an "ID" property.  Why was this excluded?

In my existing code I have one event handler method to do assorted things when the user switches tabs.  It needs to differentiate between each tab.  Oh sure, what I'll just do is look for the Text property of the tab but if that text ever changes then the code will break unless I go through and search & replace all references to the tab's text value.

Which brings us full circle: Why does each RadTab not have an ID property?
Kate
Telerik team
 answered on 27 Jan 2012
1 answer
50 views
I have a grid that displays employees, showing their names, id numbers, dept., etc. 

When entering a new employee there is a significant amount of data that need to be inserted into the record, some of which needs editing.  Is it possible to use the AddNewRecordButton in the command Item display to send the user to a new page where editing could be done?
Jayesh Goyani
Top achievements
Rank 2
 answered on 27 Jan 2012
1 answer
47 views
In Scheduler, via css, how to make this:
when the user click outside of the raDatePickerCalendar, the calendar to dissapear, just the same way it's happening with RadCalendarMonthView_Default?
Peter
Telerik team
 answered on 27 Jan 2012
1 answer
50 views
Hi All,
        I am using Rad upload control and uploading the document in SharePoint Document Library.After uploading the document I want to change it's extension to .txt file can any one help me how can I change the extension after  the uploading document
Cat Cheshire
Top achievements
Rank 1
 answered on 27 Jan 2012
1 answer
67 views
Hi,
Let me know if this is possible, in day view I want to show full day i.e. 24 hours. But when the view loads I want to scroll to a particular time say 8 AM. Let me know if this is feasible.

Peter
Telerik team
 answered on 27 Jan 2012
1 answer
45 views

Good morning,
I need to dynamically change which elements in a RadComboBox drop down list are visible.
In the code below, the value selected in the first combo box (sender) is used to constrain the value in the second combo box (rcbAsgn) using some information stored in the tooltip for the item.
I tried the following:

function RCBProjects_OnClientSelectedIndexChanged(sender, eventArgs) {
     var selPrjTUID = sender.get_value();
     var rcbAsgn = $find("<%= RCBAssigned.ClientID %>");
     var itms = rcbAsgn.get_items();
     var i; var itm; var ttt;
     rcbAsgn.trackChanges();
     for (i = 0; i < itms.get_count(); i++) {
         itm = itms.getItem(i);
         ttt = itm._properties._owner._element.attributes[0].value;
         var pos = ttt.lastIndexOf("-");
         var tttid = ttt.substr(pos + 2, ttt.length - pos - 1);
         if (tttid.valueOf() == selPrjTUID.valueOf()) itm.show();
         else itm.hide();
     }
     rcbAsgn.commitChanges();
 }

Everything seems to work fine except that, when complete, the second combo box no longer drops down. It is stuck on whatever value it had with no drop down capability at all - even though I have verified that, for example, two of four items have been shown with the other two hidden.

Any ideas?
Thanks.
Chris

Kalina
Telerik team
 answered on 27 Jan 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?