Telerik Forums
UI for ASP.NET AJAX Forum
8 answers
514 views
Hi,
 I have a radgrid. I am binding data to radgrid on server side and in ItemDataBound event I am manipulating each cell in each row assigning text and tooltip to it. I am also creating columns programmatically beforehand. Everything works fine until I reorder any column on client side. After reordering tooltip that is shown is of item which was initially at that position and same for alignment. So can you please help me out in setting alignment and tooltip?

Thanks,
mahesh
Rashmi
Top achievements
Rank 1
 answered on 15 Feb 2012
2 answers
74 views
Hi
when I set mode property of PagerStyle to "NextPrevAndNumeric" , a [Page Size] part is added too
Can I make it invisible or set it's dropdown value items to a custom set of page sizes ?

Thank you for your feedback
reza
Top achievements
Rank 1
 answered on 15 Feb 2012
8 answers
205 views
Hello there.
i'm using the RadGrid with paging.as i can see, the basic paging is numeric + buttons for next/prev and first/last page.
when i click on the numeric buttons then it work fine but when i want to navigate with the prev/next buttons then it doesn't work.i don't get any error message.it simply not working.
i attached a screenshot of the paging style on my grid.
more general info:
i create the columns myself (means that AutoGenerateColumns="False"),
allowpaging=true, allowsorting=true,

very basic settings.
can anyone help?
thank you.
Shinu
Top achievements
Rank 2
 answered on 15 Feb 2012
2 answers
181 views
Hello,

I'm a newbee to the RadEditor Control and working on an issue wherein some of the text formatting functionalities are not working.

We've deployed the RadEditor on our SharePoint 2010 site and while creating a new page we've embedded this control within a Content Editor Web Part. Problem is when I modified the "AccessibleToolsFile.xml" to include these missing controls, it shows up them correctly but not functioning. for example, I want to underline or italic some text which is not working!

When the page loads, I used to get three errors from webpage as:

"No Implementation for converting the split button BackColor into an Accessible Tool."

"No Implementation for converting the split button ForeColor into an Accessible Tool."

"No Implementation for converting the split button FormatStrip into an Accessible Tool."


Can someone assist me to give away these errors and make the following controls functional:

1. FontName: DropDown is empty even if font names are entered in AccessibleTools.xml file
2. FontSize: DropDown is empty even if font sizes are entered in AccessibleTools.xml file
3. ApplyCSSClass: DropDown is empty with value as -----------
4. ParagraphStyle: DropDown is empty with value as -----------
5. Italic and Underline: Text is not formatted to either italic or underline.

Any help / suggestions on this would be highly appreciated!

Thanks and Regards,
Vishwajit
(vishwajit.s.walke@tieto.com)
Vishwajit
Top achievements
Rank 1
 answered on 15 Feb 2012
6 answers
341 views
I build my (ajaxified) grid up dynamically in code. I do that in the Page_Init event so virtual paging is correctly implemented. On every column I have added the AutoPostBackOnFilter = True. When you do this and the user types in the filter in a second column, the filter that was set in the first column is lost.

I guess this is because the grid is recreated and the CurrentFilterFunction and CurrentFilterValue are not persisted because I create the columns dynamically. What is the best solution to solve this?
Princy
Top achievements
Rank 2
 answered on 15 Feb 2012
2 answers
137 views
I have a grid that I am using custom paging on, the grid has a mastertable and a detailtable.

The grid has a autogenerated footer containing the number of pages, next, previous, etc...

When I expand a row and the detail tables is shown I get the exact same footer on the details table as on the grid. What option do I need for this not to happen.

The footer on the details table does not make sense as it's the information for the grid.

Thanks
Alex
Top achievements
Rank 2
 answered on 15 Feb 2012
2 answers
111 views
Is it possible to set a startup script for a Edit Form template of an RadGrid? If so how? 

I would like to set a javascript function for the ScriptManager.RegisterStartupScript() like I can do for a RadWindow in the Page_Load() event but I'm unable to locate anything on how to do it. I have the need to access specific html table cell styles to change the background color of the Edit Form template.

Any help would be appreciated.
-Richard
Richard
Top achievements
Rank 1
 answered on 14 Feb 2012
2 answers
125 views
Hello,

I have a RadFileExplorer with the standard buttons in the toolbar and also a couple of custom buttons.  I would like to move my custom buttons all the way to the right of my file explorer toolbar.  Is this possible?  Below is my style for the custom buttons:

<

 

 

style type="text/css">

 

 

 

/* Set the desired properties to the custom buttons */

 

 

 

a.adminLoginStyleClass.rtbWrap .rtbText

 

{

 

 

font-size: 12px;

 

 

 

background: url('./images/administration.png') no-repeat left center;

 

}

 

 

 

a.logoffStyleClass.rtbWrap .rtbText

 

{

 

 

font-size: 12px;

 

 

 

background: url('./images/logoff.png') no-repeat left center;

 

}

</

 

 

style>

 


Thanks,
Adam
Adam
Top achievements
Rank 1
 answered on 14 Feb 2012
15 answers
172 views
I'm binding a rad grid with a data table. Whenever I use the filter, I get no results back when I know I should be getting some. Any ideas why? The sorting works fine. Here's my code.

<telerik:RadGrid ID="RadGrid1" runat="server" GridLines="None" AllowPaging="True" AllowFilteringByColumn="true"
    AllowSorting="True" AutoGenerateColumns="false" PageSize="50" Height="410px" Skin="Hay">
    <MasterTableView DataKeyNames="customerId" AutoGenerateColumns="false">
         
        <Columns>
             <telerik:GridBoundColumn DataField="Edit" HeaderText="<span style='visibility: hidden;'>a</span>" SortExpression="Edit"
            UniqueName="Edit" HeaderStyle-Width="40px" AllowFiltering="false" AllowSorting="false">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="name" HeaderText="Name" SortExpression="name"
                UniqueName="name">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="address" HeaderText="Address" SortExpression="address"
                UniqueName="address">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="city" HeaderText="City" SortExpression="city"
                UniqueName="city">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="state" HeaderText="State" SortExpression="state"
            UniqueName="state">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="zip" HeaderText="Zip" SortExpression="zip"
                UniqueName="zip">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="phone" HeaderText="Phone" SortExpression="phone"
                UniqueName="phone">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="fax" HeaderText="Fax" SortExpression="fax"
                UniqueName="fax">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="email" HeaderText="Email" SortExpression="email"
                UniqueName="email">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="additional" HeaderText="Additional Info" SortExpression="additional"
                UniqueName="additional" ItemStyle-Width="200">
            </telerik:GridBoundColumn>
        </Columns>
    </MasterTableView>
    <HeaderStyle Width="120px" />
        <ClientSettings>
            <Scrolling AllowScroll="True" UseStaticHeaders="True" SaveScrollPosition="True">
            </Scrolling>
        </ClientSettings>
</telerik:RadGrid>

   Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
       If Not (Page.IsPostBack) Then
           RadGrid1.DataSource = myFunctions.customerListTable()
           RadGrid1.DataBind()
       End If
        
   End Sub
 
   Protected Sub RadGrid1_NeedDataSource(ByVal source As Object, ByVal e As Telerik.Web.UI.GridNeedDataSourceEventArgs) Handles RadGrid1.NeedDataSource
       RadGrid1.DataSource = myFunctions.customerListTable()
   End Sub
 
 
'this function creates a data table for the customer list
   Public Shared Function customerListTable()
 
       Dim sql = "SELECT customerId, name, address, city, state, zip, phone, email, fax, additional FROM Customers" & _
                 " WHERE deleted = 'false' ORDER BY name"
       Dim conn As String = System.Configuration.ConfigurationManager.ConnectionStrings("connection").ToString
 
       Using myConn As New SqlConnection(conn)
 
           'create the table
           Dim myTable As New DataTable
           myTable.Columns.Add("customerId")
           myTable.Columns.Add("edit")
           myTable.Columns.Add("name")
           myTable.Columns.Add("address")
           myTable.Columns.Add("city")
           myTable.Columns.Add("state")
           myTable.Columns.Add("zip")
           myTable.Columns.Add("phone")
           myTable.Columns.Add("email")
           myTable.Columns.Add("fax")
           myTable.Columns.Add("additional")
 
           myConn.Open()
 
           Dim cmd As New SqlCommand(sql, myConn)
           Dim reader = cmd.ExecuteReader
 
 
           While reader.Read()
 
               myTable.Rows.Add(reader("customerId"), "<a href=""../Customers/EditCustomer.aspx?id" & reader("customerId") & """>Edit</a>", _
                                reader("name"), reader("address"), reader("city"), reader("state"), reader("zip"), _
                                reader("phone"), reader("email"), reader("fax"), reader("additional"))
 
           End While 'while reader.read
 
           myConn.Close()
 
           Return myTable
 
       End Using 'using myConn
 
   End Function 'customerListTable












Casey
Top achievements
Rank 1
 answered on 14 Feb 2012
1 answer
300 views
I have a bar chart that I have been able to succesfully databind. But there is one more part of the requirement. They want to be able to click on one of the pie pieces and go to a separate page which gives details of the segment selected.  Currently the pie piece has the number and the label has the category.  How can I on click of the segment determine which category I was on so I can build out the necessary url to redirect to?  Or do I need to do something on the prepaint event?
Richard
Top achievements
Rank 1
 answered on 14 Feb 2012
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?