Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
90 views
Hi All,

I am using RadTreeList, in which i have a TreeListSelectColumn and a template column for image , I am binding the treelist and it displays it correctly but when I click on any checkbox the image dissappear. could anybody help on this .

Regards,
Sandeep
Princy
Top achievements
Rank 2
 answered on 23 May 2013
1 answer
105 views
Hi
I have a problem using radimageeditor.when i crop or resize an image and save it using onimagesaving file size gets too larger than expected.how can i fix that.



 private void GenerateThumbnails(System.Drawing.Image image,string sourcePath, string thumbname, string thumbname2)
    {

    
        using (image)
        {
            var thumbnailImg = new System.Drawing.Bitmap(245, 200);
            var thumbGraph = System.Drawing.Graphics.FromImage(thumbnailImg);
            thumbGraph.CompositingQuality = CompositingQuality.HighQuality;
            thumbGraph.SmoothingMode = SmoothingMode.HighQuality;
            thumbGraph.InterpolationMode = InterpolationMode.HighQualityBicubic;
            //thumbGraph.PixelOffsetMode = System.Drawing.Drawing2D.PixelOffsetMode.HighSpeed;
            var imageRectangle = new System.Drawing.Rectangle(0, 0, 245, 200);
            thumbGraph.DrawImage(image, imageRectangle);

            thumbnailImg.Save(thumbname, image.RawFormat);


           thumbnailImg = new System.Drawing.Bitmap(70, 70);
          thumbGraph = System.Drawing.Graphics.FromImage(thumbnailImg);
          imageRectangle = new System.Drawing.Rectangle(0, 0, 70, 70);
          thumbGraph.DrawImage(image, imageRectangle);


            thumbnailImg.Save(thumbname2, image.RawFormat);

        }
    }


 protected void RadImageEditor1_OnImageSaving(object sender, Telerik.Web.UI.ImageEditorSavingEventArgs e)
    {
        string filename = Server.MapPath(folderPath + e.FileName + ".jpg");

        string thumbname = Server.MapPath(folderPath + e.FileName + "_thumb.jpg");

        string thumbname2 = Server.MapPath(folderPath + e.FileName + "_thumb2.jpg");

        System.Drawing.Image img = e.Image.Image;

     
        GenerateThumbnails(img,filename, thumbname, thumbname2);
        e.Cancel = true;
    }
Niko
Telerik team
 answered on 23 May 2013
1 answer
230 views
Does anybody know what's the problem and how to solve it?

Could not find any resources appropriate for the specified culture or the neutral culture.  Make sure "Resources.RadComboBox.resources" was correctly embedded or linked into assembly "App_GlobalResources.nccljpyx" at compile time, or that all the satellite assemblies required are loadable and fully signed.
Nencho
Telerik team
 answered on 23 May 2013
1 answer
118 views
Can i set image properties when i will exporting to Excel.
I'm trying to set the image property "Move but not resize with cell", because if it's not setted i can't apply ordination in Excel columns, when i do this just the data has ordered the images still in the same cells.


Have any solution to do this ?

Thanks.
Princy
Top achievements
Rank 2
 answered on 23 May 2013
3 answers
95 views
Hi,

Calender day  font underline itemstyle is not working for IE8 ( version : 8.0.6001.18702) ... Its working in other browsers and ie  versions. Is there any solution for this ? Thanks!
Venelin
Telerik team
 answered on 23 May 2013
1 answer
207 views

I have a radtreeview inside a user control, the issue is when node is selected in the treeview, none of the events are getting fired, not even the page load of the control. Below is the code for aspx page. please help in resolving this.
<tr>

 <td valign="top" align="left" width="425px">

 <asp:UpdatePanel ID="updatepanelitemlist" runat ="server" >

 <ContentTemplate >

 <telerik:RadTabStrip ID="tabMasterContainer" runat ="server"

 Width="438px" CssClass="best__tab_xpie7" SelectedIndex="2"

 MultiPageID ="radmultipage1" BackColor ="White" >

 <Tabs >

 <telerik:RadTab Text ="Custom Lists" runat ="server"

 PageViewID ="pagecustomlist" CssClass ="node" ForeColor ="#000000" Selected="true" >

 </telerik:RadTab>

 <telerik:RadTab Text ="Standard Lists" />

 <telerik:RadTab Text="Search" Selected="True" />

 </Tabs>

 </telerik:RadTabStrip>

 <div ID="divtvCompanyCustomList" style="padding-left:8px;overflow: auto; height: 400px; width: 430px; background: white;">

 <table border="0" width="410px" cellpadding="0" cellspacing="0" class="p">

 <tr>

 <td>

 <img alt="" width="1" src="../Images/spcr.gif" />

 </td>

 <td align="left">

 <asp:LinkButton ID="lnkCompanyCustomTreeCollapse" Text="Collapse All" runat="server" Font-Size="Smaller" />&nbsp;&nbsp;&nbsp;

 <asp:LinkButton ID="lnkCompanyCustomTreeExpand" Text="Expand All" runat="server" Font-Size="Smaller" />

 </td>

 </tr>

 </table>

 <telerik:RadMultiPage ID="rmp" runat="server" SelectedIndex ="0" Width ="410px">

 <telerik:RadPageView runat="server" ID="page1" Selected="true" Width ="410px" >

 <telerik:RadTreeView ID="tvCustomList" runat ="server" Width ="430px" EnableDragAndDrop="True" OnNodeDrop ="tvCustomList_Handledrop">

 </telerik:RadTreeView>

 </telerik:RadPageView>

 </telerik:RadMultiPage>

 </div>

 </ContentTemplate>

 </asp:UpdatePanel>

 </td>

 </tr>

 

Kate
Telerik team
 answered on 23 May 2013
2 answers
286 views
Hi,

I am attempting to use the technique outlined in this article:

http://www.telerik.com/help/aspnet-ajax/ajax-execute-custom-javascript.html

However, I am getting this error:

Uncaught Sys.WebForms.PageRequestManagerServerErrorException: Sys.WebForms.PageRequestManagerServerErrorException: Object reference not set to an instance of an object. 

I suspect that the error might be because the AjaxRadManager event is triggered from a button click where the button is located inside a RadWindow.  However, with this RadWindow, we are using a ContentTemplate.  So, to me, that means that the code run from controls is being run from the parent page (if I understand the hierarchy senario correctly).

Any recommendations?

Jim
Pavlina
Telerik team
 answered on 23 May 2013
1 answer
89 views
Good Day Everyone 

i have a radgrid and i have a formdecorator in my masterpage that skin all the controls nicely. so now my gridview has paging, the numbers in the paging are not looking good in IE10

i have attached an image showing what i mean. 
Danail Vasilev
Telerik team
 answered on 23 May 2013
7 answers
247 views
I need to sort a GridButtonColumn in a C# asp.net project.

I've added the c# class listed in this thread

 http://www.telerik.com/community/code-library/aspnet-ajax/grid/filtering-and-sorting-for-gridbuttoncolumn.aspx

and I can't get it to work.  I get this "The type or namespace name 'GridButtonColumn' could not be found"

Is there using directive that I need to add?


The VB example uses "Imports Telerik.WebControls".  When I add using Telerik.WebControls;  I get this message

"The type or namespace name 'WebControls' does not exist in the namespace 'Telerik' (are you missing an assembly reference?)"
Robert
Top achievements
Rank 1
 answered on 23 May 2013
4 answers
241 views
I saw from an earlier thread that telerik isn't supporting image rendering of bar codes. To get around this I am using abcpdf's ability to take web pages and turn them into pdf files (which is ultimately what I need anyway). However, when I get the page rendered in this way (effectively rendered via the microbrowser in abcpdf) the barcode never shows up. I'm assuming this is because it requires the browser to actually display the page in order for the barcode to render? Is there any way of getting a rendered barcode to work in this manner?
Vasil
Telerik team
 answered on 23 May 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?