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

I'm Everytime updateing the new releases but i'm not able to find what newly updated in Vs2008. Today also i updated new version i red the release notes in that they mentiond about button controls . After updated i'm not find that control in Vs2008.

Give me Suggestion How to find or how to attach controls in VS2008.

Regards,
Ashok Anbarasu.
Shinu
Top achievements
Rank 2
 answered on 05 Jan 2011
1 answer
36 views
Hello,
        I want a popup windows like the Add friend window comes with facebook. This window must be without address bar, or top close, mimimize or restore buttons. Is it possible with RadWindow class?. I saw demo CarRental where when the user clicks a car , it brings up a window that displays car information, but that window is too complicated. Is there a simpler approach to this?

Thanks,
Bharani
Princy
Top achievements
Rank 2
 answered on 05 Jan 2011
3 answers
229 views
Hello,

I'm getting this error message (Microsoft JScript runtime error: Object doesn't support this property or method) every time I attempt to retrieve the row selected from the RadGrid control. The error message is thrown after clicking a record in the grid.

I noticed through reading other forms that this may be related to an outdated Telerik.Web.UI reference. Therefore, I have already updated my project Telerik.Web.UI references to the latest version in an attempt to fix this problem. My current Telerik.Web.UI version is 2010.3.1215.40. I'm running Visual Studio 2010.

<script type="text/javascript">
    var grid;
    
    function RowSelected(rowObject)
    {
      var selRow = this.GetCellByColumnUniqueName(rowObject,"Username");        <------ this is the line that is throwing the error.*
      //here selRow.innerHTML will hold the value for the selected row user name
    }

function GridCreated()
{
  grid = this;
}
</script>

Thanks for your help,

Geoffrey Rees
Princy
Top achievements
Rank 2
 answered on 05 Jan 2011
3 answers
228 views
hi,
   I am trying to display a Record in RadGrid, which contains some continuous spaces. But in RadGrid it is automatically trimed. For example the record has "s      a" but it displays "s a". Is there any property for this or we cannot restrict that.
Princy
Top achievements
Rank 2
 answered on 05 Jan 2011
1 answer
74 views
I've tried a few different things and can't seem to get my window to open in the right spot.  I have a rad window manager on my page and i call it from several different buttons.  It should open a report (which it does), but the window always opens up centered on my screen.  When I have a smaller screen, the top is cut off and I can't close the rad window.  So my buttons and window manager are on the default.aspx page.  I have another page (ReportViewer.aspx) that has the report viewer on it, obviously.  Here's the asp code on that page:

<telerik:ReportViewer ID="ReportViewer2" runat="server"  
       Report="clsMetal.InHouseQuote, clsMetal, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" >
   </telerik:ReportViewer>
And I have code behind that actually calls the report and sends a datasource to it.

On my default page, this is my radwindowmanager:
<telerik:RadWindowManager ID="RadWindowManager2" runat="server"  CssClass="RadWindow_Default">
  </telerik:RadWindowManager>
nothing fancy or anything like that.  The button calls this:
Me.WinManager.Windows.Item(0).VisibleOnPageLoad = True

If I change height/width dimensions on the window or anything, the main window seems to stay the same size, but yes, the actual text and everything changes to the dimensions I set.  I want that main window to be smaller and to move it down so the top will always be seen so it can be closed.  Any ideas?
Georgi Tunev
Telerik team
 answered on 05 Jan 2011
1 answer
105 views
I am working on a radgrid set to AllowMultiRowEdit="false".
When I click on Edit for a data row, data row goes into Edit mode.
If I clicked on another data row, that data row then goes into Edit mode, and the previous data row is no longer in Edit mode (as should happen).
If I click on 'Add New Row', any data row previously in Edit mode is no longer in Edit mode (as should happen, and that is what I want to see as well).

NOW: with an Insert row on display, if I click 'Edit' on a data row, I now have an Insert row AND a data row in Edit mode.
What I would prefer is for the Insert row to disappear.

Is there a way to do this?

I believe there is a way to do this with NewEditIndex property of ASP.NET grid (or list), but I scoured the radgrid and could not find a property via which to achieve this.

Thank you in advance for input.
Shinu
Top achievements
Rank 2
 answered on 05 Jan 2011
1 answer
114 views
Hi, is there anyway I can prevent the user from resizing the rad window?
Shinu
Top achievements
Rank 2
 answered on 05 Jan 2011
2 answers
118 views
Hi.

I'm using a radgridview to insert and edit item. i am using the same user control to edit and insert items

i want show only one control at the same time. for example: if the user touch "insert item"; show the user control to insert item. If the insert control is showing and the user do a click in edit. the user control to insert must be hdie and show the user control to edit.

how can i do this?. 
Armando
Top achievements
Rank 1
 answered on 05 Jan 2011
3 answers
386 views
I have entries from a SQL database that I am trying to display in a telerik:GridBoundColumn. The entries are multi-lined, with "\r\n" indicating the end of the line.
When the data displays in my "EditForm" it looks fine, but the RadGrid column itself it does not display the "new lines", it just displays my data in one long string.
Can someone tell me how to make RadGrid columns recognize newline characters?

Thanks
(sorry if this is the wrong place to ask this question, I am very new to telerik)

Code snipit -

<telerik:GridBoundColumn HeaderText="Recovery Steps" DataField="RecoverySteps" UniqueName="RecoverySteps">
</telerik:GridBoundColumn>
Craig
Top achievements
Rank 2
 answered on 05 Jan 2011
3 answers
201 views
Scenario1: I'm trying to set the custom drag handle for the list view items.    I used the below code snippet to my Listview control Image item. The below "onmousedown" event works fine for the first time of page load of Radlistview.  

   <
ItemTemplate>
       
<div class="rlvI">
           
<div class="rlvDrag"
            
onmousedown="Telerik.Web.UI.RadListView.HandleDrag(event, '<%# Container.OwnerListView.ClientID %>', <%# Container.DisplayIndex%>)">
           
</div>
       
<div>
   
</ItemTemplate>

Isssue:  Within application I'm changing the listview data and populating through AJAX method.   After the data gets rebinded in the RadListview the event is not working and not able to drag the items.   Do I need to dynamically set this event for new Listview items at runtime ?    How do I set this "onmousedown" event dynamically in the codebehind while populating the listview ? 

Scenario2: Similar issue happens if I use the RadListViewItemDragHandle, it is throwing item_drag is null during the mousedown of the draghandle item for the second time after listview rebind.  I'm thinking the item is not set correctly for dynamically changing listview items in both the scenarios.   

 Any help is much appreciated..



Thanks
deva sudan
Top achievements
Rank 2
 answered on 05 Jan 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?