Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
81 views
Hi pals,

     I have a database with these fields: id, title, description, date. This table is named "project". I want to display the details of each project in a separate tab. I bound the table to the TabStrip via SqlDataSource and it creates a new tab for each project (the "title" of project is the title of each tab). Now I want to show the fields "description" and "date" of every project in MultiPage, but I don't know how to do so. I was wondering if you'd mind helping me with this problem.

<telerik:RadTabStrip ID="RadTabStrip1" runat="server"
            MultiPageID="RadMultiPage1" SelectedIndex="1" Skin="BlackMetroTouch"
            DataSourceID="SqlDataSource1" DataFieldID="id" DataTextField="title">
        </telerik:RadTabStrip>
I know the following code is wrong, but help me to correct it
<telerik:RadMultiPage ID="RadMultiPage1" runat="server">
            <telerik:RadPageView ID="<%#Eval("title") %>" runat="server">
            </telerik:RadPageView>
        </telerik:RadMultiPage>
Benglish
Top achievements
Rank 1
 asked on 23 Aug 2013
2 answers
94 views

This is a bit of a weird one!

We have an MVC application that, at certain points (when the user opts to edit a paragraph), adds an iframe to the DOM. The src of this iframe points at an aspx page that contains the RADEditor. Once content has been edited and the user clicks the save button, we suck out the content, dump the iframe and replace a whole bunch of client HTML from a server call.

Once the HTML has been reloaded in the DOM after the RAD editor has done its business, we’re currently seeing what looks like a massive flashing cursor on the screen (a huge black rectangle). It blinks on and off, uses up maybe 75% of the screen (vertically) and reverses all the colours behind it (white becomes black, black becomes white etc)!

I know this is a bit of a random one, but .. any ideas? Has anyone seen anything similar?

Matt
Top achievements
Rank 1
 answered on 23 Aug 2013
1 answer
283 views

Is it somehow possible to make a orderby with more then one attribute ? I dont want to to something in the code behind if this is possible I would like to do it in the EntityDataSource

What I have tried :

<asp:EntityDataSource ID="dsDossier" runat="server" ConnectionString="name=zevtestEntities" Include="BU,LBU,ZevUser" DefaultContainerName="zevtestEntities" EnableFlattening="False" EntitySetName="Dossier" OrderBy="it.BU.Code  , it.LBU.Code DESC "></asp:EntityDataSource>

But somehow this is not working why so ever

Thanks for help and fast answer

Antonio Stoilkov
Telerik team
 answered on 23 Aug 2013
1 answer
118 views
Hi All,

I have placed RadAsyncUpload control inside EditTemplate. While editing control is showing. It is happening only when Ajax is enabled in RadAjaxManager. Is there any specific setting for Ajax? The same issue is also coming in RadGrid.
Eyup
Telerik team
 answered on 23 Aug 2013
5 answers
694 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
186 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
233 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
165 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
57 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
215 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?