Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
227 views
Hi there,

It's is possible to hide the toolbar and the footer of a GridHTMLEditorColumn in edit mode?

Marcio Nascimento
Marcio Nascimento
Top achievements
Rank 1
 answered on 07 Aug 2009
5 answers
84 views
Hi,
Is there a way of showing hour rows in TimeLineView? This is exactly what I am looking for: http://demos.telerik.com/aspnet-ajax/scheduler/examples/resourcegrouping/defaultcs.aspx if you select WeekView, Group by room and Grouping direction: vertical. The only problem is I need timeline view for other reasons. Setting ShowHoursColumn=true doesn't seem to have any effect.

Can it be done?

Thanks.
Peter
Telerik team
 answered on 07 Aug 2009
3 answers
226 views
Is this possible??

I have a server control which renders a div, and inside the div I want to display the "avatar" for the supplied object.

Simplified example of the RenderContents method of the server control.

 

        protected override void RenderContents(HtmlTextWriter writer)  
        {  
            writer.RenderBeginTag(HtmlTextWriterTag.Div);  
 
            RadBinaryImage image = new RadBinaryImage();  
            image.DataValue = customer.Avatar; //byte array  
            image.Width = image.Height = Unit.Pixel(80);  
            image.AlternateText = customer.Name;  
            //image.DataBind();  
            image.RenderControl(writer);  
            writer.WriteLine();

            writer.RenderEndTag();

        } 

 

When the control is rendered on the page, the image shown is the browsers default image not found placeholder. I know the customer object being used in the test has an avatar specified so the DataValue property should be set correctly. 

I tried calling databind also because all the examples show it being used in a databound control, but that didnt seem work either.

Let me know if I'm doing something wrong or if this is just not supported.

Thanks,

Adam

 

Nikolay Rusev
Telerik team
 answered on 07 Aug 2009
1 answer
142 views
Hello,

When I follow this Drag and Drop example, I'd like to also use the contextmenu on the RadGrid to add, edit or delete an appointment. I've already managed to get the add and edit-part working, but how do I delete an appointment this way?! Would it be possible to delete an appointment by ID?

function contextMenuItemClicked(sender, args) { 
      var action = args.get_item().get_value(); 
      var radGridClickedRowIndex = document.getElementById("radGridClickedRowIndex").value; 
      var grid = $find('<%= UnscheduledGrid.ClientID %>'); 
      var masterTableView = grid.MasterTableView; 
      var row = masterTableView.get_dataItems()[radGridClickedRowIndex]; 
      var cell = masterTableView.getCellByColumnUniqueName(row, "AppointmentID"); 
 
      if (action == "Add") { 
        NewUnscheduledAppointment(); 
      } 
      if (action == "Edit") { 
        ShowAppointment(cell.innerHTML); 
      } 
      if (action == "Delete") { 
 
        //How to delete an appointment by ID?! 
      } 
    } 

Peter
Telerik team
 answered on 07 Aug 2009
1 answer
106 views

Hi

How add loading progess when load RadGrid in Ajax?

thank

Daniel
Telerik team
 answered on 07 Aug 2009
1 answer
123 views

I want to dyanmically populate the Resource types. Meaning, I have three resource type on my schudeler. I want to populate the Second resource type based on the selected value of the First Resource type. And I want to populate the Thrid Resource Type based on the second resource type selection. How we can achieve this using the telerik Scheduler. Present Scheduler developed in plain Telerik Scheduler not by AdvancedScheduler. Please let me know if any one knows how to implement this.

One More thing I have to mention here. We are using VB.Net for Developement. Please provide the suggestions on VB.Net.

thanks,
KG

Peter
Telerik team
 answered on 07 Aug 2009
1 answer
85 views
Hello,

I've a problem when I selectid rows on my radgrid.
If the rows height doesn't exceed the height of radgrid, it works fine.
But if there are too many rows, a big blank will displayed!

There's no problem when I select single row.
It only occured on IE7.0, works fine on IE6.0 and IE8.0.
The trouble is most of users are using IE7.0...

Could you please help me? Thanks ahead.

Best regards
Chenghan

Screen shot:
Daniel
Telerik team
 answered on 07 Aug 2009
3 answers
162 views
Dear Sir/Madam,


I have a grid. and I am binding this grid clientside from an javascript Array.
but when i bind this grid again with an empty array then grid is showing records correctly but
items are not being clear.
Rad Grid binding code that i have written is as follows:

var seltestRows = new Array();
seltestRows[0] = result.rows[0];
seltestRows[1] = result.rows[1];

 

var tableView = $find("<%=gvTest.ClientID %>").get_masterTableView();

 

tableView.set_dataSource(seltestRows);

tableView.dataBind();



Does anyone knows please tell me.

Thanks & Regards
Brijendra Pandey


Pavlina
Telerik team
 answered on 07 Aug 2009
1 answer
79 views

In a popup window using RadWindowManager I have a RadAjaxPane and a RadTreeView containing a RadTreeViewContextMenu.
When i click any RadMenuItem nothing happens - no post back.

Click any RadMenuItem a second or more times post back occurs.
What could be causing the first postback not to work.

Take away ajax panel and no problems with postback

Pavlina
Telerik team
 answered on 07 Aug 2009
2 answers
149 views
Hi,
I trying to let users to delete files from subfolders but Only root level files are deletable. This is my code,


**********
string p1 = "~/Reports";
string p2 = p1 + "/Images";
string p3 = p1 + "/Documents";
var PathsRoot = new[] {p1};
var PathsAll = new[] { p1,p2,p3 };
RadFileExplorer1.Configuration.ViewPaths = PathsRoot;
RadFileExplorer1.Configuration.UploadPaths = PathsAll;
RadFileExplorer1.Configuration.DeletePaths = PathsAll;
***************

if i use "PathsAll" for ViewPaths the RadFile Explorer shows 2 Images folder and 2 Documents folder.
How can i let users to delete files from subfolders ?

 

 

 

 

onur
Top achievements
Rank 1
 answered on 07 Aug 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?