Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
162 views

I have a Chart inside an UpdatePanel that is bound to a SqlDataSource. Outside the UpdatePanel, I have a dropdownlist. The SqlDataSource uses the selected value of the drop down list as a control parameter when selecting data that is used in the chart. By itself, this setup is working great. When I change the drop down list value, the chart updates. If the SqlDataSource returns 0 records, the chart shows the EmptySeriesMessage

However, I tried adding a Click event in the code behind. This is all I added: 
Protected Sub RadChart1_Click(ByVal sender As Object, ByVal args As Telerik.Charting.ChartClickEventArgs) Handles

End Sub

Now when I change the selected item in the drop down list, everything works fine, but only if there SqlDataSource returns results. If the SqlDataSource has 0 results, then I get a JavaScript error and the chart does not update. The javascript error is PageRequestManagerServerErrorException Object reference not set to an instance of an object.

Can anyone help me? Is this a bug with the RadChart?

Kim
Top achievements
Rank 1
 answered on 03 Sep 2009
1 answer
91 views
Hi

I frequently use RadGrid in the automated edit, delete and  'Add New Record' mode as a very quick
solution to input and edit of data.

However I have not found a clean way of saving today's date in my DateCreated field when a new record is
created using the 'Add New Record' command button, other than a separate database update function after the
RadGrid has saved the other data. This seem to be making what should be a simple job, complex.

Can you tell me how best to do this either declaratively or in code behind in the appropriate RadGrid event.

Thanks a lot for your expertise!

Clive

Mr. Plinko
Top achievements
Rank 1
 answered on 03 Sep 2009
1 answer
187 views
I have been playing around with the color picker and I notice a behavior which doesn't seem logical. When hovering over the pallete, the "preview" color is shown as you hover over each option, however, if you stop hovering over the colorpicker, the last hovered-over color is what is shown in the preview, even if this color was not selected (clicked on).  In my opinion, when you move your mouse outside of the area that shows the color pallet, the preview should revert to the currently selected color. If the picker's SelectedColor is not set, then it should display a default ("white" I suppose, or even beter, a box with a line denoting "No Color"). I can't off the top of my head think of any scenario where you would want the preview pane to remember the last color that happened to be hovered over, since, in order for the user to "leave" the pallete, they likely have to hover over colors they don't want to select. Even if there were such a scenario, I would think my example would be a much more natural behavior. Either way, there should be some sort of setting which defines this, and I  couldn't find this. Is there any way to prevent this behavior in the current control?
Tsvetie
Telerik team
 answered on 03 Sep 2009
1 answer
67 views
I am having a problem removing the PageSize label and combobox.  I stepped through the code and found that:

e.Item.Controls(0).Controls(0).Controls(0).Controls(0).Controls(3).Visible = False

works (sort of)... Then some research online I found that:

e.Item.FindControl("ChangePageSizeLabel").Visible = False
e.Item.FindControl("PageSizeComboBox").Visible = False

Works as well.  The problem is that when I click to change the page (with ajax) the code no longer works.  I was able to remove using CSS but Something else I am doing is setting a mouse over on each page button.  This works, but not with ajax postback.  Stepping through the code, I set the tooltip on the button the same for page load and ajax postback but it appears that pager changes do not take affect for ajax partial page rendering.  Sniffing the packets I see the update panel updating the radgrid but the <a> tags do not have a title like they do in the original page load.


UPDATE: I turned off Ajax and found that it is NOT Ajax it is postback period.
Doug
Top achievements
Rank 1
 answered on 03 Sep 2009
2 answers
147 views


Hi,

We're evaluating Telerik navigation controls. And want to know if they provide multilingual support, to be used along with variation(multilingual feature) within MOSS 2007.

Thanks
Jaswinder
Edgard VDM
Top achievements
Rank 1
 answered on 03 Sep 2009
5 answers
93 views
I am having an issue where the dropdown for the datagrid is badly formatted and the number are not displayed correctly. I am using the default configuration and have not changed any styles. Can anyone please help?

The dropdown list for the page size is showing both vertical and horizontal scroll bars.
Pavlina
Telerik team
 answered on 03 Sep 2009
4 answers
202 views
Say I drag a dock to a zone. How to add a close command to the dock on client side?
Mr. Plinko
Top achievements
Rank 1
 answered on 03 Sep 2009
4 answers
396 views
is there a built in way to unselect the selected tab when selected tab is clicked again? client side...
Steve
Top achievements
Rank 1
 answered on 03 Sep 2009
2 answers
146 views
Hi there

I am using a RadGrid with ClientSettings.Resizing.AllowColumnResize set to true;

However, I have a user who is finding it difficult to position his cursor at the point needed to trigger the "Drag to resize" resizing handle cursor. He is not able to position the cursor that accurately. 

I am struggling to work out where to make the changes needed to increase the size of the area in which he needs to hover the cursor so that he doesn't have to be so precise in his positioning. Could anyone please advise me as to the best way to do this?

Thanks in advance

Tim
Tim Hardy
Top achievements
Rank 1
 answered on 03 Sep 2009
2 answers
81 views
I have created a grid that will update/insert and delete...  There is one column that I want to be read only for an update but need it for the insert. I have created this column as a GridDropDownColumn... can someone tell me how i can turn it off and on depending on update or if its an insert...

Thanks
Gina
Mira
Telerik team
 answered on 03 Sep 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?