Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
736 views
I have a RadGrid with an EditForm (defined declaratively in an EditFormSettings-FormTemplate).  In that template, I set up a table with one row for each field I'm allowing the user to edit.  One of those rows needs to be selectively disabled server side from code behind.  I'm trying to do that in the ItemDataBound method.  I use the FindControl method on the GridItem passed into that method (parameter

GridItemEventArgs

 

 

e, property Item, if it's a GridEditFormItem).  If I try to find the label or textbox control that I want to disable, I can find them and set their visibility fine.  But if I try giving an Id to the Tr table row tag, or to a div that I wrap around that tag, and try FindControl with the id of those controls, item.FindControl does not find the control.  I want to disable the entire table row, not just the controls in that row.  How can I do that?

Thanks!

 

Vasil
Telerik team
 answered on 01 Jun 2011
1 answer
71 views
Hello,

We have a client that would like to give some users the ability to override stylesheets by changing colors, fonts, etc.  And other users that should not have that ability.

We are being told by our developers that the editor features are either available for all users or none.  Is this correct?

If not, how can we allow different user groups to have different access with regards to the editor?

Thanks.
Rumen
Telerik team
 answered on 01 Jun 2011
3 answers
195 views
So is there official WebParts for Telerik Silverlight controls?

If not, are there samples of wrapping something like the Grid in as a WebPart and binding SPLists?
palak
Top achievements
Rank 1
 answered on 01 Jun 2011
1 answer
62 views
Hello
Using the mastertableview.exportto excel() method. If the grid has a cell that contains certain characters, the export is truncated.

Example: if text inside a cell is

IIF(S_FELIQ<{01/09/2010},15,IIF(S_FELIQ<{01/12/2010},23.05,29.2025))


it gets truncated to

IIF(S_FELIQ


How can I solve this? 

Mira
Telerik team
 answered on 01 Jun 2011
1 answer
180 views

Hi, I'm using radChart for reporting purpose, but setting PlotArea height from code behind seems not working.

e.g

  <telerik:RadChart ID="radChart" AutoLayout="false" runat="server">
    </telerik:RadChart>

...

 radChart.Appearance.Dimensions.Height = Telerik.Charting.Styles.Unit.Pixel(200);
 radChart.Width = System.Web.UI.WebControls.Unit.Pixel(1020);

...

 radChart.PlotArea.Appearance.Dimensions.Height = Telerik.Charting.Styles.Unit.Pixel(150);





...
 radChart.PlotArea.XAxis.AutoScale = false;
 radChart.PlotArea.XAxis.AddItem(axisItem);
 radChart.PlotArea.XAxis.AxisLabel.TextBlock.Text = "Sample";
 radChart.PlotArea.XAxis.Visible = ChartAxisVisibility.True;
 radChart.PlotArea.XAxis.AxisLabel.Visible = true;
 radChart.PlotArea.XAxis.LayoutMode = ChartAxisLayoutMode.Normal;     

 x-axis labels("Sample") are cut off.

Sia
Telerik team
 answered on 01 Jun 2011
3 answers
56 views
Hi.
Im having this setup:

page.aspx
<asp:literal ID="pageName" runat="Server" Text="" />
I fire up dialog.aspx in RadWindow from page.aspx

dialog.aspx
RadTreeView
<asp:Button ID="SelectPageBtn" runat="server" Text="Select page"  />


What i need to achieve is to pass selected RadTreeNode to parent page (page.aspx) into literal control.

Anyone got suggestion for a clean solution ?
Thanks,

/Mattias
Marin Bratanov
Telerik team
 answered on 01 Jun 2011
16 answers
199 views
Hi,

I have  come across one issue in firefox 4.0. I have a page with two telerik rad combo boxes. Based on the value selected on the first combo box, second combo value will be loaded. In this scenario, on selecting the first combo box value, the second combo box is not loading due to ajax problem occured with FF 4.0. It is working fine in IE 7.0 and safari browsers.. But only in new version of FF 4.0 is not working. Its showing error as "dropdownplaceholder is null".

Kindly check with this issue in FF 4.0 and let us know. Appreciated if you give a solution for this.
Simon
Telerik team
 answered on 01 Jun 2011
1 answer
108 views
Hello
i need show a pdf in modalpopupetender or something like that. but i have a problem with a IPAD. beacuse in IPAD the files pdf does not show correctly.
I Think, may be, exists a control in Telerik that show the pdf correctly.
i need yours help.
thank you.
Sebastian
Telerik team
 answered on 01 Jun 2011
1 answer
95 views

What I am trying to do is reorder a set of questions.  What i pull into the grid is the
intQuestionID, strQuestion and the intOrder

What I want to be able to do is drag and drop and reorder the questions, do you have an example of doing this only server side using the Radgrid_rowDrop.

<tr>
                                <td align="left"><telerik:RadGrid ID="myRad" runat="server" ClientSettings-AllowRowsDragDrop="true" ClientSettings-Selecting-AllowRowSelect="true"
                                    ClientSettings-Selecting-EnableDragToSelectRows="false">
                                    <MasterTableView AutoGenerateColumns="false" DataKeyNames="intQuestionId">
                                    <HeaderStyle ForeColor="White" CssClass="backColor" BackColor="Steelblue" Font-Bold="true" BorderColor="#404040" BorderWidth="1px" />
                                        <Columns>
                                            <telerik:GridDragDropColumn HeaderStyle-Width="18px"></telerik:GridDragDropColumn>
                                            <telerik:GridBoundColumn DataField="strQuestion" HeaderText="Question"></telerik:GridBoundColumn>
                                            <telerik:GridBoundColumn DataField="IntOrder" HeaderText="Order"></telerik:GridBoundColumn>
                                        </Columns>
                                    </MasterTableView>
                                </telerik:RadGrid></td>
                            </tr>

 Protected Sub ddlQuestions_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles ddlQuestions.SelectedIndexChanged
        Dim catId As String = ddlQuestions.SelectedValue

        If catId = "0" Then
            ScriptManager.RegisterClientScriptBlock(Page, GetType(Page), "OpenWindow", "PickCategory();", True)
        Else
            FillGrid()
        End If
    End Sub

Private Sub FillGrid()
        Dim CatId As String = ddlQuestions.SelectedValue
        Dim itemCount As Integer = 0

        sql = "Select intQuestionId, strQuestion, intOrder from tblSRPQuestion where intCategoryID = " & CatId
    
        myDataTable = New DataTable
        myDataTable = getData(sql)

        myRad.DataSource = getData(sql)
        myRad.DataBind()

    End Sub

  
    Protected Sub myRad_RowDrop(ByVal sender As Object, ByVal e As Telerik.Web.UI.GridDragDropEventArgs) Handles myRad.RowDrop

    End Sub

Mira
Telerik team
 answered on 01 Jun 2011
1 answer
225 views
Is there a way to disable the expand/collapse button?  I'm trying to get the tree structure and layout but always want the treelist expanded without allowing the user the ability to collapse the children.

Thanks,
Veli
Telerik team
 answered on 01 Jun 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?