Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
129 views
Are there plans to:
  1. Create help in Help Library format for all products.
  2. Allow (at least as an option) a combined library of all Telerik products?

-- 
Stuart
Stuart Hemming
Top achievements
Rank 2
 answered on 15 Sep 2011
1 answer
77 views
Before I moved to Telerik, I was using another masked text box control.  It had a couple of features that I liked, and would like to suggest you add to your masked text box.

I would like to see a MaskedEditValidator control that can validate that the input is there and conforms with the mask.  It would take the place of both a RequiredFieldValidator and the RegularExpressionValidator, and would not require you to come up with a regular expression to match your mask.

In conjunction with that, you would have mask characters that indicate required entries.  For example, for a US zip code, which can be either five or nine digits, you would have a mask like: 00000 #####

This means that the first five digits are required to have a valid entry, but the second four are not.  That may not be the perfect example, but you get the idea.
Maria Ilieva
Telerik team
 answered on 15 Sep 2011
6 answers
164 views
I have a web application where I can dynamically add RadDocks, and I need to know how to identify the dock on which I click, as I can do this else there is no click event, or the selected property.

Note.
I have de latest version of controls 

 Thanks
Slav
Telerik team
 answered on 15 Sep 2011
2 answers
133 views
Hi. I have a website where there a some different types of data (A, B, C...). The obvious solution is for me to have a separate page to display each type of data (Page_A, Page_B....). Each would have a listview to display a list of the corresponding data and each listview would be different to reflect the different types of data and also the different functionality required for each type/list. HOWEVER, there is some complex functionality separate to the actual listviews that would be common to all of the pages. This functionality is, in part, used to produce the actual datasource required for the listview.

So I have a choice. Multiple pages that have different lists displayed on each page but which replicate common functionality.

Or I create a single page that has the common functionality which also generates the datasource and that single page could have multiple listviews but then attach/bind the datasource to just one of the listviews. That would mean that there are some other listviews on the page that end up being unused. Would this cause an overhead?

Any views or comments would be really appreciated. The main functionality and code associated with the page(s) is the common code.
Paul
Top achievements
Rank 1
 answered on 15 Sep 2011
1 answer
60 views
Hi ,
when i add ajaxmanager to my page , i get runtime error , this is my code :



<telerik:RadAjaxManager ID="RadAjaxManagerProxy1" runat="server">
    <AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="Button12">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="Panel12" />
            </UpdatedControls>
        </telerik:AjaxSetting>       
    </AjaxSettings>
</telerik:RadAjaxManager>

<asp:Button ID="Button12" runat="server" Text="Button" />
<asp:Panel ID="Panel12" runat="server" Height="95px">
    <asp:Image ID="Image12" runat="server" ImageUrl="/_layouts/images/vistarayan.cps/amessage.png" />
</asp:Panel>

when i delete ajaxmanager everything is fine !
i use telerik 2011.2.712.35 .
what is the problem ?
Radoslav
Telerik team
 answered on 15 Sep 2011
4 answers
380 views
We are using "Telerix Chart" Control in ASP.NET website(.Net 4.0 Framework).

When I host the website on IIS 7.0 in "Integrated Mode" on Windows Server 2008, Telerix Charts gives "404 Resource not found" errror.

This error is not given in "Classic Mode" in IIS 7.0 on Windows Server 2008.

I have tried the following option:-
1) Adding the below section in web.server section

<

httpHandlers>

 <add path="ChartImage.axd" verb="*" type="Telerik.Web.UI.ChartHttpHandler, Telerik.Web.UI, Culture=neutral, PublicKeyToken=121fae78165ba3d4" validate="false"/>

 </httpHandlers>

 

Can anyone please suggest the Resolution to the problem?
Sonia
Top achievements
Rank 1
 answered on 15 Sep 2011
1 answer
537 views
Details:
1 - Version 2011.2.712.40 of Telerik.Web.UI.
2 - Net 4.0 (therefore Visual Studio 2010).
3 - Development machine is Windows 7 Ultimate.
4 - Application pool is .Net 4.0 Integrated.

I have a simple login form (that uses a master page) with RadTextBoxes for username/password and a server-side button:

CONTENT.MASTER
<%@ master autoeventwireup="true" codebehind="content.master.cs" inherits="Administration.content" language="C#" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
     <head>
          <title>Administration</title>
     </head>
     <body>
          <form id="frmFormCriteria" runat="server">
               <asp:contentplaceholder id="cphContent" runat="server" />
          </form>
     </body>
</html>

LOGIN.ASPX
<%@ page autoeventwireup="true" codebehind="login.aspx.cs" inherits="Administration.login" language="C#" masterpagefile="~/content.master" title="" %>
<%@ mastertype virtualpath="~/content.master" %>
<%@ register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %>
<asp:content contentplaceholderid="cphContent" runat="server">
     <telerik:radscriptmanager runat="server" />
     Username: <telerik:radtextbox emptymessage="[Please enter your username]" id="txtUsername" maxlength="255" textmode="SingleLine" width="200" runat="server" />
     Password: <asp:textbox id="txtPassword" maxlength="100" textmode="password" width="200" runat="server" />
     <asp:button id="btnSubmit" text="Login" runat="server" onclick="btnSubmit_Click" />
</asp:content>

When I click inside the username control, the empty message does not disappear.

While debugging, when I type enter the username and password then click the login button, the text value for both controls is an empty string.

If I change the RadTextBoxes to server-side TextBoxes the entered values are passed correctly.

What is even more frustrating, if I change the RadScriptManager to the asp:ScriptManager and leave the RadTextBoxes alone, EVERYTHING (including the empty message disappearing on focus) works correctly.

I must be doing something wrong, but what?!?

The web.config is also:

<?xml version="1.0"?>
<configuration>
    <system.web>
        <compilation debug="true" targetFramework="4.0" />
        <customErrors mode="Off" />
        <xhtmlConformance mode="Transitional" />
        <httpHandlers>
            <add verb="*" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource, Telerik.Web.UI" validate="false" />
        </httpHandlers>
    </system.web>
    <system.web.extensions>
        <scripting>
            <webServices>
                <jsonSerialization maxJsonLength="5000000"/>
            </webServices>
        </scripting>
    </system.web.extensions>
    <system.webServer>
        <validation validateIntegratedModeConfiguration="false"/>
        <handlers>
            <add verb="*" name="Telerik.Web.UI.WebResource.axd_*" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource, Telerik.Web.UI" preCondition="integratedMode"/>
        </handlers>
    </system.webServer>
</configuration>
Tsvetina
Telerik team
 answered on 15 Sep 2011
2 answers
314 views

Hello,

I've a RadGrid with a ButtonColumn of type ImageButton. When adding an CommandArgument to this column the error: 'Specified argument was out of range of valid values. Parameter name: ItemHierarchicalIndex'.

<telerik:GridButtonColumn ButtonType="ImageButton" ImageUrl="~/Images/RadGrid/16pxSearch.png" CommandName="Edit" CommandArgument="View" UniqueName="ViewColumn">
  <HeaderStyle CssClass="rgHeader ButtonColumnHeader"></HeaderStyle>
  <ItemStyle CssClass="ButtonColumn"></ItemStyle>
</telerik:GridButtonColumn>

Anyone any idea how to fix it??

Regards,
  Jos Meerkerk

Marin
Telerik team
 answered on 15 Sep 2011
6 answers
132 views
I'm trying to set a solid color in the bar graph but it always gives me a fading color. Any ideas why? Here is my code

            Dim bar As New ChartSeriesItem


            bar.YValue = 1


            bar.Appearance.FillStyle.MainColor = Drawing.Color.ForestGreen
            mySeries.Appearance.FillStyle.FillType = Styles.FillType.Solid
            mySeries.AddItem(bar)


            chart.Series.Add(mySeries)

Also, do you know of any way to pick a random color? I.e. where I have drawing.color.forestgreen, I'd just like a random color so each bar is a different color.
Giuseppe
Telerik team
 answered on 15 Sep 2011
5 answers
264 views
Hi all,

I am using RadCombobox which contains CheckBoxes as its items. When a checkbox item is checked, its Text will be displayed in Combobox's Text with the delimiter is ",".
It's OK. But I get problem when user clicks/selects on an item instead of checking it. Text of Combobox will be replaced by Text of selecting item.
Please tell me how can I prevent this action ?

Thanks in advance
Phuc
Top achievements
Rank 1
 answered on 15 Sep 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?