Telerik Forums
UI for ASP.NET AJAX Forum
15 answers
392 views

If you are working with the Q1 2013 release of Telerik’s Grid for ASP.NET AJAX, you might run into an issue connected to expanding the MasterTableView node from the control’s Property Window, which would cause Visual Studio to crash. 

 

This problem will be fixed with the upcoming Service Pack release (expected in the beginning of April) and in the mean time you can apply the settings in the mark-up code or via the built-in configuration wizard. 

Andrey
Telerik team
 answered on 08 May 2013
4 answers
1.1K+ views
Hi,

I have seen your examples of using the RadioButton list already.

But I am looking for a way to display border with automatically.
It should be flexible according to the number of RadioButton that contained within.

Best Regards,
Ball
Princy
Top achievements
Rank 2
 answered on 08 May 2013
1 answer
129 views
I have created User control with asp controls and add tool tips for that controls.

Then i add that user control into rad grid GridTemplateColumn .

when after the grid data load those tool tips are not working.

Please help me to solve this problem
Princy
Top achievements
Rank 2
 answered on 08 May 2013
3 answers
198 views
Hi,

I am trying to get an item in Radgrid using datakeyvalue like this:
I have done on aspx page like this:
<MasterTableView DataKeyNames="ID">

<

 

 

telerik:GridBoundColumn AllowFiltering="False" DataField="ID" Groupable="False" HeaderText="ID" ReadOnly="True" Reorderable="False" ShowFilterIcon="False" UniqueName="ID" Display="false">

 

 

 

<ColumnValidationSettings>

 

 

 

<ModelErrorMessage Text="" />

 

 

 

</ColumnValidationSettings>

 

 

 

</telerik:GridBoundColumn>

 


</MasterTableView>

There are many other columns bound.
int IDValue = 85;

GridDataItem item = RadGrid1.MasterTableView.FindItemByKeyValue("ID", IDValue);

This returns item as null. When I check RadGrid1.Items.Count. It is returning number of rows in the grid in immediate window. So, to trouble shoot, I found out which item has ID as 85 and then in immediate window in asp.net I did this:

RadGrid1.Items[25].Cells[6].Text

This one is returning me the value. That means there is an item with ID value as 85 in the grid

why is Master table code is not working.

Thanks,
Prathiba.
Shinu
Top achievements
Rank 2
 answered on 08 May 2013
1 answer
51 views
Hello,
In a RadGrid i need to know some properties to merge and combine rows with some subtotals.
I need to merge the first column with some rows and want to write the subtotal of each row.
Sorry for my english.

Thanks
Princy
Top achievements
Rank 2
 answered on 08 May 2013
11 answers
192 views

Hi,
I have usercontrol in which 'RadDockLayout','RadDockZone' and 'RadDock' is defined. Now this usercontrol is binded with in datalist. So for each row these three controls will loaded dynamically.


Now, My question is, how to maintain RadDock state (Collapse/Expand) at each postback?

Please respond ASAP... Thanks

Christophe
Top achievements
Rank 1
 answered on 08 May 2013
1 answer
113 views
i have AsyncUpload control , its not appear inside rad grid edit form. 
the grid is inside rad:ajaxpanel , when remove the ajaxpanel and replace it with ajaxManager and setting configration , every thing go fine.
but my form is very large i cant ajaxify control by control.
please help F1 :) 


Princy
Top achievements
Rank 2
 answered on 08 May 2013
1 answer
171 views
I am getting error "No child records to display." while trying to bind a Hierarchygrid

Here is the code, please help.

<telerik:RadGrid ID="RadGrid1" runat="server" OnDetailTableDataBind="RadGrid1_DetailTableDataBind">
            <MasterTableView DataKeyNames="PayerID">
                <DetailTables>
                    <telerik:GridTableView runat="server" Name="Plan" DataKeyNames="PlanID">
                        <ParentTableRelation>
                            <telerik:GridRelationFields DetailKeyField="PlanID" MasterKeyField="PayerID" />
                        </ParentTableRelation>
                    </telerik:GridTableView>
                </DetailTables>
            </MasterTableView>
        </telerik:RadGrid>
public partial class Default : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            RadGrid1.DataSource = GetPayer();
            RadGrid1.DataBind();
        }
    }
 
    DataTable GetPlans()
    {
        DataTable dt = new DataTable();
        dt.Columns.Add("PlanID", typeof(string));
        dt.Columns.Add("PayerID", typeof(string));
        dt.Columns.Add("PlanName", typeof(string));
        dt.Columns.Add("HQState", typeof(string));
        dt.Columns.Add("OPState", typeof(string));
        dt.Columns.Add("Status", typeof(string));
        dt.Rows.Add("0022", "0001", "Red One", "NJ", "NJ", "Open");
        dt.Rows.Add("0002", "0002", "Red One", "NJ", "NJ", "Open");
 
        return dt;
    }
 
    DataTable GetPayer()
    {
        DataTable dt = new DataTable();
        dt.Columns.Add("PayerID", typeof(string));
        dt.Columns.Add("PayerName", typeof(string));
        dt.Columns.Add("HQState", typeof(string));
        dt.Columns.Add("OPState", typeof(string));
        dt.Columns.Add("Status", typeof(string));
        dt.Rows.Add("0001", "Red One Payer", "NY", "NY", "Open");
 
        dt.Rows.Add("0002", "Red Two Payer", "NJ", "NJ", "Open");
        return dt;
    }
    protected void RadGrid1_DetailTableDataBind(object sender, GridDetailTableDataBindEventArgs e)
    {
        e.DetailTableView.DataSource = GetPlans();
    }
}
Princy
Top achievements
Rank 2
 answered on 08 May 2013
1 answer
200 views
Hi,

I would like to dynamically assign the id property of a RadToolBarButton dynamically in my code behind sicnce is is supposedly a readonly property. Is there any workaround to get this done? I really need to assign a fixed id to one of the buttons since it is being reference in my JQuery code using its id.




private void PopulateRadToolBar()
{
            RadToolBarItemCollection rtb = RadToolBar.Items;
            if (!String.IsNullOrEmpty(WebPart.RadToolBarValues))
            {
                var properties = WebPart.RadToolBarValues.Split(@";".ToCharArray());
                rtb.Clear();
 
                foreach (var singleProperty in properties)
                {
                    var itemRow = singleProperty.Split(@",".ToCharArray());
                    button = new RadToolBarButton();
                    button.ID = itemRow[0];    // ERROR HERE SINCE ID IS A READ ONLY PROPERTY      
                    button.Text = itemRow[1];      
                    button.NavigateUrl = itemRow[2];
                    button.Target = itemRow[3];    
                    button.ImageUrl = itemRow[4];  
                   rtb.Add(button);
            }
            else
            {
                rtb.Clear();
            }
        }
}

Syed
Top achievements
Rank 1
 answered on 07 May 2013
2 answers
64 views
Hi, I'm currently investigating using the RadEditor for a project at work, and I am trying to figure out if it is possible to set up the editor so that the current author (set programmatically from the database) can only edit/delete their own comments.  I have gone through google, but the word "comment" appears on just about every page on the internet, so I have not had any luck in figuring out how to do this.

Thanks,

Paul Griffin
Paul
Top achievements
Rank 1
 answered on 07 May 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?