Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
100 views
I am using RadGrid and using Filter By Column functionality. My grid displays Products and Details (including pricing) after loading the Order Guide. Pricing calculation takes time so we calculate price while change the page (of RadGrid). After loading Order Guide if I want to see particular product by filter then grid shows the row but not the pricing of the item because after filter there have no code written to calculate price for filtered Row. How can I work with the Filtered Row (at which event I can get the filtered row before it displays or get loaded)? (Please refer the attached snapshot)

 
Shalabh
Top achievements
Rank 1
 answered on 13 Jan 2011
2 answers
107 views
Hi!

I've got a scheduler with 3 resources going across it. My client would like it if there was a dark line between each resource.

I tried:

div.RadScheduler .rsTopWrap .rsContentTable td {
    border-right: 1px solid Black;
}

But in Month view, that puts a column between every day. I just want a single border between resource1 | 2 | 3, top to bottom.

Any way to do that?

Mitchell
Top achievements
Rank 1
 answered on 13 Jan 2011
8 answers
155 views
Hi all,

I made a ASP.Net rad menu (image based) which goes till level 3. Till level 2 it dont give any problem but when I add further childs then a strange problem occurs .i.e menu disappears and then come back when I hover on menu. There is not any particular position I could find where this happens. It happens randomly but frequently. It works fine in Firefox and all other browsers even works fine in IE8 also. I am facing this problem in IE6 and 7 only.

Did anybody face this problem before or anybody have idea about this problem?

Thanks in advance

Kamran Hussain Cheeta
Yana
Telerik team
 answered on 13 Jan 2011
2 answers
243 views
Hi,

Is there any easy way of Vertically Aligning the Text in the PanelBarItem Header? I have tried applying style directly to the Item, and also through the use of a PanelBarHeader class I have set up in CSS, but so far no luck. I currently have a larger Image inside the PanelBar (32x32) and I would like to vertically align my Header Text in the middle of these images.

Any help would be greatly appreciated.

Best Regards,

Landon
Landon
Top achievements
Rank 2
 answered on 13 Jan 2011
1 answer
115 views
I am experiencing a weird problem with the RadButton labeled Save Values (see image 1). I have inside a RadListView which has some RadGrids in it. When the button is clicked and the ajax call is made all works except that the style suddenly changes. You can see image 2 to see what I mean. I have a rad pager at the bottom and when it is clicked the style stays as it should. Only the RadButton causes this. Is there a bug with the RadButton that would cause this? I don't get any javascript errors and if I refresh the page it goes back to normal. Thanks in advance.
Pero
Telerik team
 answered on 13 Jan 2011
1 answer
131 views
I display pdf documents in a RadPane and when I use the SplitterBar to reduce the size of the viewing area it goes under the PDF viewer and I am not able to release it to resize.
Svetlina Anati
Telerik team
 answered on 13 Jan 2011
0 answers
68 views
This seems to work fine in Chrome, but not Internet Explorer 7. Any idea what might be causing this? Are there any workarounds?

Thanks!
- J
John Truong
Top achievements
Rank 1
 asked on 13 Jan 2011
6 answers
313 views
Hi,

I am having issues accessing values from a Template Column that I created. Here is what I have.

....
....
  <telerik:GridTemplateColumn UniqueName="ItemDiscount" HeaderText="Discount">
                                    <EditItemTemplate>                                        
                                                    <asp:RadioButtonList ID="rdListItemDiscount" runat="server">
                                                        <asp:ListItem Selected="True">Discount in %</asp:ListItem>
                                                        <asp:ListItem>Discount in $</asp:ListItem>
                                                    </asp:RadioButtonList>
                                                    &nbsp;
                                                    <telerik:RadNumericTextBox ID="txtItemDiscountVal" runat="server" Width="20px">
                                                    </telerik:RadNumericTextBox>                                           
                                    </EditItemTemplate>
                                    <ItemTemplate>
                                        <asp:Label ID="lblLineDiscountVal" runat="server" Text="No Discount Applied"></asp:Label>
                                    </ItemTemplate>
                                </telerik:GridTemplateColumn>
                                <telerik:GridEditCommandColumn UniqueName="EditCommandColumn" EditText="Add Discount"
                                    UpdateText="Update Discount">
                                    <ItemStyle CssClass="MyImageButton" />
                                </telerik:GridEditCommandColumn>
.....
.....
Code Behind:

Protected Sub rgLineItems_ItemUpdated(ByVal sender As Object, ByVal e As Telerik.Web.UI.GridUpdatedEventArgs) Handles rgLineItems.ItemUpdated
        Try
            Dim i As Integer = 1
            Dim CellValue As String
            Dim txtVal As String
            CellValue = CType(rgLineItems.Items(i).FindControl("rdListItemDiscount"), RadioButtonList).SelectedItem.Value
            txtVal = CType(rgLineItems.Items(i).FindControl("txtItemDiscountVal"), TextBox).Text
        Catch ex As Exception
        End Try
    End Sub

I would like to get the selected value from the radiobuttonlist and the text value upon clicking on Update Discount. Once this is done, I would like to change the EditItemTemplate column to a value entered by the user in the textbox. Let me know where I am going wrong and is this really possible?

Thanks in advance!
Soumya
Soumya Parla
Top achievements
Rank 1
 answered on 13 Jan 2011
5 answers
120 views
I'm using a RadGrid with a relatively straightforward setup of DataBound columns, and a single Grid Expression that I set on page load like this: 

if (!Page.IsPostBack)
{
    //set up an initial group by base
    var baseExpression = new GridGroupByExpression();
    var selectField = new GridGroupByField {FieldAlias = "Base", FieldName = "Dest_Name", HeaderValueSeparator = " "};
    baseExpression.SelectFields.Add(selectField);
 
    var groupField = new GridGroupByField() {FieldName = "Dest_Name"};
    baseExpression.GroupByFields.Add(groupField);
 
    Grid.MasterTableView.GroupByExpressions.Add(baseExpression);
}

I then load the data via DataSource = foo and DataBind();

The problem comes when I right click on the column header and select ungroup form the menu, it doesn't get ungrouped.  I can group and ungroup with other columns, but the initial column does not ungroup, unless I use the menu to group by the column, and then ungroup it.

Is there a way around this behaviour?
Pavlina
Telerik team
 answered on 13 Jan 2011
2 answers
99 views
Hello All, 
I attached simple example, using which is easy to reproduce issue by the following steps:
1. lunch application
2. press "Show test RadDock"
3. press button again.
4. move RadDock.
So, after that you should see two RadDocks.
Other issue:
1. lunch application
2. press button
3. move RadDock
4. close RadDock
5. press button
6. move RadDock
7. close RadDock
8. press button
You will see the follow JS exception:
Sys.WebForms.PageRequestManagerServerErrorException: Invalid JSON primitive: {"Top":155,"Left":510,"DockZoneID":"","Collapsed":false,"Pinned":false,"Resizable":false,"Closed":false,"Width":"300px","Height":null,"ExpandedHeight":0,"Index":-1}.

Could you please say what I do wrong? Or advise some workarounds?
Pero
Telerik team
 answered on 13 Jan 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
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?