Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
160 views
Hi There,

I am using Telerik RadGrid, and i have used scrolling option with static headers set to true, now the problem is i have rad splitter within which i have place my grid, now when i use to use RadSplitBar to minimize and maximize the pan, i get the columns that are set to "display:false". This should not be the case if i have set the values of HeaderStyle-width.

Moreover, on each refresh/rebind of a RadGrid  what i see is my Item Table remains as it is but my Header Template moves slightly towards left, this gives an alignment problem.

Note that when i set the Usestaticheader property to false i don't find such problems.

Help me out with this.

Regards,
Dhaval Shukla
Pavlina
Telerik team
 answered on 23 Apr 2012
2 answers
86 views
Hi,

I can find my RadEditor in the the EditForm Template in ItemDataBound or ItemCreated using the code below.
It finds the editor because I can set it to be invisible, no problem.
However, I'm trying to set the ImageManager.ViewPaths and I just can't get it to works.

If (TypeOf e.Item Is GridEditableItem AndAlso e.Item.IsInEditMode) Then
 
           Dim editFormItem As GridEditFormItem = DirectCast(e.Item, GridEditFormItem)
           Dim _reJobDesc As RadEditor = DirectCast(editFormItem.FindControl("reJobDesc"), RadEditor)
 
           '_reJobDesc.Visible = False
 
           Dim _clID As String = _UsersDB.GetCLIDByScID(sInt)
 
           _reJobDesc.ImageManager.ViewPaths = New String() {"~/folders/clients/" & _clID & "/images/"}

All help most appreciated.
Cheers,
Jon

Jon
Top achievements
Rank 1
 answered on 23 Apr 2012
7 answers
962 views
I'm creating a form/grid based on the user's selection from a drop down list. The grid could contain anywhere from a minimum of 10 rows up to 20 rows of questions depending on the users previous choice.

The grid would contain the following:

Column 1              Column 2
Yes No N/A           Question 1
Yes No N/A           Question 2

Submit Button


I need to insert a 3 radio buttons into a column 1. I also need to programmically name the radio control for each row so I can take score and write it to a different table. The page would also have a submit button that store the answers into various tables.

I can display the questions based on the users choice in a grid but I cannot figure how to programmically display the radio buttons.

Any suggestions?

Thanks,
Joe
Princy
Top achievements
Rank 2
 answered on 23 Apr 2012
1 answer
64 views
I've had a play with the new listview example for appending data to the listview clientside.

http://demos.telerik.com/aspnet-ajax/listview/examples/client/appendingdata/defaultcs.aspx 

Have to say it looks great. Exactly what I wanted (Gmail style row updates for new messages without having a nasty AjaxLoadingPanel on the whole list),

However, I want the new item to be appended to the top of the list not the bottom. Is this possible (or am I just being a bit stupid!)

Thanks

Steve Bennett
Radoslav
Telerik team
 answered on 23 Apr 2012
6 answers
250 views

I’m currently working on a complex web part, which requires a rich text editor with options to upload images and documents.

I have downloaded your SharePoint Acceleration Kit and I can see it offers a rich text editor, which can be used as a replacement of a default rich text editor in SharePoint forms.

However I need to use it in a custom web part – is that possible?

Rumen
Telerik team
 answered on 23 Apr 2012
8 answers
146 views
Hi,

In my project I am creating normal ASP .NET user controls, then wrap them up as Sharepoint (using 2010) web parts for deployment. Everything works fine in Sharepoint if there is an instance of the Rad Control already visible on the page. However, sometimes I only have one instance of the control in the page and it starts out Visible = false. When I trigger an event to show the control I get things that no longer work. For example, RadNumericTextbox will throw a javascript error, RadDatePicker and RadTimerPicker will no longer popup the picker if I click on the icon. This looks like it's because the script resource for the controls aren't loaded initially because they are hidden. If I use styles and set "display: none" then it's fine, Creating hidden controls in the master page would work but it would be better if there was something I can set, perhaps in the RadScriptManager, to do this.

Thanks,
Gilbert
leitel
Top achievements
Rank 1
 answered on 23 Apr 2012
1 answer
73 views
Is there a way to adjust the curve fit that the spline chart uses to plot the line?   We have used an older competitor's product for a different project, and had the ability to set the "amount of spline" for lack of a better term, to adjust how much curvature occurs between the points.

Jason Mizuno
SYMLOG Consulting Group
Petar Marchev
Telerik team
 answered on 23 Apr 2012
2 answers
106 views
Hi All,

How to set Sliding Pane control to expand position when page load?

Thanks,
Rory.
Rory
Top achievements
Rank 1
 answered on 23 Apr 2012
6 answers
383 views
i would like the CSS class selectors such as:
.RadMenu_iDefault .rmItem a.rmLink {
    padding: 1px 0 1px 12px;
}
.RadMenu_iDefault .rmHorizontal .rmItem {
    padding: 2px 0;
}
.RadMenu_iDefault_rtl .rmItem a.rmLink {
    padding: 1px 12px 1px 0;
}
.RadMenu_iDefault .rmVertical .rmItem a.rmLink {
    padding: 1px 12px;
}
div.RadMenu_iDefault_rtl .rmHorizontal .rmText {
    padding: 0 0 1px 12px;
}
Not to be rendered with the code at run time, this is because i like using 'DotLess' in my projects and i'm used to the way i style the pages using the elements like:

[Valid DotLess Syntax]
.Menu_Head{
    float: right;
    list-style: none;
    #Layouts > .FullAutoWidth;
    --{}
    a {
        color: #ffffff;
        text-decoration: none;
        white-space: nowrap;
        display: block;
        --{}
        &:visited, &:active {
            color#ffffff;
            text-decoration: none;
        }}
    ul {
        list-style-type: none;
        margin: 0;
        padding: 0;
        list-style:none outside none;
        --{}
        &:focus, li a:focus {
            outline: none;
            outline-width: 0;
        }}}

i'm not a big fan of the way the style sheets have been created for the telerik rad controls so the the generated selectors are sort of "in the way". i would like the following HTML:
<ul class="rmRootGroup rmHorizontal">
<li class="rmItem rmFirst">

with the selectors omitted at runtime.
Basically i don't want the /WebResource.axd or the CSS Selectors generated. i have EnableEmbeddedBaseStylesheet="False" but is there something i can do about the CSS Selectors like ie. EnableCSSClassSelectors="False" or a work around to accomplish such?

<ul class="">
 <li class="">
Michael
Top achievements
Rank 1
 answered on 23 Apr 2012
3 answers
396 views
I notice that when I call set_value() using Javascript, the Combo is not updated to display the item corresponding to the value. But after that when I click on the drop down, it selects the value.

Instead of that, findItemByValue().select() works. Actually the set_value() should also do the same - don't you think?

Thanks,
Piyush
Ivana
Telerik team
 answered on 23 Apr 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?