Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
121 views
Hello,
I created stock exchange graphic on rad chart. It worked perfectly.
But, I had two problems.
1. I want to show on my chart, previously closed value that is single line parallel to x axis and different color. (can I add manual YAxis minor gridline ?)
2. And if possible, I want to add extra label in chart title to show stock exchange value positif or negative.  (red or green color)

Like that http://www.six-swiss-exchange.com/ or www.strateji.com.tr

Velin
Telerik team
 answered on 16 Jun 2009
6 answers
137 views
If you experience strange behaviour with Rad Docks and the minimize button appearing below the Close button in IE 7/8 and Google Chrome it could be to do with the Doc type declaration.

This can happen if you do not have the line,

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

on the page or in my case I had user controls registered before this line which was causing this behaviour. It also effected the min-width and min-height of the Raddocks. This line needs to be the first line after the page declaration.

Ronan


Trude
Top achievements
Rank 2
 answered on 16 Jun 2009
2 answers
125 views
In my pages, I (almost) always use the ajaxmanager(proxy).  A lot of time, I have some buttons doing different actions, but updating the same zone.

For these cases, I have to create X ajaxsettings zone, with the updatedcontrols associated. These updatedcontrols are the same.

Could it be possible to use a Trigger zone, where we could add some AjaxInitControl, instead of having to repeat 3 times the controls that update the same zone.

it may look like this:

<telerik:RadAjaxManagerProxy runat="server" ID="ajaxproxy1">
<AjaxSettings>
<telerik:AjaxSetting>
<TriggerControls>
<telerik:AjaxTriggerControl controlid="button1">
<telerik:AjaxTriggerControl controlid="button2">
<telerik:AjaxTriggerControl controlid="button3">
</TriggerControls>
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="panel1" />
<telerik:AjaxUpdatedControl ControlID="panel2" />
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
</telerik:RadAjaxManagerProxy>

instead of 

<telerik:RadAjaxManagerProxy runat="server" ID="ajaxproxy1">
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="button1">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="panel1" />
<telerik:AjaxUpdatedControl ControlID="panel2" />
</UpdatedControls>
</telerik:AjaxSetting>
<telerik:AjaxSetting AjaxControlID="button2">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="panel1" />
<telerik:AjaxUpdatedControl ControlID="panel2" />
</UpdatedControls>
</telerik:AjaxSetting>
<telerik:AjaxSetting AjaxControlID="button3">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="panel1" />
<telerik:AjaxUpdatedControl ControlID="panel2" />
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
</telerik:RadAjaxManagerProxy>


Thank you
Bridge24
Top achievements
Rank 1
Iron
Iron
 answered on 16 Jun 2009
8 answers
157 views
I have a page that appears in a RadWindow.

The page contains a number of input controls, including RadDatePickers.

If the picker is close to the bottom of the screen the popup causes the page to 'grow' scrollbars.

I thought it would be nice to simply centre the popup but I'm struggling.

I started to use your example code for "Displaying The Popup Above The Input Area" as a basis. I tried to wire up the "OnButtonClick" client event rather than the "OnKeyPress" as in your example, but I can't seem to get it to fire.

I then, unthinkingly, tried to use the "OnPopupOpening" client event of the RadDatePicker, but - and it's obvious now - that doesn't work 'cos the same code is repeated endlessly 'cos it's called when showPopup. After that I tried setting the style of the results of the ".get_popupContainer" method to set the position, but that didn't seem to work either.

Can someone give me a hint?

TIA

--
Stuart
Stuart Hemming
Top achievements
Rank 2
 answered on 16 Jun 2009
1 answer
181 views
Hi, I have been using the rad ajax controls and loading panels for several years now. I am well aquainted with how they work. I am currently working on a panel in which we had to use a listview due to complex layout issues (several rowspans/colspans). No matter how I try it I cannot get the update panel to show at all. Everything else is functioning exactly as expected, just no loading panel. The only other forum post I found similar to this issue, the poster gave up and used the radgrid. That unfortunately is not an option for us on this particular task.

I am hoping that someone over there can let me know if this is a limitation of the controlset or if there is some mysterious thing I am missing.

Thanks for your help,
Duane
Sebastian
Telerik team
 answered on 16 Jun 2009
1 answer
395 views
telerik grid cannot perform '=' operation on system.datetime and string

I get this error as a popup message when trying to filter on a date field.  From the filter drop down menu I choose "Exactly the same".  However the other options give a similar error message.

The underlying field type is DateTime

Sphengle 
Sphengle
Top achievements
Rank 1
 answered on 16 Jun 2009
1 answer
83 views
This page in the help includes code that suggests that it is possible to find out why an upload has failed, but I can't see how it's doing that. At least, there's nothing in the code to tell the user that, for example, an upload has failed 'cos it's the wrong file type, or file size.

Granted, if the user had the lists and limits to hand, s/he could infer the reasons for failure from the information provided, but there's nothing in the output for those who are unaware of the limitations placed on the upload functionality by the programmer.

Can I suggest a simple string value be added to the UploadFile object that contains the reason for an upload failure?

--
Stuart
Genady Sergeev
Telerik team
 answered on 16 Jun 2009
1 answer
76 views
I have a multi-row menu as described in this article, when I installed the new version (2008.2.1001.35) it no longer behaves the same way, and the bottom row doesn't go all the way to the edge like it did before.

Also, I have one menu item with a custom template (a checkbox), previously it was not having the menu style applied to it, now it kind-of is, except that the background graphic doesn't quite fill the cell.  How can I turn off the skin for particular items?

ColinBowern
Top achievements
Rank 1
 answered on 16 Jun 2009
0 answers
83 views

Dear Forum,

I found this german blog   http://www.encodo.info/en/blogs.php?entry_id=156

Now I like to know with way of the next to is faster. Hope you can help me to understand.

 

Thank U for help

 

Best from

Dieter 

 

1st

<asp:DataList ID=“_myList” runat=“Server”>
   <ItemTemplate>
     <asp:Label … Text=‘<%# GetFormattedDate(Eval(“Birthday”)) %>’></asp:Label>
   </ItemTemplate>
</asp:DataList>

 

 

 

CodeBehind:

public partial class MyPage : System.Web.UI.Page
{

  protected String GetFormattedDate(object date)
  {
    if (date is DateTime)
    {
      return ((DateTime)date).ToShortDateString();
    }

    return String.Empty;
  }

} 

 

2nd

<asp:DataList ID=“_myList” runat=“Server”>
   <ItemTemplate>
     <birth:day id="birth001" runat="server" Birthday=‘Eval(“Birthday”) %>’/>
   </ItemTemplate>
</asp:DataList>

 

ascx

 

<asp:Label  ID="L_Birthday" runat="server" ></asp:Label>

 


public partial class UserControls_birthday : System.Web.UI.UserControl

{

public DateTime bday{

 

set

{

L_Birthday.text = value.ToShortDateString();

}

}

 

Dieter
Top achievements
Rank 1
 asked on 16 Jun 2009
1 answer
141 views
Currently the group I am in is working on an application that is designed to utilize an Outlook style bar. We have placed the Telerik panel  for the Outlook style bar but can't get the bar to stay at 100%. We have tried setting everything under the sun and still no luck. It resides in a table that is set with and absolute height. I set the height of the panelbar to 100% and it still will only open cover a partial section of the table cell.

Any clues?
Paul
Telerik team
 answered on 16 Jun 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
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
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?