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

          On my web page i have RadContexMenu with two static value and after that bind from database. On same page i have one RadGrid.

          When user click on any of the static value then i dont want to update RadGrid, but when user try to select any value which bind from database on ContextMenu then i have to update my RadGrid.
 
          I had used AjaxLoadingPanel also, which would be affect only when user select any value which bind from database on ContexMenu.

          Please help me.

Here i am defining my code.

  
<telerik:RadAjaxManager runat="server" ID="RadAjaxManager1" OnAjaxRequest="RadAjaxManager1_AjaxRequest"
        ClientEvents-OnRequestStart="RequestStart" ClientEvents-OnResponseEnd="ResponseEnd">
  <AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="FavouritesMenu">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="FavouritesMenu" />
                    <telerik:AjaxUpdatedControl ControlID="RadGrid1" />
                    <telerik:AjaxUpdatedControl ControlID="StatusBarLabel" />
                </UpdatedControls>
            </telerik:AjaxSetting>
   </AjaxSettings>
</telerik:RadAjaxManager>
 
 <telerik:RadContextMenu ID="Menu" runat="server"
                            DefaultGroupSettings-OffsetX="500" Flow="Vertical" OnItemClick="Menu_ItemClick"
                            Skin="Office2007">
                            <Items>
                                <telerik:RadMenuItem
                                     
                                    Text="Add" Value="Add">
                                </telerik:RadMenuItem>
                                <telerik:RadMenuItem
                                    Style="left: 790px; top: 130px"
                                    Text="Remove" Value="Remove">
                                </telerik:RadMenuItem>
                            </Items>
                            <ExpandAnimation Type="None" />
                            <CollapseAnimation Type="None" />
                        </telerik:RadContextMenu>
 <telerik:RadGrid ID="RadGrid1" runat="server" OnNeedDataSource="RadGrid1_NeedDataSource"
                                    enableajax="true" ShowGroupPanel="True" Width="100%" AllowSorting="True" AllowMultiRowSelection="True"
                                    OnCreateColumnEditor="RadGrid1_CreateColumnEditor" Height="100%" Skin="Vista"
                                    OnUpdateCommand="RadGrid1_UpdateCommand" OnDeleteCommand="RadGrid1_DeleteCommand"
                                    OnItemDataBound="RadGrid1_ItemDataBound" ClientSettings-ClientEvents-OnRowSelecting="RestrictSelect"
                                    PageSize="50" AllowCustomPaging="True" AllowPaging="true"> </telerik:RadGrid>

        
Maria Ilieva
Telerik team
 answered on 17 Jan 2011
5 answers
157 views
Hi

I am using windows 7 32 bit.

I am unable to install RadControls for ASP.NET AJAX Q1 2010.

Telerik RadControls Setup Wizard ended prematurely because of an error...." (see attached screen shot)
Please do the needful at the earliest.

Regards
Erjan Gavalji
Telerik team
 answered on 17 Jan 2011
1 answer
65 views
Hello In my page date time control not working

   <td style="font-size: 8pt">
                                        Clinic Start Date
                                    </td>
                                    <td>
                                        <telerik:RadDateTimePicker ID="dtpStartDate" runat="server" AutoPostBackControl="Both"
                                            ShowPopupOnFocus="true">
                                        </telerik:RadDateTimePicker>
                                     
                                    </td>
                                </tr>
                                <tr>
                                    <td style="font-size: 8pt">
                                        Clinic End Date
                                    </td>
                                    <td>
                                        <telerik:RadDateTimePicker ID="dtpEndDate" runat="server" AutoPostBackControl="Both"
                                            ShowPopupOnFocus="true" OnSelectedDateChanged="dtpEndDate_SelectedDateChanged">
                                        </telerik:RadDateTimePicker>
                                    </td>


don't know what happens but want to do like following link

http://demos.telerik.com/aspnet-ajax/calendar/examples/datetimepicker/clientsideevents/defaultcs.aspx

Needd help urgent
Maria Ilieva
Telerik team
 answered on 17 Jan 2011
7 answers
145 views
I'm using the default skin for rad menu.

For each menu item I have specified a:

HoveredImageUrl
ImageURL
ClickedImageURL

I also have an image I would like to use when the user has clicked a menu item and browsed to the corresponding menu item page. ClickedImageURL swaps the image when I click, how do I keep this image active when the user hits the new page?

Thanks in advance.
Markus
Top achievements
Rank 2
 answered on 17 Jan 2011
1 answer
121 views
DataFormatString doesn't seem to work with binding the grid client side. Any alternative available to achieve the same?
Iana Tsolova
Telerik team
 answered on 17 Jan 2011
4 answers
89 views
Hello,

I'm building a MVC program.

In the view, I have a combo box:

    <telerik:RadComboBox ID="RadComboBox1" runat="server"
        DataSourceID="EntityDataSource1" DataTextField="data"
        DataValueField="value">
    </telerik:RadComboBox>

I can populate the combo box with a list of options provided by the database (through Entity).

Here is my question.

Say, in some situations, when the page is loaded, I want option 1 to be selected first; then in some other situations, when the page is loaded, I want a different option, say option 3, to be selected.  And say, the situation will depend on a magic number I store in the session.

Is there anyway I can control which option to be selected when a page is loaded (without using ajax call after the page is loaded)?

Also, is there any small example to demonstrate how to control which item to be selected at the beginning, in MVC environment?

Many thanks!
Kalina
Telerik team
 answered on 17 Jan 2011
0 answers
48 views
Hello Team,

Am using the Default Skin for my RadMenu.I want the arrow to be placed to the right on the top level menus.
And I do not want a down arrow in Top Menus, where I do not have Sub Menu Items.

How do I achive this.Could you provide the CSS class to be changed and the details to be provided in that class, so that I get the desired result.

Your help would be much appreciated.

Thanks,
Ramesh
Ramesh
Top achievements
Rank 1
Iron
 asked on 17 Jan 2011
1 answer
66 views
Hello,  

I have successfully implemented the GridSettingsPersister for the grid control on a save button click event.  Now I would like to take it a step further and automatically save the layout of the grid when the user makes a change to his/her grid (ie: move a column, sort, change width etc...).  What event would I use to trigger the save?

I would like it to be seamless to the user, no clicking of a save button necessary.

Thank you very much for the help!
Iana Tsolova
Telerik team
 answered on 17 Jan 2011
5 answers
180 views
Hello

I want to show images in my combo box items and i've used ImageUrl property for RadComboBoxItem to show the images. But when i  select an item the image is not shown in the selected item.

The items dont have any text and they are just images. So i'm not able to see the selected image and the selected item is shown as empty (since i dont have any text).

Any ideas?

Yana
Telerik team
 answered on 17 Jan 2011
1 answer
79 views
I'm using the RadEditor with DNN and I have a form with multiple different editors on the page. When right clicking to see the context menu it shows up in a few different places. In the first editor it shows up fine; right where it is supposed to. However, when I scroll down to the next editor or any other one below it, the menu shows up either at the very top of the screen or close to it, no where near the position of the mouse. Any ideas on how to resolve this issue?

Thanks,

Kevin
Rumen
Telerik team
 answered on 17 Jan 2011
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?