Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
660 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
94 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
197 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
282 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
92 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
61 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
60 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
110 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
71 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
9 answers
111 views
Hello,

The splitbutton logic is not working well in Q1 2015. It was ok in Q3 '14. Consider this:

<telerik:RadButton ID="RadButton1" Text=" " Width="30px" Icon-PrimaryIconUrl="https://secure.prooportal.com/Style/img/icon/sys/16x16/plain/check.png" Icon-PrimaryIconLeft="5px" Icon-PrimaryIconTop="4px" EnableSplitButton="true" RenderMode="Classic" runat="server"></telerik:RadButton>

This code works fine in Q3, in Classic and Lightweight. In Q1 the Lightweight version the displaying of the icon is incorrect/weird.

Attached a example of the result rendering (image)

This problem applies to all major browsers (Chrome, IE11, FF, Safari)

Kind Regards,

Erik
Rumen
Telerik team
 answered on 24 Apr 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?