Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
150 views

Hi,

The video show that if I use absolutepath in Editor and then created an anchor, the anchor will have the absolute path as well.

http://upload.ximnet.com.my/huisheng/editor_anchor.swf

How can I solve this?

Thanks.

Ianko
Telerik team
 answered on 27 May 2015
1 answer
106 views
How to make progress bar thicker?
Ivan Danchev
Telerik team
 answered on 27 May 2015
4 answers
591 views
Hi,
I am using RAD Combox.
I need the code to make enable or disable the combox by using javascript.

Also one more problem I m facing..
If I am disabling the combox in server side code then I am not able to enable it in javascript.

I use the following line of code in javascript to disable

document.getElementById(rcComboBox).disabled =

true;

My requirement is ..

One text box and one radcombobox are there.

Based on some value in the textbox, I have to make disable and enable the combobox and also select value in combox will get change based on the textbox value.

 

SURYA
Top achievements
Rank 1
 answered on 27 May 2015
4 answers
220 views

Hai, i want to ask something about RadGrid and RadAjaxManagerProxy

I'm have a webpage that contains 4 usercontrol. each usercontrol has RadGrid

so i'm using RadAjaxManager in webpage and RadAjaxManagerProxy in usercontrol to handle the ajax.

my problem is when i edit/insert RadGrid at usercontrol1, every RadGrid in webpage is refreshing.

How to make only 1 RadGrid refreshed when i edit/insert? not every RadGrid.

Here's my code:

webpage.aspx

<telerik:RadScriptManager runat="server" ID="RadScriptManager1" />
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
</telerik:RadAjaxManager>

usercontrol1.ascx

<telerik:RadAjaxLoadingPanel runat="server" ID="gridLoadingPanel" Skin="Default"></telerik:RadAjaxLoadingPanel>
<telerik:RadAjaxManagerProxy ID="RadAjaxManagerProxy1" runat="server">
    <AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="RadAjaxManager1">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="RadGrid1" LoadingPanelID="gridLoadingPanel"></telerik:AjaxUpdatedControl>
            </UpdatedControls>
        </telerik:AjaxSetting>
        <telerik:AjaxSetting AjaxControlID="RadGrid1">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="RadGrid1" LoadingPanelID="gridLoadingPanel"></telerik:AjaxUpdatedControl>
            </UpdatedControls>
        </telerik:AjaxSetting>
    </AjaxSettings>
</telerik:RadAjaxManagerProxy>
 

usercontrol2.ascx

 

<telerik:RadAjaxLoadingPanel runat="server" ID="gridLoadingPanel2" Skin="Default"></telerik:RadAjaxLoadingPanel>
<telerik:RadAjaxManagerProxy ID="RadAjaxManagerProxy2" runat="server">
    <AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="RadAjaxManager1">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="RadGrid2" LoadingPanelID="gridLoadingPanel2"></telerik:AjaxUpdatedControl>
            </UpdatedControls>
        </telerik:AjaxSetting>
        <telerik:AjaxSetting AjaxControlID="RadGrid2">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="RadGrid2" LoadingPanelID="gridLoadingPanel2"></telerik:AjaxUpdatedControl>
            </UpdatedControls>
        </telerik:AjaxSetting>
    </AjaxSettings>
</telerik:RadAjaxManagerProxy>

usercontrol3.ascx

 

<telerik:RadAjaxLoadingPanel runat="server" ID="gridLoadingPanel3" Skin="Default"></telerik:RadAjaxLoadingPanel>
<telerik:RadAjaxManagerProxy ID="RadAjaxManagerProxy1" runat="server">
    <AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="RadAjaxManager1">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="RadGrid3" LoadingPanelID="gridLoadingPanel3"></telerik:AjaxUpdatedControl>
            </UpdatedControls>
        </telerik:AjaxSetting>
        <telerik:AjaxSetting AjaxControlID="RadGrid3">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="RadGrid3" LoadingPanelID="gridLoadingPanel3"></telerik:AjaxUpdatedControl>
            </UpdatedControls>
        </telerik:AjaxSetting>
    </AjaxSettings>
</telerik:RadAjaxManagerProxy>

usercontrol.ascx

<telerik:RadAjaxLoadingPanel runat="server" ID="gridLoadingPanel4" Skin="Default"></telerik:RadAjaxLoadingPanel>
<telerik:RadAjaxManagerProxy ID="RadAjaxManagerProxy1" runat="server">
    <AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="RadAjaxManager1">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="RadGrid4" LoadingPanelID="gridLoadingPanel4"></telerik:AjaxUpdatedControl>
            </UpdatedControls>
        </telerik:AjaxSetting>
        <telerik:AjaxSetting AjaxControlID="RadGrid3">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="RadGrid4" LoadingPanelID="gridLoadingPanel4"></telerik:AjaxUpdatedControl>
            </UpdatedControls>
        </telerik:AjaxSetting>
    </AjaxSettings>
</telerik:RadAjaxManagerProxy>

Thank you in advance

Brett
Top achievements
Rank 1
 answered on 26 May 2015
10 answers
315 views
on the index change of rad combobox arad grid must appear with dynamically created columns containing rad comboboxes and those comboboxes are to be binded with some data from database.the columns with comboboxes are coming but i am unable to bind with data. i am doing this programmatically using ITEMPLATE interface by inheriting in a class and calling InstantiateIn method.
help by sending or posting a code snippet.
thanks in advance
Anirud
saheste
Top achievements
Rank 1
 answered on 26 May 2015
4 answers
151 views

Hello, people 
i hve this issue, when rigth-click over the node, then Menu display far away, here an image, hope you can help me.

 


​

Hector Hernandez
Top achievements
Rank 2
 answered on 26 May 2015
2 answers
104 views

i have a tabstrib with 3 tab working fine until error occur on tab3 with RadPageView3 , inside the pageview has a textbox to display the output string

after the output display , the tabstrib hang, cant click to other tab, cant do anything

, must refresh the page, please help me to detect why? Thanks

If I directly set    txtLogoutPut.Text ="xxxxxx"  to test, it's OK. 

 

 

  <telerik:RadScriptManager ID="RadScriptManager1" runat="server"></telerik:RadScriptManager>
    <telerik:RadSkinManager ID="RadSkinManager1" runat="server" Skin="WebBlue"></telerik:RadSkinManager>


    <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Skin="WebBlue">
    </telerik:RadAjaxLoadingPanel>

    <telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" LoadingPanelID="RadAjaxLoadingPanel1"> 

 

.................

..................

<telerik:RadPageView ID="RadPageView3" runat="server" Width="100%">
                        <div style="padding: 20px;">
                            <div class="lblNotice">
                                <asp:Label ID="Label26" runat="server" Text="Select Time Range"></asp:Label>
                            </div>
                            <div>
                                <telerik:RadDateTimePicker ID="RadDateTimePickerStart" runat="server" Width="200px">
                                </telerik:RadDateTimePicker>
                            </div>
                            <div>
                                <telerik:RadDateTimePicker ID="RadDateTimePickerEnd" runat="server" Width="200">
                                </telerik:RadDateTimePicker>
                            </div>
                            <div></div>

                            <div>
                                <telerik:RadButton ID="btnViewLog" runat="server" Text="View Log" OnClick="btnViewLog_Click" ButtonType="SkinnedButton" Width="70" Height="22" />
                            </div>
                            <div>

                                <asp:TextBox ID="txtLogoutPut" runat="server" Height="620px" Text="" Width="720" Rows="0" TextMode="Multiline" />

                            </div>
                        </div>
                    </telerik:RadPageView>

 

 

     string triggerpath = System.IO.Path.Combine(ConfigClass.MailTriggerLog, (new MailAddress(txtUserEmail.Text)).User + "_queue.log");
            using (StreamReader sr = File.OpenText(triggerpath))
            {
                s = sr.ReadToEnd();

            }
            txtLogoutPut.Text = s;

 

 

 

 

Captain America
Top achievements
Rank 1
 answered on 26 May 2015
3 answers
119 views

Hi,

 I'm new to the RadGird control and am trying to use the Batch editing capability.

 I am populating the control from code and have set the OnBatchEditCommand on the form.

When I view the form and add items using the Add New Item prompt I am able to create new items.  However, when I Click Save Changes my BatchEditCommand event  is fired, but the command collection count is zero.

I have included a screen shot and snippets of code:

    <form id="frmList" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
    <div>
    <telerik:RadGrid ID="grdList" OnBatchEditCommand="grdList_BatchEditCommand" AllowSorting="True" AllowPaging="True" AutoGenerateColumns="False" runat="server">
     <MasterTableView  EditMode="Batch" CommandItemDisplay="Top" DataKeyNames="Code" Name="SalesCodes"> 
        <BatchEditingSettings OpenEditingEvent="Click" EditType="Cell" />
     </MasterTableView>
    </telerik:RadGrid>
    </div>
    </form>

 _________________________________________________________________________________

                             colText = New GridBoundColumn
                            colText.HeaderText = rsData.Item("FieldCaption")
                            colText.DataField = rsData.Item("FieldName")
                            colText.MaxLength = rsData.Item("FieldLength")
                            iFormWidth = iFormWidth + rsData.Item("FieldWidth") + 3
                            If Not IsDBNull(rsData.Item("FieldDefault")) Then
                                structDefaultValues(iDefaultValues).iCellNumber = rsData.Item("FieldID")
                                structDefaultValues(iDefaultValues).sDefault = rsData.Item("FieldDefault")
                                structDefaultValues(iDefaultValues).sType = rsData.Item("FieldType")
                                iDefaultValues = iDefaultValues + 1
                            End If
                            grdList.MasterTableView.EditFormSettings.CaptionDataField = sKeyField
                            grdList.MasterTableView.Name = strName
                            grdList.MasterTableView.DataKeyNames = arrKeys
                            grdList.Columns.Add(colText)

____________________________________________________________________

    Protected Sub grdList_BatchEditCommand(sender As Object, e As GridBatchEditingEventArgs)
        For Each Cmd As GridBatchEditingCommand In e.Commands
            Dim newval As Hashtable = Cmd.NewValues
        Next
    End Sub

 

Tim Inouye
Top achievements
Rank 1
 answered on 26 May 2015
3 answers
204 views

Hello

Simple setup ; I have two RadnumericTextboxes with spinbuttons enabled.

Is it possible to have the second Textbox reflect the first when I change the value using the arrowkeys ?

I can only get it to update when i leave the first control, I need it to correspond  "live" .



I appreciate any help to the matter.

 

Mark

Mark
Top achievements
Rank 1
 answered on 26 May 2015
4 answers
241 views

Hi,

I have a RadToolbar with a ToolbarDropDown inside it.  I have an onclicking client event on the toolbar which I am using to detect if the dropdown button selected is a particular command.  If it is, I am doing set_cancel(true), then populating another dropdown on the page with certain values via ajax.  The setting of the values is working fine.  My problem is, when I do the set_cancel, the toolbardropdown text does not change to what the user selected.  For example, take the following:

<telerik:RadToolBarDropDown ImagePosition="Right" DropDownWidth="250">
            <Buttons>
                <telerik:RadToolBarButton Text="Hello" Value="1"></telerik:RadToolBarButton>
                <telerik:RadToolBarButton Text="Goodbye" Value="1"></telerik:RadToolBarButton>
            </Buttons>
    </telerik:RadToolBarDropDown>

 On my web page, the button selected is "Hello".  If I change the dropdown to select "Goodbye", all my client code is executed without issue, but the text on the dropdown remains "Hello" instead of changing to "Goodbye".  I've tried setting it manually but no luck.  Is there a way around this?  It works ok for me if I do a postback, but I'm trying to avoid a postback.

 

Thanks!

Richard

 

Richard
Top achievements
Rank 1
 answered on 26 May 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?