Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
80 views

Hello Team,

I have a client  requirement to add a scanning check on upload control like when we attach any document on gmail then gmail upload control start scanning before upload.

 

Thanks

Afroz Khan

Afroz khan
Top achievements
Rank 1
 asked on 16 Sep 2016
3 answers
96 views

Hi,

I have a RadGrid with a few columns:

<telerik:GridBoundColumn HeaderText="LOC" DataField="HomeLoc" UniqueName="HomeLoc" ReadOnly="True" SortExpression="HomeLoc" HeaderButtonType="TextButton" ItemStyle-HorizontalAlign="Center" HeaderStyle-HorizontalAlign="Center" >
</telerik:GridBoundColumn>
<telerik:GridBoundColumn HeaderText="YTD HRS" DataField="TotHrs" UniqueName="TotHrs" ReadOnly="True" SortExpression="TotHrs" HeaderButtonType="TextButton" ItemStyle-HorizontalAlign="Center" HeaderStyle-HorizontalAlign="Center" >
</telerik:GridBoundColumn>

When I export RadGrid to excel I need based on criteria highlight entire row in excel:

if TotHrs > 500

highlight entire row.

How it can be done.I try event ExportCellFormatting but it is not working.

protected void PSEmplGrid_ExportCellFormatting(object sender, ExportCellFormattingEventArgs e)
{
GridDataItem item = e.Cell.Parent as GridDataItem;
if (e.FormattedColumn.UniqueName == "TotHrs")
{
e.Cell.Style["background-color"] = "Red";
}
}

 

Thank you.

Maria Ilieva
Telerik team
 answered on 16 Sep 2016
6 answers
122 views

  <telerik:GridTemplateColumn UniqueName="ORACLE_VERIFIED" HeaderText="Oracle">
                        <ItemTemplate>
                            <telerik:RadButton RenderMode="Lightweight" Checked='<%#Bind("ORACLE_VERIFIED")%>' ID="btnToggleOracle" runat="server" ToggleType="CustomToggle" ButtonType="ToggleButton"
                                AutoPostBack="false">
                                <ToggleStates>
                                    <telerik:RadButtonToggleState Text="Not Verified" Value="0" PrimaryIconCssClass="rbToggleCheckbox" Width ="100px"/>
                                    <telerik:RadButtonToggleState Text="N/A" Value="-1" PrimaryIconCssClass="rbToggleCheckboxFilled" Width ="100px"/>
                                    <telerik:RadButtonToggleState Text="Verified" Value="1" PrimaryIconCssClass="rbToggleCheckboxChecked" Width ="100px"/>
                                </ToggleStates>
                            </telerik:RadButton>
                        </ItemTemplate>
                    </telerik:GridTemplateColumn>

 

i am trying to bind a three state toggle button and getting cast not valid. the values are 0,1,-1 if not available. this is oracle and the fields are defines as int in c# . anyone ran into this issue before? thanks

Maria Ilieva
Telerik team
 answered on 16 Sep 2016
5 answers
133 views

It is possible use Navigation - Server-side Templates together with asp:SqlDataSource?

I want to add telerik:RadSearchBox in my Navigation and use SqlDataSource....

Peter Milchev
Telerik team
 answered on 16 Sep 2016
15 answers
248 views
I have a custom http handler for a radasyncupload control, it uploads the file and creates thumbnails for each page.

I want to be able to update a progressbar, with the fact the file has uploaded and when creating the the thumbnails.

Can it be done?
Veselin Tsvetanov
Telerik team
 answered on 16 Sep 2016
4 answers
111 views

According to the most recent "what's new" announcement, it looks like the Theme Builder should include the Material skin. Is it not there yet while creating a new theme? Am I missing something?

 

http://www.telerik.com/support/whats-new/aspnet-ajax

"The Theme Builder just got more powerful! Now, you can create and customize themes based on the Material skin, which also offers the popular ripple effect."

Rumen
Telerik team
 answered on 16 Sep 2016
1 answer
157 views

Hi guys,

One of the options of the RadEditor is an option to create links using UI (see the attached screenshot RedEditorVulnerability.jpg)

Here is an option to open a new tab when clicking this link on a front-end site.

What I've recently found is this article with an example https://dev.to/ben/the-targetblank-vulnerability-by-example which says that using the "target=_blank" is a potential security hole for any site in any browser for now.

Also there are some suggestions regarding on how to prevent this (by adding the rel="noopener noreferrer" attribute to a link).

So I'd like to ask you to add a possibility in the Hyperlink Manager to secure such links (e.g. some kind of checkbox "Protect my link from the target=_blank vulnerability"). This functionality may be very helpful for those clients who are focused on their sites' security.

Thank you!

Ianko
Telerik team
 answered on 16 Sep 2016
6 answers
260 views

I have an ASP.Net page with VB.net code-behind that has the RadPageLayout, RadComboboxes, TextBox, RadButton, and a RadGrid.

The RadComboboxes, TextBox, RadButton, and RadGrid are placed in the RadPageLayout.

I have set up everything so it looks good on a Desktop/Laptop PC and mobile devices of various sizes.

Everything looks good when the RadGrid has data.

But when the RadGrid has no data, it shrinks rather small.  The RadGrid has RenderMode = Auto.

I would like to set the RadGrid to certain width sizes depending on the screen size so it stays the same size on the screen no matter if it has data or not.  Is there a way to do that using media queries?

Sincerely,

Keith Jackson

Kostadin
Telerik team
 answered on 16 Sep 2016
6 answers
155 views
Hi,
I believe I have uncovered a bug, or a strange behavior that is not very intuitive...

I am exporting to PDF from the RadEditor. The exported PDF contains links to websites and online PDFs.
While the website links work just fine, links to PDFs (from inside the exported PDF) do not work. 

In Acrobat, you can inspect the link actions and see that www link actions are "Open a web link".
While link actions for PDFs are "Go to a page in another document". Then it has "Page1" as the source?

I was not able to find a way to change PDF link actions via the Telerik PDF export API. 

My workaround was to create a redirect page that would accept the PDF URL as a querystring, then redirect the users. 

I'm using Acrobat 10.x but other users were having the same problem. And I'm using Telerik.Web.UI.dll version 2011.1.413.35
Hope that helps!
Ianko
Telerik team
 answered on 16 Sep 2016
3 answers
128 views

Apologies if this has already been addressed.

Is there a way to intercept and access the dialog box that opens when Rename or New Folder is clicked?  I'd like to select the text in the textbox (minus file extension if applicable) when the dialog box opens.

I've gotten feedback from my users who are frustrated with the current text box behavior of inserting text before "New Folder" or "[Existing File/Folder Name]" rather than replacing it when they begin typing after hitting Rename/New Folder as they expect because that's the behavior they're used to with Windows Explorer.

Rumen
Telerik team
 answered on 16 Sep 2016
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?