Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
101 views
Hello all,
I have many pages and in all am using RagGrid and contextmenu
is there any way to use the same contextmenu  or to inherit from ?

i need to use my code in all pages
protected override void OnPreRenderComplete(EventArgs e)
{
    base.OnPreRenderComplete(e);
    RadMenuItem item =  RadGrid1.HeaderContextMenu.FindItemByValue("GroupBy");
    RadGrid1.HeaderContextMenu.Items.RemoveAt(0);
    RadGrid1.HeaderContextMenu.Items.Remove(item);
    item = RadGrid1.HeaderContextMenu.FindItemByValue("UnGroupBy");
    RadGrid1.HeaderContextMenu.Items.Remove(item);
}
 any help will be appreciated
sam
Top achievements
Rank 1
 answered on 23 Jul 2010
3 answers
263 views
Hi all,
    I have a req in which i have to give comma separator to numeric values inside the grid.How can we do this.

Thanks,
A2H
A2H
Top achievements
Rank 1
 answered on 23 Jul 2010
3 answers
102 views

The code translation tool is not working. Intellisence shows errors; the site won't compile.

Also, don't you need the IsReusable() property?

Yana
Telerik team
 answered on 23 Jul 2010
3 answers
101 views
i used this code:
RadGrid1.MasterTableView.FilterExpression = filterExpression

and get data by this code:
Private Sub RadGrid1_NeedDataSource(ByVal source As Object, ByVal e As Telerik.Web.UI.GridNeedDataSourceEventArgs) Handles RadGrid1.NeedDataSource
        RadGrid1.DataSource = From o In en.tblSuggests Select o
End Sub

But, i have a ask.
filter operating is before get data or after Get data ?
my table having 60,000 records.

Iana Tsolova
Telerik team
 answered on 23 Jul 2010
1 answer
141 views
Is it possible to use the GridAttachmentColumn of the RadGrid inside an update panel? I would like to upload the attachments without doing a full postback. If not, do you have any suggestions of doing this with your available components?

Thanks.
Tsvetoslav
Telerik team
 answered on 23 Jul 2010
4 answers
230 views
I have a couple of checkboxes on a page that is decorated by RadFormDecorator.

I notice that the font associated with the checkboxes changes slightly when the checked property changes. This is with 2010.2.713.

Looking at the page using IE8's developer tools shows that there are some additional CSS properties applied when the checkbox is checked.

You can see what I mean by comparing the 2 images attached.

-- 
Stuart
Bozhidar
Telerik team
 answered on 23 Jul 2010
1 answer
144 views

I have a telerik radgrid that has an allows inserts.  After clicking the "Add New Record" button the textboxes appear with a couple of buttons.  One for Insert and one to cancel.  I would like the page focus to be on the insert button so when the user clicks the enter button, the insert button has the focus.

Does anyone know how to do this?

Princy
Top achievements
Rank 2
 answered on 23 Jul 2010
1 answer
269 views
Hi,

i would like to add buttons beside every node.if i click on that button, i have to open popup.

Any Idea.....

Thanks and Regards,
Srikanth.
Shinu
Top achievements
Rank 2
 answered on 23 Jul 2010
1 answer
360 views
I want to make Teleric textbox to accept only alpha numeric input. How do I do this in javascript? are there any issue to enable this in multiple types of browsers with dieffenet versions?
Shinu
Top achievements
Rank 2
 answered on 23 Jul 2010
2 answers
117 views
Hi,
    After using telerik RadGrid Edit form. Which within our custom user control contains a ComboBox (Data Source: DataTable, AppendItemDataBound: True). It appears that the combobox has double bind the value. I have attached a sample code which duplicated the scenario im describing.
ddl.AppendDataBoundItems = true;
ddl.Items.Add(new ListItem("select one", ""));
ddl.DataTextField = "Value";
ddl.DataValueField = "ID";
ddl.DataSource = Session["DataTableSource"];
ddl.DataBind();
 
RadComboTest.AppendDataBoundItems = true;
RadComboTest.Items.Add(new RadComboBoxItem("select one", ""));
RadComboTest.DataTextField = "Value";
RadComboTest.DataValueField = "ID";
RadComboTest.DataSource = Session["DataTableSource"];
RadComboTest.DataBind();


the above code is invoked one during Page Load (userControl, that is invoked by radGrid). however the behaviour of having appenddatabound is for us to Add "Select One" item is desired. Is there a reason why its duplicating ?

Best Regards,
Adrian






Adrian Eng Ying Ming
Top achievements
Rank 1
 answered on 23 Jul 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?