Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
675 views
Hi. I tried to change the Font Family / Font Names of items in RadComboBox, its not working for me. I applied css too.

<style type="text/css">
.RadComboBox_Vista .rcbInputCell .rcbInput, .RadComboBoxDropDown_Vista
        {
            font-family: Verdana !important;
        }
</style>
 
<telerik:RadComboBox ID="ddlCultureCode" runat="server"  OnSelectedIndexChanged="ddlCultureCode_SelectedIndexChanged" AutoPostBack="true" EnableViewState="true"> </telerik:RadComboBox>

Can any one suggest me, how to implement & achieve it.
Thanks in advance.
Merin
Top achievements
Rank 1
 answered on 23 Aug 2013
2 answers
170 views

Hello,

 have set "ShowFilterIcon=true" and "AllowFiltering=false"  in RadGrid for that Column but some filter function working good and some not working.

when i select the option filter function " CONTAINS,STARTSWITH,.... " i have not events .... ,  when i choose "NOFILTER,ISEMPTY,NOTISEMPTY,ISNULL..."  my grid is filtered....

<telerik:GridBoundColumn
              DataField="MATNR" HeaderText="Article" UniqueName="MATNR" HeaderStyle-Width="5%"
              AutoPostBackOnFilter="false"
              ShowFilterIcon ="true"
              AllowFiltering="true">
 
</telerik:GridBoundColumn>




Public void RadGrid3_ItemDataBound(object sender,GridItemEventArgs e)
{
 
 
if (e.Item is GridFilteringItem filterItem)
{
         GridFilteringItem filterItem = (GridFilteringItem)e.Item;
         filterItem["TemplateDetailsColumn"].ColumnSpan = 2;
         filterItem["EBELP2"].Visible = false;
                   
 }
  
}


When i try to set invisible the filterItem["EBELP2"], the radgrid filter menu not working.



Please could you help me,
Thanks in Advance..!




Spdev
Top achievements
Rank 1
 answered on 23 Aug 2013
5 answers
221 views

I use RadMenu as part of the “Header” Custom control. “Header” is used on all pages of the project (MS Visual studio 2008). Menu works on my machine on localhost. I can see Items on mouseover. But after I compile and move project to the Team Foundation Server mouseover action doesn’t work. I can only see top menu.


Thank you,
Inna
Kate
Telerik team
 answered on 23 Aug 2013
1 answer
147 views
there are several tabstrip in my aspx page, when use click on the tab, it will redirect to another aspx.

example
Parent.aspx
- RabTab1 (page1.aspx)
- RabTab2 (page2.aspx)

how can i close the whole window (parent.aspx) when user already click RadTab2 and enter into (page2.aspx) ?

 

 

 

 

<head runat="server">
    <title>Position Details</title>
    <script type="text/javascript">
        function UpdateRefresh() {
            if (window.opener)
                window.opener.UpdateRefresh();
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
    </telerik:RadScriptManager>
    <telerik:RadSplitter ID="RadSplitter1" runat="server" Width="100%" Height="100%" Orientation="Horizontal">
        <telerik:RadPane ID="rpTitle" runat="server" BackColor="#003399" Height="27px" MinHeight="27" MaxHeight="27" Width="100%" Scrolling=None>
            <asp:Table ID="Table1" runat="server" Width="100%" Height="100%">
            <asp:TableRow>
            <asp:TableCell Width="33%">
                <asp:Label ID="lblPositionCode" runat="server" Text="" ForeColor="White" Font-Size="12pt" Font-Bold="true"></asp:Label>
            </asp:TableCell>
            <asp:TableCell Width="33%" HorizontalAlign="Center">
                <asp:Label ID="lblPositionName" runat="server" Text="" ForeColor="White" Font-Size="12pt" Font-Bold="true"></asp:Label></asp:TableCell>
            <asp:TableCell Width="34%" HorizontalAlign="Right">
                <asp:Label ID="lblDepartment" runat="server" Text="" ForeColor="#FFCC00" Font-Size="12pt" Font-Bold="true"></asp:Label>
            </asp:TableCell>
            </asp:TableRow>
            </asp:Table>
        </telerik:RadPane>
        <telerik:RadPane ID="rpTab" runat="server" Height="26px" MinHeight="26" MaxHeight="26" Width="100%">
            <telerik:RadTabStrip ID="rtMenu" runat="server" Skin="Outlook" 
                SelectedIndex="0">
            <Tabs>
                <telerik:RadTab Text="History" Value="History" Selected="True" Width="100px"></telerik:RadTab>
                <telerik:RadTab Text="Details" Value="Details" Width="100px"></telerik:RadTab>
                <telerik:RadTab Text="Compliance" Value="Compliance" Width="100px"></telerik:RadTab>
                <telerik:RadTab Text="Competency" Value="Competency" Width="100px"></telerik:RadTab>
                <telerik:RadTab Text="Procedure" Value="Procedure" Width="100px"></telerik:RadTab>
                <telerik:RadTab Text="Succession" Value="Succession" Width="100px"></telerik:RadTab>
            </Tabs>
            </telerik:RadTabStrip>
        </telerik:RadPane>
        <telerik:RadPane ID="rpContent" runat="server">
        </telerik:RadPane>
    </telerik:RadSplitter>
    </form>
</body>
</html>

Code behind:

 


Protected Sub rtMenu_TabClick(ByVal sender As Object, ByVal e As Telerik.Web.UI.RadTabStripEventArgs) Handles rtMenu.TabClick
    If e.Tab.Value = "History" Then
        rpContent.ContentUrl = "PositionHistory.aspx?PosID=" & Request("PosID")
    ElseIf e.Tab.Value = "Details" Then
        rpContent.ContentUrl = "PositionInfo.aspx?PosID=" & Request("PosID")
    ElseIf e.Tab.Value = "Succession" Then
        rpContent.ContentUrl = "SuccessionPlanning.aspx?PosID=" & Request("PosID")
    ElseIf e.Tab.Value = "Compliance" Then
        rpContent.ContentUrl = "Compliance.aspx?PosID=" & Request("PosID")
    ElseIf e.Tab.Value = "Competency" Then
        rpContent.ContentUrl = "Competency.aspx?PosID=" & Request("PosID")
    ElseIf e.Tab.Value = "Procedure" Then
        rpContent.ContentUrl = "Procedure.aspx?PosID=" & Request("PosID")
    End If
End Sub

i had tried to add the following function in child page code behind, but none of them work

'auto close browser 
Response.Write("<script type='text/javascript'> " & "window.opener = 'Self';" & "window.open('','_parent','');" & "window.close(); " & "</script>") 
    
Me.ClientScript.RegisterClientScriptBlock(Me.[GetType](), "Close", "window.close()", True) 
    
Page.ClientScript.RegisterOnSubmitStatement(GetType(Page), "closePage", "window.onunload = CloseWindow();") 
    
Response.Write("<script type='text/javascript'> " & "window.opener = 'Self';" & "window.open('','_parent','');" & "window.close(); " & "</script>") 
    
Page.ClientScriptManager.RegisterClientScriptBlock(Me.[GetType](), "RedirectScript", "window.parent.location = '../Images/Logo_Done.jpg'", True) 
                    
Page.ClientScript.RegisterStartupScript([GetType](), "Load", "<script type='text/javascript'>window.parent.location.href = '../Images/Logo_Done.jpg'; </script>")
Dimitar Terziev
Telerik team
 answered on 23 Aug 2013
2 answers
44 views
Hi,

I am creating a custom skin at the moment and i am running into the following issue:

I already skinned the Tabstrip control, and the RadWindow ( partially ).
But when i open a RadWindow that contains a TabStrip my custom skin css are not included in the iframe that is rendered by the radwindow leaving it 'unstyled'

I Attached a simple sample that shows my issue. To launch a RadWindow, press the hyperlink button in the editor.

Marin Bratanov
Telerik team
 answered on 23 Aug 2013
5 answers
194 views
My DataLabelsColumn has labels which are lengthy and I would like to wrap them on the XAxis but in RadChart I am not able to do so. How to achieve this functinality?
Peshito
Telerik team
 answered on 23 Aug 2013
7 answers
268 views
Dear Team,

We are facing an issue to set the MinutesPerRow to 15 mins. Work days starts at 8.30 morning and ends at 16.45 evening.
If I set the MinutesPerRow to 15, the whole time slot will be 30 mins (15+15) because there are two Rows in a 1 time slots.

Could you please advise how to set the time with current two rows or how to reduce the Rows per time slot.

Note- Im using a Day View,

 <telerik:RadScheduler ID="RadScheduler1" runat="server" AllowInsert="true" Skin="Simple"<br>                DataKeyField="ID" DataSubjectField="Subject" DataStartField="Startdate" DataEndField="Enddate"<br>                AppointmentStyleMode="Auto" EnableAdvancedForm="false" OnAppointmentInsert="RadScheduler1_AppointmentInsert"<br>                MinutesPerRow="15" NumberOfHoveredRows="1" AllowDelete="false" AllowEdit="false" DayStartTime="08:15:00"<br>                BackColor="#4D4D4F" DayEndTime="17:00:00" EnableDatePicker="false" Localization-Show24Hours=""<br>                ShowHeader="true" ShowViewTabs="false" ShowNavigationPane="false" ShowFooter="false"<br>                OnLoad="RadScheduler1_Load" OnAppointmentDataBound="RadScheduler1_AppointmentDataBound"<br>                DayView-WorkDayStartTime="08:15:00" DayView-DayEndTime="17:00:00" ShowAllDayRow="false"<br>                Height="700px" OnTimeSlotCreated="RadScheduler1_TimeSlotCreated" HoursPanelTimeFormat="hh:mm"<br>                OnFormCreated="RadScheduler1_FormCreated"></telerik:RadScheduler>
Plamen
Telerik team
 answered on 23 Aug 2013
5 answers
209 views
Hi

I am trying to use the RadMaskedTextBox for the first time and have hit an issue. Where is the MaskType property?

RadMaskedTextBox m1 = new RadMaskedTextBox();
m1.ID = ID;
m1.Mask = "d";
//m1.MaskType  << No such property
c2.Controls.Add(m1);

(where c2 is a TableCell() control)

Yet it is clearly documented on this page as a property of the RadMaskedTextBox

http://www.telerik.com/help/wpf/radmaskedtextbox-features-numeric-mask.html

Here is a sample of the code from that page.
<telerik:RadMaskedTextBox MaskType="Numeric" Mask="d" Value="111.234" Margin="0,5,0,10" />

How do I set the MaskType on a dynamically created RadMaskedTextbox?

Note: I tried this

m1.Attributes.Add("MaskType", "Numeric");

Ugly and heavy handed way to do something that should be a property of the control. Does not work however.

To make matters worse, the textbox that gets written to the page has the letter 'd' in it, AND it cannot be edited..

The textbox input is disabled.

What's going on?

How do I add a dynamically created RadMaskedTextBox to a page, set it's MaskType property and have a functioning textbox once the page loads?








satish
Top achievements
Rank 1
 answered on 23 Aug 2013
3 answers
407 views
I posted my question as a reply by mistake (I am new here!!!)
I would be grateful if you guys could go over there and answer it?  Thanks!
http://www.telerik.com/community/forums/aspnet-ajax/grid/radgrid-add-new-record.aspx#2756269

Jayesh Goyani
Top achievements
Rank 2
 answered on 23 Aug 2013
7 answers
806 views
I've got a grid bound to an ObjectDataSource. It has one boolean column and I'd like for the grid to be filtered on this column when the page loads.

I've tried using the FilterExpression both declaratively and in code on the page_load event, but neither works. I keep getting an error that says Expression expected. I've also tried using the NeedsDataSource event to bind the grid's datasource instead of an ObjectDataSource control but the filter expression still gives me the same error.

I'm not sure what the problem is. My expression is as follows:
([Submitted] = False)

FYI: My ObjectDataSource method returns a datatable rather than a .net collection.
Rayne
Top achievements
Rank 1
 answered on 22 Aug 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?