Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
48 views

Hi,

I have an application that uses RadGrid from the 2013-Q2 build.

I understand that I probably have no support for this anymore, but anyway it appears to be broken in anything other than Internet Explorer.

Specifically, one of the (many) problems is that it throws a JavaScript error of "d.onclick is null" if you are not using IE (e.g. when clicking a client-side delete button).

I know that the library should be updated but the testing overhead is too much for me right now.  Can anyone help with a quick (elegant) fix?

 

          <telerik:GridButtonColumn UniqueName="DeleteColumn" CommandName="Delete" ConfirmTitle="Delete confirmation" ConfirmDialogType="RadWindow" ConfirmText="Are you sure you want to delete this record?" ButtonType="LinkButton" Text="<img src='images/delete.gif' alt='Delete record' />">
            <HeaderStyle Width="60px" />
            <ItemStyle HorizontalAlign="Center" />
          </telerik:GridButtonColumn>

Adam
Top achievements
Rank 1
 answered on 24 Apr 2015
3 answers
714 views

In order to handle the event Item Click on the menu, I had to reset the NavigateUrl property in each Item.

But by doing so, I do not work any more chance, to the context menu, to open the menu page in a new tab, as it always opens the current page.

Is there a solution for this problem?

It would not be useful in a new version of the menu, a property that forces the event ItemClick even in the presence of a value in the property NavigateUrl?

Thanks.

Ivan Danchev
Telerik team
 answered on 24 Apr 2015
2 answers
104 views

Hello Admin,

 I have query regarding the radschedular. Currently i'm using the outlook skin for radschedular. I need to change only the background color from yellow to white. Please find the screen shot as below. Which is having a yellow color currently. How to change the same to white. Could you guys please shed some light to me. I'm stucked up in an lion's den now.

Ivan Danchev
Telerik team
 answered on 24 Apr 2015
1 answer
212 views

Hello,

I have a radGrid with BatchEdit mode activated. In each row i have 2 radComboBox, the first combobox depends of the value of the second to bind one datasource or other. How can i access to the editItemTemplate in the itemDataBound and set the radComboBox of the each row with the datasource associated?

The problem is that the bind of the radComboBox depends of the selected value of the other radComboBox that i have in the same row. Some idea?

 

Thanks

Maria Ilieva
Telerik team
 answered on 24 Apr 2015
5 answers
297 views
I try to set the EditImageUrl (also update and cancel) in the Detailtable but the defaultimage appears (An pen for edit and the texts "update" "cancel" for the commands).
What I have to do to solve this?

<radG:RadGrid ID="Grid_ris_ein" runat="server" EnableAJAX="True" OnNeedDataSource="Grid_ris_ein_NeedDataSource"  
                        AutoGenerateColumns="False" OnItemDataBound="Grid_ris_ein_ItemDataBound" OnItemCommand="Grid_ris_ein_ItemCommand" 
                        AllowPaging="False" BorderStyle="None" CellPadding="0" Skin="None" > 
                    <AlternatingItemStyle /> 
                     
                    <HeaderStyle Font-Bold="false" ForeColor="#000000" BackColor="#ffffff" BorderWidth="1px" HorizontalAlign="Center" VerticalAlign="Top" BorderStyle="Solid" BorderColor="White"  /> 
                    <FooterStyle BackColor="#cc6633"></FooterStyle> 
                    <EditItemStyle Font-Bold="True" /> 
                    <MasterTableView Width="780px" GridLines="None" BorderStyle="None" PageSize="7" 
                          Name="tblMaster" CellPadding="0" CellSpacing="3" HorizontalAlign="Left" EditMode="InPlace" 
                          DataKeyNames="ris_ein_id" > 
                        <ExpandCollapseColumn Resizable="False" Visible="True" CollapseImageUrl="/images/down.png" ExpandImageUrl="/images/right.png"
                            <HeaderStyle Width="20px" /> 
                        </ExpandCollapseColumn> 
                        <RowIndicatorColumn Visible="False"></RowIndicatorColumn> 
                        <Columns> 
                            <radg:GridBoundColumn UniqueName="ris_ein_id" HeaderText="ris_ein_id" DataField="ris_ein_id" Visible="False" ReadOnly="True" ></radg:GridBoundColumn>     
                            <radg:GridBoundColumn UniqueName="ris_ein_nr" HeaderText="ris_ein_nr" DataField="ris_ein_nr" Visible="False" ReadOnly="True"></radg:GridBoundColumn>     
                            <radg:GridBoundColumn UniqueName="ris_ein_text" HeaderText="Monatliche Einnahmen (netto)" DataField="ris_ein_text" ReadOnly="true"
                                <ItemStyle Width="250px" /></radg:GridBoundColumn>     
                            <radg:GridBoundColumn UniqueName="ris_ein" HeaderText="" DataField="ris_ein" DataFormatString="{0:###,### &euro;}" DataType="System.Double"
                                <ItemStyle Width="120px" /></radg:GridBoundColumn>   
                            <radG:GridEditCommandColumn UniqueName="Editbutton" ButtonType="ImageButton" EditImageUrl="/images/edit.png" > 
                                <ItemStyle Width="16px" /></radg:GridEditCommandColumn>  
                            <radg:GridBoundColumn UniqueName="ris_ein_comment" HeaderText="" ReadOnly="true"
                                <ItemStyle Width="394px" /></radg:GridBoundColumn>   
                        </Columns> 
                        <DetailTables> 
                            <radg:GridTableView AllowSorting="False" DataKeyNames="ris_ein_id" width="255px" 
                                Name="tblDetail" > 
                                <ParentTableRelation> 
                                    <radG:GridRelationFields DetailKeyField="ris_ein_id" MasterKeyField="ris_ein_id" /> 
                                </ParentTableRelation> 
                                 
                                <Columns> 
                                    <radg:GridBoundColumn UniqueName="ris_ein_id" HeaderText="ris_ein_id" DataField="ris_ein_id" Visible="False" ReadOnly="True" ></radg:GridBoundColumn>     
                                    <radg:GridBoundColumn UniqueName="ris_ein_nr" HeaderText="ris_ein_nr" DataField="ris_ein_nr" Visible="False" ReadOnly="True"></radg:GridBoundColumn>     
                                    <radg:GridBoundColumn UniqueName="ris_ein_beg" HeaderText="Beginn" DataField="ris_ein_beg" DataFormatString="{0:dd.MM.yyyy}"
                                        <ItemStyle Width="85px" /></radg:GridBoundColumn>     
                                    <radg:GridBoundColumn UniqueName="ris_ein_end" HeaderText="Ende" DataField="ris_ein_end" DataFormatString="{0:dd.MM.yyyy}"
                                        <ItemStyle Width="85px" /></radg:GridBoundColumn>     
                                    <radg:GridBoundColumn UniqueName="ris_ein_inffak" HeaderText="Infl.-Ausgl." DataField="ris_ein_inffak" DataFormatString="{0:0.0%}" DataType="System.Double"
                                        <ItemStyle Width="85px" /></radg:GridBoundColumn>    
                                    <radG:GridEditCommandColumn UniqueName="EditbuttonDetail" ButtonType="ImageButton" EditImageUrl="/images/edit.png" UpdateImageUrl="/images/update.gif" CancelImageUrl="/images/cancle.gif" > 
                                        <ItemStyle Width="16px" /></radg:GridEditCommandColumn> 
                                </Columns> 
                            </radg:GridTableView> 
                        </DetailTables> 
                    </MasterTableView> 
                </radG:RadGrid> 


Konstantin Dikov
Telerik team
 answered on 24 Apr 2015
1 answer
113 views
I had custom paging, sorting and filtering all working together with a Object Data Source. I am having a problem with pagination when using a custom filtering. The maximumRows parameter of the data source is return 2147483647 instead of my grid page size which is the value defined in the Page Size property. 
Konstantin Dikov
Telerik team
 answered on 24 Apr 2015
2 answers
65 views

Hi,

  I am having have problem with radgrid sorting. When I debug code and check my list collection it shows data in correct order but it does not show in the same order when the grid is populated.

      If I set  GridView.MasterTableView.SortExpressions.AddSortExpression(criteria); then it works once. But then on GridView_SortCommandevent I get the same sortexpression and sortorder all the time. When I try to clear the sortexpression I get "Telerik.Web.UI.ParseException: Syntax error" on grid.rebind().

 

Tabassum
Top achievements
Rank 1
 answered on 24 Apr 2015
1 answer
68 views

Hello.

My problem is I need to act clientwise on users "reselecting" an item in my radcombo with keystroke.

I.e:
-----------------------------------------------------------

if user select A > fire a client function.
if user select A again > fire a client function

 ----------------------------------------------------------

I can handle the mouseclick event by adding onclick event to the specific RabcomboboxITem ("A"). It works fine. 

I can handle Keystroke select (first time!), by using onClientIndexChanged. It works fine

I can handle Keystroke REselect, by using OnClientKeypressing. It works fine

Troubles start if user selects other item (away from "A").
Now my OnClientKeypressing  event (which fires BEFORE selectionchange)  only sees "A" pressed and wrongfully fires my client function.

Any clues to a solution are appreciated

 

Regards

 Mark



Hristo Valyavicharski
Telerik team
 answered on 24 Apr 2015
3 answers
129 views

Hello, i have a radgrid which i need to show a horizontal scroll when we add a lot of columns and persist the width of the columns but my grid is fxed to the width window and not show the scroll, then resize the width column and this make looks very bad. I put the e.column width in the column_created event with percentage unit.

 I have the width column in a parameter and i put it in the column created event but i dont have width  configured in the radgrid . Is better put it in pixels? i have a column with no size for autogrow with the extra width that other columns not use.

 

Any idea?

 

 

Pavlina
Telerik team
 answered on 24 Apr 2015
1 answer
84 views

Hi,

I wanna know if it's possible to "customize" the YAxis's Title like this :

- I set the rotation value to "1" to put the Title in "hozitontaly mode" (may be is there a better way ?) and I want set 1 word by line in this title (because when the title is too long, it move the HtmlChart, and so the render is bad ..., as you can see on the attached file)

 - OR may be it's possible to put the Title above the Axis ?

 

Thanks a lot,

Regards

Danail Vasilev
Telerik team
 answered on 24 Apr 2015
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?