Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
101 views
Sirs:
I ran the samples for some weeks with no issues. I bought a 'premium' license today and it's all going bad.

I uninstalled the samples and that locked up my machine (but the 'uninstall' was gone on reboot)
I installed just one module - ASP.NET AJAX. It locked up my machine twice. On the third try it told me that it was already installed; and there was no 'repair' option that I see in a lot of installs.

The issue that I have right now is that the samples that were installed are now gone. I'd like to have them back to give me examples on how to code. Can anyone help me get the samples back?

Teodor
Telerik team
 answered on 31 Mar 2011
3 answers
191 views
Hi,

I am using Q2 2009 version. I am displaying one pop up.  In that pop up, there is a Save  button  When i click on the save button,  i am  inserting content  in to the editor through JavaScript.

Editor is in the parent window.

Here is the code which i have written in the Pop up window.

 var editor=window.opener.document.getElementById("ctl00_ContentPlaceHolder1_RadTxtCheifComplaint");   // Editor id     
 editor.innerHTML=  someText;                //  Inserting text from pop up window.; 
 window.close();   




When the popup close.Text insert in to the Editor and Editor display in the Preview mode instead of design mode. i want t dispaly in the design mode. How to set Design mode of editor from javascript.


Please give me the solutions ASAP.


Regards

Rahul
Marin Bratanov
Telerik team
 answered on 31 Mar 2011
3 answers
111 views
Hi,

In my grid I am using grid / user control edit form, and I have a delete option also like in your demo - http://demos.telerik.com/aspnet-ajax/grid/examples/dataediting/usercontroleditform/defaultcs.aspx. However, when I delete the row that I have edit form expanded the edit form for the next item in the grid expands automatically. I want the edit form to be shown only when the user selects to edit the item and not automatically when the user deletes the item above with the expanded edit form. How can I do it?

Thank you
Tatiana
Top achievements
Rank 2
 answered on 31 Mar 2011
4 answers
128 views
Hello,

I'm new to ASP.NET programming, so please bare with me. 

I have a linqdatasource that is returning a table such as:

Show Season# Episode#
foo 1 1
foo 1 2
foo 1 3
foo 2 1
foo  2 2
bar 1 1
bar 1 2

I want to represent this table in a TreeView with expand/collapse nodes such as:

foo
Season 1
Episode 1
Episode 2
Episode 3
Season 2
Episode 1
Episode 2
bar
Season 1
Episode 1
Episode 2

How do I accomplish this scenario? 

Thanks,
Zeyad
Dimitar Terziev
Telerik team
 answered on 31 Mar 2011
1 answer
371 views
Hi,
I'm exporting a RadGridview to excel, the only thing that I need is add a new line inside some cells,
the value inside the cell has \t \n but when I export the excel I get something like this <br> inside my excel file.






I'm using the following to change from \t \n to <br> but It doesn't work
        
    if (e.Element == ExportElement.Cell )
            {
                e.Value = e.Value.ToString().Replace("\t \n",  " <br>  ");  
            }

what is the corret way to do it.

Thanks in advance
Daniel
Telerik team
 answered on 31 Mar 2011
1 answer
121 views
Colleagues,

Maybe someone noticed the following strange behaviour of the RadScheduler (see the screen-shot attached):

I'm trying to add a new appointment into the area which is highlighted under the mouse cursor. Number of cells highlighted is set by the "NumberOfHoveredRows" attribute. I move the highlighted area to the place where I want to add new appointment and click right mouse button.

Here the strage things start: If no cells were chosen before - the RadScheduler suggests to add an appointment into the first cell only. But if some cells were clicked before it suggests to add an appointment into all cells highlighted (which is preferable!)

Who knows how to make the scheduler to suggest a new appointment for the whole highlighted area, but not to the first cell only?

Thanks,

- Stepan.
Peter
Telerik team
 answered on 31 Mar 2011
3 answers
81 views
Hello Telerik admins,

I have huge data around 10000++ need to display in a radgrid. Possible for me to break them out based on the paging of the grid?
Example : 1 page - i only need to show 10 records.. When i click on 2nd page, i will only retrieve 11-20 records and show at page 2?
If i do not do that, it take lots of time to display in a grid...

If possible, please give some sample code and how to do this...

Please advice!
Thanks.

Regards,
Soo
Daniel
Telerik team
 answered on 31 Mar 2011
1 answer
104 views
Hii

 I  don't want to save the appointment or lesson less than today date. If today date is 27/3/2011 and if i select 13/3/2011 then dont want to save the record less than today date.

And one more question How disable rad scheduler control on page load event ?....

Thanks
Regards
Rahul mahajan
Veronica
Telerik team
 answered on 31 Mar 2011
1 answer
65 views
Ok  here goes... I have a RadGrid on my page.  When the Grid gets rendered each item has alternating backcolors.  So the items backcolor is gray, white, gray, white... and so forth.  This is set by the skin.  I did not configure anything specifically regarding the alternating item style.

Now the grid also contains a template column that contains a RadListBox control.  I wrote code that puts listitems in that ListBox.  Here's the problem though... the backcolor of the ListBox is white.  So whether the griditem's backcolor is white or gray, the listbox backcolor is still white.  No problem on the white griditems, but on a gray griditems, its doesnt look good.  I want the backcolor of the Listbox to be the same as the backcolor for the particular griditem its in.  So if the griditem's backcolor is gray, then I want the ListBox to have a gray backcolor.  If the griditem's backcolor is white, then I want the ListBox to stay with a white backcolor.  I am trying to get a look where the user doesn't see a Listbox, but thinks its just part of the data on that griditem.

Any suggestions.
DB
Galin
Telerik team
 answered on 31 Mar 2011
11 answers
269 views

Hello,

I have a radGrid that populates with groups collapsed by default.  The group header displays the group header title and aggregate count as expected.  When a header is dragged to the GridGroupPanel, the new subgroup still has a header title, but the aggregate is lost for the new sub-group. 

Here is a sample of my initial grouping:

 

 

 

 

Dim expression As GridGroupByExpression = New GridGroupByExpression
            Dim gridGroupByField As GridGroupByField = New GridGroupByField
  
            gridGroupByField = New GridGroupByField
            gridGroupByField.FieldName = "DGDesc"
            gridGroupByField.HeaderText = " "
            gridGroupByField.HeaderValueSeparator = " "
            gridGroupByField.FormatString = " <strong>{0}</strong> "
            expression.SelectFields.Add(gridGroupByField)
  
            expression.GroupByFields.Add(gridGroupByField)
  
  
            gridGroupByField = New GridGroupByField
            gridGroupByField.FieldName = "ProspectusLnNo"
            gridGroupByField.HeaderText = " "
            gridGroupByField.HeaderValueSeparator = " "
            gridGroupByField.FormatString = " (Records: {0})"
            gridGroupByField.Aggregate = GridAggregateFunction.Count
            expression.SelectFields.Add(gridGroupByField)
  
            radGridDocuments.MasterTableView.GroupByExpressions.Add(expression)

I had to add the GroupByFields first before adding the SelectField with the aggregate function or it would not work.  Anyway:

When I try to modify the GroupsChanging event, the best I get is a blank subgroup:


If e.Action = GridGroupsChangingAction.Group Then
      If e.Expression.GroupByFields(0).FieldName <> "ImgSRC" Then
             If Not IsGroupedByImgSRC(radGridDocuments.MasterTableView.GroupByExpressions) Then
                 Dim customerGroupField As GridGroupByField = New GridGroupByField()
                 customerGroupField.FieldName = "ImgSRC"
                 customerGroupField.HeaderText = " "
                 customerGroupField.HeaderValueSeparator = " "
                 customerGroupField.FormatString = " (Records: {0})"
                 customerGroupField.Aggregate = GridAggregateFunction.Count
                 e.Expression.SelectFields.Add(customerGroupField)
                 'e.Expression.GroupByFields.Insert(1, customerGroupField)
                 radGridDocuments.MasterTableView.GroupByExpressions.Add(e.Expression)
             End If
         End If
     End If

 

 

 

 

 

Thank you for any assistance.

Tsvetina
Telerik team
 answered on 31 Mar 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?