Protected
Overrides
Sub
OnItemCreated(e
As
Telerik.Web.UI.GridItemEventArgs)
If
TypeOf
e.Item
Is
GridPagerItem
Then
Dim
l_oPageSize
As
RadComboBox =
DirectCast
(e.Item.FindControl(
"PageSizeComboBox"
), RadComboBox)
l_oPageSize.Items.Clear()
Dim
l_oItem
As
RadComboBoxItem
For
l_iIndex
As
Integer
= 10
To
150
Step
10
l_oItem =
New
RadComboBoxItem(l_iIndex)
l_oPageSize.Items.Add(l_oItem)
Next
l_oItem =
New
RadComboBoxItem(200)
l_oPageSize.Items.Add(l_oItem)
l_oItem =
New
RadComboBoxItem(300)
l_oPageSize.Items.Add(l_oItem)
l_oItem =
New
RadComboBoxItem(300)
l_oPageSize.Items.Add(l_oItem)
l_oItem =
New
RadComboBoxItem(350)
l_oPageSize.Items.Add(l_oItem)
l_oItem =
New
RadComboBoxItem(400)
l_oPageSize.Items.Add(l_oItem)
l_oItem =
New
RadComboBoxItem(450)
l_oPageSize.Items.Add(l_oItem)
l_oItem =
New
RadComboBoxItem(500)
l_oPageSize.Items.Add(l_oItem)
l_oItem =
New
RadComboBoxItem(600)
l_oPageSize.Items.Add(l_oItem)
l_oItem =
New
RadComboBoxItem(700)
l_oPageSize.Items.Add(l_oItem)
l_oItem =
New
RadComboBoxItem(800)
l_oPageSize.Items.Add(l_oItem)
l_oItem =
New
RadComboBoxItem(900)
l_oPageSize.Items.Add(l_oItem)
l_oItem =
New
RadComboBoxItem(1000)
l_oPageSize.Items.Add(l_oItem)
Dim
l_iW
As
Integer
= l_oPageSize.Width.ToString.Substring(0, l_oPageSize.Width.ToString.IndexOf(
"px"
))
l_oPageSize.Width = Unit.Pixel(l_iW + 10)
End
If
MyBase
.OnItemCreated(e)
End
Sub
Hi all,
the option ImageStorageLocation="Session" for RadCaptcha I used earlier was working OK, until now.
The problem with the Captcha came right after the latest update of my RadControls was applied (Q3 2013). Simply put, instead of the image with captcha numbers, we now get no image at all.
Looking deeply at the problem, I discovered that if we change the Captcha's ImageStorageLocation to "Cache" the captcha image is rendered as expected. However, I have to use the Session option, because other options was not appropriate (not working) in my hosting environement.
Can anyone help please, or is it a bug in the latest Q3 2013 update.
It took telerik 5 years to fix the case sensitive seeach in the combobox..
New control Radsearch, same old defect, all over again..
Argh...
protected void RadGrid1_ItemDataBound(object sender, GridItemEventArgs e)
{
if (e.Item is GridEditableItem)
{
GridEditableItem edit = (GridEditableItem)e.Item;
RadComboBox cmbUserType = (RadComboBox)edit.FindControl("cmbusertype");
DataTable dt1 = ObjGlobas.UserType();
cmbUserType.DataSource = dt1;
cmbUserType.DataTextField = "UserType";
cmbUserType.DataValueField = "UserTypeId";
cmbUserType.DataBind();
}
}
$find(
"gv"
).get_batchEditingManager().getCellValue(document.querySelectorAll(
".rgBatchCurrent"
)[5])