Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
249 views
Hi,

I am using radgrid for my application. In my application, I have changed the column position by drag-drop in runtime.

After refreshing the page or radgrid, the column was changed to its old position.

How to maintain its state?.

Please give any suggestions.

Thanks in advance.

Regards
Mahali
Pavlina
Telerik team
 answered on 17 Nov 2014
1 answer
96 views
Hi Guys,
            I am designing a page, and using a radwindow. I need to update  a session and display the some updated values in parent page. Can i achieve this functionality with out post back.

Thank you & Regards,
Prasad.
Marin Bratanov
Telerik team
 answered on 17 Nov 2014
1 answer
90 views
hello ,

I want a new tab also in the hyperlink manager dialog box just like initially we have a option of "anchor Tab", "hyperlink Tab" , "Email tab" so I also want a "telephone tab" link also in the dialog box so please help me from where i do that customization in that .
Ianko
Telerik team
 answered on 17 Nov 2014
1 answer
135 views
I ran into an issue where an FTP user could not access files uploaded from a radasyncupload control.  The user had permissions to the target directory.  Files added to the directory inherited the permissions of the directory when except when uploaded asynchronously. 

Here’s what I found.  In a part of my application I’m Telerik RadFileUpload instead of the standard asp file upload control. 

Because Telerik RadFileupload is asynchronous, it first uploads the file to a temporary directory (/RadUploadTemp).  Once fully
uploaded, it then automatically moves it to the target directory (/TargetDirectory/…)
 
Here is the problem.  As the file is being moved it takes the permissions associated the temporary directory with it. Since the fpt account had no permissions in the RadUploadTemp directory, it assigns no permissions to the file when moved to the TargetDirectory .

In order to resolve this, I gave read permissions the ftp account in the RadUploadTemp directory and now it copies the files with the permissions.

While the link below does not address the rad control specifically, it lead me to the answer.  In my case, I had to apply permissions to the temp directory.

http://stackoverflow.com/questions/23136723/why-are-permissions-wonky-when-my-iis-worker-saves-a-file-in-asp-net

Is this something Tererik could fix in a way similarly stated in the article?:

"I suspect the problem is with the use of Path.GetTempFileName followed by File.Move. When the uploaded file is saved to tempFilename, the temporary file gets whatever permissions are assigned to the temporary folder. Moving the file preserves those permissions as is instead of recalculating the inheritable permissions based on the destination.Instead of File.Move, try using File.Copy"

Hope this helps somebody else. 



Hristo Valyavicharski
Telerik team
 answered on 17 Nov 2014
1 answer
75 views
I hope you can help me

how I can insert a selected row of a RadGrid on another RadGrid using JavaScript

I have many problems understanding JavaScript, since I'm new to JavaScript programming

Thank you for your help
Angel Petrov
Telerik team
 answered on 17 Nov 2014
1 answer
94 views
I am having issues with Resource text not getting displayed while taking the Export to Pdf option. I have attached screenshots of what is being rendered on the page (Scheduler.JPG) and what gets printed to pdf (Scheduler PDF.JPG) when I do "RadScheduler1.ExportToPdf();" from code-behind.
 I tried adding this 
<ResourceStyles>
  <telerik:ResourceStyleMapping ApplyCssClass="radResourceWidth" />
</ResourceStyles>

And in css : 
.radResourceWidth
        {
            width:150px;
        }

It still is not working. 

Please help !!
Boyan Dimitrov
Telerik team
 answered on 17 Nov 2014
1 answer
1.0K+ views
Hi 
I have a Turkish character problem in c# Radeditor pdf export. I use "Arial Unicode MS" font. Characters like ı-ş-Ş-ğ-Ğ-İ don't be a problem in editor Desing or Html , but after exporting to pdf these characters are displayed as "#". I think the reason is that Azure server i published doesn't have this font.
I cannot install any fonts to the server. How can I solve this problem?
The telerik version I use is q2 2014.
Ianko
Telerik team
 answered on 17 Nov 2014
1 answer
130 views
Hi.
i need to ImageUrl with databinder in radgrid GridTemplateColumn:
MyCode in aspx:
<telerik:GridTemplateColumn HeaderText="Need Call"
                            ItemStyle-HorizontalAlign="Center"  >
    <ItemTemplate>
        <telerik:RadToolTip ID="RadToolTipCall" runat="server" TargetControlID="chkNeedCall" AutoCloseDelay="10000"
                            RelativeTo="Element" Position="MiddleRight">
            <%# Eval("UsernameNeedCall") %>
        </telerik:RadToolTip>
        <telerik:RadButton ID="chkNeedCall" runat="server" Width="22px" Height="22px" ToggleType="CheckBox" ButtonType="LinkButton" CommandArgument='<%# Eval("Id") %>' AutoPostBack="True" OnCommand="btnNeedCall_Click">
           <Image EnableImageButton="True" ImageUrl='<%# Eval("NeedCall") %>' IsBackgroundImage="True"></Image>
        </telerik:RadButton>
    </ItemTemplate>
</telerik:GridTemplateColumn>

C# Code:
protected void gridShow_NeedDataSource(object sender, Telerik.Web.UI.GridNeedDataSourceEventArgs e)
{
    try
    {
        if (!e.IsFromDetailTable)
        {
            var db = new MyDataContext();
            var reciveMsg = db.TBL_ReceiverMsgs.ToList().Select((c, index) => new
            {
                RowIndex = index + 1,
                c.Id,
                c.Body,
                NeedCall = c.NeedCall ? "../Images/Sms/deliveryorange.png" : "../Images/Sms/deliveryok.png",
                NeedFollow = c.NeedFollow ? "../Images/Sms/deliveryorange.png" : "../Images/Sms/deliveryok.png",
                c.UsernameNeedCall
 
            });
            gridShowSms.DataSource = reciveMsg;
        }
 
 
    }
    catch (Exception)
    {
        lblException.Text = @"Error!!";
    }
}

Error in Line:<%# Eval("NeedCall") %>
how to fix the problem?
-------------------------------
I also have another problem:
when use the label or literal or div in GridTemplateColumn, radgrid columns mixed.
but MaxLength property!!! MaxLength does not allow mixed up columns.
The GridBoundColumn can not be used from RadToolTip!
<telerik:GridTemplateColumn HeaderText="Body" ItemStyle-HorizontalAlign="Center" >
    <ItemTemplate>
        <telerik:RadToolTip ID="RadToolTipBody" runat="server" TargetControlID="lblBody"
                            RelativeTo="Element" Position="Center" >
            <%# DataBinder.Eval(Container, "DataItem.Body") %>
        </telerik:RadToolTip>
        <div style="Width:100px" ID="lblBody" runat="server"><%# Eval("Body") %></div>
    </ItemTemplate>
</telerik:GridTemplateColumn>

TIA...

Kostadin
Telerik team
 answered on 17 Nov 2014
5 answers
176 views
Hi,

I consider myself as newbie in Telerik. I am trying to bind RADHtmlChart to SQLDatasource and it works in other project except this specific one. Hope someone can point out the issue. If I load the same data in ASP Datagrid I can see it on my page. However both RadGrid and RadHTMLChart doesn't work. One more thing, the normal RadChart works fine with same data source.

ASPX Code
<telerik:RadHtmlChart ID="RadHtmlChart2" runat="server" DataSourceID="SqlDataSource1" Height="400px" Width="1200px" InvokeLoadData="OnPageLoad">
    <PlotArea>
        <Series>
            <telerik:LineSeries DataFieldY="47" Name="Lync"></telerik:LineSeries>
            <telerik:LineSeries DataFieldY="48" Name="Outlook"></telerik:LineSeries>
            <telerik:LineSeries DataFieldY="49" Name="IE"></telerik:LineSeries>
        </Series>
        <XAxis DataLabelsField="YDate" Name="ExecutionDate" Visible="true"></XAxis>
        <YAxis Name="ExecutionCount" MaxValue="1000" MinValue="0" Step="100"></YAxis>
    </PlotArea>
    </telerik:RadHtmlChart>

SQL DataSource

<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:SmartButton3ConnectionString %>"
SelectCommand="SELECT * FROM (SELECT CoreTriggerPluginID, CONVERT(VARCHAR(10),CreatedDateTime,101) as YDate
FROM [SmartButton3].[Universal].[TblCoreTriggerPluginUsage] where CoreTriggerPluginID IN (47,48,49)) X
PIVOT(COUNT(X.CoreTriggerPluginID)
      FOR X.CoreTriggerPluginID IN ([47], [48], [49])) AS PVTTable
      ORDER BY PVTTable.YDate"></asp:SqlDataSource>
Paresh
Top achievements
Rank 1
 answered on 17 Nov 2014
3 answers
190 views
Hi All ,

I am using batch editing in radgrid. Its working fine for delete and insert but when I try to update it takes the previous values of the respective cells.
Can anyone please help me find out what exactly I am missing.

FYI : I am exactly replicating batch editing demo from below link
http://demos.telerik.com/aspnet-ajax/grid/examples/data-editing/batch-editing/defaultcs.aspx

Thanks & Regards ,
Anurag
Viktor Tachev
Telerik team
 answered on 17 Nov 2014
Narrow your results
Selected tags
Tags
+124 more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?