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

I'm using 2013.2.717 of the ASP.NET for AJAX controls.

I'm using the RadDock control and I have implemented a custom DockCommand for Closing a Dock.

Q.  In my javascript function that runs when the user closes a Dock, how can I get the dock's UniqueName property?

The only thing I see that gets it is:  sender._uniqueName

While that works for now, it seems like since that is a "private field", Telerik could change it without notice and break my application...  So, using that line of code seems dangerous.

Isn't there a way "more supported way" to get the Dock object's UniqueName property from javascript?

Thanks,
Brent
Brent Hetland
Top achievements
Rank 1
 answered on 24 Sep 2013
1 answer
70 views
We are under telerik upgradation to the latest version available. On the way we faced an issue saying Radgrid.AsyncRedirect() is not in the new dll (getting "missing any reference" error). Does anyone know what would be the replacement for Radgrid.AsyncRedirect() method to achieve the same functionality in the latest telerik dll (telerik.web.ui)? kindly help. Thank you in advance.
Maria Ilieva
Telerik team
 answered on 24 Sep 2013
2 answers
103 views
Hi,
using combobox and want to stay at default text like select user type after page refresh and data save completed
 <telerik:RadComboBox ID="cmbusertype" runat="server" Width="280px" ExpandAnimation-Type="OutBounce"
                            Skin="WebBlue">
                            <DefaultItem Text="Please Select User Type" Value="-1" />
                        </telerik:RadComboBox>

Thanks
Swapnil
Top achievements
Rank 1
 answered on 24 Sep 2013
2 answers
50 views
I need to display the RadLoadingPanel for the Radgrid however I have a timer that every 3 seconds rebinds the grid. Is it possible to exclude the loading panel on certain events.
Maria Ilieva
Telerik team
 answered on 24 Sep 2013
6 answers
438 views
Hi,
I am using RadGrid which has 4 columns. column2 = GridTemplateColumn with ItemTemplate as textbox and column4 = GridTemplateColumn with ItemTemplate as checkbox.

I need to get the value of the textbox and do some calculation and assign the calculated value to column3 for that row.
I am trying to do it on client side and this is my .ascx code for onblur of the textbox :
function ConvertToUSD(index) {               
               var grid = $find("<%=AntiXss.JavaScriptEncode(rgdPOTypes.ClientID).Trim('\'')%>");
               var MasterTable = grid.get_masterTableView();
               var Row = MasterTable.get_dataItems()[index];                                
               var cell = MasterTable.getCellByColumnUniqueName(Row, "TextboxCurreny");              
               if (!cell) {
                       var nextcell = MasterTable.getCellByColumnUniqueName(Row, "InUSD");              
                       nextcell .InnerHTML = cell.InnerHTML * 50;
               }
           }

In the above code, the value of 'cell' is always coming as null.
file.ascx.cs
protected void rgdPOTypes_ItemCreated(object sender, GridItemEventArgs e)
        {
            if (e.Item is GridDataItem)
            {
                GridDataItem item = (GridDataItem)e.Item;
                TextBox txtBox = (TextBox)item.FindControl("TextboxCurreny");
 
                txtBox.Attributes.Add("onblur", "ConvertToUSD('" + item.ItemIndex + "')");
             }
        }

Please help me understand what is going wrong in the code.

Thanks,
Preeti
Maria Ilieva
Telerik team
 answered on 24 Sep 2013
1 answer
184 views
Hi,

i have upgraded the teleric control library with the latest version.
Earlier i was using get_value() property to get the value from the rad numeric text box and it was working fine, now when i updated it this property(get_value) is not supporting to get the value from rad numeric textbox. 

i have written my code which i have used below.

function OnBlur() 

    var Input1 = $find("<%= RadNumericTextBox1.ClientID %>"); 

    var value1= Input1.get_value(); 

    var result = value1*2; 

    var Input3 = $find("<%= RadTextBox1.ClientID %>"); 

    Input3.set_value(result);    

function OnBlur1() 

    var Input2 = $find("<%= RadNumericTextBox2.ClientID %>"); 

    var value2= Input2.get_value(); 

    var result = value2*2; 

    var Input3 = $find("<%= RadTextBox1.ClientID %>"); 

    Input3.set_value(result); 



<telerik:RadNumericTextBox ID="RadNumericTextBox1" Runat="server"

        <ClientEvents OnBlur="OnBlur" /> 

</telerik:RadNumericTextBox> 

<telerik:RadNumericTextBox ID="RadNumericTextBox2" Runat="server"

        <ClientEvents OnBlur="OnBlur1" /> 

</telerik:RadNumericTextBox> 

<telerik:RadTextBox ID="RadTextBox1" runat="server"

</telerik:RadTextBox>


Can you please tell me which property will work with this so that i can get only value from the rad numeric textbox?

Kostadin
Telerik team
 answered on 24 Sep 2013
3 answers
97 views

Is it possible to set EmptyMessage in RadGrid1_ItemDataBound Edit Mode for a telerik:GridBoundColumn or GridDateTimeColumn?

Princy
Top achievements
Rank 2
 answered on 24 Sep 2013
1 answer
121 views
Hello,

I have RadCaptcha on my page with enabled "Refresh Captcha Image Functionality" but there is one thing if I type wrong captcha I receive error message that's correct then I click on 'Generate new image' and error message still visible but should not be visible because I generate new captcha Image. How can I hide error message when I click on Generate new image link?

Regards.
Princy
Top achievements
Rank 2
 answered on 24 Sep 2013
1 answer
74 views
I am using a raddatetimepicker. On clicking the time picker button, can I display all the time values in a horizontal fashion?
Thanks
Robert
Shinu
Top achievements
Rank 2
 answered on 24 Sep 2013
2 answers
52 views
Hi all,

I use a header context menu to group or ungroup my records in a grid
http://www.telerik.com/help/aspnet-ajax/grid-header-context-menu.html

and I use GroupByExpressions to order by my records.

When I click GroupBy menu at the first time, in event MyRadGrid_NeedDataSource, I get GroupByExpressions by doing the following codes:
MyRadGrid.MasterTableView.GroupByExpressions. But at this time, GroupByExpresssions is empty. I expected that this time there is a record
of GroupByExpresssions.

When I click GroupBy menu again, At this time, GroupByExpressions has one record.???

So my questions are
- Can I get GroupByExpressions when I click on GroupBy menu at the first time ? and How ?
- If Not, Is there any way to workaround this issue ?

Thanks.
Eyup
Telerik team
 answered on 24 Sep 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?