Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
120 views
Hi,
    I saw several posting but could not find one that works. How can i make the RadDock show up center of the screen. By the way, the telerik getViewPortSize function does not  work and crashed. Do you have a working example. Thanks,

Regards,

Osman
Shinu
Top achievements
Rank 2
 answered on 07 Jan 2010
1 answer
89 views
Is there a forum to contact people/companies who are skilled in creating custom skins (visually as well as technically)?    I like the glassy looks of the forest theme for example, but changing the sprite files and making color choices is beyond my comfort zone and time constraints.  We know graphic designers, but would prefer someone who understands the telerik implementation of skins and can work independently. General feedback we have received is that the orange selected row in the forest grid is too bright and bold for example.  We also have needs to completely customize a skin to match our customers (and our) website look and feel.  We use  RadGrid heavily, FormDecorator with all standard html controls, radtext/numeric boxes, treeview, calendar, splitter/pane regularly.  Tabs, upload and a variety of other controls less frequently.  

I would envision creating a sample page with many controls on it if the designer needed us to do that, and passing a URL to a customer website and the interested party would take control.  Some of our customers do not have the best website design to work off of, so some creativity will be required.  Experience in professional web application design could lead to other opportunities.

Please note, we are NOT looking to hire an employee on either a full or part-time basis.  We are looking for a professional relationship with some entity who understands telerik skins and possesses a keen graphic inclination that we can rely on for our skin creation/modification needs.

Thank you.

Joel Tolbert
http://www.PeriscopeIQ.com
Georgi Tunev
Telerik team
 answered on 07 Jan 2010
2 answers
142 views
Hi fellas,

When i double click a time slot, i get a popup requesting the title of the appointment. I want to get some more details from the user to add it in the appointment. So i need to modify the popup to add some of my controls and get value from them when the save is clicked. How to achieve that?

Thank you.
NLV
Top achievements
Rank 1
 answered on 07 Jan 2010
1 answer
265 views
Hi,

I am trying to set the font for my x axis label with this code :

radChart1.PlotArea.XAxis.AxisLabel.TextBlock.Appearance.TextProperties.Font =

new System.Drawing.Font("Arial", 20);

but it is not working.

I have also tried setting

 

radChart1.PlotArea.XAxis.AxisLabel.TextBlock.Appearance.Dimensions.AutoSize =

false;
first but it does not work too.

Any help is greatly appreciated.
Thanks!!!

wayne

 

Ves
Telerik team
 answered on 07 Jan 2010
1 answer
156 views
is there a way to modify the width ShowChooser smarttag?  it doesn't allow a style tag or have a width tag.   also the outside width added to the table doesn't affect it, so I'm guessing it's internal.

It's taking up about 2x the space it needs (over two times as wide as the internal text of the control is), and I need to have that space....

is this the route for me?  a custom 'chooser'? or can I play nicely with the smarttag?

from this forum read:
http://www.telerik.com/community/forums/aspnet-ajax/general-discussions/custom-skins-for-radcontrols.aspx
Dimo
Telerik team
 answered on 07 Jan 2010
1 answer
79 views
I want to find out if a column is partially displayed on screen when a cell on the column gets focus if partially displayed I want to autoscroll the grid horizontally and bring the column in question into full view. Any tips tricks I can try out?

Mon NN
Yavor
Telerik team
 answered on 07 Jan 2010
5 answers
155 views
I am running asp.net 3.5 and I am trying to add a Telerik Date Picker.  I am registering the Telerik.Web.UI.  I only have this section of code on the page that is using Telerik (it is being used twice as I'm also wanting to add an end date).

        <telerik:RadDatePicker ID="RDPBeginDate" runat="server"> 
            <Calendar> 
                <SpecialDays> 
                    <telerik:RadCalendarDay Repeatable="Today" ItemStyle-CssClass="rcToday" /> 
                </SpecialDays> 
            </Calendar> 
        </telerik:RadDatePicker> 

I have tried wrapping it in a RadControlBlock to no avail.  Any help is appreciated.
Dimo
Telerik team
 answered on 07 Jan 2010
4 answers
202 views
I have a custom InlineInsertTemplate and a custom InlineEditTemplate that I am trying to use custom attributes with.

I have 2 additional fields that I am trying to include in the Appointment declared in code behind as
RadScheduler1.CustomAttributeNames = new string[] {"factorName", "Notes"};

These are Binded in the custom templates using the following syntax

<

 

asp:TextBox ID="EditTxtNotes" runat="server" TextMode="MultiLine" Rows="5" Width="100%" Text='<%# Bind("Notes") %>'></asp:TextBox>

 


Now I am trying to save the appointment by handling the AppointmentCommand event use the following syntax.

newProjection.Notes = e.Container.Appointment.Attributes[

"Notes"];

The attribute always returns an empty string. In fact the Attributes.Count of the Appointment is 0.

What am I doing incorrectly?

 

Amit Vaidya
Top achievements
Rank 1
 answered on 07 Jan 2010
3 answers
143 views
Hi,
  I am using a RadGrid with a MasterTable and 2 Detail Tables. I am binding the detail table client side using the following javascript code.
function HierarchyExpanding(sender, args) {  
 
    detailTableView = sender.get_detailTables()[2];  
    WebService.GetDetails(updateDetailTable);  
 
      
 
}  
 
function updateDetailTable(result) {  
    alert("Updating");  
    alert(result.length);  
    alert(result[0].DealId);  // result is a C# List<CustomClass>
     
    detailTableView.set_dataSource(result);  
    detailTableView.dataBind();  
      
      
} 

But the detail table comes blank. Please let me know if I am missing something.

Thanks
Satyaprakash J




Tsvetoslav
Telerik team
 answered on 07 Jan 2010
1 answer
162 views

 

Hi there,

1) Iam using a Radgrid which consists of '5' image columns on page load it is getting loaded fine but when I perform any Filter option which is provided with grid it is taking time for getting loaded for image columns remaining columns load quickly same with page index also is not getting loaded it is getting loaded after any event is performed like button click i want to get the page updated quickly without any event firing.

2) And Iam facing another problem with grouping it is grouping properly when i drag some times it is grouped but some times not in this also image columns are not getting loaded when iam ungrouping it is throwing an exception.

3) I want Tooltip for Radgrid for all columns It should display according to database.

I need to do ASAP please any help would be appreciated
Here's my code

 

 

 
Here's my code   
------------------------------------------------------------------------------------------   
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="uclTaskGrid.ascx.cs" Inherits="uclTaskGrid" %>   
<%@ Register assembly="msgBox" namespace="BunnyBear" tagprefix="cc2" %>   
<%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %>   
<script language="javascript" type="text/javascript">   
function FireMyIASGroupPrint(myURL){   
if(myURL)   
{   
window.open("RejectTaskStatus.aspx?taskID=" + myURL ,'_blank','left = 300, top=150, width=600, height=200,menubar=no , scrollbars=no, resizable=no');   
}   
}   
</script>   
<asp:Timer ID="Timer1" runat="server" ontick="Timer1_Tick" Interval="12000">   
</asp:Timer>   
<table width="100%" align="center" border="0" cellspacing="0" cellpadding="0">   
<tr>   
<td valign="top" height="6"></td>   
</tr>   
<tr>   
<td height="30" align="left">&nbsp;&nbsp;&nbsp;<b>Project name</b>&nbsp;<asp:DropDownList ID="ddlProjects" CssClass="text" runat="server" AutoPostBack="True"   
onselectedindexchanged="ddlProjects_SelectedIndexChanged">   
</asp:DropDownList>   
</td>   
<td align="right">   
<table width="160" border="0" cellspacing="0" cellpadding="0">   
<tr>   
<td>   
<asp:UpdatePanel ID="UpdatePanel2" runat="server">   
<ContentTemplate>   
<asp:Label ID="lblRecCount" CssClass="LabelText" runat="server"   
Text="Total Record(s): 14"></asp:Label>   
</ContentTemplate>   
</asp:UpdatePanel>   
&nbsp;&nbsp;&nbsp;</td>   
</tr>   
</table>   
</td>   
</tr>   
<tr>   
<td valign="top" colspan="2" height="5">   
&nbsp;</td></tr>   
<tr>   
<td valign="top" align="center" colspan="2">   
<table cellpadding="0" cellspacing="0" border="0" width="98%">   
<tr>   
<td align="left" valign="top">   
<asp:UpdatePanel ID="UpdatePanel1" runat="server">   
<Triggers>   
<asp:AsyncPostBackTrigger ControlID="Timer1" EventName="Tick" />   
</Triggers>   
<ContentTemplate>   
<telerik:RadGrid ID="gviewTasks" runat="server" AllowFilteringByColumn="True"   
AllowPaging="True" AllowScroll="True" EnableVirtualScrollPaging="True"   
PageSize="10" AllowSorting="True" GridLines="None" ShowGroupPanel="True"   
style="top: 300px; left: 10px;"   
AutoGenerateColumns="False" Skin="Vista" onitemcommand="gviewTasks_ItemCommand"   
onitemdatabound="gviewTasks_ItemDataBound" AutoGenerateHierarchy="True" AllowCustomPaging="True"   
>   
<MasterTableView>   
<columns>   
<telerik:GridBoundColumn DataField="TaskID" HeaderText="ID" />   
<telerik:GridBoundColumn DataField="Resource Name" HeaderText="Resource Name"   
HeaderStyle-Width="80px" >   
<HeaderStyle Width="80px" />   
</telerik:GridBoundColumn>   
<telerik:GridTemplateColumn HeaderText="Task Name" AllowFiltering="false" Groupable="false" HeaderStyle-Width="50px" >   
<ItemTemplate>   
<asp:LinkButton ID="lnkTask" runat="server" CommandName="select"></asp:LinkButton>   
</ItemTemplate>   
<HeaderStyle Width="50px" />   
</telerik:GridTemplateColumn>   
<telerik:GridBoundColumn DataField="Task Name" HeaderText="TaskName" />   
<telerik:GridBoundColumn DataField="Description" HeaderText="TaskDescription"   
HeaderStyle-Width="80px" >   
<HeaderStyle Width="80px" />   
</telerik:GridBoundColumn>   
<telerik:GridTemplateColumn HeaderText="Phase" HeaderStyle-Width="50px" AllowFiltering="false" Groupable="false" >   
<ItemTemplate>   
<asp:Label ID="lblphase" runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"Phase") %>'></asp:Label> &nbsp;   
</ItemTemplate>   
<HeaderStyle Width="50px" />   
</telerik:GridTemplateColumn>   
<telerik:GridBoundColumn DataField="Project Name" HeaderText="Project"   
HeaderStyle-Width="50px" AllowFiltering="false" >   
<HeaderStyle Width="50px" />   
</telerik:GridBoundColumn>   
<telerik:GridBoundColumn DataField="AssignedBy" HeaderText="Assigned By"   
HeaderStyle-Width="75px" >   
<HeaderStyle Width="75px" />   
</telerik:GridBoundColumn>   
<telerik:GridBoundColumn DataField="Estimated Hours" HeaderText="ETA [Hrs]"   
HeaderStyle-Width="50px" >   
<HeaderStyle Width="50px" />   
</telerik:GridBoundColumn>   
<telerik:GridBoundColumn DataField="Date" HeaderText="Date" HeaderStyle-Width="75px" >   
<HeaderStyle Width="75px" />   
</telerik:GridBoundColumn>   
<telerik:GridBoundColumn DataField="Status" HeaderText="Status" HeaderStyle-Width="75px" >   
<HeaderStyle Width="75px" />   
</telerik:GridBoundColumn>   
<telerik:GridBoundColumn DataField="Approve Status" HeaderText="Approval Status"   
HeaderStyle-Width="75px" >   
<HeaderStyle Width="75px" />   
</telerik:GridBoundColumn>   
<telerik:GridTemplateColumn HeaderText="Approve" AllowFiltering="false" Groupable="false" HeaderStyle-Width="40px" >   
<ItemTemplate>   
<asp:ImageButton ID="imgbtnactivate" runat="server" ImageUrl="~/images/activate.gif" CommandName="Approve" OnClientClick="return confirm('Are you sure you want to approve this task?');"></asp:ImageButton>   
</ItemTemplate>   
<HeaderStyle Width="40px" />   
</telerik:GridTemplateColumn>   
<telerik:GridTemplateColumn HeaderText="Reject" AllowFiltering="false" Groupable="false" HeaderStyle-Width="30px" >   
<ItemTemplate>   
<asp:ImageButton ID="imgbtndeactivate" runat="server" ImageUrl="~/images/de-activate.gif" CommandName="Reject" OnClientClick="return confirm('Are you sure you want to reject this task?');"></asp:ImageButton>   
</ItemTemplate>   
<HeaderStyle Width="30px" />   
</telerik:GridTemplateColumn>   
<telerik:GridTemplateColumn HeaderText="Forward" AllowFiltering="false" Groupable="false" HeaderStyle-Width="40px">   
<ItemTemplate>   
<asp:ImageButton ID="imgforward" runat="server" ImageUrl="~/images/forward.gif" CommandName="Select1"></asp:ImageButton>   
</ItemTemplate>   
<HeaderStyle Width="40px" />   
</telerik:GridTemplateColumn>   
<telerik:GridBoundColumn DataField="ResourceID"/>   
<telerik:GridTemplateColumn HeaderText="Delete" AllowFiltering="false" Groupable="false" HeaderStyle-Width="30px">   
<ItemTemplate>   
<asp:ImageButton ID="imgdelete" runat="server" ImageUrl="~/images/delete-icon.gif" CommandName="deleteTask" OnClientClick="return confirm('Are you sure you want to delete the task?');"></asp:ImageButton>   
</ItemTemplate>   
<HeaderStyle Width="30px" />   
</telerik:GridTemplateColumn>   
</columns>   
</MasterTableView>   
<ClientSettings EnableRowHoverStyle="true">   
<Selecting AllowRowSelect="true" />   
<Scrolling EnableVirtualScrollPaging="True" UseStaticHeaders="True" />   
<Resizing AllowColumnResize="True" />   
</ClientSettings>   
<ClientSettings AllowDragToGroup="True" AllowExpandCollapse="true">   
<Scrolling EnableVirtualScrollPaging="True" UseStaticHeaders="True" />   
<Resizing AllowColumnResize="True" />   
</ClientSettings>   
<FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="Blue" />   
<PagerStyle Height="30px" HorizontalAlign="Center" Font-Bold="True"   
Font-Names="Arial" Font-Size="Smaller" />   
<HeaderStyle BorderStyle="None" Font-Bold="True"   
Height="30px" />   
</telerik:RadGrid>   
</ContentTemplate>   
</asp:UpdatePanel></td></tr>   
</table>   
</td>   
</tr></table>   
-------------------------------------------------------------------------------------   
here's the code for tooltip   
-------------------------------------   
protected void gviewTasks_ItemDataBound(object sender, GridItemEventArgs e)   
{   
int index;   
try   
{   
if (e.Item.ItemType == GridItemType.CommandItem )   
{   
index = e.Item.RowIndex + (gviewTasks.PageSize * gviewTasks.PageSize);   
for (int i = 0; i < e.Item.Cells.Count; i++)   
{   
if (dtTemp.Rows.Count > 0)   
{   
e.Item.Cells[0].ToolTip = dtTemp.Rows[index]["Resource Name_Org"].ToString();   
e.Item.Cells[2].ToolTip = dtTemp.Rows[index]["Task Name_Org"].ToString();   
e.Item.Cells[3].ToolTip = dtTemp.Rows[index]["Task Name_Org"].ToString();   
e.Item.Cells[4].ToolTip = dtTemp.Rows[index]["Description_Org"].ToString();   
e.Item.Cells[5].ToolTip = dtTemp.Rows[index]["Phase_Org"].ToString();   
e.Item.Cells[6].ToolTip = dtTemp.Rows[index]["Project Name_Org"].ToString();   
e.Item.Cells[7].ToolTip = dtTemp.Rows[index]["AssignedBy_org"].ToString();   
e.Item.Cells[8].ToolTip = dtTemp.Rows[index]["Estimated Hours_org"].ToString();   
e.Item.Cells[9].ToolTip = dtTemp.Rows[index]["Date_Org"].ToString();   
e.Item.Cells[10].ToolTip = dtTemp.Rows[index]["Status_Org"].ToString();   
e.Item.Cells[11].ToolTip = dtTemp.Rows[index]["Approve Status_Org"].ToString();   
}   
}   
}   
}   
catch (Exception ex)   
{   
}   
}  
 
Yavor
Telerik team
 answered on 07 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?