Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
106 views
Hello

How can we access each  row value of a particular column in radgrid? Thanks in advance....

Regards
Rekha.
Rekha
Top achievements
Rank 1
 answered on 19 Jul 2012
7 answers
162 views
Hi Team,

I created a page with one RadGrid , few RadTextBox controls and one asp button.

When i click on enter key for first time then Button click event is firing....
But when i click mouse on any RadTextBox and press Enter key of the Key Board, then the filter menu [pop up] of RadGrid comes to that RadTextBox.
Why this filter menu[popup] is displaying for RadTextBoxes, Its has to display for RadGrid only

Please suggest me how to resolve that issue.
Kostadin
Telerik team
 answered on 19 Jul 2012
10 answers
851 views
Hi,

Have a custom template for my CommandItemTemplate and I am trying to hide or unhide a linkbutton when they click another one, but nothing has worked so far and I am out of ideas.  it just does not find the linkbuttons, when i click on one I want to hide it then unhide the other to return.
<CommandItemTemplate>
                                           <table width="100%">
                                               <tr>
                                                   <td align="left">
                                                       <asp:LinkButton ID="lnkAddNew" runat="server" Text="Add New Record" Font-Bold="true" Font-Underline="true" CommandName="AddNew"></asp:LinkButton>
                                                             
                                                       <asp:LinkButton ID="lnkExisting" runat="server" Text="View History" Font-Bold="true" Font-Underline="true" CommandName="ViewHist"></asp:LinkButton>
                                                       <asp:LinkButton ID="lnkCurrent" runat="server" Text="View Current" Font-Bold="true" Font-Underline="true" CommandName="ViewCurrent" Visible="false"></asp:LinkButton>
                                                   </td>
                                               </tr>
                                           </table>
                                       </CommandItemTemplate>


If (e.CommandName = "ViewHist") Then
          Dim cmdItem As GridCommandItem = DirectCast(e.Item, GridCommandItem)
          Dim hist As LinkButton = DirectCast(cmdItem.FindControl("lnkExisting"), LinkButton)
          Dim curr As LinkButton = DirectCast(cmdItem.FindControl("lnkCurrent"), LinkButton)
          hist.Visible = False
          curr.Visible = True
          HFHist.Value = 1
          myRadGrid.Rebind()
          myRadGrid.Columns(0).Visible = False
      End If


tried this as well
Dim cmdItem As GridCommandItem = DirectCast(myRadGrid.MasterTableView.GetItems(GridItemType.CommandItem)(0), GridCommandItem)

Kevin
Top achievements
Rank 1
 answered on 19 Jul 2012
2 answers
116 views
Hi,

   I have recently upgraded telerik to version 2012.1.411.35, from 2009.3.1314.35. I have since encountered an issue with the Raddatepicker. When loading a page with a calendar control on it, the control initially seems to ignore the locale, showing a date format of YYYY-MM-DD-HH-MM-SS for 2-3 seconds, before adjusting itself to the proper format such as YYYY-MM-DD.

We have implemented these using C#, running windows XP and IE8. The issue goes away if I revert back to telerik 2009, but we chose to upgrade to make use of the new telerik controls. I'd appreciate any help regarding this issue.

Thanks,

Ricardo Hernandez
Ricardo
Top achievements
Rank 1
 answered on 19 Jul 2012
4 answers
130 views
HI, 

i'm trying to make AllowSubmitOnEnter work. I have a RadGrid witch is updated through a templateform. With AllowSubmitOnEnter = true, data is update only if the focus is in a RadTextBox or a RadNumericTextBox. If the focus is in a RadioButton or a CheckBox, the changes are canceled and the first row of my Grid enters in edit mode. 

Is there something to do with this? 

Thanks

Tommy
Tommy
Top achievements
Rank 1
 answered on 19 Jul 2012
2 answers
151 views
I'm having a heck of a time just finding how to do basic operations. I feel bad about posting something as simple as this, but how does one do simple things like assign a value to this control and retreive the selected value?

Does one use "RadDatePicker1.DateInput.Text", or is there a better property to get at this?

I was using this property and got "Text property cannot be set. String was not recognized as a valid DateTime." and am suspecting perhaps isn't the way.

Thanks in advance!

Edit: I found a property called "selectedDate" and that seems to work. However I'm not sure if this is the recommended practice.
Darren
Top achievements
Rank 2
 answered on 19 Jul 2012
2 answers
203 views
Hi

I'm trying to refresh a set of HtmlCharts on my page in an ajax-style manner i.e. without reloading the whole page. The charts are populated manually in code using a method similar to that shown in http://demos.telerik.com/aspnet-ajax/htmlchart/examples/serversideapi/programmaticcreation/defaultcs.aspx.

I'd like to know if it is possible to refresh an HtmlChart using Ajax and the RadAjaxManager? I haven't succeeded yet since it seems to crash the browser (Firefox 13.0.1) when I try. This may be an SVG/browser issue, but I'd like to know if it ought to work?

Alternatively is it possible to use the loadData() method from javascript and repopulate the chart with data as in the 'Programmatic Creation' sample? I can't see any events available server side to respond to loadData() but I'm not sure how the loadData binding works, so again I'm not sure if I'm going down the wrong path here.

Any suggestions appreciated
Thanks
Tom
Slav
Telerik team
 answered on 19 Jul 2012
2 answers
100 views
Hi,
We are using Telerik rad grid version 2010.1.519 in VS 2010 project. From "GridClientSelectColumn -- (un)check "Select All" check box automatically" thread(http://www.telerik.com/community/code-library/aspnet-ajax/grid/gridclientselectcolumn----un-check-quot-select-all-quot-check-box-automatically.aspx), came to know that Select All check box in the GridClientSelectColumn will be automatically checked when all rows are selected and unchecked if any row is un checked and no separate script is required. This functioanlity is working fine with 2010.1.519 version if radgrid control is in the separate aspx page.

If we use same control with same properties inside the RadPageView, "Select All" check box is not getting unchecked when any row is unchecked. Could you please provide some sample code /advise to resolve this problem?
Thanks
Tsvetina
Telerik team
 answered on 19 Jul 2012
3 answers
165 views
I have a radgrid (latest build) with a template column with a radio button, same in the detail table below the master.  I want the select on the top level radio button to set the subordinate radios buttons for the item in the detail button.  How do I access the detail table and set the radio button. thanks.
Tsvetina
Telerik team
 answered on 19 Jul 2012
1 answer
185 views
I am trying to see if the radorgchart control will work for my organization and I have run into a bit of a make it or break it issue.

Our organization's org chart must be able to display reporting relationships that skip levels. What I mean by this is that that could be a node with 3 people reporting to that one person, but the 3 people may not be on the same levels. I have attached a clear example.

In the example Deputy Associates and Assistant Directors report to the same person, but Assistant Director must be displayed lower than Deputy Associates.

I have not come across a method for determining levels other than the parent node. Any help for this is appreciated.
Peter Filipov
Telerik team
 answered on 19 Jul 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?