Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
197 views
Hi,

I have a RadGrid bound server-side to a DataTable and in a RadAjaxManager and a filter on a GridBoundColumn with string values. 
The filter works fine except when I search for a backslash '\'. When escaped "\\" the filter works.
and it seems this filter doesn't work there either.
Is there a workaround this? 

Thank you
Nikoleta
Andrey
Telerik team
 answered on 03 Sep 2012
7 answers
166 views
Hi all,
I want to set focus on a checkbox in header row of a radgrid after showing a warning. I want o achieve this in callback function. Please help me.
Thanks
abhi
Abhi
Top achievements
Rank 1
 answered on 03 Sep 2012
5 answers
106 views
Hello.
We use RadCombobox with EnableLoadOnDemand="True".
When user type 3 or more characters  in combbox it starts loading data from server. During this action it shows "Loading..." message box. If user press Tab during this action ClientSelectionTextChanged doesn't not fire.
Genady Sergeev
Telerik team
 answered on 03 Sep 2012
2 answers
124 views

Hello,

           I am using the rad window  for the first time. Here is the code, how I have declared rad window.

<telerik:RadWindowManager ID="RadWindowMyImage" runat="server" EnableShadow="true">
<Windows>

<telerik:RadWindow ID="RadWindow1" runat="server" Modal="true">
<ContentTemplate>
<placeholder id="iframe1" runat="server" width="400px" height="400px">
</placeholder>
</ContentTemplate>
</telerik:RadWindow>
</Windows>
</telerik:RadWindowManager>
 

and I am loading an image and launching the window like this.
 

PlaceHolder mybox = RadWindow1.ContentContainer.FindControl("iframe1") as PlaceHolder;
System.Web.UI.WebControls.
Image appImage = new System.Web.UI.WebControls.Image();
string base64String = Convert.ToBase64String(myimage, 0, myimage.Length); //myimage is byte array
appImage.ImageUrl = "data:image/png;base64," + base64String;
appImage.Width = Unit.Pixel(100);
appImage.Height = Unit.Pixel(100);
iframe1.Controls.Add(appImage);
RadWindow1.Visible = true;

Am I doing correctly?? My rad window is not getting poped up when I click the button. Can any one help me out in this? Where I am doing wrong?

Thanks in Advance.

Thanks,
Geetha Rani.

 

Marin Bratanov
Telerik team
 answered on 03 Sep 2012
2 answers
60 views
1) first time, I installed the ASP.NET AJAX RadControls, then also installed the SharePoint Acceleration Kit, but after I put RadTreeView control inside a web part project, i was getting error message saying "Telerik.Web.UI" could not be found when I tried to view a page hosting this web part-but I could see "Telerik.Web.UI" was clearly in the GAC
2) second attempt, after uninstalling both the Acceleration Kit and the ASP.Net AJAX RadControls, and removing Telerik related entries in the GAC, I only installed the SharePoint Acceleration Kit, and interestingly, nothing showed up in the Toolbox in VS2010!
3) third attempt, removed the Acceleration kit, I installed only the ASP.NET AJAX RadControls this time, and now I really cannot find "Telerik.Web.UI" in the GAC, I am only seeing "Telerik.Web.Design" in the GAC!
4) after manually registering the Telerik.Web.UI DLL into GAC, the issue remains, see the attached picture.

And the control I am interested here is the RADTreeView, I presume it is under Telerik.Web.UI, not Telerik.Web.Design? What am I missing?
Kate
Telerik team
 answered on 03 Sep 2012
1 answer
118 views
How can I change a property on a RadDatePicker that will reflect any RadDatePicker on a given web form?

I can prototype an event such as parseDate() using: 
Telerik.Web.UI.RadDateInput.prototype.parseDate = function (value, theDate) {
    ...
}

How can I do something similar with a property such as ShowRowHeaders=false??

Basically I do not want any RadDatePicker added to a web project to have this default of True.
Vasil
Telerik team
 answered on 03 Sep 2012
1 answer
151 views
Hello,

I have a radgrid created dynamically. It contains an GridTemplateColumn with an ItemTemplate and an EditItemTemplate created programmatically too.
The MasterTableView's EditMode is set to InPlace. When i update my row, I fire the UpdateCommand event, but the hashtable does not contain any value.
if (e.CommandName == RadGrid.UpdateCommandName)
{
    if ((e.Item is GridEditableItem) && (e.Item.IsInEditMode))
    {
        GridEditableItem item = (GridEditableItem)e.Item;
 
        TextBox txtAmount = new TextBox();
        TextBox txtQuantity = new TextBox();
 
        int ID_Profil = Convert.ToInt32(item.GetDataKeyValue("ID_Profil"));
        if (ID_Profil != 0)
        {
            DataTable objectifsTable = this.GridSource;
            //Locate the changed row in the DataSource
            DataRow[] changedRows = objectifsTable.Select("ID_Profil = " + ID_Profil.ToString());
 
            if (changedRows.Length != 1)
            {
                e.Canceled = true;
                return;
            }
 
            //Update new values
            Hashtable newValues = new Hashtable();
 
            grd_objectifs.Items[item.ItemIndex].ExtractValues(newValues);
                changedRows[0].BeginEdit();
                try
                {
                    foreach (DictionaryEntry entry in newValues)
                    {
                        changedRows[0][(string)entry.Key] = entry.Value;
                    }
                    changedRows[0].EndEdit();
                }
                catch (Exception ex)
                {
                    changedRows[0].CancelEdit();
                    e.Canceled = true;
                }
        }
    }
}
Andrey
Telerik team
 answered on 03 Sep 2012
1 answer
69 views
Hi, I'm using ASP.NET AJAX version 2011.3.1305.35.

I'm trying to do something as simple as:
1)  Add all RadComboBoxItems to the combobox by looping through a List.
2)  Add an Attribute to each RadComboBoxItem, in that same loop.

When I bind the combo box by setting the DataSource Property to my List, the items display as expected. 

PROBLEM:
When I loop through the List and add the items and attributes, all of the items and  attributes are added, but the items do NOT display in the combo box.  The combo box appears blank / empty.

I can tell they are there though, by using a javascript Alert on the selectedindexchanged event of the combo box.

The combo box displays in a Rad Grid row, when the row is in edit mode.
The combo box is populated during the ItemDataBound event of the RadGrid, when the row is put into edit mode.

My code follows (but I've tried a whole bunch of variations of it):

I've tried not doing a DataBind;  I've tried doing the DataBind after adding all of the items, I've tried setting the AppendDataBoundItems property to True.  No matter what I do, my combo box is populated BUT IT displays as being EMPTY / BLANK.

comboBox.DataValueField = "emEventID"
comboBox.DataTextField = "emEventTitle"
comboBox.DataBind()
 
Dim cbItem As RadComboBoxItem
For Each project As EM_EventsItem In filteredEventsList
    cbItem = New RadComboBoxItem(project.emEventTitle, project.emEventID)
    cbItem.Attributes.Add("UserPermissionLevel", project.UserPermissionLevel)
    comboBox.Items.Add(cbItem)
    cbItem.DataBind()
Next

Nencho
Telerik team
 answered on 03 Sep 2012
5 answers
333 views
Hi i just can't seem to get it working i get this

Warning   1   Error updating JScript IntelliSense: Telerik.Web.UI.Common.jQuery-vsdoc.js:Telerik.Web.UI: 'jQuery' is undefined @ 8060:0

and i have KB958502 installed but this is really annoying and i was looking forward to this update.

Regards
wong
Top achievements
Rank 1
 answered on 03 Sep 2012
1 answer
144 views
Hi,

if i add FormDecorator for a page the controls looks fine, but if i add RadAutoCompleteBox in the form the decorator applies for all controls except for button. i have attached screenshots

after adding RadAutoCompleteBox inside RadPageView,  RadDatePicker is not working. Please check the image after_autocomplete_err1.png

Thanks,
Harish P
Ivan Zhekov
Telerik team
 answered on 03 Sep 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?