Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
224 views

Hi,

How can I format the value in the chart to display Negative vlaues when my data is in -ve values.
I have currently set it to  the following:
 

s.DefaultLabelValue = "#Y{C0}"

Aslo, I want to set Chart Slices Label Font to Bold.

Thanks, Malli

Velin
Telerik team
 answered on 26 May 2010
4 answers
137 views
Hello again,

How do you retain the current expanded state of a radgrid after navigation to another page. I know I can do so by envoking Javascript "history" but must thumb through the cached pages to return. Using "Response.Redirect" returns to a clapsed grid.

 Thank you,

Steve O...
 
Pavlina
Telerik team
 answered on 26 May 2010
1 answer
116 views
Hello

I have a user control with telerik conponents inside.
I have a clientside event on click with one of the controls inside the usercontrol and it triggers a javascript.

My problem is that when i add  a telerik:RadMultiPage then i add the usercontrol in the first tab then the same usercontrol in the second tab, when i click on the controls of the first tab the javascript of the second tab fires.

what should i do?
I traced it and found out that i have 2 javascript with the same name since i reuse a usercontrol.

is there a blocker so to make my javascript fire only inside the usercontrol and will not go to other javascript with the same name

thanks 
Yana
Telerik team
 answered on 26 May 2010
5 answers
120 views
Hi,

Is there a way I can have all sub level menus to be sticky?I want to use this for a website navigation menu, where each item loads a different page. For example : When i open any second level or third level menu item from a menu, is it possible for all levels - first level and second level menu to be always displayed when the new page loads?

Any help/ documentation / code on the same is highly appreciated.

Many Thanks,
Ritika
Yana
Telerik team
 answered on 26 May 2010
3 answers
113 views
Hi
I am facing below issue

please help me with this. When ever i am adding dir="rtl" the oder changes.  
see the first image (wrong i just want this to move to the right corner of my screen in the same order.
but when ever i use dir="rtl" then it changes its order. 

Please help 

<telerik:RadMenu runat="server" id="MENUK"  Width="417px"  
    TopAligment="Right" EnableShadows="true" EnableRoundedCorners="true"  
    Skin="Sitefinity" BackColor="#000066" Font-Bold="True"  
    Font-Names="Arial Black" ForeColor="White" dir="rtl"></telerik:RadMenu> 



Yana
Telerik team
 answered on 26 May 2010
1 answer
204 views
I have a web page that is divided in two halves using a rad splitter. The left RadPane contains a Silverlight application and the right pane contains web pages. I can resize and make the silverlight pane bigger, but not smaller. I start dragging the splitterbar to the left, but as soon as the mouse enters over the silverlight application it takes focus and the resize is canceled.

I've tried fiddling with z-index and stuff, but I simply cannot make the size of the left pane smaller. Any javascript magic on some client side events I can try? I was thinking I might be able to do something on OnClientBeforeResize and the something else on OnClientResized. But what?


Tsvetie
Telerik team
 answered on 26 May 2010
1 answer
267 views
I have tried several ways to do this and none give the effect that I want.

I have a grid with a custom commanditem template.  It has standard buttons for edit actions on selected grid item.

                    <CommandItemTemplate> 
                        <div style="padding: 0 5px;margin:5px 5px 5px 5px;">  
                            <asp:HyperLink runat="server" ID="lnkAddNew" NavigateUrl="CreateWaiver.aspx"><img style="border:0;vertical-align:middle; margin-right:3px;" alt="" src="IMAGES/GridWebBlue/AddRecord.gif" />Create New Waiver</asp:HyperLink> 
                            <asp:HyperLink runat="server" ID="lnkRootCause" NavigateUrl='RootCause.aspx?id=<%# RadGrid1.SelectedValue.ToString() %>' Visible='<%# RadGrid1.EditIndexes.Count == 0 && !RadGrid1.MasterTableView.IsItemInserted  %>'>Root Cause</asp:HyperLink> 
                            <asp:LinkButton ID="cmdRootCause" runat="server" CommandName="RootCause.aspx" Visible='<%# RadGrid1.EditIndexes.Count == 0 && !RadGrid1.MasterTableView.IsItemInserted  %>'><img style="border:0px;vertical-align:middle;" alt="" src="Images/sign_question.png" />Root Cause</asp:LinkButton>&nbsp;&nbsp;  
                            <asp:LinkButton ID="cmdApproval" runat="server" CommandName="ApproveWaiver.aspx" Visible='<%# RadGrid1.EditIndexes.Count == 0 && !RadGrid1.MasterTableView.IsItemInserted %>'><img style="border:0px;vertical-align:middle;" alt="" src="Images/sign_tick.png" />Approve Selected Waiver</asp:LinkButton>&nbsp;&nbsp;  
                            <asp:LinkButton ID="LinkButton1" runat="server" CommandName="CreateWaiver.aspx" Visible='<%# RadGrid1.EditIndexes.Count == 0 && !RadGrid1.MasterTableView.IsItemInserted %>'><img style="border:0px;vertical-align:middle;" alt="" src="Images/window_text.png" />View Details</asp:LinkButton>&nbsp;&nbsp;                              
                        </div> 
                    </CommandItemTemplate> 
                     
<ClientSettings EnablePostBackOnRowClick="true">  
  <Selecting AllowRowSelect="True" /> 
</ClientSettings> 


lnkRootCause is a little different.  the link navigates to another page passing an arg in the querystring.  the arg is the grid.selectedvalue

the problem is that NavigateURL is not evaluating properly

its evaluating to ...

http://localhost:63254/RootCause.aspx?id=<%# RadGrid1.SelectedValue.ToString() %> 
 

it would be nice if I could keep this in markup as it makes it simple.

If there is another more standard way to accomplish this please let me know.

to summarize I want to  ...

1) Select a row in grid.
2) Click a button in CommandItem
3) Navigate to another page passing variables from the GridDataItem of the selected row in the querystring.




Shinu
Top achievements
Rank 2
 answered on 26 May 2010
3 answers
70 views

Hi there,

event object returns null value in Firefox.  Do you have any other solution for this?

 

function

 

OnTabSelected(sender, eventArgs)

 

{

 

function OnAfterCallBack()

 

{

selectedTabElement.style.cursor = originalCursor;

}

 

var selectedTabElement = event.srcElement;

 

 

var originalCursor = selectedTabElement.style.cursor;

 

 

selectedTabElement.style.cursor =

'wait';

 

_postCallBackFunc = OnAfterCallBack;

}

Yana
Telerik team
 answered on 26 May 2010
3 answers
155 views
I have a RadAlert PopUp in my window and a divtag with java applet. The java applet controls come on top of my RadAlert. Is there a way to set RadAlert to be on top of all controls on the page?
Murugavel B
Top achievements
Rank 1
 answered on 26 May 2010
1 answer
154 views
Hi,
I'd like to rotate 3 different background colors on a daily basis on the RadScheduler.
Example:
Monday = Red,
Tues = Yellow,
Wed = Blue
Thurs = Red (again)
Fri = Yellow (again)
Sat = Blue (again)   ....And so on, in order of Red, Yellow, Blue.

What's the best way to go about doing this?
Thanks
Princy
Top achievements
Rank 2
 answered on 26 May 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?