Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
317 views
Hey, 


   I set my TemporaryFolder to a temporary folder where the DefaultAppPool has read and write access.  One of my RadAsyncUploadControls uses an httphandler to save files to this folder using the base.Process() method. There is no problem with this.

   I have another AsyncUpload control which I'm trying to Save the file to this temporary folder using the SaveAs method.  When I execute the SaveAs method, it successfully saves this file into the temp folder with a random string appended to it as it should, then throws an access denied error.  This doesn't make much sense to me, since it successfully saved the file already in its entirety.  Any ideas why this is happening?
Peter Milchev
Telerik team
 answered on 20 Apr 2017
1 answer
157 views

I have updated Telerik to the newest version (2017.1.228.40) and now the skin (Windows7) of the RadProgressBar seems broken (see attachement).

Code:

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="ProgressBar.Default" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
 
<!DOCTYPE html>
 
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <telerik:RadScriptManager ID="radScriptManager" runat="server" />
        <div>
            ProgressBar with default skin
            <telerik:RadProgressBar ID="radProgressBar1" runat="server" BarType="Percent" Value="65" /><br /><br />
 
            ProgressBar with Windows7 skin
            <telerik:RadProgressBar ID="radProgressBar2" runat="server" BarType="Percent" Value="65" Skin="Windows7" /><br /><br />
 
            Button with Windows7 skin
            <telerik:RadButton ID="radButton" runat="server" Text="Button with Windows7 skin" Skin="Windows7" />
        </div>
    </form>
</body>
</html>

 

Marin Bratanov
Telerik team
 answered on 20 Apr 2017
0 answers
127 views

Hi, I have a RadTreeView with dynamic levels and checkable nodes based on conditions. Some levels may have some checkable nodes or all checkable nodes.

I use the OnClientNodeChecked event to keep the ID of the checked nodes in a hidden field for later use and to update a checked node counter.

If and only if the user shift + click on a checkbox then all the checkable child nodes should be checked.(or unchecked).

To achieve this, I intended to use the shiftKey event from the eventsArgs of the OnClientNodeChecked event handler but I noticed it is undefined. I also noticed that many events are undefined such as the altKey and the ctrlKey events.

 

Is there a way to get the shiftKey status in the OnClientNodeChecked event handler?

Answered in http://www.telerik.com/forums/radtreeview-compatibility-issues-with-ie-11

Gonzalo
Top achievements
Rank 1
 asked on 20 Apr 2017
0 answers
282 views

Hello,

Sometime the calendar unable to display last day of weak in month view and appointment is also shrink(find screenshot "error.png"). after refreshing the page again and again its working fine(screenshot "working fine.png").

How do I Solve it...

Thanks,

Rachit

Rachit
Top achievements
Rank 1
 asked on 20 Apr 2017
3 answers
200 views

Hi

I have exported an aspx page just fine but the output file is too big.

Is there a way to scale down the size (width) of the export pdf?

I'm looking at this example and there's no property in pdfSetting for paper scale

http://docs.telerik.com/devtools/aspnet-ajax/controls/clientexportmanager/client-side-programming/overview

 

 

Thanks,

 

Khrizz

Ivan Danchev
Telerik team
 answered on 20 Apr 2017
0 answers
80 views

hi all,

i am using Telerik Reporting to display QR Barcode to user. i am not able to include Tab in between the data.

 

how include tab in between data in QR Barcode.

QR barcode settings in attached file.

Raj
Top achievements
Rank 1
 asked on 20 Apr 2017
0 answers
80 views

Hi Experts,

I want to bind data to linkbutton or show column inside Grid only only when data is coming from database .

My code as follows:-

<telerik:GridTemplateColumn HeaderText="Assigned" SortExpression="Assign"><br>                    <ItemTemplate><br>                        <asp:LinkButton runat="server" ID="lnkAssign" CausesValidation="false" CommandName="AssignClick"<br>                        Text='<%#Eval("Assign")%>'  OnClick="lnk_Click"></asp:LinkButton><br>                    </ItemTemplate><br>                </telerik:GridTemplateColumn>

 

I have also written code in C# to hide column

protected void rgDenialWorkList_PreRender(object sender, EventArgs e)<br>    {<br>            if (int i == "1")<br>        {<br>            rgDenialWorkList.MasterTableView.GetColumn("Assign").Visible = false;<br>        }<br>    }

 

I am getting error: DataBinding: 'System.Data.DataRowView' does not contain a property with the name 'Assign'.

Please Help

Rahul
Top achievements
Rank 1
 asked on 20 Apr 2017
9 answers
385 views
Hello,

Is there a way to include parameters from Javascript to be sent to a custom AsyncUploadHandler?

Such parameter could be a folder selected in the page.

I tried to change the url by setting the ctrl.
_handlerUrl attribute from various events. Does not work, the params are removed before they get to the handler.

Creating cookies might work but are no solution in my case.

I am wondering if I am the only person needing such a thing...? Please help!

Thanks,
Stephan


PS: There seems to be a bug when setting a handler url on server side with query string parameters. These parameters are then properly passed to the handler, however, the control adds a "?type=rau". It should of course have added "&type=rau".


Plamen
Telerik team
 answered on 20 Apr 2017
18 answers
1.3K+ views
I see there are a ton of messages about column widths with static headers, and I think I've gone through all of them and tried all of the tricks to get the column headers to be the correct width, but so far nothing has worked for me.  I have a radgrid in a tooltip (not sure if that matters, this seems to happen anywhere I use a radgrid) and have it set to UseStaticHeaders="True".  I have the MasterTable layout set to "Fixed", and have all of the column widths specified, header and item.  The column widths for the header DO NOT match the item widths.  The item widths are correct.  I have tried setting the layout to Auto and removing all of the column widths, same result.  I am calling the client-side "repaint" method, no change.  I'm really not sure what to do at this point.  I'll attach a screenshot of what I get, but here's the code I am using in the aspx:
<telerik:RadGrid ID="radGridAssociates" EnableViewState="True" runat="server" AllowSorting="false"
    AutoGenerateColumns="false" Skin="Web20" EnableTheming="True"
    ClientSettings-EnableRowHoverStyle="True" EnableEmbeddedSkins="True"
    OnItemDataBound="RadGridAssociatesItemDataBound" Width="548px" Height="290px"
    OnNeedDataSource="RadGridAssociatesNeedDataSource">
    <ClientSettings AllowColumnsReorder="False" EnablePostBackOnRowClick="false" ClientEvents-OnRowSelected="usePopup">
        <Resizing AllowColumnResize="True" EnableRealTimeResize="True" />
        <Selecting AllowRowSelect="True" />
        <Scrolling  AllowScroll="True" UseStaticHeaders="True" SaveScrollPosition="True" />
    </ClientSettings>       
    <MasterTableView DataKeyNames="Xref" ClientDataKeyNames="Xref" ShowHeadersWhenNoRecords="false"
        EnableNoRecordsTemplate="true" TableLayout="Fixed" AlternatingItemStyle-Font-Size="11px">
        <ItemStyle HorizontalAlign="Center" Font-Size="11px" Width="548px"></ItemStyle>                       
        <NoRecordsTemplate>
            <div style="padding:5px; background:transparent; font-size:12px; text-align:left;">
                No associates found
            </div>
        </NoRecordsTemplate>
        <Columns>
            <telerik:GridClientSelectColumn ButtonType="PushButton" Visible="False" CommandName="Select" Text="Select" UniqueName="column">
            </telerik:GridClientSelectColumn>
            <telerik:GridTemplateColumn HeaderText="PIC" UniqueName="colPic">
                <ItemStyle Width="30px"></ItemStyle>
                <HeaderStyle Font-Size="10px" Wrap="False" Width="30px"/>
                <ItemTemplate>
                        <img alt='photo' src='<%= GetConfig().imageUrl %>?x=<%# Eval("XREF") %>&s=small' width="30" height="38" style="border:0px;">
                    </a>
                </ItemTemplate>
            </telerik:GridTemplateColumn>
            <telerik:GridTemplateColumn HeaderText="FLAGS" UniqueName="colFlags">
                <ItemStyle Wrap="false" Font-Size="10px" Width="30px"></ItemStyle>
                <HeaderStyle Font-Size="10px" Wrap="False" Width="30px"/>
                <ItemTemplate>
                    <asp:Label ID="lblAlerts" CssClass="flags" runat="server"></asp:Label>
                </ItemTemplate>
            </telerik:GridTemplateColumn>
            <telerik:GridTemplateColumn HeaderText="NAME" UniqueName="colName" ItemStyle-HorizontalAlign="Left">
                <HeaderStyle Width="110px"></HeaderStyle>
                <ItemTemplate>
                        <%# Eval("LastName") + ", " + Eval("FirstName") + " " + Eval("MiddleName") %>
                </ItemTemplate>
            </telerik:GridTemplateColumn>
            <telerik:GridBoundColumn HeaderText="S" DataField="Sex" UniqueName="colSex" HeaderTooltip="Sex">
                <HeaderStyle Width="6px" Wrap="False" />
                <ItemStyle Width="6px" Wrap="False" />
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn HeaderText="R" DataField="Race" UniqueName="colRace" HeaderTooltip="Race">
                <HeaderStyle Width="7px" Wrap="False" />
                <ItemStyle Width="7px" Wrap="False" />
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn HeaderText="HGT" DataField="Height" UniqueName="colHeight" HeaderTooltip="Height">
                <HeaderStyle Width="12px" Wrap="False" />
                <ItemStyle Width="12px" Wrap="False" />
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn HeaderText="WGT" DataField="Weight" UniqueName="colWeight" HeaderTooltip="Weight">
                <HeaderStyle Width="14px" Wrap="False" />
                <ItemStyle Width="14px" Wrap="False" />
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn HeaderText="AGE" DataField="Age" UniqueName="colAge" HeaderTooltip="Age">
                <HeaderStyle Width="12px" Wrap="False" />
                <ItemStyle Width="12px" Wrap="False" />
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn HeaderText="DOB" DataField="Dob" DataFormatString="{0:d}" UniqueName="colDob" HeaderTooltip="DOB">
                <HeaderStyle Width="48px" Wrap="False" />
                <ItemStyle Width="48px" Wrap="False" />
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn HeaderText="XREF" DataField="Xref" UniqueName="colXref" HeaderTooltip="XREF">
                <HeaderStyle Width="36px" Wrap="False" />
                <ItemStyle Width="36px" Wrap="False" />
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn HeaderText="MATCHES" DataField="AssociatesMatchCount" UniqueName="colMatchCount">
                <HeaderStyle Width="48px" Wrap="False" />
                <ItemStyle Width="48px" Wrap="False" />
            </telerik:GridBoundColumn>
        </Columns>
        <RowIndicatorColumn Visible="False">
        </RowIndicatorColumn>
        <ExpandCollapseColumn Resizable="False" Visible="False">
        </ExpandCollapseColumn>
        <EditFormSettings>
            <PopUpSettings ScrollBars="None" />
        </EditFormSettings>
    </MasterTableView>
</telerik:RadGrid>

I've also tried setting the MasterTable width to the same width as the RadGrid (548px), and setting it to 95%, which was another suggestion.  None of these fixes have worked for me.  Any help is appreciated!

Thanks,
Eddie
Tim Black
Top achievements
Rank 1
 answered on 19 Apr 2017
20 answers
455 views
How to get TaskID of selected task?

I have seen that there is no event in Teletik RadGantt control.
Mike
Top achievements
Rank 1
 answered on 19 Apr 2017
Narrow your results
Selected tags
Tags
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
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?