Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
100 views

Hi,

 

How to implement RadEditor to return one TextBox item?. Could you help with the javascript to implement this RadEditor that after validation reurn the content in one textBox item inline. Other solution is make as UserControl and return one ItextControl working as ImageManager but is not clear for me. Thanks. 

Tervel
Telerik team
 answered on 15 Dec 2008
1 answer
143 views
Hi,
I want to put the legend at the bottom of chart, but it hides axes item labels and I can´t see their values. How can I make room between axes item labels and the bottom chart margin to put the legend?

Another issue:
Is there another way to populate a range of values along an axis without using ChartAxisItem? Because I'm feeding the RadChart.Series manually using AddItem method and I can´t put as item labels the value of ChartSeriesItem(double value, string labelText), so I need to cycle over an array filling RadChart.PlotArea.XAxis.Items to see the custom label.

Regards.
Vladimir Milev
Telerik team
 answered on 15 Dec 2008
1 answer
113 views
Hello.  I have the following bar chart using v.2008.3.1105.20:
http://www.tonycontosta.com/telerik.bar.chart.png

I would like the plot area to have a black border on its left and bottom sides.  Can somebody please tell me if this is possible, because I can only find examples of how to set the style for all 4 border sides at once.  Here are a few examples:

// sample code of what i'm currently doing
rcSectors.PlotArea.Appearance.Border.Color = Color.Black;
rcSectors.PlotArea.Appearance.Border.Width = 2;

// sample code of what i would like to do
rcSectors.PlotArea.Appearance.Border.Left.Color = Color.Black;
rcSectors.PlotArea.Appearance.Border.Left.Width = 2;

rcSectors.PlotArea.Appearance.Border.Bottom.Color = Color.Black;
rcSectors.PlotArea.Appearance.Border.Bottom.Width = 2;

Thanks in advance!
Tony
Giuseppe
Telerik team
 answered on 15 Dec 2008
5 answers
237 views
Hi guys, it's been a frustrating day with the latest promethesus build, 12 hours so far trying to solve a single issue, with no joy.  

I have a page which appears to function normally as long as I have disabled ajax - EnableAJAX="false".  As soon as ajax is enabled what happens is some comboboxes 'freeze' - I can click on them but can't get them to drop down.  IE6/FF2 do not produce any errors in the error console. 

Only the comboboxs involved in the 'ajaxification' freeze.  other combos on the page continue to work ok. read through all the docs I can find on this type of issue.


It's a user control loaded by a grid which in turn has been loaded dynamically, not a situation I can easily create a example project for.

I've none-the-less striped down the project and even tried a hacked up version that is just an aspx page with a grid loading, which loads the user control with the error on it... no joy, wits end on this one.

what could this be and how can I debug this?  script debugging is enabled in IE which is great with VS2008 but no errors are showing.  I can make the ajaxified combo boxes appear/disapear using the ajax command but they are always unclickable (not disabled) after the ajax postback.

at wits end, any ideas?
Michael
Top achievements
Rank 1
 answered on 15 Dec 2008
9 answers
381 views
Hello,

I use "Telerik RadEditor for MOSS" and I have a problem with relative links.I use the "Hyperlink Manager" to add a link: I type my relative URL in the URL text field (for example: ./Help.aspx) and I choose the "Other" type. I click "OK".

And finally, when I take a look to the generated HTML code, I haven’t my relative link but an absolute link has been created:
http://xxx:port/website/Pages/Help.aspx

I really need use a relative link because the website will be moved on a staging and after a production server... The absolute links will point on the development server pages...  :(Please, help me! Thanks!

Regards,

Samuel
Stanimir
Telerik team
 answered on 15 Dec 2008
1 answer
166 views
i want to use user control in rad grid to insert and update actions
and i need to do some action in editcommand event.
i need to do some action on controls that i place in user control and i need to manipulate  this controls same binding to
the objectdatasource or etc.
but when create a variable in editcommand event of rad grid of that user control ,
this variable is null and i cant refer to this variable and controls on this variable .
please tel me how can i create a variable of this type and manipulate its controls?

protected void radgrid1_EditCommand(object source, GridCommandEventArgs e)
        {
     
            GridEditableItem editedItem = e.Item as GridEditFormItem;
            UserControl userControl = (UserControl)e.Item.FindControl(GridEditFormItem.EditFormUserControlID);
           // WHY userControl =NULL ??????
        }
Princy
Top achievements
Rank 2
 answered on 15 Dec 2008
1 answer
99 views
Hi,

I tried to set the width of the column to make it fixed. But it didn't seem to work. Below was the code which I used.

<telerik:GridBoundColumn ItemStyle-Width="150" DataField="ApprovalStatus" HeaderText="Approval Status" AllowFiltering="false" SortExpression="ApprovalStatus" HeaderStyle-HorizontalAlign="left"></telerik:GridBoundColumn>

I had also tried to change the width to percentage, but to no avail.

Did I miss out anything?

Thanks & Regards,

Erwin


                  
Princy
Top achievements
Rank 2
 answered on 15 Dec 2008
1 answer
149 views
Hello,

I have 2 GridTemplateColumn's with RadNumericTextBox's in them, and I want to change the value of one RadNumericTextBox based on the input in the other and vice-versa. I think I can achieve this my trapping the OnBlur events on the textbox and find the parent GridDataItem, once I find the parent row, I can find the other textbox and set the value.

I want to do this on click side and not on the server size.

But I am facing a problem where I cant find the parent GridDataItem on the OnBlur event.

Can anyone please help me with this?
Daniel
Telerik team
 answered on 15 Dec 2008
2 answers
107 views
Hihi,

I've got a linkbutton within my grid. When i click it it will open a radwindow which will have a grid inside it that will load extra details of the user. I know this is simple but it's escaped me. When i click the linkbutton i want to grid with the extra details to lead the details for the record that was selected.
Ie. User 1, user 2 on basic gird. I click the linkbutton on user2, i want the details grid to load for user2.
Thanks.
Darren
Top achievements
Rank 2
 answered on 15 Dec 2008
1 answer
175 views

 


I have it:

<
telerik:RadSplitter Skin="Inox" LiveResize="True" Orientation="Vertical" Width="100%"

 

 

ID="splitBody" runat="server" OnClientLoaded="Ajustar()">

And the javascript: 

 

 

<script type="text/jscript">

 

 

 

 

 

function Ajustar() {

 

 

if (screen.height > 800) {

 

 

        var splitter = $find("<%= splitBody.ClientID %>");

 

        splitter.Resize(

null, screen.height - 350);

 

}

}

 

</script>

This work fine in IE, but doesn't work in firefox.....

Any Idea ?!?!?!

Thanks a lot

 

Tsvetie
Telerik team
 answered on 15 Dec 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?