Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
131 views


My radgrid have AllowAutomaticInserts and AllowAutomaticUpdates set to True.
Meanwhile user editing item, it is raised event that causes the end of editing item. In the Page PreRender, i wrote following code:


if (!clauseEdit && dgImpegni.EditItems.Count > 0)
{
dgImpegni.EditItems[0].Edit = false;
}
dgImpegni.Rebind();


Can i write similar code for the insert item ?

Vittorio
Top achievements
Rank 1
 answered on 21 Oct 2011
1 answer
153 views
Hi,
In my project I have asp buttons, checkboxes and already have telerik buttons, grids etc. I want to set a custom skin for all of them.
In master page I put a skinmanager and formdecorator elements and set my custom skin. I used both of them because If I use only formdecorator asp controls affected from skin not telerik controls, or If I use only skinmanager, telerik controls affected from skin not asp controls. So I used all of them.
1- Are there a solution about using only one component for setting a skin to all controls(Asp and Telerik)
2- After building project, in Google Chrome there is no problem in skin, everything is working fine but in IE 9 all controls are looking very bad, in Firefox skin is working but positions are wrong. How can I solve?
In attachments you can see screen captures for Chrome, IE and Firefox.

Thank you.
Niko
Telerik team
 answered on 21 Oct 2011
1 answer
154 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
113 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
108 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
98 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
106 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
105 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
247 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
183 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?