Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
99 views
Hi,
I am having grid refresh issue. I am using telerik grid and i use a timer to auto refresh it after 5  minutes but when a pop window is open and auto refresh start for grid it overlay on the pop window and mess the layout. Can somebody help me to do the auto refresh behind the popup window and not to overlay on it. I am also sending the screenshot of my screen that shows how the overlay occurs.
Thanks!
Saima
Saima
Top achievements
Rank 1
 answered on 10 Aug 2012
1 answer
146 views
I have a RadGrid that uses a RadContextMenu. What I need to do is open a different radwindow depending on which RadContextMenu item that is selected. The sample for the RadContextMenu has the OnItemClick calling a server side event to handle the selection of the user's menu choice. From the server side event the code can determine which command was selected by the e.Item.Text argument. Now, I have been opening my RadWindows in the javascript client side code. I could wire this event to a javascript event, I think, but even if this is possible how do I tell which menu item text was selected?

OK, after doing some more searching I found that the OnClientSideItemClick will call the javascript; however, args.get_item().get_value(); returns null?

Thanks,


Steve Holdorf
Steve Holdorf
Top achievements
Rank 1
 answered on 10 Aug 2012
4 answers
973 views
I have a Radgrid and a Radlistbox on my page.  There is a GridButtonColumn in the grid which executes commandname "Show".  This command requeries the database and rebinds the Radlistbox.
What I want to accomplish is this. When the page is rendered, if the Radgrid contains only a single record, then I want the Show command to be executed automatically without the user clicking the Show button.
Is there a way to do this?  The fire command events documentation page (http://www.telerik.com/help/aspnet-ajax/grid-fire-command-event-from-code.html) does not appear to cover invoking the ItemCommand.
Thanks.
Jayesh Goyani
Top achievements
Rank 2
 answered on 10 Aug 2012
1 answer
132 views
Hi,

I might be missing a trick here but I simply want to get a reference to a RadComboBox which is sitting on a SharePoint application page.

If my RadComboBox has an ID of lstCountry then I can select it (?) using;

var brandDropDown = $("select[id$='lstCountry']");

However none of the methods I'd expect to see are present, so the following attempt at adding items doesn't work (method not supported)

   var comboItem = new Telerik.Web.UI.RadComboBoxItem();
   comboItem.set_text(unit.Brand.Name);
   brandDropDown.Items.Add(comboItem); OR
   brandDropDown.get_items().add(comboItem)

I'm pretty sure the JQuery selector is not getting the correct object from the DOM - can anyone help me out please ?

Thanks,

MDM
Kalina
Telerik team
 answered on 10 Aug 2012
5 answers
918 views
Hi,

Is it posible to display diffrent tooltip on whole grid and the diffrent ToolTip on GridButtonColumn. When i try to assign as below, even if i point on the Brid button column, it only displays the grid toolip.

<telerik:RadGrid ID="rgTest" runat="server" AllowAutomaticInserts="false" AutoGenerateColumns="False"
    Skin="Outlook" Height="100%" Width="90%" Culture="en-GB" GridLines="None" CellSpacing="0"
    ShowHeader="False" OnDeleteCommand="rdTest_Delete" ToolTip="<%$Resources: , Grid_tooltip%>" >
<MasterTableView AllowAutomaticInserts="false" CommandItemDisplay="None"         
        CommandItemSettings-ShowRefreshButton="False" DataKeyNames="Id" NoMasterRecordsText=""
        ViewStateMode="Enabled" GridLines="None" EditMode="InPlace" ShowHeadersWhenNoRecords="False">                   
        <Columns>   
            <telerik:GridButtonColumn UniqueName="DeleteCommandColumn" ButtonType="ImageButton"
                CommandName="Delete" ImageUrl="~/Graphics/Remove.png" Text="<%$Resources: , Delete_tooltip%>" HeaderStyle-Width="5%">
                <HeaderStyle Width="5%"></HeaderStyle>
            </telerik:GridButtonColumn>
        </Columns>        
    </MasterTableView>
   </telerik:RadGrid>
Jayesh Goyani
Top achievements
Rank 2
 answered on 10 Aug 2012
1 answer
88 views
I managed to databind using below technique.And using the objectDataSource updateMethod for updating these values.
But when updating the new values showing null. what should I do?

 

 

<asp:FormView ID="SingleUser" runat="server" DataKeyNames="UserId"

 DataSourceID="ObjectDataSource1" Width="750px">

 <EditItemTemplate>

 <telerik:RadPanelBar runat="server" ID="RulePanelBar" ExpandMode="MultipleExpandedItems"

 Width="740px" Skin="Metro">

 <Items>

 <telerik:RadPanelItem Expanded="True" Text="Step 1: Basic Information" runat="server"

 Selected="true">

 <ItemTemplate>

 <table cellpadding="0" cellspacing="0" border="0" width="100%">

 <tr>

 <td>

 <asp:Label ID="FirstNameLabel" runat="server" AssociatedControlID="txtFirstName" >First Name:</asp:Label>

 <asp:TextBox ID="txtUserID" runat="server" Text='<%#DataBinder.Eval(SingleUser.DataItem,"UserId")%>'

 Width="2px" Visible="False"></asp:TextBox>

 <asp:TextBox CssClass="textEntry" ID="txtFirstName" title="Enter First Name Here"

 runat="server" Text='<%#DataBinder.Eval(SingleUser.DataItem,"FirstName")%>'></asp:TextBox>

  </td>

 <td>

 <asp:Label ID="MiddleNameLabel" runat="server" AssociatedControlID="txtMiddleName" >Middle Name:</asp:Label><br />

 <asp:TextBox CssClass="textEntry" ID="txtMiddleName" title="Enter Middle Name Here"

 runat="server" Text='<%# DataBinder.Eval(SingleUser.DataItem,"MiddleName") %>'></asp:TextBox>

 </td>

 <td>

 <asp:Label ID="LastNameLabel" runat="server" AssociatedControlID="txtLastName" >Last Name:</asp:Label>

 <asp:TextBox CssClass="textEntry" ID="txtLastName" title="Enter Last Name Here" runat="server"

 Text='<%# DataBinder.Eval(SingleUser.DataItem,"LastName") %>'></asp:TextBox>

  </td>

 <td>

 </td>

 </tr>

 </table>
</ItemTemplate>

 </telerik:RadPanelItem>

 </Items>

 <CollapseAnimation Duration="100" Type="None" />

 <ExpandAnimation Duration="100" Type="None" />

 <ExpandAnimation Duration="100" Type="None" />

 <CollapseAnimation Duration="100" Type="None" />

 </telerik:RadPanelBar>

 


-kalpana

Cat Cheshire
Top achievements
Rank 1
 answered on 10 Aug 2012
1 answer
153 views
hi
i have a problem with nested view templates.
my problem is that in nested view grid the parent items also are shown in background!
i attach a file to show my problem.
what the problem is?
Eyup
Telerik team
 answered on 10 Aug 2012
1 answer
73 views
Hello,

I'm using RadDatePicker in IE9 and I have this issue:

- The calendar popup shows correctly but I can not click any thing. Sometimes when I insist many times over, there are a small areas that are recognized as a link for a few moment, but I can't click.

In other browsers works fine.

I'm using the release v.2012.2.724.40

<telerik:RadDatePicker ID="FechaFin" runat="server" Width="140px" AutoPostBack="true" DateInput-EmptyMessage="Fecha de Fin" MinDate="01/01/1000" MaxDate="01/01/3000" Skin="Sunset">
     <Calendar ID="Calendar1" runat="server">
           <SpecialDays>
                  <telerik:RadCalendarDay Repeatable="Today" ItemStyle-CssClass="rcToday" />
           </SpecialDays>
     </Calendar>
</telerik:RadDatePicker>

Can you help me, please?

Thanks!

Kostadin
Telerik team
 answered on 10 Aug 2012
1 answer
211 views
I have a CustomValidator validating a RadTextBox. The validator calls the js method "validateEmail". However, it gets called twice which is causing an issue.

It seems to be calling twice because there are 2 input controls. 1 hidden and 1 visible. How do I make it call only once?
Vasil
Telerik team
 answered on 10 Aug 2012
3 answers
99 views
Hi
I'm using RadControlsQ1 2007. I load nodes on demand using ServerSideCallBack mode. I want to enable drag and drop on nodes created dynamically.

Drag and drop is set to true; the event handler is present. Please note, drag and drop works fine for node created declaratively on .asp page. The problem is with the nodes I create on code beside.

You may even point me to an example as long as it shows drag and drop on dynamic nodes.

Kindest regards,
Thulani
Ivana
Telerik team
 answered on 10 Aug 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?