Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
231 views
Dear all,
i've got a problem.
I have got a Rad Window with a rad  editor now i want that the radeditor is always 100% in width and height. Also when i resize the radwindow.

I hope you can help me.

And sorry for my broken english ;)
Rumen
Telerik team
 answered on 06 Oct 2009
1 answer
45 views
I'm experiencing strange behavior with a grid placed inside of a RadDock.  As an example, if I attempt to sort on one of the grid columns the entire grid disappears and I get a weird JavaScript error in what appears to me to be Telerik-generated code.  If I make an exact copy of the grid OUTSIDE of the RadDock it behaves as expected.

Any ideas?
Sebastian
Telerik team
 answered on 06 Oct 2009
5 answers
149 views
HI  
 
   Here i am facing problem with round corner for appointment.  
I want to customizes appointment with roundcorner with dynamic color.  
i want to apply color when the create an appointment.  
 
I tried with existing styles of radschedular but dynamic color not applying.  
and tried with customize rounded corners. its working for an aapointment but while dragging , its not working.  
 
<AppointmentTemplate>  
<asp:PlaceHolder ID="PlaceHolder_AppointmentCell" runat="server"></asp:PlaceHolder>    
</AppointmentTemplate>  
 
 
protected void RadScheduler1_AppointmentCreated(object sender, AppointmentCreatedEventArgs e)  
{  
if (e.Appointment.Visible)  
{  
if (!string.IsNullOrEmpty(e.Appointment.Attributes["szColor"]))  
{  
_strBuilder = new StringBuilder();  
_strBuilder.Append("<b class='b1f' style='background-color:" + e.Appointment.Attributes["szColor"].ToString() + "'></b><b class='b2f' style='background-color:" + e.Appointment.Attributes["szColor"].ToString() + "'></b>");  
_strBuilder.Append("<b class='b3f' style='background-color:" + e.Appointment.Attributes["szColor"].ToString() + "'></b><b class='b4f' style='background-color:" + e.Appointment.Attributes["szColor"].ToString() + "'></b>");   
_strBuilder.Append("<div class='contentf' style='height:33px;background-color:" + e.Appointment.Attributes["szColor"].ToString() + "'>");  
_strBuilder.Append("<div class='rsWrap' style='z-index: 14;'><div>");   
_strBuilder.Append(e.Appointment.Subject);  
if (Convert.ToBoolean(e.Appointment.Attributes["bConfirmed"]))  
{  
_strBuilder.Append("<div style='height:10px;width:10px;background-color:Green'>&nbsp;</div>");  
}  
else 
{  
_strBuilder.Append("<div style='height:10px;width:10px;background-color:Red'>&nbsp;</div>");  
}  
_strBuilder.Append("<div class='rsAptResize' style='z-index: 80;background:" + e.Appointment.Attributes["szColor"].ToString() + ";'></div>");  
_strBuilder.Append("</div></div></div>");  
 
_strBuilder.Append("<b class='b4f' style='background-color:" + e.Appointment.Attributes["szColor"].ToString() + "'></b><b class='b3f' style='background-color:" + e.Appointment.Attributes["szColor"].ToString() + "'></b>");  
_strBuilder.Append("<b class='b2f' style='background-color:" + e.Appointment.Attributes["szColor"].ToString() + "'></b><b class='b1f' style='background-color:" + e.Appointment.Attributes["szColor"].ToString() + "'></b>");  
}   
PlaceHolder appointmentCell = (PlaceHolder)e.Container.FindControl("PlaceHolder_AppointmentCell");  
appointmentCell.Controls.Add(new LiteralControl(_strBuilder.ToString()));   
}  
}  
 
 
if any one know give me reply.  
Thx 
Peter
Telerik team
 answered on 06 Oct 2009
1 answer
133 views
Hi,

          I wish to have different skins for the grid and the details table it consists of.
I am having 3 levels in the hierarchy.

How can i do this.

Please help.



Thanks,
Avi
Princy
Top achievements
Rank 2
 answered on 06 Oct 2009
3 answers
574 views
Hopefully this is a simple question.


I've got Radgrid (Ajaxed) and with Paging enabled

How do I create a label on the page and then have the label updated with the count of all selected items


I've correctly got this javascript attached to the RadGrids (ClientEvents - onrowcreated, onrowdeselected, onrowselected)
 var rgGrid = $find("<%= RadGridBirthdays.ClientID %>"); 
               var MasterTable = rgGrid.get_masterTableView(); 
               var selectedRows = MasterTable.get_selectedItems(); 
               document.getElementById('<%= this.SelectedCount.ClientID %>').innerHTML = selectedRows.length; 

The problem is when i go to the next page my count resets so the actual count is never correct.


Can someone please explain how to get the count (the correct way ) with paging enabled.


Mira
Telerik team
 answered on 06 Oct 2009
1 answer
116 views
Hi,

How can I change maximize button icon for rad window? if possible provide some sample code.

Thanks in advance.

Mamun
Georgi Tunev
Telerik team
 answered on 06 Oct 2009
1 answer
107 views
I have extended the GridBoundColumn and am adding a DropDownList in the 'SetupFilterControls' method.  The 'OnSelectedIndexChanged' event is never fired.  What should I be checking?

        protected override void SetupFilterControls(TableCell cell)  
        {  
            base.SetupFilterControls(cell);  
            cell.Controls.RemoveAt(0);  
 
            DropDownList ddl = new DropDownList();  
            ddl.AutoPostBack = true;  
            ddl.ID = "fltr" + DataField;  
            ddl.SelectedIndexChanged += new EventHandler(junk_SelectedIndexChanged);  
 
            cell.Controls.AddAt(0, ddl);  
            cell.Controls.RemoveAt(1);  
 
            ddl.DataSource = Owner.DataSource;  
            ddl.DataTextField = DataField;  
            ddl.DataValueField = DataField;  
            ddl.DataBind();  
        } 

The 'junk_SelectedIndexChanged' never gets called...
Pavlina
Telerik team
 answered on 06 Oct 2009
3 answers
65 views
Hi,

The "Delete Table" functionality under right mouse-click on a drag handle of a table is not working in Firefox (3.5.3)

BR,
Marc
Rumen
Telerik team
 answered on 06 Oct 2009
2 answers
206 views
Hi,

I'd like to use my custom commanditem template with details tables in a hierachy view like this sample:
http://demos.telerik.com/aspnet-ajax/grid/examples/programming/commanditem/defaultcs.aspx
.

How can I set the visibility of my commanditem buttons for the detailtables? Sample uses e.g. <%# RadGrid1.EditIndexes.Count = 0 %>. But this is not applicable with detailtables.

<asp:LinkButton ID="btnEditSelected" runat="server" CommandName="EditSelected" Visible='<%# RadGrid1.EditIndexes.Count = 0 %>'><img style="border:0px;vertical-align:middle;" alt="" src="Images/Edit.gif" />Edit selected</asp:LinkButton> 
adi
Top achievements
Rank 1
 answered on 06 Oct 2009
8 answers
448 views
Looking at the example provided by telerik.
http://demos.telerik.com/aspnet-ajax/grid/examples/generalfeatures/frozencolumns/defaultvb.aspx

Our RadGrid columns change based on some search criteria.

The first four columns we can freeze. 
The next N columns we want to scroll.  The problem is the RadGrid may have a bunch of space to the right of the grid as it scrolls.

Telerik has examples on: "Resizing grid with scrolling when data is less than scroll height"
http://www.telerik.com/help/aspnet-ajax/grdresizegridwithscrollingwhenlessdata.html

and "Changing grid ScrollHeight at runtime to fill its container height"
http://www.telerik.com/help/aspnet-ajax/grdchangescrollheightatruntime.html

but what about "when the WIDTH of the grid changes based on columns being returned".  In one scenario, we may have 5 columns returned where the first 4 columns are frozen.  If the Grid is 800px wide.  The 5 column is now (maybe) 400px wide.
Or we may bring back 30 columns.  When we scroll to the right, the columns end, but the scrollbar continues with dead space to the right.

Any ideas?
Sebastian
Telerik team
 answered on 06 Oct 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?