Telerik Forums
UI for ASP.NET AJAX Forum
25 answers
839 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
802 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
385 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
156 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
210 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
132 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
271 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
189 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
6 answers
275 views
How do I execute some server-side code after data has been updated, triggered by the user clicking "Save changes" in an automatic-update batch-editmode grid? I need to manipulate some other controls after a successful update.
Neil N
Top achievements
Rank 2
Iron
Iron
Veteran
 answered on 22 Jan 2019
1 answer
586 views

Hi,

 

          I put radtextbox on that we put the onkeyup event it work in chrome,ie but not work in Firefox when enter key press but other than enter key it work in firefox.

 

Example:

 <telerik:RadTextBox ID="mainSearchTxt" onkeyup="mainSearchTxt_keyup(event,id)" EmptyMessage="Content Search"  Width="150px" runat="server"> </telerik:RadTextBox>

function mainSearchTxt_keyup(e, id) {


    var unicode = e.charCode ? e.charCode : e.which;
    alert(unicode);

}

This alert message show in firefox when all keypress except "Enter key" for that i need solution

 

 

 

Vessy
Telerik team
 answered on 22 Jan 2019
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?