Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
96 views
Hi Peter,

When validating a drop down list, is there a way to make it so that only data in the last level of a branch is selected?  ie in the example below only the bold text would count as a selected value and as such allow the control to validate to true.

1
1.1
1.1.1
1.1.2
1.2

1.3
1.3.1

Regards

Jon
Jon
Top achievements
Rank 1
 answered on 16 Apr 2013
1 answer
390 views
Hi Telerik,

I am a bit confused with the usage of the various modes of protection in RadCaptcha. Can someone get me how the Captcha, time out and Hidden textfield differ?

Thanks for your reply,
Saira
Princy
Top achievements
Rank 2
 answered on 16 Apr 2013
1 answer
125 views
Hi,

The RadCaptcha is appearing as a combination of alphabets and numbers. How can I restrict all the digits from the captcha?

Thanks for your reply,
Saira
Princy
Top achievements
Rank 2
 answered on 16 Apr 2013
1 answer
101 views
Hi,

The RadUpload control I am using is intended to upload only three files at a time. If the user select more than three files and try to upload, I want to show an alert. How?

Thankyou,
Berk
Princy
Top achievements
Rank 2
 answered on 16 Apr 2013
3 answers
269 views
I'm posting this problem so that others may get a quick answer to an issue that took me way longer to resolve than it should have.

I just upgraded one of my sites with newer Telerik controls along with other changes. Suddenly on the site was getting Javascript and other errors with "Telerik is not defined ". None of the controls rendered correctly, no Telerik skins or CSS was being applied. Fiddled with the web.config file for quite some time before figuring it out.

Due to a bug in the current Telerik control suite, I had been advised to use the latest 802 internal build. This had resolved my original issue but introduced this one.

There is no hosted CDN files for internal builds! If you have this in your web.config, you need to disable it when using internal builds.

<add key="Telerik.ScriptManager.TelerikCdn" value="Enabled" />
<add key="Telerik.StyleSheetManager.TelerikCdn" value="Enabled" />
<add key="Telerik.Skin" value="Default" />

Simple as that, it fixed the problem.

Dylan
Top achievements
Rank 2
 answered on 16 Apr 2013
1 answer
113 views
PersistStateInCookie has stopped working in last version 2013.1.403.45
Works perfectly in version: 2013.1.220.45
Dimitar Terziev
Telerik team
 answered on 16 Apr 2013
3 answers
89 views
Hello,
  If you look on to Telerik you will see there is a way to persist bookmarks.  I am guessing it is a Mega Menu control.  Does anyone know where the code is for that functionality?

Thanks
Kate
Telerik team
 answered on 16 Apr 2013
6 answers
539 views
Hi.  Could someone point me to or show me an example of how to add user controls to a RadListView in code behind please. 

I have defined the RadListView in the aspx page.  In the code behind I create a DataTable containing ID numbers.  Next, I loop through these numbers and for each one instantiate two user controls, rebind the user controls, and then add them to the RadListView.

I have the logic to do all of this except I cannot seem to figure out how to add the user controls to the RadListView.  No editing/changes will be made to the user controls, I just need to display a horizontal list of the controls for informational purposes.

Here's the aspx code:
<asp:Panel ID="rpItem" runat="server" Scrolling="Y">
<telerik:RadListView ID="RadListView1" runat="server" DataKeyNames="iItemID, iSecID"
        ItemPlaceholderID="ItemPlaceHolder1" AllowPaging="true" Skin="Windows7"
        PageSize="1" Height="325px" >
        <LayoutTemplate>
            <asp:Panel ID="ItemPlaceHolder1" runat="server" Height="300px">
            </asp:Panel>
        </LayoutTemplate>
        <ItemTemplate>
             
        </ItemTemplate>
    </telerik:RadListView>
</asp:Panel>

Here's the code behind:
Dim tblItemIDs As DataTable = GetItemIDs()
 
For Each r As DataRow In tblItemIDs.Rows
 
    Me.hfItem.Value = r("iItemID")
 
    Dim ucItemInfo As UserControl = Page.LoadControl("/controls/iItem_Info.ascx")
    Dim infoView As RadListView = DirectCast(ucItemInfo.FindControl("RadListView1"), RadListView)
    infoView.Rebind()
 
    'Need to add the ucItemInfo  user control
 
  Dim ucItemPreview As UserControl = Page.LoadControl("/controls/iItem_Preview.ascx")
  Dim listView As RadListView = DirectCast(ucItemPreview.FindControl("RadListView1"), RadListView)
    listView.Rebind()
 
  'Need to add the ucItemPreview user control
 
  RadListView1.DataBind()
 
Next


Any help would be greatly appreciated.
Thanks!
Maria Ilieva
Telerik team
 answered on 16 Apr 2013
4 answers
129 views
Hi,

I have used a telerik radgrid in mu aspx page. It has several GridTemplateColumn ans Gridbound Columns.The problem is when ever I click on the column for sorting the sort icon is displayed on the second line.Even after we have ample space(marked as Green) to accommodate the sort icon exactly next to Header text. The sort icon is displaying on the second line.Please check the attached image for more details.

Thanks,
A2H
Eyup
Telerik team
 answered on 16 Apr 2013
3 answers
192 views
Hello

I can't get items when I use the 

              Dim MyItem As GridDataItem = gDGD.MasterTableView.FindItemByKeyValue("cInstID", Integer.Parse(cInstID))


              MyItem is allways = nothing

But it find it when i do
     For Each updatedItem As GridDataItem In gDGD.Items

                If updatedItem.GetDataKeyValue("cInstID").ToString() = cInstID Then
......          

can you explain where is the problem ?

Thank you a lot for your help

Anne

Jayesh Goyani
Top achievements
Rank 2
 answered on 16 Apr 2013
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?