Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
151 views
Hi,

I am using Radasyncupload to upload .doc files in my website. I want the radasyncupload to enable uploading files with .doc extension only. If the user selects other file format, i want the control to display an alert like Unsupported file format. Can anyone help me with sample code?

Thank you,
Teena
Princy
Top achievements
Rank 2
 answered on 27 Feb 2013
1 answer
129 views
Hi,
     This is prasad, when i click on insert button in RadGrid, RegularExpression validator is fired for RadMaskedTextBox instead of RequiredFeild Validator, How can i validate RadMaskedTextBox with RequiredField Validator.

Thanks
M V Prasad
Princy
Top achievements
Rank 2
 answered on 27 Feb 2013
1 answer
356 views
There're a class named 'RadDocument' and a class named 'HtmlFormatProvider', through which we can convert a html stream to an instance of class 'RadDocument', then we can get an xaml string using 'XamlFormatProvider'. Are there any equivalents in ASP.NET AJAX library instead of 'HtmlFormatProvider' and 'XamlFormatProvider' to support the conversion between html and xaml? 
Rumen
Telerik team
 answered on 27 Feb 2013
3 answers
195 views
Hi,
When inserting a new record to radgrid i had an error "insert item is available only when grid is in insert mode."
But the updating the values works perfect. I need to fix this issue quickly.










Thanks
Eyup
Telerik team
 answered on 27 Feb 2013
0 answers
75 views
Hi there,

I need samples for two scenarios:

1) I have RadListBox, based on the values selected, others controls (RadTextBox, RadComboBox,RadListBox, RadRadioListBox etc) will be visible to the user. If user made some changes on these controls and again changed the values of Main RadListBox, It should prompt the user that ‘ You have made some changes but not saved, do you still want to move away(select a new item)?’.
2) Whenever user navigate away from one page to another page, it should prompt like: ‘Do you want to move away?’
Thanks Regards, Mayil
MAYIL
Top achievements
Rank 1
 asked on 27 Feb 2013
2 answers
438 views
hello, i want to create a dynamic text box that it can enable/disable by OnClientCkeckChange of a Radcheckbox button ...my code is :

   <script type="text/javascript">
        function changedclient() {
 
            var textBox = $find("RadTextBox1");
            var button = $find("RadButton1");
            if (button.get_checked()) {
 
                textBox.set_value("");
                textBox.disable();
                
            }
            else {
 
 
                textBox.enable();
            }
        }
     
    </script>
 
 
-------------------------------------------
 
 <asp:ScriptManager ID="RadScriptManager1" runat="server"></asp:ScriptManager>
        <telerik:RadFormDecorator ID="RadFormDecorator1" runat="server" DecoratedControls="All" />    
        <telerik:RadButton ID="RadButton1" runat="server" AutoPostBack="False" ToggleType="CheckBox" ButtonType="ToggleButton" OnClientCheckedChanged="changedclient()">
        </telerik:RadButton>
 
        <br/>
        <telerik:RadTextBox ID="RadTextBox1" runat="server" Font-Names="tahoma">
            <FocusedStyle BackColor="#FFFFCC" BorderColor="Red" />
        </telerik:RadTextBox> 
.
.
.
.

But not working....
Shinu
Top achievements
Rank 2
 answered on 27 Feb 2013
1 answer
93 views
Referring to the image attached, I have this problem when i set the grid's width to 100%. Is there any other method to solve this..
Yew
Top achievements
Rank 1
 answered on 27 Feb 2013
0 answers
121 views
At the moment I have to break down this simple operation in two parts, I am sure the would be a better way is hiding from me :

List<int> selectedValues= new List<int>();
 
.
.
.
 
IEnumerable<RadComboBoxItem> checkedItems = from checkedItem in cblMagistrateCourts.Items.ToList()
                                                                where checkedItem.Checked == true
                                                                select checkedItem;
                    foreach (RadComboBoxItem item in checkedItems)
                    {
                        if (item.Checked)
                            selectedValues.Add(Convert.ToInt32(item.Value));
                    }
Aarsh
Top achievements
Rank 1
 asked on 26 Feb 2013
4 answers
1.0K+ views
Hi, I'm new to using the controls and I was wondering what the RadControl equivalent of an update panel is and how it works.

JG.
Pavlina
Telerik team
 answered on 26 Feb 2013
4 answers
203 views
Hi there,

Is there any way to remove the numeric numbers in the pager, at the same time keep the page size drop down list? If I set <PagerStyle Mode="NextPrev"></PagerStyle>, then the page size drop down list disappears.

Any help is greatly appreciated.

screenshot attached.
Meng
Top achievements
Rank 1
 answered on 26 Feb 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?