Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
108 views
Hi,

Is it possible to display different resources, for example persons and locations in the scheduler?

Thanks,

Regards,

Henk
Plamen
Telerik team
 answered on 22 Apr 2014
12 answers
800 views
Hi,
I do not want to show radalert icon when I use it to show some message. How can I do this?

Thanks in advance.

Mamun
Princy
Top achievements
Rank 2
 answered on 22 Apr 2014
1 answer
184 views
Is it possible to prevent the paging number from changing or to revert back to the previous page number client side?

Right now if the user has made changes to the grid I am able to prevent a postback during the OnCommand client side event but the the page number has already changed which is confusing for the users as they are not able to reselect the page number after they have saved their changes and are ready to move on.
Shinu
Top achievements
Rank 2
 answered on 22 Apr 2014
3 answers
168 views
GridView Ajax Control in EditItemTemplate of RadGrid

1. I have a RadGrid that would like to be ajaxed.
2. Inside a GridTemplateColumn / EditItemTemplate I have a <asp:GridView.
3. inside the GridView I have a button named "ButtonAdd".

When I click "ButtonAdd" I want to GridView to load via ajax and it should have a loading panel. But I do not want a loading panel on the entire RadGrid.
When I click the Update/Insert/Delete/Cancel buttons or do any normal RadGrid stuff I want the entire RadGrid to show a loading panel like it does now.

This code allows the GridView to work correctly but the RadGrid is not longer ajaxed.
<telerik:RadAjaxManagerProxy ID="RadAjaxManager1" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="Gridview1">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="Gridview1" LoadingPanelID="RadAjaxLoadingPanel1" />
                </UpdatedControls>
            </telerik:AjaxSetting>         
        </AjaxSettings>
    </telerik:RadAjaxManagerProxy>
    <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" />

This code always shows the loading panel over the entire RadGrid, but that is not what I need.
<telerik:RadAjaxManagerProxy ID="RadAjaxManager1" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="Gridview1">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="Gridview1" LoadingPanelID="RadAjaxLoadingPanel1" />
                </UpdatedControls>
            </telerik:AjaxSetting>
            <telerik:AjaxSetting AjaxControlID="RadGrid1">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadGrid1" LoadingPanelID="RadAjaxLoadingPanel1" />
                </UpdatedControls>
            </telerik:AjaxSetting>         
        </AjaxSettings>
    </telerik:RadAjaxManagerProxy>
    <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" />

Can this be done?

Thanks, Marty

Princy
Top achievements
Rank 2
 answered on 22 Apr 2014
8 answers
491 views
Hi

Is it possible to change the emptymessage color? The RadTextbox has some attributes to do this.

Fred
Shinu
Top achievements
Rank 2
 answered on 22 Apr 2014
4 answers
184 views
I'm trying to use JavaScriptSpellCheck. (http://www.javascriptspellcheck.com/). And, I have it working, for a non-Telerik textbox. For a Telerik RadTextBox, I get a double-box.(attached image to show what I'm seeing as doubletextarea.png).

I should only see one input textbox.

Now, if I uses an asp:TextBox, it works no problems. 

The problem could be with JavaScriptSpellCheck, but the issue only occurs with Telerik controls (pretty much any input control). You can see the difference with doubletextarea2.png. The bottom input control is an asp:TextBox. The upper is a telerik:RadTextBox.

This is what that code looks like:
                    <telerik:RadTextBox ID="TxtNote" runat="server" Height="150px" TextMode="MultiLine"
                        Width="350px" Skin="CustomSkin" EnableEmbeddedSkins="false" />
                    <hr />
                    <asp:TextBox ID="aspTxtNote" runat="server" Height="150px" TextMode="MultiLine" Width="350px"></asp:TextBox>


View Source shows this:
                    <span id="ctl00_ctl00_ContentPlaceHolder1_ChildContent1_CSRActions_TxtNote_wrapper" class="riSingle RadInput RadInput_CustomSkin" style="width:350px;"><textarea id="ctl00_ctl00_ContentPlaceHolder1_ChildContent1_CSRActions_TxtNote" name="ctl00$ctl00$ContentPlaceHolder1$ChildContent1$CSRActions$TxtNote" rows="2" cols="20" class="riTextBox riEnabled" style="height:150px;"></textarea><input id="ctl00_ctl00_ContentPlaceHolder1_ChildContent1_CSRActions_TxtNote_ClientState" name="ctl00_ctl00_ContentPlaceHolder1_ChildContent1_CSRActions_TxtNote_ClientState" type="hidden" /></span>
                    <hr />
                    <textarea name="ctl00$ctl00$ContentPlaceHolder1$ChildContent1$CSRActions$aspTxtNote" rows="2" cols="20" id="ctl00_ctl00_ContentPlaceHolder1_ChildContent1_CSRActions_aspTxtNote" style="height:150px;width:350px;">
</textarea>

Any ideas on how to get rid of this extra box that's showing up? This occurs in both IE and Chrome. IE 11 and Chrome Version 34.0.1847.116 m. Visual Studio 2012 ASP .NET using your AJAX controls. 

Telerik.Web.UI version 2012.3.1308.45.

Thanks



















Daniel
Top achievements
Rank 2
 answered on 21 Apr 2014
1 answer
65 views
I have a RadImageGallery in Lightbox mode within a RadAjaxPanel. When I click on the thumbnail, the image area pops up properly but if I click the next arrow, the next image is briefly shown and then the image area disappears. I would prefer to keep the RadAjaxPanel as it is more reliable (in my opinion) than the RadAjaxManagerProxy and there aren't a lot of controls on the page.

Any help would be appreciated.
Maria Ilieva
Telerik team
 answered on 21 Apr 2014
3 answers
323 views
I've set the singleclick property of a RadButton as follows:

<telerik:RadButton runat="server" ID="btnSubmitRequest" Text="Submit" SingleClick="true"  SingleClickText="Submitting..." OnClick="btnSubmitRequest_Click" ValidationGroup="required" />

However, the button isn't getting disabled, and, upon viewing the page source, I noticed that the "onclick=disableButton" function isn't there at all. I've used SingleClick buttons in my code before in this exact same manner, and never had a problem before.
Chase
Top achievements
Rank 1
 answered on 21 Apr 2014
5 answers
887 views
Hi

I have a javascript function on a page which uses Google Geocoder to get lat/lng for a a given address(postcode)

After the lat/lng succeeds I want to call a Radjaxmanager request to do processing on server side.

ie. RadAjaxManager.ajaxRequest("DO SOMETHING!");

Calling the above code produces the following error
TypeError: access to strict mode caller function is censored
( IN Telerik.Web.UI.WebResource.axd )

Any help really appreciated :}

Full code below...

Regards

Martin

================================================================
function GetLatLng(address) {

    var geocoder = new google.maps.Geocoder();
    geocoder.geocode({ 'address': address + ", UK", region: "UK" }, function (results, status) {

        var latitude = 0;
        var longitude = 0;
        if (status == google.maps.GeocoderStatus.OK) {
            latitude = results[0].geometry.location.lat();
            longitude = results[0].geometry.location.lng();
        } else {
            // Postcode/Address NOT found!
        }

        alert("START REQUEST");

        RadAjaxManager.ajaxRequest("DO SOMETHING!");

        alert("END REQUEST");

    });

}
Martin
Top achievements
Rank 1
 answered on 21 Apr 2014
3 answers
118 views
Hello,

I'm trying to use the Editor in a DNN (DotNetNuke) module I am developing.

It displays ok, but I get an error message "web.config registration is missing" on clicking many of the toolbar options.

The editor control works with the standard HTML module that ships with DNN and uses the DNN web.config file.

Can someone please tell me how can I associate the DNN web.config file with the editor control in my module?

I'm using DNN version 7.* by the way.

Best Regards,

Steve

Misho
Telerik team
 answered on 21 Apr 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?