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.
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.
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
<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:###,### €}" 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> |
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().
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
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?
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
<
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
>