Telerik Forums
UI for ASP.NET AJAX Forum
10 answers
494 views
Hi,

I am trying to use the captcha control inside a login control. I also changed the username and password textboxes to Radtextbox. I added another RadTextBox to act as the Validated textbox of the Captcha control (since the captcha control uses a normal input box not a Rad). I also added a validation summary.
My problem is when I click the log in button after entering the username, password and the image code, The image refreshes, the validated text box remains the same code entered for the old image and the validation summary returns an error the code doesn't match the image. I tried clearing the text box after but the same error from the validation summary is still the same. This prevents the form from actually submitting.

I hope I explained my problem clearly.

Best regards,
Sameh
Pero
Telerik team
 answered on 29 Mar 2010
1 answer
91 views
Hi,
 
Is it possible to create a rad tree and then load it in javascript.

Something like,

   var tree = new Telerik.Web.UI.RadTreeView();
    var treedata = ".....";   // string compatible with radtree xml format
tree.load(treedata);

or tree.set_element(treedata);

Please let me know, whether any one of create or load is possible in javascript.
Thanks in advance !!!
Yana
Telerik team
 answered on 29 Mar 2010
1 answer
207 views
I'm fighting with client-side style issues in the built-in ASP.NET RadioButtonList and CheckBoxList.

Why hasn't Telerik created these as enhanced Rad controls?
 
It sure would be nice to stick to one client-side API.

Thanks,

Ken
Dimo
Telerik team
 answered on 29 Mar 2010
5 answers
216 views
Dear SUpport,

I installed the newest version of the AJAX Telerik Controls (2010 Q1) and want to try out the JavaScript Intellisense.

How does this feature works. If I try there is no JavaScript Intellisense.

Must I enabled this feature anywhere?

Thanks for help.

Christian
T. Tsonev
Telerik team
 answered on 29 Mar 2010
2 answers
145 views
Hi All,

I have an ItemTemplate with a RadNumericTextBox bound as follows:-

<ItemTemplate> 
    <telerik:RadNumericTextBox ID="RadNumericTextBox_cost" Runat="server"  
            Culture="English (United Kingdom)"  
            Type="Currency"  
            Width="60px" Text='<%# Eval("cost") %>' MinValue="0" MaxValue="5500"  
            EnabledStyle-HorizontalAlign="Right" FocusedStyle-HorizontalAlign="Right"> 
        <FocusedStyle HorizontalAlign="Right" /> 
        <EnabledStyle HorizontalAlign="Right" /> 
    </telerik:RadNumericTextBox> 
</ItemTemplate> 

In some instances I wish to change the binding of the control at runtime ie costAdjust rather than cost

<ItemTemplate> 
    <telerik:RadNumericTextBox ID="RadNumericTextBox_cost" Runat="server"  
            Culture="English (United Kingdom)"  
            Type="Currency"  
            Width="60px" Text='<%# Eval("costAdjust") %>' MinValue="0" MaxValue="5500"  
            EnabledStyle-HorizontalAlign="Right" FocusedStyle-HorizontalAlign="Right"> 
        <FocusedStyle HorizontalAlign="Right" /> 
        <EnabledStyle HorizontalAlign="Right" /> 
    </telerik:RadNumericTextBox> 
</ItemTemplate> 

I have tried the following:-

Dim costAdjust As RadNumericTextBox = (DirectCast(dg_detailRecovery.MasterTableView.Items(0).FindControl("RadNumericTextBox_cost"), RadNumericTextBox)) 
 
costAdjust.Text = "<%# DataBinder.Eval(Container.DataItem, 'costAdjust') %>" 
 


But the .Items(0) returns an error.

Does anyone have any ideas how this can be achieved???

Thanx

Marcus

ItemTemplate
Marcus
Top achievements
Rank 1
 answered on 29 Mar 2010
3 answers
233 views
Hi

Is it possible to hide the dropdown arrow? I don't want people to click it at all.

Thanks
Jon
Jonathan Levy
Top achievements
Rank 1
 answered on 29 Mar 2010
4 answers
80 views
Hi,

I'm trying to figure out a way to translate the text on the Mozilla paste helper dialog programmatically using server side code. Is it possible? Also,  at the localization resource files, I noticed MozillaPasteHelper_Paste, and MozillaPasteHelper_UseControlVMessage. However, there is also a "Cancel" button. What resource name is used to translate the cancel button?

Thanks!
Rumen
Telerik team
 answered on 29 Mar 2010
1 answer
180 views
Telerik demos shows two cool features in "Related ComboBoxes" and "Load on demand" items.

However, bringing this together seems to be tricky.

If we have RadComboBox1 and RadComboBox2 on the page (both using Load on demand), and if the RadComboBox2 is dependent upon the text from RadComboBox1 how can one write  RadComboBox2_ItemsRequested method so that it also recognize the input provided in RadComboBox1. If I try it with RadComboBox1.Text, it returns empty string, of course since the text is provided on the Client side, and RadComboBox2_ItemsRequested runs on server side.

Thanks.
Drazan Kosic
Top achievements
Rank 1
 answered on 29 Mar 2010
3 answers
153 views
I need a visual indicator on the input controls to show unsaved changes.

Does anyone have an example of altering the background colour, border, or some other part of a control's UI to indicate the user has changed the value since saving?

Thanks,

Ken
Dimo
Telerik team
 answered on 29 Mar 2010
1 answer
476 views
I am populating the combo box from a column in the database.
Rather than having it load with the first item in the database,
I would like to have it load empty so the user does not have to delete any text when they first start typing.
Here are some of the things that I have tried, but did not work....

//this works with a regular drop down list, but not combo box.

//this.RadComboBox1.Items[0].Selected = false;

 

//this.RadComboBox1.SelectedValue = "";

 

 

//this.RadComboBox1.Item.Insert(0, new ListItem("--", ""));

 

 

//this.RadComboBox1.SelectedIndex = 0;

 

 


//this did not work
this
.RadComboBox1.Items[0].Selected = false;

 

 

this.RadComboBox1.SelectedValue = "";

How can I get it box to load blank or insert blank line?

 

Shinu
Top achievements
Rank 2
 answered on 29 Mar 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?