Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
181 views
I have a radbutton control in a radgrid that blinks when I mouse over or mouse out.
The project is using Telerik.Web.UI version 2012.1.411.35 and is running in DNN v6.2.2.
Looking at the Google Chrome development window; it seems like the image is being reloaded but before it is reloaded an about:black page is shown. (see attached image)
Any idea why it would be going back to the server to get this image and why about:blank is displaying?

<telerik:RadButton ID="INFO" runat="server" AutoPostBack="False" CausesValidation="False"
                                    Height="20px" OnClientMouseOver="infoRow"
                                    Text="" UseSubmitBehavior="False"  Width="36px" Image-ImageUrl="/images/i_info.png" Image-EnableImageButton="True" rowid="" Image-IsBackgroundImage="True">
                               </telerik:RadButton>


Thanks
Slav
Telerik team
 answered on 01 Oct 2012
1 answer
90 views
I have impemented Custom File Content Provider in Rad file Expolrer....
 I have overridden all methods but some how on renaming any file or deleting , the methods MoveFile or DeleteFIle are not being Called..

Whereas fir a directory, the methods MoveDirectory or DeleteDirectory are being called as normal..

I initially thought, it may be related to some permission issue.. But i cannot trace it..
Any help would be highly appreciated..
Vessy
Telerik team
 answered on 01 Oct 2012
1 answer
170 views
Hello,
I want to create a context menu that simply includes delete (which will call a function that will fire a stored proc to remove info from the dbase)  for the time being when I right click on a column.  I have the context menu currently displaying when I click on right click on the column and it includes all the standard items, hide, group, etc which I have hidden currently but I cannot figure out how to add a custom item to the menu.

Thanks.
Eyup
Telerik team
 answered on 01 Oct 2012
1 answer
129 views
Hi,

Is there any ways that allow one user to override or accept the changes made by the previous users?

Please advise. Thanks.
Rumen
Telerik team
 answered on 01 Oct 2012
7 answers
228 views

I have a RadGrid where one of the columns is a GridTemplateColumn with a RadComboBox:

<telerik:RadGrid ID="EmployeeRadGrid" runat="server" Width="96%" GridLines="None"
            AutoGenerateColumns="False" PageSize="13" AllowSorting="True" 
            AllowPaging="True" ShowStatusBar="true" Visible="False"
            OnUpdateCommand="EmployeeRadGrid_UpdateCommand" 
            OnNeedDataSource="EmployeeRadGrid_NeedDataSource"
            OnInsertCommand="EmployeeRadGrid_InsertCommand" 
            OnDeleteCommand="EmployeeRadGrid_DeleteCommand" 
            onitemdatabound="EmployeeRadGrid_ItemDataBound"            
            >
            <PagerStyle Mode="NextPrevAndNumeric"></PagerStyle>
            <MasterTableView DataKeyNames="EmployeeID" AllowMultiColumnSorting="True" Width="100%"
                CommandItemDisplay="Top" EditMode="InPlace">
                <Columns>
                    <telerik:GridBoundColumn UniqueName="Name" SortExpression="Name" HeaderText="Navn"
                        DataField="Name" />
                    <telerik:GridTemplateColumn UniqueName="EmployeeID" HeaderText="Departement">
                        <ItemTemplate>
                            <%#DataBinder.Eval(Container.DataItem, "DepartementName")%>
                        </ItemTemplate>
                        <EditItemTemplate>
                            <telerik:RadComboBox runat="server" ID="RadComboBox1" Width="200" 
                                DataTextField="Name" DataValueField="DepartementID" DataSourceID="DepartementDataSource"
                                AllowCustomText="False" EnableAutomaticLoadOnDemand="true" OnClientLoad="OnClientLoadHandler">
                            </telerik:RadComboBox>                              
                        </EditItemTemplate>
                    </telerik:GridTemplateColumn>

The RadComboBox1 is populated through the ItemDataBound event of the EmployeeRadGrid:

protected void EmployeeRadGrid_ItemDataBound(object sender, GridItemEventArgs e)
    {
        if (e.Item.IsInEditMode)
        {
             GridEditableItem item = (GridEditableItem)e.Item;
            if (!(e.Item is IGridInsertItem))
            {
                RadComboBox combo = (RadComboBox)item.FindControl("RadComboBox1");
                combo.Items.Clear();
  
                List<DepartementResult> deps = getDepartements();
  
                foreach (DepResult dep in deps)
                {
                    RadComboBoxItem newItem = new RadComboBoxItem();
                    newItem.Text = dep.Name;
                    newItem.Value = dep.DepartementID.ToString();
                    newItem.Attributes.Add("DepartementName", dep.Name);
  
                    combo.Items.Add(newItem);
                    newItem.DataBind();
                }
                combo.SelectedValue = ((DepartementResult)e.Item.DataItem).DepartementID.ToString();
            }
        }
    }

I also have another RadGrid, where all the departements are listed, and the user can make changes to them.

What I want is that the departements listed in RadComboBox1 are updated after changes are made in the DepartementRadGrid. Now what happens is that the RadComboBox1 is disabled in a way, - nothing happens if I click on it. The other column in the EmployeeRadGrid is editable.

If I open my page and go straight to the EmployeeRadGrid, I can access the RadComboBox1, and change the departement. But if I make changes in the EmployeeRadGrid, the RadComboBox is not responsive.

Any help is appreciated.

Marin
Telerik team
 answered on 01 Oct 2012
1 answer
132 views
Hi

I need a RadComboBox that when I click on it and it opens its DropDown, a RadMenu opens too (simultaneously)

Is it possible??

Can you guide me?
Ivana
Telerik team
 answered on 01 Oct 2012
1 answer
73 views

I did customized the radgrid so as to get the grid according to the requirement. But the Calendar Filter and pager button is not getting displayed properly.
Even after customizing, I can see the WebResource CSS in the firebug. I disabled the EmbeddedStyleSheetClass. I like to get some help on this. I will attach the screenshot for the reference. Thanks in advance.
Eyup
Telerik team
 answered on 01 Oct 2012
3 answers
147 views
I am trying to set up a grid with automatic crud operations and the date field is crashing my app.  Seems the date is getting entered as 00-00-0000 on update or insert.

Everything displays fine in the grid.

Any idea how to correct?
Andrey
Telerik team
 answered on 01 Oct 2012
1 answer
137 views
I'm a little stuck trying to figure out the best way to do this.

Scenario: Using the TreeView to allow a user to create, edit, and sort menu items. It's going to allow an end user to build the menu of their web site.

The data table is simple, an ID, Parent ID, Display Text, and a Sort column (Int).

I am connecting the data table to a LinqDataSource which is then attached to the TreeView. I have the data source ordering by the sort column.

I have everything set up to allow drag and drop and I'm using the NodeDrop event to handle the dragging and dropping of nodes. However, I'm running into a problem trying to get to the data in the Node. I need to access the Sort column of that row so I can resort the list. DataItem is null, which the documentation says it will be and to use custom properties or the value property. I don't use Value for anything, but even if I saved the ID to that, I would still need the sort property. Plus, since the data source orders by the sort column, I wouldn't be able to just put the sort column in as a custom property as that won't properly sort the list.

Is there a way to get and change the underlying data that is attached to that node?
Plamen
Telerik team
 answered on 01 Oct 2012
1 answer
124 views
I am getting Access Denied on the following line of code, within the Telerik.Web.UI.WebResource.axd file only when using IE
    g=e.screenLeft-top.screenLeft-top.document.documentElement.scrollLeft+2

My site is hosted in an IFrame, the main site is https://www.somesite.com/page.aspx this hosts an IFrame which points to my pages at https://www.mysite.com/default.aspx 

I have tride some of the solutions here but none of them seem to make any difference. One post had an answer that there is no solution for this issue, as i think this is a cross domain issue is that still the case?

Julian
Tsvetina
Telerik team
 answered on 01 Oct 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?