Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
999 views
I want row selection for my grid to be turned off.  Everytime a row is clicked, it triggers a post.  I don't want this.  So i tried using many things i've found on the internet forums and none work for me.

<Grid ClientSettings-Selecting-AllowRowSelect="false" doesnt work.
<ClientSettings AllowColumnsReorder="True" ReorderColumnsOnClient="True" EnablePostBackOnRowClick="false" Selecting-AllowRowSelect="false">
Doesn't work.
<Selecting AllowRowSelect="false" />
doesnt work.
Why isn't there an easy option for this?  Can you give me a solution that works?
Dave
Top achievements
Rank 1
 answered on 24 Jan 2019
6 answers
161 views
Hi,

Does anybody knows how I can change the width of the TextBox of the RadMonthYearPicker control?
I have tried with the property DateInput-Width but I cannot see any effect.

Thank you.
William
Top achievements
Rank 1
 answered on 24 Jan 2019
25 answers
689 views
How do you make a RadDataForm begin in edit mode on the initial get?
Dave
Top achievements
Rank 1
 answered on 24 Jan 2019
6 answers
745 views
Hi, we are still within subscribation period of RadControls and testing the Prometheus Dock. Druing testing, following message appears:

Telerik.Web.UI 2007.2.1107.0 trial version. Copyright telerik © 2002-2007. To remove this message, please purchase a developer version.

Can I get a version without it? This concern regads our furture deployment plan.

Thanks,
Ricky.
Marin Bratanov
Telerik team
 answered on 24 Jan 2019
5 answers
324 views

Hi,

I'm performing a Grid export in pdf in my app deployed in Azure. Whilst in local environment export file results as expected,  in Azure file does not have any correct character. Only kind of squared characters are displayed.

I've tried setting a Pdf-DefaultFontFamily="Arial" and without any specific setting regarding the font, but same square characters in both cases.

Would you have any idea what I'm doing wrong?

 

Thanks in advance.

Eyup
Telerik team
 answered on 24 Jan 2019
1 answer
119 views

I have a page with several RadTextBox and Label controls and a button.  I do some validation when the button is clicked and will present a RadAlert with a message and Ok button.  I click the Ok button and return to my page where any RadTextBox that has TextMode="Password" will be disabled.  Other RadTextBoxes work well, no issues, ONLY when TextMode="Password" do they disable.

The RadAlert does NOT use a CallBack ... set to Nothing.

I'm using R1 2019, thoughts?

Cheers, Rob.

Rob Ainscough
Top achievements
Rank 1
 answered on 23 Jan 2019
1 answer
160 views

Hi,

 

When I use Bootstrap cssclass on GridButtonColumn like this:

<telerik:GridButtonColumn ItemStyle-Width="5%" ButtonCssClass="btn btn-success btn-sm" CommandName="Edit" UniqueName="btnEdit" ButtonType="PushButton" />

Initially the buttons are styled OK but onpostback the corners get rectangled instead of rounded.

This not the case when a button is outside RadGrid.

 

Please refer to attached screenshots.

 

Marc

Attila Antal
Telerik team
 answered on 23 Jan 2019
3 answers
104 views

Hi there, 

The RadDatePicker is being shown on my application even if I load up a popup.

Is there any way to fix it?

Eyup
Telerik team
 answered on 23 Jan 2019
1 answer
234 views
How can I cange the style of the Column Headers?  I would like the font to be bold or maybe the background a different color.  I tried changing .rcbHeader but that didn't do it
Peter Milchev
Telerik team
 answered on 23 Jan 2019
0 answers
143 views

I had created rad dynamic controls which consists of(textbox, ddl, combobox etc..) and also created dynamic rad wizardsteps, every wizardstep contains a dynamic table.

I want insert those dynamic rad controls into wizardstep table, to achieve this i used sessions but its giving a exception says Script controls may not be registered after PreRender..

When i tried to insert these controls in static asp table it works fine, while adding to a dynamic table i am getting this issue. What i had done wrong, how can i resolve this issue.

Please guide me i am new to telerik controls.

 

Code Behind: 

protected void Page_Load(object sender, EventArgs e)
{
    if (!IsPostBack)
    {
        GenerateWizardSteps(2);
        RadListView1.DataSource = GetDatatable();
        RadListView1.DataBind();
    }
    else
    {
        RecreateControls("rtb", "RadTextBox");
    }
}
public DataTable GetDatatable()
{
    DataTable dt = new DataTable();
    dt.Columns.Add("Label");
 
    dt.Rows.Add("RadTextBox");
    dt.Rows.Add("RadComboBox");
    dt.Rows.Add("RadDateTimePicker");
    dt.Rows.Add("RadDropDownList");
    dt.Rows.Add("RadDatePicker");
    dt.Rows.Add("RadNumericTextBox");
    dt.Rows.Add("RadToggleButton");
    dt.Rows.Add("RadBinaryImage");
    return dt;
}
 
//Creating WizardSteps
public void GenerateWizardSteps(int formID)
{
    RadWizardStep step;
 
    step = new RadWizardStep();
    step.ClientIDMode = ClientIDMode.Static;
    step.ID = "step_" + i.ToString();
    controlTbl = new Table();
    controlTbl.ClientIDMode = ClientIDMode.Static;
    controlTbl.ID = "controlTable_" + i.ToString();
    Session["myTable"] = controlTbl;
    step.Controls.Add(controlTbl);
    wizardControl.WizardSteps.Add(step);
 }
protected void RadAjaxManager1_AjaxRequest(object sender, Telerik.Web.UI.AjaxRequestEventArgs e)
{
    string commandText = e.Argument.ToString().Trim();
    string[] splitdata = commandText.Split('&');
    commandText = splitdata[0];
    string controlName = splitdata[1];
    switch (controlName)
    {
        case "RadTextBox":
            int cnt1 = FindOccurence("rtb") + 1;
            DynamicControls dcTextBox = new DynamicControls();
            TableCell txtlblRad = dcTextBox.Controlscreation("RadLabel", "", cnt1, cnt1, "Text Box:", "", 0);
            TableCell txtRad = dcTextBox.Controlscreation("RadTextBox", "", cnt1, cnt1, "", "", 0);
            TableRow txtRow = new TableRow();
            txtRow.Cells.Add(txtlblRad);
            txtRow.Cells.Add(txtRad);
            Table controlTbl = Session["myTable"] as Table;
            controlTbl.Rows.Add(txtRow);
            //Table1.Rows.Add(txtRow);
 
            break;
     }
}
private void RecreateControls(string ctrlPrefix, string ctrlType)
{
    string[] ctrls = Request.Form.ToString().Split('&');
    int cnt = FindOccurence(ctrlPrefix);
    if (cnt > 0)
    {
        for (int k = 1; k <= cnt; k++)
        {
            for (int i = 0; i < ctrls.Length; i++)
            {
                if (ctrls[i].Contains(ctrlPrefix + "_" + k.ToString()))
                {
 
                    if (ctrlType == "RadTextBox")
                    {
                        DynamicControls dcTextBox = new DynamicControls();
                        TableCell txtlblRad = dcTextBox.Controlscreation("RadLabel", "", k, k, "TextBox:", "", 0);
                        TableCell txtRad = dcTextBox.Controlscreation("RadTextBox", "", k, k, "", "", 0);
                        TableRow txtRow = new TableRow();
                        txtRow.Cells.Add(txtlblRad);
                        txtRow.Cells.Add(txtRad);
                        Table controlTbl = Session["myTable"] as Table;
                        controlTbl.Rows.Add(txtRow);
                    }
                       break;
                }
            }
        }
    }
}
 
private int FindOccurence(string substr)
{
    string reqstr = Request.Form.ToString();
    return ((reqstr.Length - reqstr.Replace(substr, "").Length) / substr.Length);
}

 

Saif
Top achievements
Rank 1
 asked on 23 Jan 2019
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?