Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
97 views
I have searched the forum on how to enable AJAX in RadTabstrip, I found one solution to add the whole Tabstrip and Multipage inside the updatepanel. This works fine but it refreshes all the tabs. Is there a way I can enable AJAX tab by tab?
When I have to do partial postback on 3rd tab, I should be able to send only that tab.

Thanks.
Sebastian
Telerik team
 answered on 25 Jun 2009
3 answers
158 views
Hi,

I want to start up a custom dialog from the Linkmanager.ascx, just like the Documentmanager is openend there.
It should also drop a string in the URL field like the Document Manager does.

Maybe I should I use <telerik:dialogopener> for this, but how do I point to my .aspx file then?

Regards,
Marc


Rumen
Telerik team
 answered on 25 Jun 2009
2 answers
164 views

Hi,

I have been trying to add nodes on the client side and its failed.
The treeview is working fine without RadAjaxPanel postback.

Following is my source code to add the nodes in TreeView on the client side.
PS:
- The following code is the sample page that I build to re-create the problem so you can copy and paste directly..
- The TreeView is working fine when you comment out the following line in "SelectNextTab" function
-----------------------
$find('<%= rapMultiPage.ClientID %>').ajaxRequest();  
----------------------

Any sample work around will be best.
PS: I need the RadAjaxPanel to refresh the TreeView data when the user click "Next" button.

Thanks.
--------------------------
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="TelerikTest._Default" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
</head>
<body>
    <telerik:RadCodeBlock ID="rcbReport" runat="server">
        <script type="text/javascript">
            function SelectNextTab(TabIndex, direction) {
                var multiPage = $find('<%=rmpCustomReport.ClientID %>');
                if (multiPage) {
                    multiPage.set_selectedIndex(TabIndex);
                    if (direction == 'Next') {
                            //   Need to refresh the data based on the user's table selection
                            $find('<%= rapMultiPage.ClientID %>').ajaxRequest();
                            return false;
                    }

                }
                return false;
            }
            function MoveTo() {
                var treeViewSource = $find("<%= rtvFields.ClientID %>");
                if (treeViewSource) {
                        treeViewSource.trackChanges();
                        var node = new Telerik.Web.UI.RadTreeNode();
                        node.set_text("New Node");

                        treeViewSource.get_nodes().add(node);
                        treeViewSource.commitChanges();
                }
                return false;
            }
        </script>
    </telerik:RadCodeBlock>
    <form id="form1" runat="server">
    <div>
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
        </telerik:RadScriptManager>
                    <telerik:RadAjaxPanel ID="rapMultiPage" runat="server" Width="99%">
                            <asp:Label ID="lblMessage" runat="server" Font-Bold="True" ForeColor="Red"></asp:Label><br />
                <telerik:RadMultiPage id="rmpCustomReport" Runat="server" SelectedIndex="0">
                    <telerik:RadPageView id="Step1" runat="server">
                                    <table border="0" style="width: 98%">
                        <tr>
                            <td>
                                Step 1 - Select the module to report on</td>
                        </tr>
                    </table>
                        <br />
                        <table border="0" style="width: 95%">
                            <tr>
                                <td style="width: 700px; height: 450px" valign="top">
                                        <asp:CheckBoxList ID="cblModule" runat="server">
                                        </asp:CheckBoxList></td>
                            </tr>
                        </table>
                                    <br />
                        <table style="width: 700px">
                            <tr>
                                <td>
                                </td>
                                <td align="right">
                                    <asp:Button ID="btnNext1" runat="server" CausesValidation="False" OnClientClick="SelectNextTab(1, 'Next'); return false;"
                                            Text="Next" /></td>
                            </tr>
                        </table>
                    </telerik:RadPageView>
                    <telerik:RadPageView id="Step3" Runat="server" Width="100%">
                        <br />
                            <table style="width: 700px">
                                <tr>
                                    <td style="width: 345px;" valign="middle">
                                       
                                    </td>
                                    <td style="width: 345px" valign="top" >
                                        <asp:Panel ID="pDestinationBasic" runat="server" Height="420px" ScrollBars="Auto" Width="340px" BorderColor="Khaki" BorderStyle="Dotted">
                                        <asp:Button  ID="btnAddNode" runat="server" OnClientClick="MoveTo(); return false;"
                                            Text="Add Node" />
                                            <telerik:RadTreeView ID="rtvFields" runat="server" EnableDragAndDrop="True" EnableDragAndDropBetweenNodes="True" Skin="Web20" CausesValidation="False">
                                                <CollapseAnimation Duration="100" Type="OutQuint" />
                                                <ExpandAnimation Duration="100" />
                                            </telerik:RadTreeView>
                                        </asp:Panel>
                                    </td>
                                </tr>
                            </table>
                        <br />
                        &nbsp;
                        <br />
                    </telerik:RadPageView>
                </telerik:RadMultiPage>
                        </telerik:RadAjaxPanel>
    </div>
    </form>
</body>
</html>
------------------------------

Veselin Vasilev
Telerik team
 answered on 25 Jun 2009
0 answers
67 views

Hi,

I have been trying to add nodes on the client side and its failed.
The treeview is working fine without RadAjaxPanel postback.

Following is my source code to add the nodes in TreeView on the client side.
PS:
- The following code is the sample page that I build to re-create the problem so you can copy and paste directly..
- The TreeView is working fine when you comment out the following line in "SelectNextTab" function
-----------------------
$find('<%= rapMultiPage.ClientID %>').ajaxRequest();  
----------------------

Any sample work around will be best.
PS: I need the RadAjaxPanel to refresh the TreeView data when the user click "Next" button.

Thanks.
--------------------------
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="TelerikTest._Default" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
</head>
<body>
    <telerik:RadCodeBlock ID="rcbReport" runat="server">
        <script type="text/javascript">
            function SelectNextTab(TabIndex, direction) {
                var multiPage = $find('<%=rmpCustomReport.ClientID %>');
                if (multiPage) {
                    multiPage.set_selectedIndex(TabIndex);
                    if (direction == 'Next') {
                            //   Need to refresh the data based on the user's table selection
                            $find('<%= rapMultiPage.ClientID %>').ajaxRequest();
                            return false;
                    }

                }
                return false;
            }
            function MoveTo() {
                var treeViewSource = $find("<%= rtvFields.ClientID %>");
                if (treeViewSource) {
                        treeViewSource.trackChanges();
                        var node = new Telerik.Web.UI.RadTreeNode();
                        node.set_text("New Node");

                        treeViewSource.get_nodes().add(node);
                        treeViewSource.commitChanges();
                }
                return false;
            }
        </script>
    </telerik:RadCodeBlock>
    <form id="form1" runat="server">
    <div>
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
        </telerik:RadScriptManager>
                    <telerik:RadAjaxPanel ID="rapMultiPage" runat="server" Width="99%">
                            <asp:Label ID="lblMessage" runat="server" Font-Bold="True" ForeColor="Red"></asp:Label><br />
                <telerik:RadMultiPage id="rmpCustomReport" Runat="server" SelectedIndex="0">
                    <telerik:RadPageView id="Step1" runat="server">
                                    <table border="0" style="width: 98%">
                        <tr>
                            <td>
                                Step 1 - Select the module to report on</td>
                        </tr>
                    </table>
                        <br />
                        <table border="0" style="width: 95%">
                            <tr>
                                <td style="width: 700px; height: 450px" valign="top">
                                        <asp:CheckBoxList ID="cblModule" runat="server">
                                        </asp:CheckBoxList></td>
                            </tr>
                        </table>
                                    <br />
                        <table style="width: 700px">
                            <tr>
                                <td>
                                </td>
                                <td align="right">
                                    <asp:Button ID="btnNext1" runat="server" CausesValidation="False" OnClientClick="SelectNextTab(1, 'Next'); return false;"
                                            Text="Next" /></td>
                            </tr>
                        </table>
                    </telerik:RadPageView>
                    <telerik:RadPageView id="Step3" Runat="server" Width="100%">
                        <br />
                            <table style="width: 700px">
                                <tr>
                                    <td style="width: 345px;" valign="middle">
                                       
                                    </td>
                                    <td style="width: 345px" valign="top" >
                                        <asp:Panel ID="pDestinationBasic" runat="server" Height="420px" ScrollBars="Auto" Width="340px" BorderColor="Khaki" BorderStyle="Dotted">
                                        <asp:Button  ID="btnAddNode" runat="server" OnClientClick="MoveTo(); return false;"
                                            Text="Add Node" />
                                            <telerik:RadTreeView ID="rtvFields" runat="server" EnableDragAndDrop="True" EnableDragAndDropBetweenNodes="True" Skin="Web20" CausesValidation="False">
                                                <CollapseAnimation Duration="100" Type="OutQuint" />
                                                <ExpandAnimation Duration="100" />
                                            </telerik:RadTreeView>
                                        </asp:Panel>
                                    </td>
                                </tr>
                            </table>
                        <br />
                        &nbsp;
                        <br />
                    </telerik:RadPageView>
                </telerik:RadMultiPage>
                        </telerik:RadAjaxPanel>
    </div>
    </form>
</body>
</html>
------------------------------

Susanto
Top achievements
Rank 1
 asked on 25 Jun 2009
2 answers
145 views
Hi !
I want to remember rows selection on multiple page.
ex: on page 1 select "row 1" and "row 3", then navigate to other page.
when i come back to page 1 i want "row 1" and "row 3" selected.

can RadGrid do this ?

Thank !
boyhalong
Top achievements
Rank 1
 answered on 25 Jun 2009
2 answers
183 views
When using clientside databinding.
Tsvetoslav
Telerik team
 answered on 25 Jun 2009
2 answers
279 views
Hi All

I am new to telerik amazing controls,and that is the first time for me to use the RadGrid control,In my page i changed the property CommandItemDisplay from 'None' to 'Bottom' to enable the enduser to add new records within the grid as shown on this online demo.
the datasource i used is a method that returns a Datatable.so i bind it to the grid in the page load event as the following
    protected void Page_Load(object sender, EventArgs e)  
    {  
        GridSubscribers.DataSource = SubscribersManagement.GetSubcribersByISP(ISP);  
        GridSubscribers.DataBind();  
    } 
The table i bind to is empty,so when i click the add button in the command row and i used the code exactly provided in the demo for the itemCommand event,sometimes it opens the inster template but most of the time it fires an exception of "Invalid postback or callback argument.",What could be the reason behind that and how can i solve it?? i use Asp.Net 2.0 & Rad controls 2008 Q1.

Thanks
 .

Khaled
Top achievements
Rank 1
 answered on 25 Jun 2009
0 answers
192 views

dropdown.JPG

 

We want a drop down control for DNN. The dropdowns (please see image attached) we need a circle with the arrow. Also when the user clicks on that arrow, the drop down that pops down will need to have rounded corners. Is this possible with Telerik for DNN? How would the scroll bar look in such kind of control?

 

Thanks,
Ashish Shukla

ashish
Top achievements
Rank 1
 asked on 25 Jun 2009
0 answers
111 views

dropdown.JPG

We want a drop down control for DNN. The dropdowns (please see image attached) we need a circle with the arrow. Also when the user clicks on that arrow, the drop down that pops down will need to have rounded corners. Is this possible with Telerik for DNN? How would the scroll bar look in such kind of control?

 

Thanks

Sarang

Sarang
Top achievements
Rank 1
 asked on 25 Jun 2009
1 answer
159 views

Dear all,

i am currently using Telerik control for my financial site.

During development of this site i am facing following problem:

 

in the Rad Grid control i am using Rad Context menu.Now i want to know how can i open a RAD popup window,aginst a click on a particular item of context menu
As well i want to track its ID against which a popup has been opened.

Thanks.
Denny.

Shinu
Top achievements
Rank 2
 answered on 25 Jun 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?