Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
46 views
Hi,
I want when I bind radgrid from codebehind, all editable cell start in BatchChanged mode. Is it possible?
Because I made some calculations before bind grid, and after that sometimes values in cell are different, and I want to know which cell is with changed status
Eyup
Telerik team
 answered on 13 May 2015
1 answer
85 views

hi 

I Have RadGrid and want Delete One Row in ItemDataBound..... 

means , when ItemDataBound appaly i want  check some Item and then delete one row .... 

 protected void gvShow_ItemDataBound(object sender, Telerik.Web.UI.GridItemEventArgs e)
    {
        if (e.Item is GridDataItem)
        {
            GridDataItem dataitem = (GridDataItem)e.Item;
             
             if ( check one EstateMent)
              {  

Do Some things

                }

                else
                {
                here I want Delete Current Row 
                 }

Eyup
Telerik team
 answered on 13 May 2015
1 answer
97 views

Is there a way to prevent this? It makes life difficult when you can't use the design view. (see attached)

Note, this happens everywhere in the project.

Vessy
Telerik team
 answered on 13 May 2015
6 answers
120 views

Hi,

I have a requirement to be able to navigate our website using only the keyboard (we support blind people who do not use a mouse).

We find that once a RadGrid FilterMenu has popped up after clicking the Filter button, it is not possible to close it without selecting a menu item or clicking elsewhere with the mouse. I need the menu to close when the user presses "Escape".

I cannot seem to find a way to intercept keystrokes with the FilterMenu - There doesn't seem to be an OnKeyPress event?

 

I hope you can help,

Thanks.

 

Melanie
Top achievements
Rank 1
 answered on 13 May 2015
7 answers
793 views
I wish to have AllowMultiRowSelection="True" yet not include a Select/Deselect All checkbox in the header. Is there an easy way to do this?

In addition, I have a GridHyperlinkColumn in the row that the user may click on to open another window. When this happens, the Row becomes selected (the checkbox becomes checked).  I would like this NOT to happen. It there a way to prevent this?

Thanks.
Jim
Top achievements
Rank 2
 answered on 12 May 2015
3 answers
223 views

Hello, 

 We have a dedicated content website, e.g. http://conent.mysite.com so all shared content (images, documents, media etc.) uploaded via radEditor should have an absolute link to this site. At the same time in order to upload files in radEdior we must add this shared location as a virtual folder, e.g. http://admin.mysite.com/content.

Then href to such items used in radEditor could be either:

How can we ​apply MakeUrlsAbsolute filter but pointing to another root, i.e. to  http://conent.mysite.com/img.png

 

 

Vessy
Telerik team
 answered on 12 May 2015
3 answers
78 views
I wonder if is it possible in the file dialogs to grant "add new file" & "delete file" but deny "modify an existing file" ? 
Vessy
Telerik team
 answered on 12 May 2015
9 answers
945 views

I have a RadGrid that has a WebUserControl for each row of the grid to allow the user to edit that row. When I click the edit button to expand the row (this opens up a .ascx control within the grid for that row), it always scrolls to the top of the page. The user then has to scroll down to find the row they selected with the row expanded to begin editing that row.

 I found in another post that adding RadGrid1.ClientSettings.AllowKeyboardNavigation = true;prior to data binding the grid helps to maintain scroll position. This kind of works and you only have to scroll down one click of the mouse wheel to find the row to edit; not good enough.

I also have set MaintainScrollPositionOnPostback=“true" on the aspx page.

I also have set on the RadGrid itself under client settings SaveScrollPosition=“true".

What I'd like to see is the page not move at all when the user clicks on edit for the given row. I would like to maintain the scroll position on the page.

Can this be accomplished? If so, how?

Pavlina
Telerik team
 answered on 12 May 2015
6 answers
266 views

I was browsing 

http://demos.telerik.com/aspnet-ajax/grid/examples/data-binding/client-side/client-item-template/defaultcs.aspx

 I don't recognise the syntax used within the span tags and VS 2013 doesn't like it.

 <span style="#=formatTitle(ContactTitle)#">#=ContactTitle #</span>

I am trying to change the style of a column depending on value after binding the Grid view, something like this

 

        private void OnNWDataBound(object sender, System.Web.UI.WebControls.DataGridItemEventArgs e)
        {
            if (e.Item.ItemType == ListItemType.Item ||
                e.Item.ItemType == ListItemType.AlternatingItem)
            {
                DataRowView rv = (DataRowView)e.Item.DataItem;
                // Get fourth column value.
                Int32 nUnitsInStock = Convert.ToInt32(rv.Row.ItemArray[3]);
                if (nUnitsInStock < 20)
                {
                    e.Item.Cells[3].BackColor = Color.Red;
                }
            }
        }

 

 

John
Top achievements
Rank 1
 answered on 12 May 2015
8 answers
706 views
I would like to style the combobox dropdown field to mimic the alternate row colors of a grid (i.e. each line alternating between white and light grey). Is this possible?
Dimitar
Telerik team
 answered on 12 May 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?