Telerik Forums
UI for ASP.NET AJAX Forum
6 answers
346 views
Hi, i need help...

I have a stored procedure with nulls values, so, when I poppulated the RadChart with this stored, I can see the lines but where the value is null the line goes to the 0 and i dont want that, i need to hide, cut, etc the line, how can I do this?


thks.
Ves
Telerik team
 answered on 28 Oct 2009
2 answers
129 views
Hi,

I have a Radgrid. I have set the Pagesize of the grid to 10 on load. On button I need to change the page size to 5. How can i acieve this?

Regards,
Medac
Medac
Top achievements
Rank 1
 answered on 28 Oct 2009
5 answers
114 views
If you try to set the HourPanelTimeFormat to 'HH:mm' it will not show '13:00' it will just show '1' :-(
But if you add a space in front it will work ' HH:mm' or in the end 'HH:mm ' it will work...
(I don't know if this bug has something to do with German settings)
Markus
Top achievements
Rank 1
 answered on 28 Oct 2009
1 answer
37 views
at first I thought maybe it was my drive.
but when I tried to delete folder in question ( a folder with telerik install/upgrade files and folders), even the recycle bin complained about the file name being to long ?
Erjan Gavalji
Telerik team
 answered on 28 Oct 2009
1 answer
487 views
Hi!
After formatting my PC, I installed VS 2005 and Rad Controls. Everything was fine but when I installed the VS 2008 and drag and drop a RAD Control in the Design mode of VS2008, I receive the following error: System.IO.FileNotFoundException: Could not load file or assembly.
How can I fix this problem?

Thanks!
Daniel
Telerik team
 answered on 28 Oct 2009
6 answers
119 views
I'm using a RadUpload object with the RadProgressArea, is there a way to control the font size of the CurrentFileName localization setting...in IE6 or greater this gets much bigger than when displayed within Firefox or chrome, much bigger than any other text within the progressArea such as "Elapsed time", "Total FIles" etc.

Thank You
Genady Sergeev
Telerik team
 answered on 28 Oct 2009
1 answer
199 views
I have a RadCalendar that I want to prevent users from going back to any date in the past (prior to the current month). I understand that this can be achieved by setting the RangeMinDate to DateTime.Today effectively.

I also stop users from navigating the RadCalendar out further than Three months. This is done by RadCalendar.RangeMaxDate = now.AddMonths(3);

I serve all events that show on each day of the calendar from a webservice.

So, if you viewed the calendar today (10/22/09) you would see all scheduled events for the month of October. If you tried to navigate back to September it will stop you. You can navigate all the way up to January 2010 and see events that correspond to each month, but any further progression would be stopped. Now, as each month is loaded (utilizing the DefaultViewChanged method) I call a web service to load up the next months events. This is achieved by asking the RadCalendar for the FocusedDate. This all works great until the following.

Each displayed event is clickable and when clicked takes a user to a new page to view all of the event details. No problem there until we try to return the user back to the calendar. So imagine you loaded the calendar today, navigated forward to December. You click on an event. You now want to return to calendar. What is happening is when the user returns to the page with the RadCalendar on it it displays the Month of October again, I want it to display December and not October. Additionally, the only way I can get the RadCalendar to display December is to set the RangeMinDate to December, but of course that then stops the user from navigating back to October.

So, my question is how can I on load of the RadCalendar force it to render correctly so that all fwd and backwards navigation works correctly to a date other than the current month?
Johny
Top achievements
Rank 1
 answered on 28 Oct 2009
10 answers
249 views
hiya,

We have a requirement where we need to do the above.
(the customer wants to be able to navigate forward amd backwards by using buttons at the side of the radDatePicker textbox, instead of having to  open up the pop-up)

I have seen a good example where the calendar date can be moved forward by a day.

http://www.telerik.com/DEMOS/ASPNET/Prometheus/Calendar/Examples/DatePicker/ClientAPI/DefaultCS.aspx

The client side code is as follows:

 date.setDate(date.getDate() + 1);
 datePicker.set_selectedDate(date);

My question:

How can I get it to replicate the "fastNavigationStep" behaviour?

In other words, when the user presses the button, then the date "steps" forward 3 months.

How can this be done?

many thanks,

yogi





Mira
Telerik team
 answered on 28 Oct 2009
1 answer
56 views
Hello forum,

Is there any lesson available on the site that shows how to do an ebay-like table that shows product images in it? 

Thank you.

Pat
Ivo
Telerik team
 answered on 28 Oct 2009
1 answer
106 views

Hi All,

I have a custom web part which includes RAD Chart.
Chart is created dynamically as per the web part configuration settings.
I have custom editor part to set chart specific configuration settings.

I set configration settings and click on Apply/OK button and chart is created accordingly.

But if I add RADCalendar control in web part, and then set configuration settings and click on Apply button, chart is not created accordingly. It did not changed. If I again click on Apply button, then chart is created as per the configuration settings done.

i.e. as i add RADCalendar in web part, i need to click on apply button two times to reflect the configuration settings changes in RADChart.

I tried to figure out what is happening:

case 1 : RADCalendar is not added in web part

Following is the sequence of functions call as I click on Apply button:

1. OnInit (WebPart class)
2. CreateChildControls (EditorPart class)
3. ApplyChanges (EditorPart class)
4. SyncChanges (EditorPart class)
5. CreateChildControls (WebPart class)
6. OnPreRender (EditorPart class)
7. RenderContents (WebPart class)
8. RenderContents (EditorPart class)

Case 2: RADCalendar is added in web part

Following is the sequence of functions call as I click on Apply button:

1. OnInit (WebPart class)
2. CreateChildControls (EditorPart class)
3. CreateChildControls (WebPart class)
4. ApplyChanges (EditorPart class)
5. SyncChanges (EditorPart class)
6. OnPreRender (EditorPart class)
7. RenderContents (WebPart class)
8. RenderContents (EditorPart class)

I have added controls in web part class in CreateChildControls function.

Please refer the following code for details:

****************************************************************************
protected override void CreateChildControls()     
{   
try     
{   
base.CreateChildControls();    
// Clear any existing child controls.     
Controls.Clear();  
 
RadCalendar calendar = new RadCalendar();   
calendar.ID = "calendar";   
calendar.EnableViewState = false;   
this.Controls.Add(calendar);   
 
// Create a panel that will hold chart control.   
Panel cvWebPartPanel = new Panel();   
// Create Telerik RadChart control   
RadChart radChart = CreateRadChartControl();   
// Check if radChart is not null, then add it to the panel.   
if (radChart != null)   
{  
cvWebPartPanel.Controls.Add(radChart);  
}  
 
// Add the panel to the controls collection of the web part.   
this.Controls.Add(cvWebPartPanel);   
   
// Prevent child controls from being created again.   
this.ChildControlsCreated = true;   
}  
catch (Exception)   
{  
this.Controls.Clear();   
this.Controls.Add(new LiteralControl("Error"));   
}  
}  
 

****************************************************************************

My observation is that if I add RADCalendar then sequence of function call is changed. and CreateChildControls() function of webPart class is called before the ApplyChanges() function of EditorPart class. that is why changes in configuration settings did not get reflect in chart. chart has already been created with old values.

Please suggest me a solution and let me know why sequence of function call is changed.

Thank you!!
Yavor
Telerik team
 answered on 28 Oct 2009
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?