Telerik Forums
UI for ASP.NET AJAX Forum
6 answers
1.1K+ views
Hi,

I am facing an issue with radgrid refreshing. I am updating one of my grid field values through a RadWindow and once I press the update button inside the RadWindow, it closes but the change is not replected in the Grid.

Please provide help,
Anly.
Shinu
Top achievements
Rank 2
 answered on 05 Sep 2013
1 answer
181 views
Hi,

Is it possible to disable and then re-enable buttons during an export to excel.

I know I can disable the buttons on the item databound event by setting a flag when the export button is clicked.  But how do I re-enable them after the export has finished.

Thank You
Tracy
Jayesh Goyani
Top achievements
Rank 2
 answered on 05 Sep 2013
1 answer
131 views
How to set only horizontal scroll bar to grd please help

Thanks
Princy
Top achievements
Rank 2
 answered on 05 Sep 2013
3 answers
232 views
Hi telerik support

Can someone help me to add a small icon to the uploads SELECT button?

Thanks and regards
Jane
Princy
Top achievements
Rank 2
 answered on 05 Sep 2013
3 answers
186 views
Please see the attached image that show my Ribbonbar image has been cut in half ?
Shinu
Top achievements
Rank 2
 answered on 05 Sep 2013
1 answer
275 views
Hi telerik
On mouse hovering a radbutton, is it possible to provide an underline to the button text?

Dan
Shinu
Top achievements
Rank 2
 answered on 05 Sep 2013
6 answers
815 views
Hi,

I have a page that when initially loaded all components on it are disabled. When the components are enabled I switch the background color to yellow and outline the boxes in blue. No problem so far. On the RadDatePicker, I change the color by doing this: datePicker.DateInput.BackColor = Color.FromName("#FFFFC0"). When I gain focus on the dateinput textbox, the textbox changes the background color to white (or transparent - not sure) and clears the border. How do I maintain the color and border?

BTW, this is also happening in a RadDateInput component.

Thanks,
Bruce
Shinu
Top achievements
Rank 2
 answered on 05 Sep 2013
2 answers
136 views
Hi everyone,

We have a page setup with tiles that use the Peek functionality on mouseover. Peek works fine on desktop browsers we've tested (IE9/Firefox/Chrome) as well as the built in Android browser (long-hold to show Peek, in this case). On the iOS devices (6.1.3) we have tested on, though, Peek isn't occurring at all. We are generating all of our tiles programmatically:

addTextTile = new RadTextTile()
{
    NavigateUrl = "~/NavUrl.aspx"
};
 
addTextTile.Title.Text = "Tile Title";
addTextTile.BackColor = Color.FromArgb(0, 0xBE, 0x20, 0x26);
addTextTile.Badge.PredefinedType = TileBadgeType.Attention;
addTextTile.Shape = TileShape.Wide;
addTextTile.PeekTemplateSettings.HidePeekTemplateOnMouseOut = true;
addTextTile.PeekTemplateSettings.ShowPeekTemplateOnMouseOver = true;
addTextTile.PeekTemplateSettings.ShowInterval = 0;
addTextTile.PeekContentContainer.ForeColor = Color.Black;
addTextTile.PeekContentContainer.BackColor = Color.White;
addTextTile.PeekContentContainer.BorderColor = Color.FromArgb(0, 0xBE, 0x20, 0x26);
addTextTile.PeekContentContainer.BorderWidth = 5;
addTextTile.PeekContentContainer.Controls.Add(new LiteralControl("<div>Peek stuff goes here.</div>"));
 
LiveTiles.Add(addTextTile);


Any assistance as to why Peek is not displaying on iOS would be greatly appreciated. Thank you.
David
Top achievements
Rank 1
 answered on 04 Sep 2013
1 answer
71 views
I created a project MAPPING with OpenAccess ORM
I have a object1 which contains a list of another object2, my problem is that when I want to transefer my object1 to a view with ajax / json it does not work.

I think it is a problem of circular reference

is there a way to fix it?

Example

Example: Site has a one-to-many relationship with forecast.
So if I'm in Site, i can list the predictions (site.allforecast)...

can you help me ?
Thnks

Rabie
Alexander
Telerik team
 answered on 04 Sep 2013
2 answers
208 views
I would like to catch the backspace and delete keys in CountCharAction so that the alert is not triggered. 
How do I get the keyCode in CountCharAction in the below code?


<telerik:RadEditor ID="RadEditor1" runat="server" Height="150px" Content='<%# Bind("SchoolMission") %>'>
 
    <Modules>
        <telerik:EditorModule Name="MyModule" Enabled="true" Visible="true" />
        <telerik:EditorModule Name="RadEditorStatistics" Enabled="true" Visible="false" />
    </Modules>
    <Tools>
        <telerik:EditorToolGroup Tag="MainToolbar">
            <telerik:EditorTool Name="FindAndReplace" />
            <telerik:EditorSeparator />
            <telerik:EditorSplitButton Name="Undo">
            </telerik:EditorSplitButton>
            <telerik:EditorSplitButton Name="Redo">
            </telerik:EditorSplitButton>
            <telerik:EditorSeparator />
            <telerik:EditorTool Name="Cut" />
            <telerik:EditorTool Name="Copy" />
            <telerik:EditorTool Name="Paste" ShortCut="CTRL+V" />
        </telerik:EditorToolGroup>
    </Tools>
    <Content>
    </Content>
 
    <TrackChangesSettings CanAcceptTrackChanges="False"></TrackChangesSettings>
</telerik:RadEditor>
<script type="text/javascript">
    MyModule = function (element) {
        MyModule.initializeBase(this, [element]);
    }
 
    MyModule.prototype =
    {
        initialize: function () {
            MyModule.callBaseMethod(this, 'initialize');
            var selfPointer = this;
            //this.get_editor().add_selectionChange(function () { selfPointer.CountCharAction(); });
            this.get_editor().attachEventHandler("onkeyup", function () { selfPointer.CountCharAction(); });
            this.get_editor().attachEventHandler("onclientpaste", function () { selfPointer.CountCharAction(e); });
            this.CountCharAction();
        },
 
        //The method that does the actual counting work
        CountCharAction: function () {
            var content = this.get_editor().get_text();
            var editorId = this.get_id();
            var words = 0;
            var chars = 0;
            var maxWordCount = 28;
            if (content) {
                punctRegX = /[!\.?;,:&_\-\-\{\}\[\]\(\)~#'"]/g;
                content = content.replace(punctRegX, "");
                if (content) {
                    splitRegX = /\s+/;
                    var array = content.split(splitRegX);
                    words = array.length;
                    chars = content.length;
 
                }
            }
            var element = this.get_element();
            element.innerHTML = "<span style='line-height:22px'>" + "Words: " + words + " Characters: " + chars + " </span>";
            if (words > maxWordCount) {
                alert("Cannot exceed maximum word count.  Please shorten text.")
            }
        }
    }
 
    MyModule.registerClass('MyModule', Telerik.Web.UI.Editor.Modules.ModuleBase);
</script>

RMC Research
Top achievements
Rank 1
 answered on 04 Sep 2013
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?