Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
90 views
help,

Is there a way to have the RadAjaxManager watch a grid and have the loading panel fireup when the user changes filtering option and not have the loading panel fireup when the user clicks a checkbox in the grid?

I have a grid with users displayed in rows and five columns in each row with each one being a checkbox. I don't want the checkbox to cause the loading panel, but I do want the filtering to cause the loading panel. I do need the postback on my check changed event
Martin
Telerik team
 answered on 19 Jan 2010
3 answers
152 views
I was just about to make a post about a bug I thought I had come across but I realised it was probably my own mistake, but i thought i'd post here any way so other people dont make the same mistake

If you have a blank page and put a prometheus editor, a required field validator (with an associated control) and a non prometheus rad ajax panel you get some funky JS errors like

Error: 'this._contentHiddenTextarea' is null or not an object
Error: 'addEventListner' is null or not an object

The answer of course is to use a Prometheus ajax panel and it all works nicely :)
Selçuk ERMAYA
Top achievements
Rank 1
 answered on 19 Jan 2010
5 answers
364 views
i want to assign radchart Bar width in pixel. i am binding chart with dataset.
so that if there is only 1 item(1bar) in the graph then width should not expand to whole width of the chart.
Barwidthpercentage sets bar width with respect to items. but if there is less items then barwidth increases.

thanks
 
Prashant
Top achievements
Rank 1
 answered on 19 Jan 2010
2 answers
236 views

I have come across an issue in which the exceptions for a given recurrence rule are not being programmatically generated properly.  The date portion is correct (that is, the date at which the exception is supposed to occur), but the time is wrong.  I'm likely doing something wrong (as RadScheduler can figure out the correct time), but I wasn't able to track down a solution.

The initial recurrence rule (programmatically created from a database record) is this:

DTSTART:20100115T090000Z
DTEND:20100115T170000Z
RRULE:FREQ=WEEKLY;INTERVAL=1;BYDAY=MO,WE,FR

When I go to add an exception for this weekly recurring event on 1/20/2009, RadScheduler gives me this new rule on the OnAppointmentUpdated event:

DTSTART:20100115T090000Z
DTEND:20100115T170000Z
RRULE:FREQ=WEEKLY;INTERVAL=1;BYDAY=MO,WE,FR
EXDATE:20100120T090000Z

Obviously, I trust that RadScheduler is doing the right thing here.

In order to capture exceptions (in this case a delete), I insert a new row into my table with the exception start date 1/20/2009 9:00 a.m., and an end date 1/20/2009 5:00 p.m. (to maintain the parent event duration), with a foreign key to the parent event.  When I generate the new recurrence rule for the parent event, I find the exception and attempt to add it to the recurrence rule programmatically using the exception start DateTime (in this case, the one mentioned above in bold)...

a la...

rule.Exceptions.Add(exception.StartDate); 

This is the result immediately following the call above:

DTSTART:20100115T090000Z
DTEND:20100115T170000Z
RRULE:FREQ=WEEKLY;INTERVAL=1;BYDAY=MO,WE,FR
EXDATE:20100120T170000Z

They are identical apart from the exception date time.  I don't know why the end time for the relation is being used on the exception.  I have stepped through my code to verify that the DateTime object being used to generate the exception is indeed correct (and it is).  The recurrence rule should have no notion of the exception end time unless it is being inherited from the recurrence start DateTime.

Just in case this is helpful, I am using the ASP.NET Ajax Q2 2009 version of the Telerik controls.

Am I missing something obvious?

Colin Teal
Top achievements
Rank 1
 answered on 18 Jan 2010
5 answers
185 views
Hi everyone,
I am using sitefinity and having a usercontrol named forexample UserControl1.ascx. I created a new page on sitefinity named as page.aspx. I am using UserControl1.ascx inside page.aspx. There is a radwindow calling another page called pageincludingradgrid.aspx inside page.aspx. And my problem is , radgrid page size and paging doesn't work. When radgrid postbacks the radwindow, radgrid disappears. I know that radwindow based on IFrame. So I could not figure out the radwidows behaviour.. I could not rebind the grid to see the related  data on correct page index.Any idea please? I need help  ..thanks
inanc
Top achievements
Rank 1
 answered on 18 Jan 2010
2 answers
291 views
Hi,

For some reason I can't get a reference to a control in the InsertCommand handler

This works for update:
Private Sub RadGrid1_UpdateCommand(ByVal source As Object, ByVal e As GridCommandEventArgs) Handles RadGrid1.UpdateCommand
        Dim editItem As GridDataItem = DirectCast(e.Item, GridDataItem)
End Sub

But this does not:
Protected Sub RadGrid1_InsertCommand(ByVal source As Object, ByVal e As GridCommandEventArgs) Handles RadGrid1.InsertCommand
            Dim insertItem As GridDataInsertItem = DirectCast(e.Item, GridDataInsertItem)
End Sub

I allways got this message:
Unable to cast object of type 'Telerik.Web.UI.GridCommandItem' to type 'Telerik.Web.UI.GridDataInsertItem'.

Help?
Thanks Laslo




Laslo Pertic
Top achievements
Rank 1
 answered on 18 Jan 2010
3 answers
113 views
Hi, I would the RadEditor in full screen to leave some elements visible, for example a bar on page top with useful links.

Is that possible?

Thanks
Rumen
Telerik team
 answered on 18 Jan 2010
10 answers
197 views
Having some issues with the screen auto-scrolling to the top...

Steps:

1. Place a RadEditor so that it requires the browser window to be scrolled
2. View the page and scroll down
3. Click on a toolbar that opens a dialog
4. Notice how the page scrolls to the top of the window and the dialog may not be shown anymore...

Firefox 3.0.5 and the Q3 SP2 Rad Editor.

Thanks
Sean
Rumen
Telerik team
 answered on 18 Jan 2010
1 answer
80 views
Hi there,

   Editor overlap with my button in the bottom and it happens in IE browser. I'm not using spellchecker. It's a straight forward Editor
with Image and Hyperlink enabled.

Please check the attached image.

Cheers

Ranga
Rumen
Telerik team
 answered on 18 Jan 2010
5 answers
256 views
I need to Export Telerik Grid Data in Hierarchy to Excel, when I tried your sample, it just exported the top parent, but actually I need to export all data in all Master and details tables.

Thank you

Ramy Mahrous
Top achievements
Rank 1
 answered on 18 Jan 2010
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?