Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
150 views
I use radCaptcha  with audio code in my site.

 I use it in localhost it works fine and I can replace another .wav files with default audio files .but when i use it on server, it reads audio files from WebResource not from address I set and I can't replace this audio files.

even I delete this audio files from RadCaptcha folder,it reads audio files from webResource.
my question is how can i replace my custom audio files in RadCapcha in server not in localhost 

Slav
Telerik team
 answered on 09 Apr 2012
4 answers
179 views
Hi,

I have a Grid with items and a TreeView. I can drag and drop items from the Grid to the TreeView and it works fine. Right now dragging and dropping an item from the Grid to the Tree is like making a copy of that item from one node in the tree to another. However I need to extend the functionality and offer the user an option to select what he/she actully needs to do (Copy/Move/Make a Reference).

I need something like: onRowDropping (js event of the TreeVire) to show a pop-up with 3 options and when the user selects one of the options to actually be able to pass it the the server side event NodeDrop of the TreeView.

Is this possible with the Telerik controls?

Regards,
Kamen
Kamen
Top achievements
Rank 1
 answered on 09 Apr 2012
1 answer
73 views
Hi, 

I was wondering how to rebind/refresh only single row in the radgrid using ajax. The idea is that I have serverside function that changes property of an radgrid item (its image) and by clicking a button I want to show the changes.

Thanks, Ivan. 
Maria Ilieva
Telerik team
 answered on 09 Apr 2012
1 answer
329 views
Hello,
I  used the following script for open the radwindow from another radwindow. It is work but i want  to size(width,height) the window.
I can't unsertand how to set the size in this script.
 <telerik:RadScriptBlock runat="server" ID="test1_script">
    <script type="text/javascript">
        var test1Wnd;
        function GetRadWindow() {
            var oWindow = null;
            if (window.radWindow)
                oWindow = window.RadWindow; //Will work in Moz in all cases, including clasic dialog       
            else if (window.frameElement && window.frameElement.radWindow)
                oWindow = window.frameElement.radWindow; //IE (and Moz as well)       
            return oWindow;
        }
        function open_fromTest1() {
            var oBrowserWindow = GetRadWindow();
            if (oBrowserWindow) oBrowserWindow = oBrowserWindow.BrowserWindow;
            if (oBrowserWindow == null) {
                window.radopen("Default2.aspx" + "", "NewWindow1");
                
            }
            else {
                setTimeout(function() {
                    test1Wnd = oBrowserWindow.radopen("Default2.aspx", "NewWindow1");
                   
                }, 0);
            }
        }
    </script>
</telerik:RadScriptBlock>
and I used the RadButton:
<telerik:RadButton ID="cmdPrint" runat="server" SkinID="Button" AutoPostBack="false" Text="Print Prescription" OnClientClicked="open_fromTest1" />

I also added this: window.onresize(600, 1000);
It is not work.

Please help me as soon as possible.

Thanks and Regards
Jiten Mutum


rdmptn
Top achievements
Rank 1
 answered on 09 Apr 2012
6 answers
118 views
I currently have a popup with an Update and a Cancel button.
I would like to have 3 buttons - Update, Save and Cancel.
Save would do just that, but NOT close the popup.
This behavior is typical of many applications where Update means save+close and Save means save+leave-open.

How would go about implementing this Save functionality for my popup?

Thanks

Jim
Tsvetina
Telerik team
 answered on 09 Apr 2012
2 answers
213 views
Hi All,

We are having some difficulties on clearing RadDatePicker selected values. We have multiple RadDatePicker on our page and we want to clear its selected date to NULL or empty its input box, we already tried filtering RadDatePicker, DatePickingInput and RadDateInput with no success.

"No problem on JavaScript but we need to do it on server side"

Sample Code:

public void ResetFormControlValue(Control parent)
{
    foreach (Control c in parent.Controls)
    {
        if (c.Controls.Count > 0)
        {
            ResetFormControlValue(c);
        }
        else
        {
            switch (c.GetType().ToString())
            {
                case "Telerik.Web.UI.RadNumericTextBox":
                    break;
                case "Telerik.Web.UI.RadTextBox":
                    break;
 
                case "Telerik.Web.UI.DatePickingInput": // Clear all RadDatePicker
                    ((RadDateInput)c).Clear();
                    break;
            }
        }
    }
}

Thanks for any help!


Renan
Top achievements
Rank 1
 answered on 09 Apr 2012
1 answer
196 views
Hi
How can I use RadDataPager with AspGridView?
Shinu
Top achievements
Rank 2
 answered on 09 Apr 2012
1 answer
186 views
Hello telerik .

I'm looking for a way for adding grid row dynamically.

I don't want to use any datasource for adding  row.

I woud like to finding solution likes combobox or listview control style.

Is there a other way?
Shinu
Top achievements
Rank 2
 answered on 09 Apr 2012
3 answers
132 views
Hi,
Thanks for your attention,I am now getting a problem with radgrid,the requirements : I use the method to keep the checkbox state,that is the selected rows state,while paging.this method can reference the url:http://www.telerik.com/help/aspnet-ajax/grid-persist-selected-rows-client-sorting-paging-grouping-filtering.html, but now,I want to the other radgrid named selectedItems,can record the former radgrid's selected rows at the same time,for example,when you selected one row of the former radgrid,the selectedItems radgrid will add the selected row;when the user cancel selected row,the selectedItems will remove the row;when the user select the all selected button(in the header of the grid which can control the current page's rows),the selectedItems radgrid control will add the whole selected rows in time,what should I do now?another question is,if the former radgrid contans [ "id","name""sex"],but the selectedItems contains the["id","name","address"],here,we suppose the id is the keyname,and an item contains fields:["id","name","sex","address"],
the former radgrid control's record :

          id         name     sex
   '1001'  'Tony' 'male'
     '1002 '    'Suny'     'female'

now,When I select the fist row,id is '1001',then the following selectedItems will add the row:

         id          name      address
   '1001'  'Tony'  'Shanghai,China'

of couse,when I re-select the former radgrid's row,with the id is '1001' ,the selectedItems will remove it accordingly.Please had better not use the session,if you think the session is available,please account for that,I am a rookie,Thanks!

omer
Top achievements
Rank 1
 answered on 08 Apr 2012
1 answer
319 views
in the editform, I have a textbox that allow user input double and I have RadInputManager with NumericTextBoxSetting set to Type="Number" attached to that textbox.

now when I bring up the editform to edit existing record, the number 1628.87 is automatically format to 1,628.87, now when I click update, the method UpdateValues in method xxx_UpdateCommand throws exception:"1,628.87 is not a valid value for Double"

is this a bug? Thanks.
Henry
Top achievements
Rank 1
 answered on 08 Apr 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
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?