Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
61 views
I am trying to create a folder system for files in a directory. Any way to populate nodes without any connection with a database? Also If i give it a directory is there any way to include the folders and the files inside of those folders?
Bozhidar
Telerik team
 answered on 14 Mar 2012
1 answer
90 views
i have a form decorater styling my createuserwizard control in one of the default skins.

however id like to override some of these style elements making things a big bigger and adding padding.

where would i go to do this?

is there a style sheet imported into my project ?
Bozhidar
Telerik team
 answered on 14 Mar 2012
2 answers
63 views
I'm pretty sure I have things hidden properly, but I still have some lines showing on the xaxis. Can you tell me how to hide them? You can see them here http://cnppid.intellicomweb.com/Graphs/McCounaughy_One-Year.aspx they are the lines right above the month labels
, they're right on the bottom of the x axis. This is what I have in my code

mychart.PlotArea.XAxis.Appearance.MajorGridLines.Visible = False
        mychart.PlotArea.XAxis.Appearance.MinorGridLines.Visible = False
Evgenia
Telerik team
 answered on 14 Mar 2012
1 answer
158 views
I'm trying to figure out if there is a way to repopulate the RadUpload control with files that were previously uploaded.  I have a message board where users can type a message and also attach files (using the Upload control) to the message.  Currently when a user uploads a file, the file is saved to a file share on the web server and I then save the path and file(s) name along with the message to a database.

What I would like to do is when the user try's to edit the post, I can pull back the message and files that were uploaded.  I would like to have the Edit form look just like the post form instead of having the user delete the files some other way (which is possible and probably easier) and populate the control with the names of the existing files.  I realize that this is not the purpose of this control but is there a way that I can do this?  And an extra option would be if then if they choose to delete a file i could capture that and remove the file? 
Bozhidar
Telerik team
 answered on 14 Mar 2012
15 answers
305 views
<asp:GridView ID="GridView1" runat="server"  DataKeyNames="TopicID"
        AutoGenerateColumns="False" ShowHeader="False" BorderStyle="None"
        GridLines="None" Width="100%" onrowcommand="GridView1_RowCommand">
<Columns>
<asp:TemplateField>
<ItemTemplate>
<telerik:radrating ID="RadRating1" Runat="server" Skin="Outlook"
SelectionMode="Single" ItemCount="5"  OnClientRating="OnClientRating" />
</ItemTemplate>
</asp:TemplateField>
</Columns>
    </asp:GridView>


What form of access to resources
John
Top achievements
Rank 1
 answered on 14 Mar 2012
12 answers
572 views
Hi,

I would like to create a listbox with radio button choice for each line.
It's a listbox of "capacity" and the radio buttons the level for each capacity.

For example :

listbox element :          radio buttons:
History                        good  bad middle
Mathematics               good  bad middle

Thanks for your help and sorry for my bad English :)

Caro
Top achievements
Rank 1
 answered on 14 Mar 2012
0 answers
305 views
protected void Application_PostReleaseRequestState(object sender, EventArgs e)
    {
        string contentType = Response.ContentType;
 
        if (contentType == "text/html" || contentType == "text/css" || contentType == "application/x-javascript" || contentType == "application/json")
        {
            Response.Cache.VaryByHeaders["Accept-Encoding"] = true;
            string acceptEncoding = Request.Headers["Accept-Encoding"];
 
            if (acceptEncoding != null)
            {
                if (acceptEncoding.Contains("gzip"))
                {
                    Response.Filter = new GZipStream(Response.Filter, CompressionMode.Compress);
                    Response.AppendHeader("Content-Encoding", "gzip");
                }
                else if (acceptEncoding.Contains("deflate"))
                {
                    Response.Filter = new DeflateStream(Response.Filter, CompressionMode.Compress);
                    Response.AppendHeader("Content-Encoding", "deflate");
                }
            }
        }
    }

I got this code in global.asax, i want gzip enabled, but not on iis level, but after this, radDateTimePicker is broken.
it still "works" but it has no style, pick button is repeated in strange way, and the title of hyperlink is shown instead of image button; Am i doing something wrong?
Zÿm
Top achievements
Rank 1
 asked on 14 Mar 2012
2 answers
66 views
Hi,

I have placed some extended HyperLink-Elements in my Grid and need them to perform a full page submit. But when I click on the links only the Grid refreshes. What do I need to do to get the expected behavior?
-
The Grid is created programatically and replaces a PlaceHolder element on the page.
Stefan
Top achievements
Rank 2
 answered on 14 Mar 2012
4 answers
90 views
I love the Telerik controls, and have decided to use them in a SharePoint 2007 project.

For the most part, they are working well, and functioning perfectly.

There are some issues however, and I'm wondering if anyone has come across this.  I've attached some screenshots.  The problem seems to be centered around textboxes.

Thanks for your time

I've included the markup for my textboxes and grid:

Grid
%@ Page Debug="true"
         Inherits="CCS.PageCode.Contacts, CCS, Version=1.0.0.0, Culture=neutral, PublicKeyToken=69b76c41ff52f857"
         meta:progid="SharePoint.WebPartPages.Document" %>
 
<%@ Assembly Name="Telerik.Web.UI, Version=2012.1.215.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" %>       
<%@ Assembly Name="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"  %>
<%@ Register Assembly="Telerik.Web.UI, Version=2012.1.215.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<%@ Register Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Namespace="System.Web.UI" TagPrefix="asp" %>
 
<asp:Content ContentPlaceHolderID="PlaceHolderPageTitle" runat="server">
    Contact Listing
</asp:Content>
 
<asp:Content ContentPlaceHolderID="PlaceHolderTitleBreadcrumb" runat="server">
    <a href="/">Westminster</a> > Contact Listing
</asp:Content>
 
<asp:Content ContentPlaceHolderID="PlaceHolderPageTitleInTitleArea" runat="server">
    Contact Listing
</asp:Content>
 
<asp:Content ContentPlaceHolderID="PlaceHolderAdditionalPageHead" runat="server">
</asp:Content>
 
<asp:Content ContentPlaceHolderID="PlaceHolderMain" runat="server">
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server" />
    <telerik:RadSkinManager ID="RadSkinManager1" runat="server" ShowChooser="false" Skin="Office2010Blue">
    </telerik:RadSkinManager>
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
            <AjaxSettings>
                <telerik:AjaxSetting AjaxControlID="RadGrid1">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="RadGrid1" LoadingPanelID="RadAjaxLoadingPanel1" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
            </AjaxSettings>
        </telerik:RadAjaxManager>
    <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Skin="Office2010Blue" />
    <telerik:RadGrid ID="RadGrid1" runat="server" EnableViewState="true" AllowFilteringByColumn="true"
        AllowSorting="true" AllowPaging="true" AllowCustomPaging="true" PageSize="15"
        AutoGenerateColumns="false" OnItemCreated="RadGrid1_ItemCreated" OnNeedDataSource="RadGrid1_NeedDataSource">
        <PagerStyle Mode="NextPrevAndNumeric" />
        <MasterTableView IsFilterItemExpanded="true">
            <Columns>
                <telerik:GridBoundColumn DataField="ID" HeaderText="Contact ID" />
                <telerik:GridHyperLinkColumn DataTextField="Name" HeaderText="Name" DataNavigateUrlFields="ID" UniqueName="Name"
                    DataNavigateUrlFormatString="~/_layouts/WCC/EditContact.aspx?ID={0}" DataType="System.String"
                    FilterControlWidth="100" />
                <telerik:GridBoundColumn DataField="Address" HeaderText="Address" FilterControlWidth="150" />
                <telerik:GridBoundColumn DataField="Postcode" HeaderText="Postcode" />
                <telerik:GridBoundColumn DataField="ContactIs" HeaderText="Contact Is" />
                <telerik:GridCheckBoxColumn DataField="Active" HeaderText="Active" />
            </Columns>
        </MasterTableView>
    </telerik:RadGrid>
</asp:Content>

TextBoxes
<%@ Page Debug="true"
         Inherits="CCS.PageCode.EditContact, CCS, Version=1.0.0.0, Culture=neutral, PublicKeyToken=69b76c41ff52f857"
         meta:progid="SharePoint.WebPartPages.Document" %>
 
<%@ Assembly Name="Telerik.Web.UI, Version=2012.1.215.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" %>       
<%@ Assembly Name="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"  %>
<%@ Register Assembly="Telerik.Web.UI, Version=2012.1.215.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<%@ Register Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Namespace="System.Web.UI" TagPrefix="asp" %>
 
<asp:Content ContentPlaceHolderID="PlaceHolderPageTitle" runat="server">
    Contact Listing
</asp:Content>
 
<asp:Content ContentPlaceHolderID="PlaceHolderTitleBreadcrumb" runat="server">
    <a href="/">Westminster</a> > <a href="/_layouts/WCC/Contacts.aspx">Contact Listing</a> > Editing Contact
</asp:Content>
 
<asp:Content ContentPlaceHolderID="PlaceHolderPageTitleInTitleArea" runat="server">
    Editing Contact: <asp:Label id="lblName" runat="server" />
</asp:Content>
 
<asp:Content ContentPlaceHolderID="PlaceHolderAdditionalPageHead" runat="server">
</asp:Content>
 
<asp:Content ContentPlaceHolderID="PlaceHolderMain" runat="server">
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server" />
    <telerik:RadSkinManager ID="RadSkinManager1" runat="server" ShowChooser="false" Skin="Office2010Blue">
    </telerik:RadSkinManager>
 
     
    <div class="ms-formbody">
    <table cellpadding="0" cellspacing="0">
        <tr>
            <td class="ms-formlabel">Title</td>
            <td><telerik:RadTextBox ID="txtTitle" runat="server" Width="200" Height="40"></telerik:RadTextBox></td>
        </tr>
        <tr>
            <td class="ms-formlabel">First Name</td>
            <td><telerik:RadTextBox ID="txtFirstName" runat="server"></telerik:RadTextBox></td>
        </tr>
        <tr>
            <td class="ms-formlabel">Surname *</td>
            <td><telerik:RadTextBox ID="txtSurname" runat="server"></telerik:RadTextBox></td>
        </tr>
        <tr>
            <td class="ms-formlabel">Salutation</td>
            <td><telerik:RadTextBox ID="txtSalutation" runat="server"></telerik:RadTextBox></td>
        </tr>
        <tr>
            <td class="ms-formlabel">Position</td>
            <td><telerik:RadTextBox ID="txtPosition" runat="server"></telerik:RadTextBox></td>
        </tr>
        <tr>
            <td class="ms-formlabel">Address 1</td>
            <td><telerik:RadTextBox ID="txtAddress1" runat="server"></telerik:RadTextBox></td>
        </tr>
        <tr>
            <td class="ms-formlabel">Address 2</td>
            <td><telerik:RadTextBox ID="txtAddress2" runat="server"></telerik:RadTextBox></td>
        </tr>
        <tr>
            <td class="ms-formlabel">Town / City</td>
            <td><telerik:RadTextBox ID="txtTown" runat="server"></telerik:RadTextBox></td>
        </tr>
        <tr>
            <td class="ms-formlabel">County</td>
            <td><telerik:RadTextBox ID="txtCounty" runat="server"></telerik:RadTextBox></td>
        </tr>
        <tr>
            <td class="ms-formlabel">Postcode</td>
            <td><telerik:RadTextBox ID="txtPostcode" runat="server"></telerik:RadTextBox></td>
        </tr>
        <tr>
            <td class="ms-formlabel">Work Telephone</td>
            <td><telerik:RadTextBox ID="txtWorkPhone" runat="server"></telerik:RadTextBox></td>
        </tr>
        <tr>
            <td class="ms-formlabel">Home Telephone</td>
            <td><telerik:RadTextBox ID="txtHomePhone" runat="server"></telerik:RadTextBox></td>
        </tr>
        <tr>
            <td class="ms-formlabel">Email Address</td>
            <td><telerik:RadTextBox ID="txtEmail" runat="server"></telerik:RadTextBox></td>
        </tr>
        <tr>
            <td class="ms-formlabel">Contact Is</td>
            <td><telerik:RadTextBox ID="txtContactIs" runat="server"></telerik:RadTextBox></td>
        </tr>
    </table>
     
    <telerik:RadButton ID="btnSave" runat="server" Text="Save" OnClick="btnSave_Click"></telerik:RadButton>
         
    </div>
</asp:Content>

Tsvetoslav
Telerik team
 answered on 14 Mar 2012
2 answers
126 views

Hello!

I have a GridView which paging with RadSlider. Also my GridView has pager. From my gridview i resolve paging using "OnPageIndexChanging". But when i checked CheckBoxes in my GridView and then sliding my slider, selected checkboxes are clearing.
is theere any way to persist checkboxes when paging with slider? 

using sql data source for binding data to my gridview and my slider markup is like this

<telerik:RadSlider runat="server" ID="RadSlider3" IsSelectionRangeEnabled="true"
    SelectionStart="0" SelectionEnd="5" SmallChange="0.01"  
    MinimumValue="0.01" MaximumValue="5.00"
    AutoPostBack="true" OnClientValueChanging="OnClientValueChanging3"
    OnClientSlideStart="OnClientSlideStart3" OnClientSlideEnd="OnClientSlideEnd3"
    ShowDecreaseHandle="false" ShowIncreaseHandle="false" EnableEmbeddedSkins="False"
    Skin="Custom" Height="60px" Width="220px" ThumbsInteractionMode="Push" 
    style="margin-left: 10px"     />



any help?

Regards
omer
Top achievements
Rank 1
 answered on 14 Mar 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?