Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
40 views
Hi,
I want some text to be displayed at the end of exported file. How to get this?
Princy
Top achievements
Rank 2
 answered on 02 Dec 2013
1 answer
60 views
Hi,
How can i make a textbox show empty text in editmode if the column value is empty for that row and on focusing the textbox the empty text should dissapear
Shinu
Top achievements
Rank 2
 answered on 02 Dec 2013
5 answers
791 views
Hi

In sharepoint 2010 I have a webpart with an AsyncUpload.

If I upload a file  on a local folder everything is fine, If I try to upload on a shared folder on another server I get: "Access to the path is denied".

The application pool user under the site is running has access to that folder as well as the domain user logged in to the sharepoint. I added even "everybody" with Read/Write permission on that shared folder and still the same error.

The users are all Active Directory authenticated.
I added all the AD users under the SharePoint is running and still the same error.

Under what user .SaveAs(path) is running because for sure is not the same user as the one returned by "System.Security.Principal.WindowsIdentity.GetCurrent().Name"?

Any thoughts what permission should I add to the shared folder ?

Regards,
Hans
Plamen
Telerik team
 answered on 02 Dec 2013
1 answer
111 views
Hi,

I have one grid where im using a in cell batch edit mode, but in the page i have more 3 controls, 2 buttons and 1 RadMonthYearPicker, i need prevent any post of this controls if has any pending changes on grid....

in attachment my print screen.


Konstantin Dikov
Telerik team
 answered on 02 Dec 2013
2 answers
64 views
Hi
How to customize the page size text ? 
Ryann
Top achievements
Rank 1
 answered on 02 Dec 2013
1 answer
6.9K+ views
Good morning !

We are using a treeview for our Web Application.

This treeview is created from SQL requests.
On first load, I only load "visible" nodes (treeview is not expanded by default).

For example I load 3500 nodes (objects). And when the user expands a node, I call a new SQL request in order to display childs...
The matter is that sometimes, SQL request are a little important, and after around 1 minute the treeview timeout !

I have this error : Sys.WebForms.PageRequestManagerTimeoutException: The server request timed out.

Here is the definition of the treeview :
<telerik:RadTreeView ID="radTreeView" runat="server" CheckBoxes="True" CheckChildNodes="True"
                                Height="200px" MultipleSelect="True" OnNodeCheck="radTreeView_NodeCheck" OnNodeExpand="radTreeView_NodeExpand"
                                OnPreRender="radTreeView_PreRender" Skin="WebBlue" TriStateCheckBoxes="True" OnNodeClick="radTreeView_NodeClick"
                                Width="100%" meta:resourcekey="radTreeViewResource1">
                            </telerik:RadTreeView>

Can you please tell me how to avoid this timeout ?

Thanks and have a good day
Sunil
Top achievements
Rank 1
 answered on 02 Dec 2013
1 answer
52 views
Our users are reporting an issue with the RadEditor that I was able to recreate. Here's what happens:

1. The user adds a link to a word/phrase.
2. The user opts for Target - New.
3. The user then adds a link to a word/phrase elsewhere in the text. The dialogue box states that the Target is set to Target new, but when you view the URL, the target code is not added to the link.

I viewed this issue in FF. Is this a known issue and is there is a fix for this on the horizon.

Thanks,

Matt
Ianko
Telerik team
 answered on 02 Dec 2013
1 answer
76 views
Hi,
How to customize the footer aggregate texts.?
Shinu
Top achievements
Rank 2
 answered on 02 Dec 2013
1 answer
165 views
Good Day Below is my RadGrid with a template column as date. The catch is that the date being bounded in the template is in long format. Therefore I convert it's value(as you can see on the DocDateLong). 

The problem is how can I handle the filter value. The input in the Filter textbox should be in date format and I will just convert it in integer. After the filter/rebind executes I will convert the integer back to it's date format input in the filter textbox.

<telerik:RadGrid ID="RadGrid1" runat="server" AllowFilteringByColumn="True" AllowPaging="true"
                            AllowRowResize="False" AllowSorting="True" BorderStyle="None" GridLines="None"
                            PageSize="10" ShowFooter="False" ShowGroupPanel="false" Skin="WebBlue" Visible="False"
                            Width="100%">
                            <ClientSettings AllowDragToGroup="true" EnablePostBackOnRowClick="true" EnableRowHoverStyle="true">
                                <Selecting AllowRowSelect="True" />
                                <ClientEvents OnRowSelected="RowSelected2" />
                            </ClientSettings>
                            <MasterTableView AutoGenerateColumns="False" ClientDataKeyNames="Code" CommandItemDisplay="Top"
                                EnableHeaderContextMenu="True" Width="100%">
                                <%--          <CommandItemSettings ExportToPdfText="Export to PDF" />--%><CommandItemTemplate>
                                    <div align="left">
                                        <asp:Button ID="Button1" runat="server" CommandName="SaveSettings" Text="Save GridView Settings" /><asp:Button
                                            ID="Button2" runat="server" CommandName="DefaultSettings" Text="Restore Default Settings" /></div>
                                </CommandItemTemplate>
                                <RowIndicatorColumn FilterControlAltText="Filter RowIndicator column" Visible="True">
                                </RowIndicatorColumn>
                                <ExpandCollapseColumn FilterControlAltText="Filter ExpandColumn column" Visible="True">
                                </ExpandCollapseColumn>
                                <Columns>
                                    <telerik:GridTemplateColumn AllowFiltering="False" CurrentFilterFunction="Custom"
                                        DataField="" DefaultInsertValue="" Groupable="true" HeaderText="" ReadOnly="True"
                                        SortExpression="" UniqueName="">
                                        <ItemTemplate>
                                        </ItemTemplate>
                                    </telerik:GridTemplateColumn>
                                    <telerik:GridBoundColumn DataField="DecisionNo" DefaultInsertValue="" HeaderText="Decision No"
                                        SortExpression="DecisionNo" UniqueName="DecisionNo">
                                    </telerik:GridBoundColumn>
                                    <telerik:GridBoundColumn DataField="Subject" DefaultInsertValue="" HeaderText="Subject"
                                        SortExpression="Subject" UniqueName="Subject">
                                        <%--         <HeaderStyle Width="600" />--%></telerik:GridBoundColumn>
                                    <telerik:GridTemplateColumn DataField="DocDateLong" DefaultInsertValue="" FilterControlAltText="Filter date column"
                                        Groupable="false" HeaderText="Document Date" ReadOnly="True" SortExpression=""
                                        UniqueName="DocDateLong">
                                        <ItemTemplate>
                                            <asp:Label ID="lblDate" runat="server" Text='<%#Convert.ToDateTime("1900-01-01").AddDays(Convert.ToInt32(Eval("DocDateLong"))).ToString("MMMM dd, yyyy")%>'></asp:Label><%--                      <asp:Label ID="lblBday" runat="server" Text='<%# Eval("Birthdate","{0:MM/dd/yyyy}")%>'></asp:Label>--%></ItemTemplate>
                                    </telerik:GridTemplateColumn>
                                  
                                </Columns>
                                <EditFormSettings>
                                    <EditColumn FilterControlAltText="Filter EditCommandColumn column">
                                    </EditColumn>
                                </EditFormSettings>
                            </MasterTableView><ClientSettings AllowColumnsReorder="True" AllowDragToGroup="True">
                                <Resizing AllowColumnResize="true" />
                            </ClientSettings>
                            <PagerStyle Mode="NextPrevNumericAndAdvanced" />
                            <FilterMenu EnableImageSprites="False">
                            </FilterMenu>
                        </telerik:RadGrid>


Viktor Tachev
Telerik team
 answered on 02 Dec 2013
3 answers
119 views
Hi, I'm using raddatapager for my radlistview, the paging function works fine and filter functions works fine, as long as you don't use them at the same time. but all the paging function stops working after filterexpression gets call, here is source code:
aspx:
<telerik:RadListView ID="RadListView1" runat="server" ItemPlaceholderID="ItemContainer"
    AllowPaging="True" DataSourceID="LinqDataSource1"
    OnDataBound="RadListView1_DataBound">
    <LayoutTemplate>
        <asp:PlaceHolder ID="ItemContainer" runat="server" />
        <div class="test">
            <telerik:RadDataPager ID="RadDataPager1" runat="server" PagedControlID="RadListView1"
                EnableEmbeddedBaseStylesheet="false" PageSize="15" BackColor="#EEF5FB" BorderWidth="0"
                EnableEmbeddedSkins="false" EnableTheming="false" CssClass="pp">
                <Fields>
                    <telerik:RadDataPagerButtonField FieldType="Prev" />
                    <telerik:RadDataPagerButtonField FieldType="Next" />
                    <telerik:RadDataPagerTemplatePageField>
                        <PagerTemplate>
                            <asp:Button runat="server" ID="previousButton" CommandName="Page" CommandArgument="Previous"
                                Text="Previous" CssClass="PagerButton NextPage previousArrow" />
                        </PagerTemplate>
                    </telerik:RadDataPagerTemplatePageField>
                    <telerik:RadDataPagerButtonField FieldType="Numeric" />
                    <telerik:RadDataPagerTemplatePageField>
                        <PagerTemplate>
                            <asp:Button runat="server" ID="nextButton" CommandName="Page" CommandArgument="Next"
                                Text="Next" CssClass="PagerButton NextPage linkArrow" />
                        </PagerTemplate>
                    </telerik:RadDataPagerTemplatePageField>
                </Fields>
            </telerik:RadDataPager>
        </div>
    </LayoutTemplate>
    <ItemTemplate>

                <div class="resourceItemHeader">
                    <asp:HyperLink ID="HeaderLink" runat="server" Target="_blank" Text='<%#Eval("Name") %>'
                        NavigateUrl='<%#Eval("Url") %>'></asp:HyperLink>
                </div>
 
    </ItemTemplate>
</telerik:RadListView>
<asp:LinqDataSource ID="LinqDataSource1" runat="server" ContextTypeName="MHBCore.Data.MHBCoreDataContext"
    EntityTypeName="" TableName="ViewResourceItemJoinCategory">
</asp:LinqDataSource>

aspx.cs
    public int TypeId { get; set; }
    public int TopicId { get; set; }
    public int ExamId { get; set; }
    public string SearchKey { get; set; }
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            RadListView1.CurrentPageIndex = 0;
            Load();
        }
    }

    public void Load()
    {
        RadListView1.FilterExpressions.Clear();
        if (TypeId > 0)
            RadListView1.FilterExpressions.Add(new RadListViewEqualToFilterExpression<int>("ResourceTypeId") { CurrentValue = TypeId });

        if (TopicId > 0)
            RadListView1.FilterExpressions.Add(new RadListViewEqualToFilterExpression<int>("TopicId") { CurrentValue = TopicId });

        if (ExamId > 0)
            RadListView1.FilterExpressions.Add(new RadListViewEqualToFilterExpression<int>("CategoryId") { CurrentValue = ExamId });

        if (!string.IsNullOrWhiteSpace(SearchKey))
            RadListView1.FilterExpressions.BuildExpression(expression => expression.Contains("Name", SearchKey).Or().Contains("TopicName", SearchKey).Or().Contains("Description", SearchKey));
        else
            RadListView1.FilterExpressions.BuildExpression();
        
        RadListView1.Rebind();

        RadListView1.FindControl("RadDataPager1").Visible = RadListView1.PageCount > 1;

    }

I got an javascript error, after I clicked "next" button:
Error: Sys.WebForms.PageRequestManagerServerErrorException: Identifier expected
Source File: http://localhost:90/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_Header1_RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d4.0.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3ac9d03845-da3c-45e9-ab05-79ee502af576%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2010.2.826.40%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3ad48d12ba-bfe2-4fcc-856e-a7c7557f0453%3a16e4e7cd%3addbfcb67%3a4a0008d8
Line: 15
Maria Ilieva
Telerik team
 answered on 02 Dec 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?