Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
102 views
I have a grid that lists data, and I have set the EditFormType to be "Template" and created my edit table.  However, I want to be able to adjust one of the controls in my edit table to be either a RadTextBox or a RadDateTimePicker based on a different control on the same edit table (a RadioButtonList).  I have an event on the RBL when a user changes the SelectedValue, so how can I swap my controls on the page based on the users actions?  Or is there a better way to do it?
Mike
Top achievements
Rank 1
 answered on 08 Sep 2015
2 answers
112 views

i see right panel when i hover over, it shows the title and other information.

however if i hover over on leftpanel - title column, it doesnt show the full text of it.

i have that requirement in my project.

how can i achieve it?

Rajshree
Top achievements
Rank 1
 answered on 08 Sep 2015
3 answers
106 views

If this question has been asked before, my apologies for the (any) duplication.

 I have two tabstrips/multipages on a single webform.  The inner tabstrip/multipage contains 4 tabs each of which contains data entry controls (text boxes, combo boxes, etc.) for the same database record.

I would like to have one set of update/cancel buttons + 1 validation summary at the bottom but I cannot seem to find a "common area" either at the top or bottom of the multipage.

Is this possible?  If so, is there a demo/example of this structure somewhere?  Hopefully I've described my problem adequately.

 Thanks in advance for any assistance!

Lynn

Ivan Danchev
Telerik team
 answered on 08 Sep 2015
2 answers
52 views
I have updated Telerik 13 to 15 whenever i perform any Post back operation on my tooltip it actually disappears and UI us totally damaged, actually the tool tip goes to the Background after any control post back
Ali
Top achievements
Rank 1
 answered on 08 Sep 2015
4 answers
347 views

I am trying to use this control to allow clients to set dates when their business is closed. Basically I want to display a year at a time and allow them to select dates and save those to a database. 

1. That pretty much works well, except I would like to show the calendar starting at January first for the current year and cannot figure that out. 

2. How do I reload the saved/selected dates? I see that SelectedDates is read-only.

DogBizPro
Top achievements
Rank 1
 answered on 08 Sep 2015
8 answers
146 views
Hi all,

i having this error:

Telerik.Web.UI.Grid.Export.GridPdfExportException: Invalid XHTML. RadGrid has to render correct XHTML in order to export to PDF.
Parse error:
Name cannot begin with the '<' character, hexadecimal value 0x3C. Line 750, position 144.
at line:
<td>6</td><td>2012/12/06 01:07</td><td>KT0001</td><td>&nbsp;</td><td>CASHBOX</td><td>WARNING</td><td>Coffins: Total Amount: >265910<</td><td>Coprses:123456789</td>

the is simple, i activated the pdf export and the radgrid i inserted and made a databind on the codebehind only that.

Best Regards

Eyup
Telerik team
 answered on 08 Sep 2015
1 answer
122 views

Hi,

I'm using 2015.1.401 of your controls.

I'm binding the PivotGrid to a List (Of SupplierAlert), where SupplierAlert is my class that represents a business object we work with.

One thing that is great about working with the regular RadGrid is that in the ItemDataBound method I can cast the dataitem into my type and then I can do all my logic using properties of my type.  So for instance I could check a SupplierAlert.AlertLevel or whatever on my object as it bind, and color the cell red if it is a High Alert.

Can I do anything similar to that in the PivotGrid?  In CellDataBound for instance, I want to check my SupplierAlert.HasActionItems property for each detail cell (not any of the aggregates) and if it is true, then I may want to add an img to it or something (don't worry about how to add an img to the cell...  I can figure that out).

Again, is there a method on the server that I can use when the pivotgrid binds, or even after it binds, to do this type of logic?

Thanks,

Brent

Eyup
Telerik team
 answered on 08 Sep 2015
8 answers
239 views

This might be a little hard to explain but i'm going to do my best because i'm stuck.

I've programatically created an EditTemplate Column using an IBindableTemplate.

The call looks like:

GridTemplateColumn col = new GridTemplateColumn();
col.ItemTemplate = new ItemLabel(column);
col.EditItemTemplate = new EditRadNumTextbox(grid, column);
 

I could create an insert template but the problem im having is even if i do have an insert template I'm not sure how to find and hide the labels so i end up with a labels in the left column with hidden controls in the right column in the edit form.

 

How do I find the label in edit/insert mode with in an IBindableTemplate class?

it appears i have two places i can look for it in 

 public void InstantiateIn(Control container)

or in the control databinding, but in insertmode there's nothing to bind to so i assume i should be able to find the label in InstantiateIn?

Or is there a way to set GridTemplateColumn to not show the label ion insert?

 

Any help would be much appreciated.

 

 

 â€‹

Eyup
Telerik team
 answered on 08 Sep 2015
3 answers
141 views

I have a RadGrid using Batch Edit mode and the data being editing/displayed by the grid is a single column.

When I Add Record, and then press return without entering any text, the data is accepted and BatchEditCellValueChanging client event is not fired and a blank record is added to my data to be saved.  If I edit a cell with content already in it, clear the contents, then press Enter, BatchEditCellValueChanging is fired, and I can cancel the event to prevent the change from taking place.

How do I intercept the Add Record situation on the client side and prevent the blank record from being added to the client-side data?

Viktor Tachev
Telerik team
 answered on 08 Sep 2015
3 answers
148 views

Hello,

At the moment I am setting the MinDate and MaxDate properties on a RadDatePicker ​in the code behind. This works well with regard to the calendar because it is not possible to select dates outside of the range with the mouse.

However, the user may still enter dates by typing. At the moment, the default behaviour isn't great. What I would is to present the user with a meaningful message if they type a date outside of the range, preferably when the control loses focus.

I am wondering what the best way to do this is? Do I need to implement something based on <asp:CompareValidator/> or is there a better way?

Thanks in advance,

John.

Eyup
Telerik team
 answered on 08 Sep 2015
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?