Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
451 views

Hi,

We have a asp.net project where I put a RadCaptcha on an ASP.NET page (using VS2013).

We have the latest version of ASP.NET tools installed.

When trying to run the application where the web is located, the RadCaptcha image is not showing up.

The web.config has the following items:

Under System.Web

<httpHandlers>
<add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false"/>
</httpHandlers>

Under System.WebServer

<handlers>
<remove name="Telerik_Web_UI_WebResource_axd"/>
<add name="Telerik_Web_UI_WebResource_axd" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" preCondition="integratedMode"/>
</handlers>

 

Thanks.
Misho
Telerik team
 answered on 11 Aug 2015
3 answers
93 views
Hi. Is there any way to add HyperLink to a Shape or to the text in a Shape? Is it possible to implement this functionality with a customized Shape? If so, how ​can I do it? Thank you so much!
Vessy
Telerik team
 answered on 11 Aug 2015
26 answers
886 views
Documentation
A comprehensive set of documentation articles for all ASP.NET AJAX controls, common framework as well as full API Reference with code snippets. Details for all features, properties, methods and events are provided including a rich set of "how-to" and troubleshooting topics. Check the Online Documentation or download the CHM set.
Danail Vasilev
Telerik team
 answered on 11 Aug 2015
2 answers
57 views

Hi,

I have a page that contains a RadEditor control that shows the XHTML Validator button.  My problem is that the web server the site is running on in prod has blocked outgoing traffic except through a proxy.  Without the proxy details, the connection fails and I get an error page displayed.

How can I specify a proxy url and port to be used by RadEditor or more specifically, the XHTML Validator when performing it's checks?

Thanks

Stanimir
Telerik team
 answered on 11 Aug 2015
3 answers
369 views

I have a page which contains a batch mode grid (created declaratively in the aspx file) and all of the code to support the grid.  This grid page is contained within an IFrame in various pages on the site.  Depending upon which page is hosting the IFrame, we want to override the behavior of the grid so that the columns are read-only.  The default behavior allows the columns to be edited, but when the grid is included within certain pages, we want all of the columns to be read-only. 

Using (column as GridBoundColumn).ReadOnly = true; during the server-side PreRender event can fail if the column type is GridTemplateColumn (with Object reference not set).  That said,  I know I can respond to the BatchEditOpening event and use args.set_cancel(true) to prevent users from editing cells, but was hoping for a simple server-side solution to change the column to read-only. 

For the moment, I am responding to the PreRender event and testing for ColumnType before setting the column to read-only.  That just happens to work for me since the only GridTemplateColumn column is declaratively set to ReadOnly and all of the other column types seem to work.  However, that seems error prone.  Is there a way to easily set every column to read-only in my c# code?

Thanks.

Mike
Top achievements
Rank 1
 answered on 10 Aug 2015
2 answers
117 views

Hi,

 

When I use the bootstrap theme, the columns run over each other as in the screen shot.

The same grid using any other theme looks fine.

Pavlina
Telerik team
 answered on 10 Aug 2015
1 answer
297 views

Hello

I have enabled All in the paging options with the RadGrid using this code: 

<PagerStyle EnableAllOptionInPagerComboBox="true" />

How would I default the paging to "All"? I tried PageSize="All" in the RadGrid tag but it throws an error. 

 

Cannot create an object of type 'System.Int32' from its string representation 'All' for the 'PageSize' property.​

 

Eyup
Telerik team
 answered on 10 Aug 2015
3 answers
335 views
Hi,

Here is the situation: I have a RadComboBox (not LoadOnDeman) which is filled with values when I load the page:

<telerik:RadComboBox ID="drpCollectingScript" runat="server" Height="150px" Width="225px"
DropDownWidth="360px" HighlightTemplatedItems="true" Filter="Contains" AutoPostBack="False"
MarkFirstMatch="true" OnClientKeyPressing="setHighlightedItem"
OnClientBlur="setId" OnClientFocus="toggleRadCombo" ViewStateMode="Enabled">
  <HeaderTemplate>
    <table style="width: 340px" cellspacing="0" cellpadding="0">
      <tr>
        <td style="width: 340px;">
          <asp:Label ID="lblCSCode" runat="server">Code</asp:Label>
        </td>
      </tr>
    </table>
  </HeaderTemplate>
  <ItemTemplate>
    <table style="width: 340px" cellspacing="0" cellpadding="0">
      <tr>
        <td style="width: 340px;">
          <%# DataBinder.Eval(Container, "Attributes['Code']")%>
        </td>
      </tr>
    </table>
  </ItemTemplate>
</telerik:RadComboBox>

CodeBehind:

If Me.IsPostBack = False Then
  Dim scripts = New CatalogService().GetAllScriptTips()
  For i As Integer = 0 To scripts.Count - 1
    Dim item As New RadComboBoxItem()
    item.Text = scripts(i).Code
    item.Value = scripts(i).ScriptTipId
 
    item.Attributes.Add("Code", scripts(i).Code)
    item.Attributes.Add("Script", scripts(i).ContentDesign)
    drpCollectingScript.Items.Add(item)
    item.DataBind()
  Next
End If

The problem is that if I don't make a Postback that refreshes the table element in which the RadComboBox is contained (using RadAjaxManager) within aproximately 2 minutes after loading the page, then the RadComboBox loses all of its items and this problem extends aswell to the asp:DropDownList controls which are contained within the same table element.

So, what's the problem here? What can I do to solve this problem?
Ivan Danchev
Telerik team
 answered on 10 Aug 2015
1 answer
163 views

If you look at the first bullet point on this page http://docs.telerik.com/devtools/aspnet-ajax/visual-stylebuilder/overview it seems to indicate that it should be very easy to change the primary color scheme used in a theme, which to me sounds as though it should apply to all controls in that theme.  If this is the case can you explain to me how this would work?

 

Thanks.

Ivan Zhekov
Telerik team
 answered on 10 Aug 2015
2 answers
116 views

Hi,

 

In my app, I use all of the telerik themes (app lets user select which theme to use.) and I use RadWindows quite heavily.

And in all the other themes, the radwindow shows scrollbars vertically and horizontally correctly when needed.

In bootstrap theme, when I first open the window, there are never scrollbars, but if I maximize the window then restore size of window, the scrollbars are there.

Also, if there are no scrollbars and I do something that causes the page inside the window to postback, the scrollbars will come up.

 What's the deal?  I need those scrollbars on first load!

 

Thanks!

Misho
Telerik team
 answered on 10 Aug 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?