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.
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.
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
Hi there,
The RadDatePicker is being shown on my application even if I load up a popup.
Is there any way to fix it?
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);
}
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
Hello,
with increasing requirements for websites to fulfill WCAG 2.0 Guidelines, I noticed that RadDock is failing AAA tests just because it wraps Titles with an H6 tag, forcing developers to be aware of this in the hierarchy of Headers in a website. Why not use SPAN or P for this or at least allows us to define which Header tag to use in an option of the control?
What do you suggest to fix this for now?
Thank you