Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
67 views
Hi,

I have a SP list bound to a radgrid .Columns are App owner,Average rating and the list is ordered by app owner column.Average rating is a calculated column where i am  taking the average of the different ratings of the owner in the original list.

I want to be able to make the app owner column a hyperlink column on click of which i want to display all the ratings for that owner.How can i do this?


Marin
Telerik team
 answered on 14 Nov 2014
1 answer
93 views
Hi ,

We recently installed Telerik Q3 2014 and found  a few problems with Radgrid - GridButtonColumn when page size is changed.   Our grid control used client-side binding . 

1.  When the page size is changed , if our GridButtonColumn has a custom image url and a pre-defined CommandName is used (ex. Edit or Delete), the other records show the default telerik image for Edit or Delete.    (i.e.  Records 1-10 would show our custom image , and records 11-20 would show default telerik image) 

2.  If we set ConfirmText property, no confirmation alert is shown when button is client .

Can you please help.


Pavlina
Telerik team
 answered on 14 Nov 2014
4 answers
416 views
Hi,
when I update some fields in my grid in batch edit mode and click on "save changes" to store my updates in db, I sometimes have server side errors (more complex server-side validation, database access issue, ...).
In that case, I display the errors from the server, but my radgrid is completely re-binded and I lost all my updates. (that can be massive updates...)
I can't find how to keep my updates for the user to change its erroneous fields.
Am I missing something ?
Thanks in advance
Flavien B.
Top achievements
Rank 1
 answered on 14 Nov 2014
3 answers
371 views
I'm having an issue when exporting the contents of a RadGrid control to excel using the RadGrid1.MasterTableView.ExportToExcel() method. The output is not UTF8 encoded, and in some scenarios, the Â character is displayed before the next character. This happens for characters like the non-breaking space or degree character. I've spent some time looking through the documentation and object structure of the RadGrid control and I see no properties that I can set to force the output file to be UTF8 encoded. I'm currently running Version 2013.3.1114.35 and upgrading is NOT an option unfortunately. 
Kostadin
Telerik team
 answered on 14 Nov 2014
1 answer
90 views
Hi.

I´m working on a RadGrid which have three fixed columns and several neither. The question is that if i try to group by columns, Radgrid begins to act exactly as if tablelayout="fixed". Only grouped, not in every postback.

so even if i change the width just like this thread says 
http://www.telerik.com/forums/radgrid-grouping-causing-columns-to-be-resized

I´m still having an issue because columns only expand and stretch like an acordeon. No scroll at all, act exacly as fixed.


<telerik:RadSplitter ID="RadSplitter1" runat="server">
    <telerik:RadPane ID="VSPRadPane" runat="server" Scrolling="None" OnClientResized="VSPGridCreated">
        <div style="text-align: right">
            <telerik:RadButton ID="ExportButton" runat="server" Text="Exportar a Excel" OnClick="ExportButton_Click"></telerik:RadButton>
        </div>
        <div id="VSPGridContainer" style="height: 97%;">
            <telerik:RadGrid ID="VSPMainRadGrid" runat="server" AutoGenerateColumns="false"
                AllowSorting="true" AllowPaging="true" PageSize="100"
                OnNeedDataSource="VSPMainRadGrid_NeedDataSource"
                OnUpdateCommand="VSPMainRadGrid_UpdateCommand"
                OnItemCreated="VSPMainRadGrid_ItemCreated"
                OnDeleteCommand="VSPMainRadGrid_DeleteCommand"
                OnInsertCommand="VSPMainRadGrid_InsertCommand"
                OnGroupsChanging="VSPMainRadGrid_GroupsChanging"
                EnableLinqExpressions="false"
                >

                <ClientSettings AllowDragToGroup="True">
                    <Scrolling AllowScroll="true" UseStaticHeaders="true" FrozenColumnsCount="5" />
                    <ClientEvents OnGridCreated="VSPGridCreated" />
                </ClientSettings>

                <MasterTableView DataKeyNames="Id" AllowNaturalSort="false" HierarchyLoadMode="Client" CommandItemDisplay="Top" AllowFilteringByColumn="True"
                    InsertItemPageIndexAction="ShowItemOnCurrentPage" AutoGenerateColumns="false" ClientDataKeyNames="Id" TableLayout="Auto">
                    <Columns>
                                [...]
                     </columns>
                             <EditFormSettings EditFormType="Template" PopUpSettings-Modal="true">
                                [...]
                              </EditFormSettings> 
                </MasterTableView>
                <PagerStyle Mode="NextPrevAndNumeric" AlwaysVisible="true" />
                <GroupingSettings CaseSensitive="false"></GroupingSettings>
            </telerik:RadGrid>
        </div>
    </telerik:RadPane>
    <telerik:RadPane ID="RadPane1" runat="server" Collapsed="true" />
</telerik:RadSplitter>

Any suggestion?

Thanks.
Angel Petrov
Telerik team
 answered on 14 Nov 2014
13 answers
203 views
Hi,

I'm having an issue with treeview not displaying any items due to the .rgtTreelistContent is being rendered with style='height: 0'. 
See attachement for html.
Bozhidar
Telerik team
 answered on 14 Nov 2014
1 answer
95 views
I'm having a hard time just finding the handle to a RadButton.  I've tried every Javascript/jQuery technique I can think of but no luck.

I have RadButtons set up as checkboxes in rows of 3 in an Asp:Repeater.

On the OnClientClicked event I call a Javascript function.  The first thing it does is call sender.get_uniqueID() which returns a string like rp1$ctl05$chkSelect.

Once I have that it's a simple matter to parse the string to assemble the unique IDs of the other checkboxes in the row.

Unfortunately no technique I can think of will return a handle that will allow me to do a set_checked call on either of the other checkboxes in the row.  It's always null.

Suggestions?
Boris
Top achievements
Rank 1
 answered on 13 Nov 2014
2 answers
178 views
I am using a Ajax RadGrid to display contents, however, I want to have text show up in some columns instead of numbers. I have attached a screenshot of my grid. I may have setup my database wrong, so I'd like some help trying to correct this, please. I have a primary table called "kb" which holds the values inserted from a web form. I have about a dozen AccessDataSource tags with different select statements: one for each control on the form. So if I have a drop-down called "kbcategory" I also have an AccessDataSource which is pulling from a table called "category" for all the values. So my category table would have several rows with data like (apples, bananas, pears, etc.). My insert statement to put my form data into my "kb" table pulls the "id" values from the drop-downs in the form and enters their numeric values. So all my drop-downs in my "kb" table have number listed in them. I created a pk/fk relationship between my primary table "kb" and all the other tables.

So, now I want to display my data in a grid, but I don't want to show the numeric values of the drop-down columns. I want their respective textual values: like apples or bananas. As you can see from my screenshot I am only showing numbers in the columns named "kbcategory" and "kbsubcatid".

How can I get these columns to show text instead of numbers?

Thanks in advance.
Mitch
Top achievements
Rank 1
 answered on 13 Nov 2014
11 answers
4.6K+ views
Hi

İ m using datepicker, i want to format selected date as dd/mm/yyyy. but if day is one digit, zero must come in front of day number. for example if i select 3 may 1999, selected date must be 03/05/1999 not 3/5/1999, how can i do this?

thanx
Brian
Top achievements
Rank 1
 answered on 13 Nov 2014
13 answers
412 views
Greetings,

As the question states, I'm trying to set the default for the 'Font Name' drop down on the RadEditor.  I'd like to set the font style and size to Arial, 12pt.

Is this possible?  I have custom buttons on the editor and I know it's possible to set indexes on dropdowns but I don't know if Telerik will allow me to set such indexes for these predefined buttons.  It doesn't look like the Tools File provides any access to this area.

Thanks!
John
Abdallah
Top achievements
Rank 1
 answered on 13 Nov 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?