Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
159 views
We are using Telerik latest version Q2 release.
And in case of disabled mode dropdown move little which is not happen in case of enable.

Please suggest how to resolve this issue..
Kate
Telerik team
 answered on 21 Oct 2011
1 answer
118 views
Hi,

I have a form with few fields, a RadGrid, an add button that adds items to the grid and save button that saves the form along with uploading the document.

One of the textboxes i have causes a postback on its text changed event.

Even though i dont select a file in the RadUpload button, i can sometimes see progress manager load by itself on postback of textbpx changes or on the button click event that adds item to grid, even though no file is selected. Also querystring contains RadURID.

How do i prevent progress monitor to come up when there is no file?
Genady Sergeev
Telerik team
 answered on 21 Oct 2011
1 answer
114 views
Hi All, I've a grid with self-referencing hierarchy. I can put the 'add new record' bar at the top of each table thus:

<MasterTableView CommandItemDisplay="Top">

However, I'd only like to display the bar for the top 2 levels and not any deeper levels. How could I do this. Thanks!
Princy
Top achievements
Rank 2
 answered on 21 Oct 2011
1 answer
100 views
Hi,

All my WCF services are REST and using uritemplates to invoke methods. Is there any sample that shows how to use LoadOnDemand/WCF with rest? (Especially how to configure uritemplate for RadTreeNodeData type)

TIA.
Barbaros Saglamtimur
Top achievements
Rank 1
 answered on 21 Oct 2011
1 answer
121 views
I have observed some very bad behavior with the Telerik RadMossEditor. In the Config.xml file I need to listen for the event OnClientLoad as follows.

<property name="OnClientLoad">mossEditorHandleClientLoaded</property> 

I've added my function mossEditorHandleClientLoaded into MOSSEditorTools.js everything works great. That is until our sysadmin  applied some MS Sharepoint updates. After running the SharePoint Configuration Wizard all of the files that I customized were overwritten with the stock ones in the .WSP installer package of this component, including the ToolsFile.xml which has my preferred button configuration for the edit control. 

As far as I can tell there is no other way to wire this up above that to modify those files in that directory which is the practice that Telerik's documentation recommends. This seems like a very brittle and broken approach, is there a better way?

Thanks.
Stanimir
Telerik team
 answered on 21 Oct 2011
0 answers
113 views
Hi All,

             Am Facing Problem with scrolling in Telerik Radgrid.

The problem is as follows:

In my div width is 750 and height is 370 and radgrid is placed in div  when am applying scrolling functinality like <scrolling allowscroll="True" UseStaticHeaders="True"> .The page is being disturbed when i host in the server .please give some valid solution

sravan
Top achievements
Rank 1
 asked on 21 Oct 2011
8 answers
259 views
Hi,
I've a radgrid create in runtime mode as in the example 
I've a problem when i'm going to retrieve the value into the item template (Checkbox.Checked)

I need to retreive the value during the click event of a button external to radgrid.

How can I do?
Best Regards
Lasly
Top achievements
Rank 1
 answered on 21 Oct 2011
2 answers
196 views
Hello,

I am using a RadListBox in a custom Web User Control, which has an Item Template. I am dynamically adding items to the list box at runtime by passing the values to a property on the user control. In that property, I create the new item and set its properties as well as the properties on the controls within the item template. Upon callback, the actual items in the list box persist, but the values on the controls in the item template are lost (revert to defaults). The RadListBoxItem.Value is also lost. I also set the value of a custom attribute on the list item. That does survive the callback.

Any assistance would be appreciated.

Code:
'Load any pre-existing elements into the list box.
Public WriteOnly Property ConfigElements() As clsCommonObjects.ElementItem()
    Set(ByVal value() As clsCommonObjects.ElementItem)
        Dim intX As Int16
        Dim intY As Int16
 
        For intX = 0 To value.GetUpperBound(0)
            Dim objListItem As New RadListBoxItem
            lstAddedElements.Items.Add(objListItem)
            objListItem = lstAddedElements.Items(lstAddedElements.Items.Count - 1)
 
            objListItem.Text = ""
            objListItem.Value = value(intX).strType
 
            'Use an attribute to store the ID
            objListItem.Attributes.Add("UniqueID", value(intX).strID)
 
            For intY = 0 To objListItem.Controls.Count - 1
                Select Case objListItem.Controls(intY).ID
                    Case "lblElementType"
                        DirectCast(objListItem.Controls(intY), Label).Text = value(intX).strDisplayType
                    Case "lblElementName"
                        DirectCast(objListItem.Controls(intY), Label).Text = value(intX).strName
                    Case "imgElementType"
                        DirectCast(objListItem.Controls(intY), Image).ImageUrl = value(intX).strImageURL
                End Select
            Next
 
            objListItem = Nothing
        Next
 
    End Set
End Property
Genady Sergeev
Telerik team
 answered on 21 Oct 2011
1 answer
113 views
Is it possible to make a custom attribute read only?
Iana Tsolova
Telerik team
 answered on 21 Oct 2011
4 answers
169 views
Converter is crashing when trying to convert Telerik code from MVC Grid Demo, SessionProductRepository object


public static IList<EditableProduct> All()
       
{
           
IList<EditableProduct> result =
               
(IList<EditableProduct>)HttpContext.Current.Session["Products"];
           
if (result == null)
           
{
               
HttpContext.Current.Session["Products"] = result =
                   
(from product in new NorthwindDataContext().Products
                     
select new EditableProduct
                     
{
                         
ProductID = product.ProductID,
                         
ProductName = product.ProductName,
                         
UnitPrice = product.UnitPrice.HasValue ? product.UnitPrice.Value : default(decimal),
                         
UnitsInStock = product.UnitsInStock.HasValue ? product.UnitsInStock.Value : default(int),
                         
Discontinued = product.Discontinued,
                         
LastSupply = DateTime.Today
                     
}).ToList();
           
}
           
return result;
       
}

Todd Anglin
Top achievements
Rank 2
 answered on 20 Oct 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?