Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
73 views
Hi, I have a RadToolbar in an ASPX site working properly on all modern browsers but IE9 since I can disable a button on client side with this sentence:
parent.header.RadToolbar1.DisableButton("Button");

But whenever I try to enable the button nothing happens (only in IE9, compatibility mode is ok).
Thanks in advance.
Kate
Telerik team
 answered on 25 Mar 2013
1 answer
65 views
Hi

I've got a ribbon bar on a page that i hit from an IPad and have set the EnableMinimizing property equal to true.  However, when you click the minimize button nothing happens.

Anyone experience this and/or know how to fix it?

Thanks
Kate
Telerik team
 answered on 25 Mar 2013
2 answers
86 views
HI


     Im Using Telerik Radgrid to import and export Excel.
     the import and export functions are working good.
     in this i directly bind the data from excel to radgrid.
     
     now my problem is....
    1)im using filteringbycolumn property to filter the radgrid its not working(the grid data will empty)
        even i gave autogeneratecolumn=true
    2)im trying to give page size so i gave allowpaging=true  it show only pager on below
           if i click next page button means the grid geeting empty


      pls give the solution for this asap

  Regards
  P.Mugil
Mugil
Top achievements
Rank 1
 answered on 25 Mar 2013
1 answer
189 views
i use delphi prism add on studio  and add telerik component and show error "Unknow type Telerik.Web.UI.RadScriptManager" 
Dimitar Terziev
Telerik team
 answered on 25 Mar 2013
1 answer
72 views
I would like to manually edit a listview and use the password strength checker only the checkPasswordMatch function is asking for the correct client ID

function checkPasswordMatch() {
                var text1 = $find("<%=PasswordInput1.ClientID %>").get_textBoxValue();
                var text2 = $find("<%=PasswordInput2.ClientID %>").get_textBoxValue();
 
                if (text2 == "") {
                    $get("PasswordRepeatedIndicator").innerHTML = "";
                    $get("PasswordRepeatedIndicator").className = "Base L0";
                }
                else if (text1 == text2) {
                    $get("PasswordRepeatedIndicator").innerHTML = "Match";
                    $get("PasswordRepeatedIndicator").className = "Base L5";
                }
                else {
                    $get("PasswordRepeatedIndicator").innerHTML = "No match";
                    $get("PasswordRepeatedIndicator").className = "Base L1";
                }
            }

Can I stick this is a script or code block and get it to work?

Thanks, Marty
Kostadin
Telerik team
 answered on 25 Mar 2013
3 answers
759 views
Hello all,

we recently purchased telerik controls and tried to implement the rating controls in one of the pages. I generated the new key and updated the dlls. Locally it worked fine and uploaded the pages online.The rating controls are rendered as 1, 2, 3 etc.  

In the instruction pdf it is mentioned that  Telerik.web.design.dll must be deployed in GAC. Our site is hosted in a shared hosting server. In this case, how can I deploy the dll?

please advise.
Biliana Ficheva
Telerik team
 answered on 25 Mar 2013
3 answers
276 views
Hi

Is it possible to restrict the number of decimal digits that users can enter on GridNumericColumns (on edit forms and in-place edit) and on RadNumericTextBoxes?

I know that using the DecimalDigits and DataFormatString={0:C2} will display only two decimal digits in the control, with this users can type in as many decimal digits as they want and when they tab out the control displays two decimal digits.

But what I want here is for users to not be able to type in more than 2 decimal digits when editing the field. 


Not sure if/how this can be done.

Thanks
Shinu
Top achievements
Rank 2
 answered on 25 Mar 2013
0 answers
104 views
Hi,
     In my project am using two rad calendars with id 'CalendarSelectorOne' and 'CalendarSelectorTwo'. I want to set focused date of 'CalendarSelectorTwo' when 'CalendarSelectorOne' view changes on 'OnCalendarViewChanged' event. Below is my code how am using in project

aspx code:
      <rad:RadCalendar ID="CalendarSelectorOne" EnableMultiSelect="false" runat="server"
                        Skin="Black" EnableNavigation="true" EnableMonthYearFastNavigation="true">
                        <ClientEvents OnDateSelected="OnCalendar1DateSelected"
                            OnCalendarViewChanged="OnCalendar1ViewChanged" />
      </rad:RadCalendar>

       
     <rad:RadCalendar ID="CalendarSelectorTwo" EnableMultiSelect="false" runat="server"
                        Skin="Black" EnableNavigation="false" EnableMonthYearFastNavigation="false">
                        <ClientEvents OnDateSelected="OnCalendar1DateSelected" />
       </rad:RadCalendar>


Javascript Code:
   
          var calendarone;
          var calendartwo;
          function pageLoad(sender, args) {
                calendarone = $find('<%=CalendarSelectorOne.ClientID %>');
                calendartwo = $find('<%=CalendarSelectorTwo.ClientID %>');             
            }

        function OnCalendar1ViewChanged(sender, eventArgs) {
                var dateTriplet = sender.get_focusedDate();   
                    var selectedDate = new Date(dateTriplet[0], dateTriplet[1] - 1, dateTriplet[2]);
                    var calendar2 = new Date(dateTriplet[0], dateTriplet[1], dateTriplet[2]);
                    calendartwo.set_focusedDate(calendar2);  
               
            }


    In OnCalendar1ViewChanged event am getting 'CalendarSelectorOne' focused date and add one month from that date and seeting focused date to  'CalendarSelectorTwo' calendar. But its not changing the view of the second calendar.

    Please let us know am doing any wrong in this.


Regards,
Nishanth P

Nishanth
Top achievements
Rank 1
 asked on 25 Mar 2013
2 answers
925 views
I am trying to get the count of the number of rows in the radgrid as part of the needDataSource event.  I needs to change a tab header that sits at top of page based on the number of rows it pulls, tried multiple things but nothing works.  below always returns 0

Protected Sub myRadGridList_NeedDataSource(sender As Object, e As Telerik.Web.UI.GridNeedDataSourceEventArgs) Handles myRadGridList.NeedDataSource
       Dim Count As Integer = 0
       Dim sqlwhere As String = ""
       GetSrpId()
 
       sql = "Select strssn, strFullname, strRank, strPMOS, Convert(varchar(10), strdob, 111) strDob from MnNgPersonnel.dbo.tblMNNatPersonnel Where strRECPREC = '99999999' and strRECSTAT <> 'M' AND " _
           & "(strUIC = '" & HFID.Value & "' or strAttchUIC = '" & HFID.Value & "') and (strSSN Not IN (Select strssn from tblUnitSRPPersonnelHist where intSRpId = " & HFRID.Value & "  and dtExpire > " _
           & "GETDATE() and bitActive = 1) OR strSSN Not IN (Select strssn from tblUnitSRPPersonnelHist where intSRpId = " & HFAID.Value & " and dtExpire > GETDATE() and bitActive = 1)) " & sqlwhere & ""
 
       myRadGridList.DataSource = getData(sql)
 
       Count = myRadGridList.MasterTableView.Items.Count
 
       tbAnnual.HeaderText = "Annual Reviews (" & Count & ")"
 
       pnlGrid.Visible = True
   End Sub
Shinu
Top achievements
Rank 2
 answered on 25 Mar 2013
1 answer
52 views
hi
after reading this:
http://www.telerik.com/help/aspnet-ajax/grid-inserting-values-usercontrol-formtemplate.html

i want to know if there is away of capturing the item edit from user control as shown in the section,

Setting predefined values for controls inside user control on item insertion
i tryed to do this on editcommand but the conversion returns nothing

i know i can get the item data on the databind on the usercontrol but i want to set a few things before i fill the data from the data object.

can i do this? 
thanks.

Shinu
Top achievements
Rank 2
 answered on 25 Mar 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?