Telerik Forums
UI for ASP.NET AJAX Forum
11 answers
1.5K+ views
Hi,

I am using radasyncupload customhttphandler in my application, i want to compress or resize images before uploading to server.

Onfileselect method is also not provide the complete path of image, so we can resize image using javascript and then upload to server.


Please provide possible options by which we can compress and reduce image before uploading to server.

Vessy
Telerik team
 answered on 19 Apr 2017
0 answers
102 views

Hi mates,

I have a Telerik RadGrid with a DetailsTable, and the following CommandItemTemplate is in this DetailsTable:
<CommandItemTemplate>
< asp:LinkButton ID="btnNuevoAperitivoFrioIng" runat="server" ForeColor="#384e73" OnClick="btnNuevoAperitivoFrioIng_Click" ><img style="border:0px;vertical-align:middle; height:24px; width:24px" alt="" src="../img/buttons/add.png"/>Nuevo</asp:LinkButton>
< /CommandItemTemplate> 
I need to get the ID of the expanded parent row when I clic on btnNuevoAperitivoFrioIng (in the btnNuevoAperitivoFrioIng_Click function). How could I get this ID, please?

Thanks a lot in advance.

Cheers.

David Ortega

davortsan
Top achievements
Rank 1
 asked on 19 Apr 2017
0 answers
100 views
Get

Hi mates,

I have a Telerik RadGrid with a DetailsTable, and the following CommandItemTemplate is in this DetailsTable:

<CommandItemTemplate>
<asp:LinkButton ID="btnNuevoAperitivoFrioIng" runat="server" ForeColor="#384e73" OnClick="btnNuevoAperitivoFrioIng_Click" ><img style="border:0px;vertical-align:middle; height:24px; width:24px" alt="" src="../img/buttons/add.png"/>Nuevo</asp:LinkButton>
</CommandItemTemplate> 

I need to get the ID of the expanded parent row when I clic on btnNuevoAperitivoFrioIng (in the btnNuevoAperitivoFrioIng_Click function). How could I get this ID, please?

Thanks a lot in advance.

Cheers.

David Ortega
                                                       

davortsan
Top achievements
Rank 1
 asked on 19 Apr 2017
3 answers
548 views

Hi

I am exporting a radgrid to pdf and setting the background colour of alternate lines as light grey, font and font size for cells and footer in the item created event, and all is working as it should.

However I would like to change the text color or background color of a column based on the value of another column but I am not sure in which event I should do this while exporting to pdf. I tried the RadGrid1_ItemDataBound event but it has no effect on the pdf output. 

Can you point me in the right direction?

Thanks

 

 

Eyup
Telerik team
 answered on 19 Apr 2017
1 answer
89 views
How do I set the ajaxmanager to ajax refresh a grid based on a button in the CommandItemTemplate since the button does not show up as a control in the ajaxmanager configuration wizard?
Eyup
Telerik team
 answered on 19 Apr 2017
8 answers
413 views
i am facing issue, when trying to disable the drag and drop in radEditor. i refered the following Code. but it is not working for any browser. http://www.telerik.com/community/forums/aspnet-ajax/editor/disable-images-drag-and-drop.aspx
BRowsers : IE 9, Firefox 11, and Chrome.

<telerik:RadEditor ID="txtsomeID" runat="server" Width="100%" AutoResizeHeight="false"
Height="300px" TabIndex="1" StripFormattingOnPaste="All" EnableResize="false"
OnClientLoad="OnClientLoad" OnClientSubmit="OnClientSubmit">
<Content></Content>
<ContextMenus>
<telerik:EditorContextMenu Enabled="false" />
<telerik:EditorContextMenu TagName="IMG" Enabled="false" />
<telerik:EditorContextMenu TagName="TABLE" Enabled="false" />
</ContextMenus>
</telerik:RadEditor>

and the Java scrtipt  and even OnClientLoad is not Firing at all
<script type="text/javascript>
function OnClientLoad(editor, args) {
          var element = document.all ? editor.get_document().body : editor.get_document();
          var eventHandler = document.all ? "drop" : "dragstart";
          var selElem = editor.getSelectedElement();
          $telerik.addExternalHandler(element, eventHandler, function(e) { $telerik.cancelRawEvent(e); return false; });
      }
 
      function OnClientSubmit(editor) {
          editor.fire("FormatStripper", { value: "ALL" });
      }
</script>
harshini
Top achievements
Rank 1
 answered on 19 Apr 2017
0 answers
116 views

Hi,

I've been experiencing a problem with RadPivotGrid for a  while now and the problem is when you zoom in (or out) a page that contains radpivotgrid, row alignment is gone and as you see in the attached screenshot, the problem exists even in product demos.

this also happens occasionally without even zooming, specially on slow connections rows are not aligned with their headers properly.

Is there a fix for it? Is there a client side method that can realign rows?

Please help.

Thanks

Ahmad
Top achievements
Rank 1
 asked on 19 Apr 2017
7 answers
921 views
Hi telerik,

I have a file which is having long file name, when i upload file in RadAsyncUpload the file name is looking too strange.

please help me to solve this.

thanks in advance.

Veeresh
hunderson
Top achievements
Rank 1
 answered on 18 Apr 2017
2 answers
68 views
Hi, I'm using the rad grid with scrolling enabled. Page up / Page down scroll the rows of the grid in IE but not in chrome or fire fox.

I can re-create this using the online demo:

http://demos.telerik.com/aspnet-ajax/grid/examples/client/scrolling/defaultcs.aspx

Browse to that page in IE, click the grid then press page down on the keyboard.

Now do the same thing in Chrome or FireFox. The whole page scroll down instead of the rows in the grid.

This is the same problem I'm having in my project.

Thanks,
Erik
Cheryl
Top achievements
Rank 1
Iron
 answered on 18 Apr 2017
8 answers
268 views
We are using the Editor and allowing users to open the document manager and select an item and click insert. When they click Insert it will insert a link with the document name as the hyperlink text. Is there a way to make it output the full URL to the document instead of just the name of the document?

Sometimes the text that is entered into the editor is being emailed to people as plain text and they need the full URL to get the document.
Nirosha
Top achievements
Rank 1
 answered on 18 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?