Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
50 views
I found a few other forum posts that addressed something similar, but did not work for me. 

I have a TabStrip that is databound to a SQLDataSource, and it contains information pertinent to the record to a main record the user selects.  To add new information into this TabStrip I deploy a RadWindow to submit new records back to the DB.  

What I need is upon closing the RadWindow, I need the tabstrip to rebind to reflect the new record(s) that were just added.  

I found a few posts on refreshing the parent page, but this will not work in my situation as the RadTabstip lies within another TabStrip which contains other information pertinent to the record the user is in.  

Any help would be appreciated!  
Dimitar Terziev
Telerik team
 answered on 15 Jun 2012
2 answers
91 views

<telerik:RadTabStrip ID="RadTabStrip1" runat="server" OnTabClick="RadTabStrip1_TabClick"
                                   AutoPostBack="True" MultiPageID="RadMultiPage1" Orientation="VerticalLeft" SelectedIndex="1">
                                   <Tabs>
                                       <telerik:RadTab Value="Condition" Text="<%$ Code:Resources.View.mnuConditions %>"
                                           Selected="True" />
                                       <telerik:RadTab Value="Preview" Text="<%$ Code:Resources.View.mnuPreview %>" />
                                       <telerik:RadTab Value="Permission" Text="<%$ Code:Resources.View.mnuPermission %>" />
                                   </Tabs>
                               </telerik:RadTabStrip>
 
<telerik:RadMultiPage runat="server" ID="RadMultiPage1" SelectedIndex="0" title="">
                                   <telerik:RadPageView runat="server" ID="PageView_Condition">
                                       <div class="multipageHeight tblspacer">
                                           <div style="height: 170px; overflow: auto">
                                               <br />
                                               <table>
                                                   <%--<tr>
                                               <td>
                                                   <telerik:RadFilter ID="RadFilter3" runat="server">
                                                   </telerik:RadFilter>
                                               </td>
                                               </tr>--%>
                                                   <tr>
                                                       <td>
                                                           <telerik:RadFilter runat="server" ID="RadFilter1" FilterContainerID="" ExpressionPreviewPosition="None"
                                                               ShowLineImages="true" EnableViewState="true" Localization-GroupOperationAnd="<%$ Code:Resources.View.View_MeetConditions %>"
                                                               Localization-GroupOperationNotAnd="" Localization-GroupOperationNotOr="" Localization-GroupOperationOr=""
                                                               Localization-FilterFunctionIsNull="Not Specified" OnPreRender="RadFilter1_PreRender"
                                                               ShowApplyButton="false" OnFieldEditorCreating="RadFilter1_FieldEditorCreating"
                                                               Font-Bold="true">
                                                           </telerik:RadFilter>
                                                       </td>
                                                       <td>
                                                           <asp:PlaceHolder ID="pHolder" runat="server"></asp:PlaceHolder>                                                           
                                                       </td>
                                                       <td align="right">
                                                           <br />
                                                           <br />
                                                           <table>
                                                               <tr>
                                                                   <td>
                                                                       <asp:PlaceHolder ID="Panel1" runat="server"></asp:PlaceHolder>
                                                                   </td>
                                                               </tr>
                                                           </table>                                                           
                                                       </td>
                                                   </tr>
                                               </table>
                                           </div>
                                           <div style="height: 160px; overflow: auto">
                                               <table>
                                                   <tr>
                                                       
                                                   </tr>
                                               </table>
                                           </div>
                                       </div>
                                    
                                   </telerik:RadPageView>
                               </telerik:RadMultiPage>


I want To Find Placeholder ,
That's Inside Of RadTabStrip inside Radtab , RadMultiPage , RadPageView
How i find this in button click event
It's Very Urgent



Thanks Advance,
Mohamed.
mohamed
Top achievements
Rank 1
 answered on 15 Jun 2012
3 answers
194 views
Hi
I have started working on Telerik scheduler few days back.
I am facing problems in database structure.
I want to know Whether in Appointments table the RecurrenceParentID is a foreign key to the ID of same table or not? Please clear this with detail of RecurrenceParentID and how can i use it ..
Plamen
Telerik team
 answered on 15 Jun 2012
1 answer
128 views
Hi,
I am using Treeview with combobox.
When we select any child node from hierarchy then how we will get "DataFieldParentID" value, Using Javascript and serverside programming. Please help me. It is urgent in our project requirement.

Thanks and Regards,
Sanjoy
Shinu
Top achievements
Rank 2
 answered on 15 Jun 2012
1 answer
99 views
rotating saving and downloading an image using http://demos.telerik.com/aspnet-ajax/imageeditor/examples/default/defaultcs.aspx strips most (if not all) exif data from the image.

How does the image editor handle exif data?
Niko
Telerik team
 answered on 15 Jun 2012
0 answers
64 views
How to access radgrid in the nestedviewtemplate through client method? I need to binddata from webservice.
Jinlei
Top achievements
Rank 1
 asked on 15 Jun 2012
1 answer
88 views
Hello Telerik,
is there a possibility to select an uploaded file after async upload?
I've tried it on OnClientFolderChange but the event fired too early.

function OnClientFolderChange(sender, args) {
            var oUpload = $find("<%= FileExplorer1.AsyncUpload.ClientID %>");
            if (oUpload.getUploadedFiles().length > 0) {
                var ex = GetFileExplorer();
                selectSpecificFile(ex, oUpload.getUploadedFiles());
            }
        }
 
        function selectSpecificFile(explorer, items) {
            var tree = explorer.get_tree();
            if (tree != null) {
                var nodes = tree.get_selectedNodes();
                if (nodes != null && nodes.length > 0) {
                    if (nodes[0]._children != null) {
                        for (var i = 0; i < items.length; i++) {
                            for (var x = 0; x < nodes[0].get_allNodes().length; x++) {
                                var currentNode = nodes[0].get_allNodes()[x];
                                if (currentNode.get_text() == items[i]) {
                                    currentNode.select();
                                }
                            }
                        }
                    }
                }
            }
        }

										
Dobromir
Telerik team
 answered on 15 Jun 2012
0 answers
59 views
Hii,
              I am using telerik(new version) controls in my website. but i found one problem in Rad Grid .
            Problem: when i open my website in Internet Explorer (8,9)  the rad grid can not  be closed   when i click on close button .rad grid hang the complete browser. at that time i m not able to do anything on form.

if u guys have any idea about my problem so plz let me know how can i reslove that problem.

Thanks
alankar
Top achievements
Rank 1
 asked on 15 Jun 2012
1 answer
224 views
Hello there,
I am opening a RadWindow from a parent page. I've started filling the form in the Radwindow. After finishing certain process, I am reloading the parent page and in the same time, I would like to continue filling the form in the RadWindow without closing it.

I am facing some problem here, it is actually reloading the parent page. But at the same time, it is closing the RadWindow. I've tried many possible solutions and I failed. Need your help on this one...

Here is the sample code I am using to refresh the parent page...

This is from aspx (RadWindow) page...

<telerik:radcodeblock id="RadCodeBlock1" runat="server">
        <script type="text/javascript">
            function CloseAndRebind(args) {
                GetRadWindow().BrowserWindow.refreshGrid(args);
                //GetRadWindow().close();
            }
 
            function GetRadWindow() {
                var oWindow = null;
                if (window.radWindow) oWindow = window.radWindow; //Will work in Moz in all cases, including clasic dialog
                else if (window.frameElement.radWindow) oWindow = window.frameElement.radWindow; //IE (and Moz as well)
 
                return oWindow;
            }
 
            function CancelEdit() {
                GetRadWindow().close();
            }
 
            function TestScript() {
                CloseAndRebind();
            }
    
    </script>
 
</telerik:radcodeblock>
     
This is from Parent Page (aspx)

<telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
    <script type="text/javascript">
 
        function refreshGrid(arg) {
            if (!arg) {
                $find("<%= headerRadAjax.ClientID %>").ajaxRequest("Rebind");
            }
            else {
                $find("<%= headerRadAjax.ClientID %>").ajaxRequest("RebindAndNavigate");
            }
        }
    </script>
</telerik:RadCodeBlock>

and the last bit from code behind of parent page

protected void RadAjaxManager1_AjaxRequest(object sender, AjaxRequestEventArgs e)
{
    //HeaderControl.ThisisFromRAD();
    txtText.Text = "Updated";
}


I've placed some text box control to test the same. It is updating the value in the text box. but at the same time, it is closing the RadWindow. But I don't want the Radwindow to be closed. 

Appreciate your support on this. thanks 
Nanda
Top achievements
Rank 1
 answered on 15 Jun 2012
1 answer
174 views
I have 3 rad text boxes a,b and c.
How can I get a+b (concatenate strings) when I focus on c.
Thanks...
Shinu
Top achievements
Rank 2
 answered on 15 Jun 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?