Telerik Forums
UI for ASP.NET AJAX Forum
7 answers
262 views
Hi

Is it possible to remove spaces (replace them with underscores) from folder names when a user creates a new folder in the image upload dialog?

Thanks
Ianko
Telerik team
 answered on 07 Feb 2014
2 answers
115 views
hi,

In this link we can see that drag and drop an item from a listbox to one listbox. In example using "TransferToID" propert we can transfer an item one to one. Now, I have 3 listbox  which are names a,b,c. I want to transfer items from a to b and from a to c.

How can I do that?

Baris
Top achievements
Rank 1
 answered on 07 Feb 2014
1 answer
96 views
Version 2010.3.1317.20 (it's a .NET 2.0 site)

Protected Sub grdMaintReceived_ItemDataBound(sender As Object, e As Telerik.Web.UI.GridItemEventArgs) Handles grdMaintReceived.ItemDataBound
    If TypeOf e.Item Is GridDataItem Then
        Dim item As GridDataItem = DirectCast(e.Item, GridDataItem)
        Dim deactivated As Boolean = DirectCast(item("deactivated").FindControl("checkDeactivated"), CheckBox).Checked
        Dim contractBtn As LinkButton = DirectCast(item("service_provider_name").Controls(0), LinkButton)
        If deactivated Then
            contractBtn.Enabled = False
        End If
    End If
End Sub

This code removes the underline from the links but the user can mouse over the text, making the underline come back and click the button.  How can I stop this?
Princy
Top achievements
Rank 2
 answered on 07 Feb 2014
1 answer
167 views
I have a RadGrid which contains several GridBoundColumn. But no matter what I put in the filter template, It's just not showing!! I wonder how the filter template is triggered? AllowFilteringByColumn is already set as true for the whoke grid.

Please help me~~

        <telerik:GridBoundColumn UniqueName="topper" HeaderText="Global Client Company-test filter" DataField="topper" HeaderStyle-Width="300px">
        
        
        <FilterTemplate>
                            <asp:DropDownList ID="cbbDiscontinued" AutoPostBack="true" runat="server">
                    <asp:ListItem Text="All" Value="-1"></asp:ListItem>
                    <asp:ListItem Text="Active" Value="1"></asp:ListItem>
                    <asp:ListItem Text="Lock" Value="0"></asp:ListItem>
                </asp:DropDownList>
        </FilterTemplate>

        </telerik:GridBoundColumn>
Princy
Top achievements
Rank 2
 answered on 07 Feb 2014
4 answers
245 views
Hi,

I have a rad Grid in my page with "EnableHeaderContextMenu" set to true as well as "AllowColumnResize" set to true.
<Resizing ResizeGridOnColumnResize="false" AllowResizeToFit="true" AllowColumnResize="true"/>.
Prob:
When i remove some columns using headercontextmenu, the grid is getting resized an d i can see a white space at the end of grid, until a postback happens.
I tried setting "AllowColumnResize" to false, then it works fine. But i want both columns to be either resized or removed using header context menu. In both the cases grid should not be resized.
Farjana
Top achievements
Rank 1
 answered on 07 Feb 2014
1 answer
109 views
I'am using radMultipage. If I add the radpageviews at aspx like that
      

  

        <telerik:RadMultiPage ID="RadMultiPage1" Runat="server" OnPageViewCreated="RadMultiPage1_PageViewCreated">
                    <telerik:RadPageView ID="RadPageView1" runat="server" Height="159px" Width="163px">
                        <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
                        <asp:Button ID="Button1" runat="server" Text="Button" OnClick="Button1_Click"/>
                    </telerik:RadPageView>
        
                    <telerik:RadPageView
    
     ID="RadPageView2" runat="server" Height="159px" Width="163px">
                    <asp:Label ID="Label2" runat="server" Text="Label">
                    </asp:Label>
                    <asp:Button ID="Button2" runat="server" Text="Button" OnClick="Button2_Click" />
                </telerik:RadPageView>
            </telerik:RadMultiPage>

at code behind I use that 

    Label2.Text = "asdasdasas";


but it if I add the radpageviews at runtime like that

            Telerik.Web.UI.RadPageView dataSelectionPV = new Telerik.Web.UI.RadPageView();
            dataSelectionPV.ID = "dataSelectionPV";
            System.Web.UI.Control ctrl = Page.LoadControl("DevelopmentSample.ascx");
            dataSelectionPV.Controls.Add(ctrl);

            Telerik.Web.UI.RadPageView outOfTimeSamplePV = new Telerik.Web.UI.RadPageView();
            outOfTimeSamplePV.ID = "outOfTimeSamplePV";
            System.Web.UI.Control ctrl2 = Page.LoadControl("OutOfTimeSample.ascx");
            dataSelectionPV.Controls.Add(ctrl2);

I cant reach label2 at runtime at code behind. So ı cant write 

Label2.Text = "asdasdasas";


at runtime how can I reach items in pageview which adds to multipage dynamicly?
Shinu
Top achievements
Rank 2
 answered on 07 Feb 2014
7 answers
256 views

Hello All

When you select a column in RadGrid as "read only" it will be hidden in Edit and Insert mode, I have a requirement to show it, but I don’t know how to do this with Ajax RadGrid? If I put the EditMode="InPlace"  

It appear as label which is good but I wanted to use the EditMode="EditForms"

It I Use this it disappears, Can someone please update me how to resolve this issue. I don’t not want to use template column that will increase huge work on my end

Thanks in advance

Syed Qazafi

Princy
Top achievements
Rank 2
 answered on 07 Feb 2014
6 answers
539 views
Hi ,
I want to make RadGrid Responsive to screen  size.
For Eg:
If I am opening RadGrid in Resolution 1024*786
Then
PageSize=10 and height=360px


If I am opening RadGrid in Resolution 1920*1080
Then
PageSize=15 and height=500px

So that user using bigger resolution monitor can see more data in single page without scroll.

Obvious user can change the page size from the dropdown later from UI to see more records.


Kindly please suggest how to achieve this requirement
Jayesh Goyani
Top achievements
Rank 2
 answered on 07 Feb 2014
2 answers
100 views
I have 2 radcombobox in the GridTemplateColumn, is it possible that when I choose an item in combox #1, it will cause combox#2 to refresh with a new set of data?  I don't care if I accomplish this from serverside or clientside coding.

Thanks!
Princy
Top achievements
Rank 2
 answered on 07 Feb 2014
5 answers
194 views
Can we make in the The Rad File Explorer show small thumbs of the images in the file list?
Shinu
Top achievements
Rank 2
 answered on 07 Feb 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?