Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
85 views
I'm would like to expand the use of a RadAjaxLoadingPanel with further information, like "Loading Customers from Database", "Fetching Invoice Data" in a single page load.

What I'm trying to do is to show the user what exactly the Server is doing in a long loading page with extreme amount of information. So at first it would show "Loading Customers", then, after a change on the server, it should somehow change the message for the user to "Loading Invoices"

Is this even possible with RadAjaxLoadingPanel or Ajax in general?
Eyup
Telerik team
 answered on 04 Dec 2012
9 answers
157 views
Hi All,

I have a requirement to implement in a grid and the grid should support the below features.
1. Multi Row Edit - The user should be able to edit all the columns in all the rows in a grid at any point of time. There shouldn't be any Edit button on each row to make the row editable or something similar to this.
2. Dynamic Column generation - Based on a Start Date and End Date, there should be way to dynamically generate Columns for Each month in a year within the time frame (Start Date and End Date). There will also be bound columns addition to these columns. (i.e.,) There will be a Employee Name, Employee Address columns as bound columns and depending on the Period of Service say June 2011 to June 2012 we need to generate columns for each month say June 2011, July 2011, thru May 2012, June 2012. For Every row, this column generation will be the same as per my requirement. i.e., the time span will NOT be different for different rows.
3. When I navigate to the Last column in a row in the grid and if I press Tab a new row should be created
4. Sorting should work on all the column in the grid
5. Pagination should also work. There should be a drop down for the user to choose the page size of the grid
6. Filter on Every column. Filter is to be like Excel-Like Filter. i.e., populating the distinct values from a column and populating these values in a dropdown and displaying it in the corresponding header of that column.
7. Ways to carry out the different types of validations and to display proper Error messages to the incorrect values that the user keys in to the columns
8. Ways to identifying the modified column values alone when there are more number of rows in the grid
9. Finally, we are supposed to use Oracle Database for development.So, any guidelines to be in compatible with the database.

Please do reply to this thread with whichever information you feel will help us to achieve the above requirements. We are in the process of evaluating Telerik RadGrid and if all the above are achievable, then we will be purchasing a licensed version.

Thanks Shri Prakash
Eyup
Telerik team
 answered on 04 Dec 2012
5 answers
184 views
I have a simple grid that displays master records and their related child records.  The following is my grid:

<telerik:RadGrid runat="server" ID="rgGrid1" AutoGenerateHierarchy="true" Skin="RAPIDSKIN"  EnableEmbeddedSkins="false" data-role="none" AutoGenerateColumns="false">
   <ClientSettings AllowExpandCollapse="true">
      <ClientEvents OnRowClick="RowClick" />
   </ClientSettings>
   <MasterTableView Name="Master">
      <DetailTables>
         <telerik:GridTableView>
            <Columns>
               <telerik:GridBoundColumn DataField="RISK_STATE" HeaderText="EXPOSURE" HeaderStyle-Font-Bold="true" HeaderStyle-HorizontalAlign="Left"></telerik:GridBoundColumn>
               <telerik:GridBoundColumn DataField="PREMIUM" HeaderText="PREMIUM" HeaderStyle-Font-Bold="true" HeaderStyle-HorizontalAlign="Right" DataType="System.Decimal" DataFormatString="{0:c}" ItemStyle-HorizontalAlign="Right"></telerik:GridBoundColumn>
            </Columns>
         </telerik:GridTableView>
      </DetailTables>
         <Columns>
            <telerik:GridBoundColumn ItemStyle-HorizontalAlign="Left" DataField="HOME_STATE" HeaderText="HOME STATE" HeaderStyle-Font-Bold="true" HeaderStyle-HorizontalAlign="Left"></telerik:GridBoundColumn>
            <telerik:GridBoundColumn ItemStyle-HorizontalAlign="Right" DataField="PREMIUM" HeaderText="PREMIUM" HeaderStyle-Font-Bold="true" HeaderStyle-HorizontalAlign="Right" DataType="System.Decimal" DataFormatString="{0:c}"></telerik:GridBoundColumn>
         </Columns>
   </MasterTableView>
</telerik:RadGrid>

In the NeedDataSource event of the grid, I retrieve a Dataset from the database.  The Dataset contains 2 Datatables, and once it is retrieved I set a relation on the primary column of each Datatable using a DataRelation, then set the grid's DataSource equal to the Dataset.  This all works fine - my grid is shown with all the parent records displayed - and when I click to expand any parent record it sucessfully displays that rows detail records.

The problem is, the grid posts back each time a parent is expanded - which I don't want.  The Dataset is small enough that I want the entire grid loaded and set up to make expanding and collapsing parent records faster and smoother with no screen refresh.  I tried adding the HierarchyLoadMode="Client" to both the MasterTableView tag as well as the telerik:GridTableView tag within the DetailTables tag - no matter where I put it it doesn't work - what I get with HierarchyLoadMode="Client" is a grid that displays all my parent records, and when I expand any parent record I see an empty detail grid stating "No records to display"

After reading up on the HierarchyLoadMode="Client" option I thought it would force the grid to load all parent and child records up front so there would be no need to post back on expanding parent records but I must be missing something - what else do I need to set up to allow this to work?

TIA
Antonio Stoilkov
Telerik team
 answered on 04 Dec 2012
1 answer
103 views
We have a simple bar chart that we would like to be able to put the xaxis labels and hash marks on top instead of on teh bottom. Is this possible? If so, can someone point me to some example code?
Thanks ... Ed
Princy
Top achievements
Rank 2
 answered on 04 Dec 2012
1 answer
105 views
We have a problem where in IE (6,7,8) RadGrid response is rather slow and we're trying to improve performance. I understand that IE has a slower JS processor, but I think the major issue we have is that for each paging/filtering request, OnNeedDataSource is called and that takes a chunk of time. My question is whether we can have the data pulled once on page load and paging/filtering done on the client side to improve performance?
Jayesh Goyani
Top achievements
Rank 2
 answered on 04 Dec 2012
1 answer
71 views
Hi.
I have a problem with the filter by column in my radGrid.
i put the property allowFilterByColumn in "true", but the button that i show in the imagen doesn't work.

in this image link button to which I refer:
http://www.subirimagenes.net/pictures/34004824405bf9d70279cf03f26982d9.png


thanks!!
Jayesh Goyani
Top achievements
Rank 2
 answered on 04 Dec 2012
3 answers
119 views
Hi,

i've a web page where insert a radlistview and connect to list of object...my code is:
As you can see there is a field userid, I wish that the value of the userid is passed on the button, is this possible?

<fieldset style="float: left; width: 340px; height: 195px">
                           <legend>Category:
                               <%# CType(Container.DataItem, PropertyUtente).Category%>
                           </legend>
                           <table cellpadding="0" cellspacing="0" width="95%">
                               <tr>
                                   <td style="width: 75%;">
                                       <table cellpadding="5" cellspacing="0">
                                           <tr>
                                               <td style="width: 25%;">
                                                   Userid:
                                               </td>
                                               <td style="width: 75%; text-align:left">
                                                   <%# CType(Container.DataItem, PropertyUtente).Userid%>
                                               </td>
                                           </tr>
                                           <tr>
                                               <td style="width: 25%;">
                                                   Name:
                                               </td>
                                               <td style="width: 75%; text-align:left">
                                                   <%# CType(Container.DataItem, PropertyUtente).user%>
                                               </td>
                                           </tr>
                                           <tr>
                                               <td>
                                                   City:
                                               </td>
                                               <td style="width: 75%; text-align:left">
                                                   <%# CType(Container.DataItem, PropertyUtente).city%>
                                               </td>
                                           </tr>
                                           <tr>
                                               <td>
                                                   Phone:
                                               </td>
                                               <td style="width: 75%; text-align:left">
                                                   <%# CType(Container.DataItem, PropertyUtente).phone%>
                                               </td>
                                           </tr>
                                           <tr>
                                               <td>
                                                   Cellular:
                                               </td>
                                               <td style="width: 75%; text-align:left">
                                                   <%# CType(Container.DataItem, PropertyUtente).Cellular%>
                                               </td>
                                           </tr>
                                           <tr>
                                               <td>
                                                </td>
                                               <td style="width: 75%; text-align:left">
                                                   <asp:Button ID="Button1" runat="server" Text="Details"  />
                                               </td>
                                           </tr>
                                       </table>
                                   </td>
                                    <td style="vertical-align: top; text-align: right; width: 25%;">
                                        <asp:Image ID="Image1" runat="server" ImageUrl='<%# CType(Container.DataItem, PropertyUtente).imageprofile%>' Height="120px" Width="100px"/>
                                   </td>                            
                               </tr>
                           </table>
                       </fieldset>
Shinu
Top achievements
Rank 2
 answered on 04 Dec 2012
4 answers
62 views
When I have a <ol> list, it works fine, if I use a <ul> list inside of an <ol>, <ol> tag is replaced with <ul>. See example below

1. A
2. B
3. C
  • C1
  • C2
4. D

turns into

  • A
  • B
  • C
* C1
* C2
  • D

Any ideas?
Thanks!
Goksun
Goksun
Top achievements
Rank 1
 answered on 04 Dec 2012
1 answer
89 views
I restricted my fileexplorer to only accept images using SearchPattern property.
Is it possible that we can also control the dimension of the image file that gets uploaded? e.g. only allow people to upload image files with dimension of 500x600.

thanks in advance
Vessy
Telerik team
 answered on 04 Dec 2012
3 answers
114 views
I'm trying to do some client-side initialization that involves calling $find() on the ClientID of some RadComboBoxes.

My code is being run from an event-handler hooked to window load:

Sys.UI.DomEvent.addHandler(window, 'load',
    function()
    {
        // My initialization stuff
    }
);

When this code, $find(clientid) returns null.

If I move my initialization code to a window.setTimeout(), $find() works fine.  So clearly the only problem is that the client-side code hasn't been initialized, when the window load handler executes.

When I browse the forums, I see recommendations to put the initialization code in a pageLoad().  Given the organization of the code in this project, that's not possible. (There can only be one pageLoad() function on a page - we have separate initialization functions for multiple user controls that may be included on a single page.  We'd like to keep the initialization for each encapsulated inside the control, we don't want to pull all the initialization into a single page-level function.)

Are there any of the standard events that we can catch with Sys.UI.DomEvent to which we can add handlers that will fire after the telerik controls have been initialized?

Dathan
Top achievements
Rank 1
 answered on 03 Dec 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
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
Bronze
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?