Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
59 views
Hi there,

We have an application that uses a custom skin. I'm working on updating the Telerik tools used by the app (again: Q2 2008 to Q2 2010 SP2) and am running into a huge issue with our custom skin. It appears that no skin is being applied to any of the controls. I review the Changes and backward compatibility doc but didn't find anything that jumped out as an obvious deal-breaker.

Any suggestions?

Thanks!

Steve
Dimo
Telerik team
 answered on 14 Oct 2010
2 answers
56 views
Hi all,

Is there any way to make an axis range go from 12 to 1 rather than 1 to 12? Or to rephrase display the max value to the min value and the axis items. 

kind regards,

Ash
Ashley
Top achievements
Rank 1
 answered on 14 Oct 2010
1 answer
139 views
Hi

I am new to MVC and to ASP. I have been playing around with the demo http://www.telerik.com/ClientsFiles/163438_schedulermvc.zip and seem exactly what I need to get started. I have changed it to default to weekview, I then click on monthview everything ok until I want to go back to weekview and nothing happens, any ideas?

James
Peter
Telerik team
 answered on 14 Oct 2010
1 answer
167 views
Hi,
I have separate date and time field in 2 fields at database table. I am bounding it under ItemTemplate of a GridTemplateColumn . It is showing fine but can not be filtered by any means.

<telerik:RadGrid ID="grdDiscussionList" Skin="WebBlue"
runat="server" GridLines="None"
AutoGenerateColumns="False"
AllowSorting="True"
AllowFilteringByColumn = "true"
AllowPaging="True" PageSize="10"
OnNeedDataSource="grdDiscussionList_NeedDataSource"
OnItemCommand="grdDiscussionList_ItemCommand"
OnItemDataBound="grdDiscussionList_ItemDataBound"
OnItemCreated="grdDiscussionList_ItemCreated">

<PagerStyle Mode="NextPrevAndNumeric"></PagerStyle>
<MasterTableView DataKeyNames="Discussion_Id" CommandItemDisplay="Top" EditMode="PopUp">
<CommandItemSettings ShowAddNewRecordButton="false"/>
<EditFormSettings PopUpSettings-Modal="true" />
<Columns>

<telerik:GridBoundColumn DataField="Discussion_Id" DataType="System.Int32"
HeaderText="Discussion Id" ReadOnly="True" SortExpression="Discussion_Id"
UniqueName="Discussion_Id" Visible="false" >
</telerik:GridBoundColumn>

………………………….

<telerik:GridTemplateColumn UniqueName="Discussion_Date" HeaderText="Discussion date"
SortExpression="Discussion_Date" ItemStyle-Width="100">
<ItemTemplate>
<%# showDiscussionDate(Container.DataItem) %>&nbsp;<%# showDiscussionTime(Container.DataItem) %>
</ItemTemplate>
</telerik:GridTemplateColumn>
…………………………………………………..
</Columns>
</MasterTableView>
<ClientSettings EnableRowHoverStyle="true"></ClientSettings>
</telerik:RadGrid>



public string showDiscussionDate(object dataItem)
{
string retDate = string.Empty;
string inDate = string.Empty;
inDate = DataBinder.Eval(dataItem, "discussion_date").ToString();
retDate = clsUtility.returnDateFormat(inDate);
return retDate;
}

public string showDiscussionTime(object dataItem)
{
string retTime = string.Empty;
string inTime = string.Empty;
inTime = DataBinder.Eval(dataItem, "Discussion_Time").ToString();
//retTime = clsUtility.returnTimeFormat(inTime);
retTime = inTime;
return retTime;
}

Any idea , how to resolve this problem?
Marin
Telerik team
 answered on 14 Oct 2010
1 answer
56 views
Hi,

How to define Radmaskedtextbox to allow any chaaracter by using mask.


Dimo
Telerik team
 answered on 14 Oct 2010
2 answers
80 views
Hi, I am using Foundation 2010 and have added a radgrid webpart to a full page webpart page. For some reason the web part zone is fixed at around 200 pixels height and consequently the grid is then rendered in a scrollable box with scroll bars on the right hand side.

I was under the impression that the web part should expand to contain the grid without using scroll bars.

I have tried setting the height in web part properties but all that does is set the height of the grid - the zone remains fixed size.

Can anybody help? Have I missed some config options on the zone?

Thanks

cw
chris
Top achievements
Rank 1
 answered on 14 Oct 2010
3 answers
112 views
hi All,
i am using hierarchical radgrid in my Application It is displaying proper records in hierarchical , in that grid i allow user to update Parent And Details(child) it is updating the my Parent Records well, but my problem is with details view when i click on update it is Updating that record , but it is showing that record in Edit mode even my edit command is successfully executed. i have attached my Problem jpeg file .
and i am using the following code to do this implementation

 
protected void RadGrid_AssignPlanner_UpdateCommand(object source, GridCommandEventArgs e)
    {
       GridEditableItem editedItem = e.Item as GridEditableItem;
 
            //Update Order By OpprtunityID
            RadComboBox rcbEmployee = editedItem.FindControl("rcbEmployee") as RadComboBox;
            Label lbl_OpportunityID = editedItem.FindControl("lbl_OpportunityID") as Label;
 
            if (rcbEmployee!=null)
                if (UIHelper.IsNumeric(rcbEmployee.SelectedValue))
                    EmployeeID = int.Parse(rcbEmployee.SelectedValue);
 
            if (lbl_OpportunityID!=null)
                if (UIHelper.IsNumeric(lbl_OpportunityID.Text))
                    OpprtunityID = int.Parse(lbl_OpportunityID.Text);
 
            if(EmployeeID>0 && OpprtunityID>0)
                UpdateOrderByOpprtunityID(OpprtunityID, EmployeeID);
 
 
            //Update Order By OrderID
            RadComboBox rcbOrderEmployee = editedItem.FindControl("rcbOrderEmployee") as RadComboBox;
            Label lbl_OrderID = editedItem.FindControl("lbl_OrderID") as Label;
             
            if (rcbOrderEmployee != null)
                if (UIHelper.IsNumeric(rcbOrderEmployee.SelectedValue))
                    EmployeeID = int.Parse(rcbOrderEmployee.SelectedValue);
 
            if (lbl_OrderID != null)
                if (UIHelper.IsNumeric(lbl_OrderID.Text))
                    OrderID = int.Parse(lbl_OrderID.Text);
 
            if (EmployeeID > 0 && OrderID > 0)
                UpdateOrderByOrderID(OrderID, EmployeeID);
 
            RadGrid_AssignPlanner.Rebind();
    }

the ASPX file code is

<telerik:RadGrid  ID="RadGrid_AssignPlanner" runat="server"
                        AllowMultiRowEdit="true"
                        AllowSorting="true" AllowAutomaticUpdates="true"
                        AllowPaging="true" PageSize="30"
                        AllowMultiRowSelection="true"
                        OnNeedDataSource="RadGrid_AssignPlanner_NeedDataSource"
                        OnItemCommand="RadGrid_AssignPlanner_ItemCommand"
                        OnItemDataBound="RadGrid_AssignPlanner_OnItemDataBound"
                        OnDetailTableDataBind="RadGrid_AssignPlanner_DetailTableDataBind"
                        OnUpdateCommand="RadGrid_AssignPlanner_UpdateCommand"
                        OnItemUpdated="RadGrid_AssignPlanner_ItemUpdated">
                         
            <MasterTableView DataKeyNames="OpportunityID" EditMode="inplace">
                <Columns>My Parent table columns </Columns>

<DetailTables>
            <telerik:GridTableView DataKeyNames="OrderId"  
                    ExpandCollapseColumn-ButtonType="PushButton" EditMode="InPlace" >
                <ParentTableRelation>
                    <telerik:GridRelationFields DetailKeyField="OpportunityID"
                            MasterKeyField="OpportunityID" />
                </ParentTableRelation>
                <Columns> Child table Column </Columns>

plz tell solution
Iana Tsolova
Telerik team
 answered on 14 Oct 2010
3 answers
58 views
Attached is just one example of styles being lost on your controls.  The attached example is a rad filter where styles are being lost in the dropdown of it.  I have had more controls do this exact same thing...panelbar,datepicker, datetimepicker.  I seriously need a solution for this!  It happens randomly on IE 8.  I know about the stylesheet limit, etc....is there a way to solve this?
FYI: I cannot send you a sample project of this, because it is way too big.
Thanks...
Sebastian
Telerik team
 answered on 14 Oct 2010
7 answers
138 views
Can someone please tell me how I can keep the RadFormDecorator in my web page so that buttons appear with the Office2007 skin, but I want to remove the Hover/Out states.  Currently the text and size of the button changes when I hover over a button, I do not want the button to change size or look like the text is changing size, I just want the button to be decorated like office2007 without it changing size on Hover/Out.
Andre Myburgh
Top achievements
Rank 1
 answered on 14 Oct 2010
7 answers
93 views
im trying to use the upload component in a hosted environment and im getting this error

[HttpException]: The file '/Telerik.RadUploadProgressHandler.ashx' does not exist.

anyone help ?
Genady Sergeev
Telerik team
 answered on 14 Oct 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?